I want to simulate a user with 2 http request and 1 http request multiple times via csv file. Below is my structure
Test Plan
- Thread Group *[No. of threads = 2, Ramp-up = 1, Loop count = 1]*
- - View Results Tree
- - Simple Controller
- - - http request 1
- - - http request 2
- - - while controller *[condition = ${no} (variable from csv file)]*
- - - - http request 3
- - - - CSV Data set Config *[Recycle on EOF = False, Stop on EOF = False, Sharing Mode = All threads] and CSV file has 3 records*
Expected: 1 user should execute
http request 1, http request 2, http request 3, http request 3, http request 3 (since csv has 3 records)
- If i keep Recycle on EOF = False, Stop on EOF = False it keeps on running the request until script ends and after end of data (ie 3 rows) it starts throwing error
- If i keep Recycle on EOF = True, Stop on EOF = True it runs for only 1 user and stops.
- If i keep Recycle on EOF = True, Stop on EOF = False it keeps on running the request until script ends
- If i keep Recycle on EOF = False, Stop on EOF = True it runs for only 1 user and stops.
But can't simulate as per my expectation. Any help would be appreciated. Thanks.