Manual scenario of creating percentage Mode

Source: Internet
Author: User

Performance testing from scratch-getting started with LoadRunner (5)

LR provides two design methods in the Controller: manual Scenario Design and target-oriented scenario design.

1. Manual scenarios

The detailed manual Scenario Design of concurrent user mode in the book is not mentioned here. The following describes the manual scenario of creating the percentage mode.

First, create a scenario using the same method, and then switch to 'convert scenario to the percentage mode' in the scenario menu '.

The manual setting of the percentage mode is basically the same as that of the manual scenario of the concurrent user mode, but the allocation method for concurrent users is different.

In the scenario parameter setting, in percentage mode, we need to fill in the total number of concurrent users, and then set the percentage of each script on the basis of this concurrent user.

This model is suitable for the simulation of integrated business scenarios. The number of business scenarios (scripts) included in the scenario is fixed, and the proportion between them is fixed or basically fixed. Now we only need to design the total number of concurrent users to execute this scenario.

I think you should have the same question as I have. If the percentage of concurrent users * is not equal to an integer, how does LR run?

As shown in the figure, 10 * 19% = 1.9; 10 * 81% = 8.1; at this time, the number of concurrent users of the two scripts is.

So how can we allocate a total of 11 and 50% for both percentages?

Give it a try and publish the answer tomorrow.

<To be continued>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.