I have started the JMeter in the mobile Application can I test the Multiple API at a time in Jmeter if yes then how can I check the output?
1 Answer
With JMeter you can do whatever you want, if you need to hit multiple API endpoints with multiple threads (virtual users) at exactly the same moment you need to consider following configuration:
List your endpoints in a CSV file, for example:
http://example.com/endpoint1 http://example.com/endpoint2 http://example.com/endpoint3
Use CSV Data Set Config so JMeter could read the endpoints from the CSV file
Set the number of threads in the Thread Group to be equal to the number of concurrent requests you want to send (in my case 3)
Add a Synchronizing Timer to your test plan and set
Number of Simultaneous Users to Group by
to be equal to the number of threads in the Thread Group:- Run your test and observe Samplers start times using i.e. View Results in Table listener
As you can see all 3 requests were executed at exactly the same moment of time:
-
I want to hit the post requests, with same url but with difeernt config!! is it possiblE? Commented Aug 16, 2021 at 7:28