Reputation: 703
I create a test plan when working with jMeter, and I want to create a test plan with 100 concurrency users.
After first page(homepage) I want to decrease 50 users(drop-off and do not access to next page) while 50 another users continue access to another page.
Someone suggested me use Ultimate Thread Group but I think it can't help.
Any idea for this issue?
Upvotes: 2
Views: 613
Reputation: 983
You can add a Throughput controller after your home page, and add all the requests you want to be executed with only 50 users into the throughput controller. you have two options :
percent executions: A number from 0-100 that indicates the percentage of times the controller will execute. "50" means the controller will execute during half the iterations through the test plan.
Total executions: For total execution mode, the number indicates the total number of times the controller will execute.
Check Throughput Controller from Jmeter user manual for more information.
Upvotes: 0
Reputation: 168157
If you need to shut down half of threads after 1st request you can do it as follows:
Put the following expression in the "Condition" area:
${__threadNum} % 2 == 0
Add Test Action sampler as a child of the If Controller and configure it as follows:
Current Thread
Stop
Explanation:
Example Test Plan structure:
Upvotes: 3