O'Reilly logo

JMeter Cookbook by Bayo Erinle

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Interleave and Random Controller in test plans

When designing test plans, sometimes it is useful to simulate the random behavior of users. That is, not have all users in your test plan execute the same flow of events in the same manner. For example, in a typical e-commerce website selling products, it is not unusual to have potential consumers come and shop for different products. Some visit the site with the intention of buying, while some might have just visited the site to compare prices with a competing vendor. So, you could have Consumer A visit the site, browse around, put a few items in their cart, and then check out. Consumer B visits the site, just browses, not adding anything to their cart. As such, for this described scenario, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required