简体   繁体   中英

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

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM