This is my csv file data. so is it possible in Jmeter that based on the Action column i can decide which endpoint to call or which HTTP action to perform by using if else condition or switch case?
CodePudding user response:
It is, the easiest is going for
More information: Running JMeter Samplers with Defined Percentage Probability
CodePudding user response:
Just pass the CSV variable into an IF loop and check if the variable matches "create", "update" or "delete".
Info on IF Loops: https://www.blazemeter.com/blog/six-tips-for-jmeter-if-controller-usage