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>