Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
751 views
by The go-to Tester (360 points)
edited by
I am automating API test, but I am not sure if we can do performance testing. I need some suggestion here

1 Answer

0 like 0 dislike
by The go-to Tester (142 points)
JMeter is more about generating GET and POST requests.

So, ideally you can generate GET and POST requests for your API using JMeter.

To pass test data to your requests, you can

Thread Group  -> Right Click  -> Add -> Config Element -> User Defined Variables

Enter your excel file there.

In JMeter, you can add a controller and a dummy sampler,

While Controller -> Add -> Sampler -> jp@gc - Dummy Sampler

There you can pass your data as, e.g.

{"login":"${login}","password","$(password)"}

in the request data.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...