0

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

1 Answer 1

1

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:

  1. List your endpoints in a CSV file, for example:

    http://example.com/endpoint1
    http://example.com/endpoint2
    http://example.com/endpoint3
    
  2. Use CSV Data Set Config so JMeter could read the endpoints from the CSV file

    enter image description here

  3. 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)

    enter image description here

  4. 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:

    enter image description here

  5. 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:

enter image description here

1
  • I want to hit the post requests, with same url but with difeernt config!! is it possiblE?
    – Code Guru
    Commented Aug 16, 2021 at 7:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.