I am currently trying to edit a jmeter test (for eCommerce) so i would have 10% of X number of users have a specific number of 5 products in the cart ( nothing more, nothing less).
If using a While Controller, how and what should i add?
I have created a CSV file with around 20 items so it can loop through the items i have selected.
The problem is that currently the cart counting starts from 1 and stops at 5, and the checkout is not made. Before adding the While Controller, the checkout was correctly made.
Where and what should i change?
I have compared 2 tests : on the first one, the checkout is correctly made. Items are randomly added, starting with one, finishing with a random number. The checkout is made using an If controller and a throughput controller.
On the second test, having the same set up for the checkout, i have added a condition ${cartitems} == 5 before the checkout( the var is declared before). The items are still randomly added, starting with 1.