Reputation: 3
I am new to Jmeter. Here is the structure of the API's.
I want to test the script with 500 users. If my login API is passed for 400 users then I want to run the 'Get Media Gallery' API for only those 400 users only so I have used IF controller for that. Here is the screenshot for the IF controller.
But even I am getting the JMeterThread.last_sample_ok=true, My If the controller is not working.
Upvotes: 0
Views: 91
Reputation: 58772
Just use without quotes
${JMeterThread.last_sample_ok}
Or use __groovy
as suggested if performance is an issue
Upvotes: 1