I need to test the load and performance test of the API which is hosted in the AWS API gate way. Im using two post methods to get the final result. first post method will pass the below parameters in json format in the API.
{ propno:"xxxxx", apikey:"xxxx-xxxx", user:"xxx" }
by executing this i will get a reference number and status of the execution { reference:"ABxxxxxxxxxna", status:"ok" } Then will pass this reference no in another post method to get the desired result.
{ refno:"ABxxxxxxxxxna", apikey:"xxxx-xxxx", user:"xxx" }
Now i want to perform the load test in Jmeter. Any help would be appreciated.
CodePudding user response:
What is your question exactly?
In JMeter you can send a POST request using
the refno
value can be fetched using
next in the second HTTP Request use ${refno}
reference to the
once done you can
Add more users in the Thread Group according to your NFR/SLA/common sense/whatever
Run your test in command-line non-GUI mode
Generate HTML Reporting Dashboard and analyze the results