sharjeel
7 years agoNew Contributor
loadUI not running testCase in sequence
I have a REST API based testCase. Within the testCase, i am using Setup Script (groovy) to increment a property called 'id' s value by 1. The test steps within the test case use this id in their json request. This id has to be unique for each test case. The issue is when I run this test case using loadUI with 2 VU (Virtual Users), loadUI starts two test cases with the same 'id'. I have to keep the 'id' as unique for the test steps within the test case to work. Please advise.