Evrim Ozcelik wrote:
Hi,
I have a number of pages and I need to call one of them according to
some probability.
For example there are 3 pages; PageA, PageB and PageC.
At each iteration I need to call one of the pages according to
probabilities %30, %20 and %50.
Test Plan
Thread Group
Simple Controller
Page A (%30)
Page B (%20)
Page C (%50)
So if I iterate 10 times, then the page callings may be like that:
PageB, PageA, PageC, PageC, PageB, PageC, PageA, PageA, PageC, PageC
How can I do this using JMeter?
There was a post a week ago (on 07/07/2008) called "Branching in tests"
that addresses this.
Essentially, use Beanshell and a switch controller.
# r
--
Ronan Klyne
Business Collaborator Developer
Tel: +44 01189 028518
[EMAIL PROTECTED]
www.groupbc.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]