Hi All,
I’m a newbie. I could use some help in looping with csv feeder.
I have 2 data files:
- user.csv (1st column: email; 2nd column: password)
- isbn.csv (1st column: isbn)
- There 20 users, each entitled with 5 unique isbn. Load test requires 100 simulations.
What I did is to put this in the (csv) data files: 100 lines, emails and passwords are replicated 5 times (user.csv), but only one ISBN per line (isbn.csv).
email,password
turbano@yopmail.org,password123
turbano@yopmail.org,password123
turbano@yopmail.org,password123
turbano@yopmail.org,password123
turbano@yopmail.org,password123
jsl100@yopmail.org,password123
jsl100@yopmail.org,password123
jsl100@yopmail.org,password123
jsl100@yopmail.org,password123
jsl100@yopmail.org,password123
rguerrero@yopmail.org,password123
rguerrero@yopmail.org,password123
rguerrero@yopmail.org,password123
rguerrero@yopmail.org,password123
rguerrero@yopmail.org,password123…and so on
Here’s the scenario:
- Login
- Search ISBN
- Logout
What I need to do:
The idea is, since every user is entitled with 5 isbn, the simulation should be like this:
- the first user must LOGIN and then
- SEARCH ISBN (5 times, same user, with 5 different isbn numbers) and then
- LOGOUT.
Technically, there should be a loop for the whole simulation (Login-Logout) and another loop for Search_ISBN only.
I was able to create a script that works fine when it comes to feeder, but I am having a hard time with the looping.
Please help. Thanks in advance.