LR Learning Notes---parameter settings (turn temperature to know new)

Source: Internet
Author: User

LR While the recording program is running, Vugen (script builder) automatically generates a script that contains the values that are actually used during the recording, and if you attempt to perform a script activity (such as queries, commits, etc.) using different values in the recorded script, you must replace the recorded value with the parameter value. This process is called parameterization.

The following is a parameterized process:

The parameterization process is simple and the parameterization is complicated by setting the parameter properties. This is mainly a combination of the following two attributes.There are three options in the Select Next row: Sequential (sequential read), random (randomly read), unique (unique)Update the value also has three options: each occurrence (per encounter), each iteration (per iteration), Once (always)These two properties can be combined in nine ways, each of which is different. Next we will use a small example to verify the effect of each method of value. Record an order script with an LR instance webtours. The script will parameterize both the departure city and the arrival city. After parameterization, it is necessary to make an association (which is the key point) to ensure the playback script succeeds. Set 10 users to continue to load the scene (there are 10 data in the parameter file), with the default settings. That is, two users are loaded every 15 seconds, with a duration of 5 minutes and 5 users per 30 seconds. Then run the script concurrently. The following are 9 combinations of test results:(1) Sequential Once10 users each user takes the same value, and the values in all iterations of each user are the same. The first user performs 5 iterations, and each iteration gets the first parameter. The second user also performed 5 iterations, with the first parameter taken for each iteration. The third one: Fourth one. Wait, 10 users are the same.(2) Unique once10 users Each user value is unique, and the values in all iterations of each user are the same. The first user performs 5 iterations, each iteration takes the first parameter, the second user executes 5 iterations, each iteration takes the second argument; the third one ... The fourth one ... And so on The tenth user performed 5 iterations and took the tenth parameter for each iteration.(3) Random Once10 users, each with a random value, the same value in all iterations for each user. The first user performs 5 iterations, and each iteration takes a third parameter;
The second user performs 5 iterations, and each iteration takes a seventh parameter;
The third one ... The fourth one ... And so on, 10 users randomly take a value.(4) Sequential each iteration10 users, each iteration of a new value per user. First user, first iteration, take first argument, second iteration, second argument .... Tenth iteration, take the tenth parameter. The second user, the first iteration, takes the first parameter, the second iteration, takes the second parameter .... Tenth iteration, take the tenth parameter. The third one: The fourth one ... And so on(5) Unique each iterationDue to the fact that only 10 parameters are set, the error of insufficient parameters is reported during operation. First user, first iteration, take first parameter, second iteration error ... Tenth iteration error. The second user, the first iteration, takes the second argument, and the second iteration is an error ... Tenth iteration error. The third one: Fourth one. And so on If modified to 100 parameters then: First user, first iteration, take first argument, second iteration, take second parameter .... Tenth iteration, take the tenth parameter.
The second user, the first iteration, takes the 11th parameter, the second iteration, takes the 12th parameter .... Tenth iteration, take the 20th parameter.
The third one: The fourth one ... And so on(6) Random each iteration10 users, each iteration of a user randomly goes to a value. First user, first iteration, take first parameter, second iteration, take fourth parameter .... Tenth iteration, take the seventh parameter.
The second user, the first iteration, takes the third argument, the second iteration, takes the second argument .... The tenth iteration takes the first parameter.
The third one: The fourth one ... And so on(7) sequential each ocurrance10 users, each time a user encounters a value. first user, first iteration, one value per encounter, second iteration, sequentially followed by value .... The second user, the first iteration, takes a value (starting with the first argument) in the order of each encounter, and the second iteration, followed by the value in order ..... And so forth. (8) Unique each occurrance10 users, each time a user encounters a different value. There are enough parameters in the argument list. (9) Random each occurrance10 users, each time a user encounters a random value. The first user, the first iteration, each encounter randomly take a value, a second iteration, a random re-fetch value ..... The second user, the first iteration, each encounter randomly take a value, a second iteration, a random re-fetch value ..... And so on In short, the main distinction between sequential, Unique, Random difference. Sequential are sequential, with each user starting from the first parameter. Unique, each user takes a different value. Random randomly, each user takes a random value.

LR Learning Notes---parameter settings (turn temperature to know new)

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.