0

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.

  • Please edit your question to tell us what you have tried and what problems you are having. – Kate Paulk Aug 1 '18 at 11:29
1

Basic steps would look like:

  1. Add Thread Group to your Test Plan and define number of users, ramp-up, test duration there
  2. Add a HTTP Request sampler for each API call
  3. 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-Type header. For SOAP requests you might have to provide SOAPAction header as well
  4. Run your test
  5. Generate HTML Reporting Dashboard and analyze results.

See Testing SOAP/REST Web Services Using JMeter article for more information if needed

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