i have API calls i need to do Pt test for those. how can i do that. Can some one help me on this please.
closed as too broad by NarendraR, trashpanda, NarendraC, Bharat Mane, Alexey R. Aug 1 '18 at 10:32
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Basic steps would look like:
- Add Thread Group to your Test Plan and define number of users, ramp-up, test duration there
- Add a HTTP Request sampler for each API call
- Add a HTTP Header Manager to each request (or one for all requests, depending on your scenario) and configure it to send the relevant
Content-Typeheader. For SOAP requests you might have to provide SOAPAction header as well
- Run your test
- Generate HTML Reporting Dashboard and analyze results.
See Testing SOAP/REST Web Services Using JMeter article for more information if needed