1
votes

To begin with i am new to Jmeter. I have a scenario where i have set of 20000 usersemployeeid in a .csv file and i have a rest api path/getempid/${empid}. Scenario is 1000 users hit the api at a time and for every 20-25 seconds they hold. and after 20 25 seconds another set of users say 3000 users hit the api. I have a CSV data set config, bean shell sampler and Ultimate thread group.

Please find the below attachments enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

When i run the test the result in view results tree looks like

BeanshellSampler 111 111 111 222 111 222 111 333 333 333 222 111

Instead

111 222 333 444 555

etc so on

Also instead of running for one time. There is an entry of 500.

My scenario is 20 users in .csv file 1st 10 users should hit the api and then the second set of 10 users

1

1 Answers

0
votes

I think this is because of your ultimate thread group settings. Put start thread group count as 10 and rest everything 0 to get 111 222 333.

See the output with everything 0 except for "start thread count":-

enter image description here

If you want output to be multiple times then the result will be same as you are getting now.

I hope this help.