Search code examples
csvjmeter

Jmeter random requests


I want to test a web application. Lets say that i have a php script that i want to test

www.example.com/jmeter.php?runtest=??

The jmeter.php with method GET reads an id that refers to each test! I have all my ids to a csv file and i read them with the CSV data set config.

CSV file
8
9
10

If i set the number of threads (users) to 3 i get 3 requests BUT is the same request!

www.example.com/jmeter.php?runtest=8
www.example.com/jmeter.php?runtest=8
www.example.com/jmeter.php?runtest=8

What i want? The following:

www.example.com/jmeter.php?runtest=8
www.example.com/jmeter.php?runtest=9
www.example.com/jmeter.php?runtest=10

Any ideas? Thanks!


Solution

  • Try

    set sharing mode : All Threads 
    

    in csv config component.