Search code examples
javaapirestjmeterperformance-testing

How to configure jmeter to test a secured java rest api


I have a few APIs on which I need to perform load testing, The API has a auth token in the header and a request body with a reasonably big payload which will vary with the user. If I have to simulate 100 different users, how do i create a sampler for 100 diff users with 100 diff params? Is CSV the only way out?

PS: I am a newbie wrt to jmeter


Solution

  • I have used JMeter to test REST API. I have given detailed steps here.

    http://www.testautomationguru.com/how-to-test-rest-api-using-jmeter/