'How to carry out API testing testing using JMeter on API url
I have an API url and body data in xml format. How to do load testing of available API url using JMeter?. I need to check the API performance for multiple user login.
Solution 1:[1]
Add a Thread Group to your Test Plan and specify the desired number of threads (virtual users), iterations and test duration
Below setup will run the request with 10 users for 1 minute:
Add a HTTP Request sampler as a child of the Thread Group and specify the URL and the body there:
You may also need to add HTTP Header Manager to send the relevant Content-Type header
Run your test in command-line non-GUI mode
Generate HTML Reporting Dashboard and analyze the results
More information:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dmitri T |



