0
votes

I want to perform a load test with JMeter on our API using HTTP requests. I have 40 endpoints in a CSV file and there will be much more requests than just 40 (during 5 minute run it can be 100 000 requests).

My CSV file looks like this:

channels,/channels

pages,/pages

sites,/sites

.

36 more endpoints

.

seos,/seos

Is it possible to force JMeter to select the path from CSV file randomly?

Example

  1. request ... pick endpoint /pages and send GET request
  2. request ... pick endpoint /seos and send GET request
  3. request ... pick endpoint /sites and send GET request
  4. request ... pick endpoint /pages (AGAIN) and send GET request

etc. for more than 100 000 times in 5 minutes.

Thanks.

1
I don't think jmeter natively support random csv data read, you can try with this plugin: blazemeter.com/blog/…gazzo

1 Answers

0
votes

I don't think you should be doing this as well-behaved test should be repeatable, however if you're absolutely sure that you need this functionality you can go for one of the following plugins:

Both can be installed using JMeter Plugins Manager