I am using JMeter to stress and load test our application developed in MVC framework. Our application is developed in REST API's.

I created scripts for logging in, creating users and orders through CSV file.

I have got the following issues:

  1. I need to assign different access rights to each user through CSV. how can I do that in JMeter ?

  2. Create, edit or delete account based on the logged-in user's access token.

Is it possible in JMeter? How can I achieve these in JMeter?

CSV file screenshot that i am using:

1

1

There are 1 best solutions below

1
On

I believe Switch Controller is something you're looking for, you can point JMeter to execute this or that switch branch basing on Operation variable value

You can find an example of Switch Controller usage in the Running JMeter Samplers with Defined Percentage Probability article.