I am trying the visibility timeout feature of AWS SQS using the Send and Receive Messages page provided by AWS. I have created multiple consumers by opening duplicate pages of Send and Receive Messages pages. I observed that even if I configure the visibility timeout as 1 hour, it is still received in another consumer as soon as the previous consumer poll duration times out. What's wrong with it?
First of all, stop using the Send and Receive Messages page as an actual consumer.
AWS has provided that page to just manually send and receive messages from an SQS queue. While it can be used for testing purposes or for occasional message retrieval, it is not intended to be used as a an actual consumer.
If you want to play with the SQS features, use an actual consumer through AWS SDK or AWS CLI or through libraries.
However, it's worth noting that the Send and Receive Messages page can be useful for debugging and troubleshooting purposes, as it allows you to view the contents of messages in the queue, modify message attributes, and manually trigger message retrieval.