Run several scripts on one mobile
This procedure is used to run a sequence of several End User Experience scripts on the same mobile (sequentially, as a single mobile cannot run two different scripts at the same time). A single user instance represents the mobile to be tested, and each new iteration of this instance runs a new script.
- Procedure
In this example, we will assume that we must test 3 scripts "UserScript1", "UserScript2" and "UserScript3" on a single mobile, which is identified with the ID "034F1E2".
- Create a NeoLoad List Variable type named "EUEScript". Enter the values and In the Value change policy section, select On each use.
- In a Virtual User, add an Advanced action and configure the parameters.
For more information on the configuration of Advanced actions, please refer to the Advanced actions page.- Enter the name of the script to be run using the previously created variable ${EUEScript.col_0}.
- Enter the name of the mobile to be tested using the value "034F1E2".
Example for Perfecto Mobile
- Create a population and add the previously created virtual user.
- In your scenario, add the previously created population with a load of 1 Virtual User (because there is only one mobile). In order to check that each script is run the same number of times, define the duration policy per iteration. The number of iterations must be a multiple of 3 (because there are 3 scripts to be run).
- Maintenance
The scenario must be updated every time a User Experience script is added or removed:
- Increment/decrement the value of the EUEScript variable,
- In iterative mode, enter the number of iterations to be executed. The number must be a multiple of the number of scripts to be run.
Home