I have a test plan that includes a thread group with multiple http samplers in it. The flow is a user making a purchase on a web site. So it includes 1) Searching, 2) Adding to cart, 3) Checking out, 4) Purchase. To be more realistic, I want to add abandonment rates. So I want to add something that would stop the iteration at either steps 1, 2, or 3. And this should be weighted so more people would abandon at step 3 vs step 1. What's the best way to do this? Do I add an IF statement before each step and then based on a percentage, either perform the action or not?
Thanks, Marcelo
