I have a requirement to push message in AWS SQS using JMeter or LoadRunner.
I have gone through AWS Query API this link which will create a Query API, but it requires AWS Access Key ID which is restricted in my organization.
Is there any other way or using role-based authentication we can send message in SQS?
3
Answers
There is a plugin available with JMeter plugins manager called
awsmeter
Repo: https://github.com/JoseLuisSR/awsmeter
You can clone, modify according to your needs
For LoadRunner: You can write your own login using the provided sdk from the AWS
Well, I think the request in any case needs to be authenticated somehow. If HTTP Request sampler along with AWS Signature doesn’t fit your needs you can consider using JSR223 Sampler with Groovy language for sending the request.
Example code (copied and pasted from here):
Again if ProfileCredentialsProvider is not something you can use (however I fail to see why) you can choose any other or come up with your own.
So, to paraphrase my understanding. You want to use Amazon SQS service, but you do not have the access key so you are looking for a security workaround to use the queue service. Is this correct?
Have you considered a local installation (or EC2 installation) of RabbitMQ?