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.

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".

  1. Create a NeoLoad List Variable type named "EUEScript". Enter the values and In the Value change policy section, select On each use.

  2. 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.
  3. Enter the name of the script to be run using the previously created variable ${EUEScript.col_0}.
  4. Enter the name of the mobile to be tested using the value "034F1E2".

    Example for Perfecto Mobile

  5. Create a population and add the previously created virtual user.
  6. 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).

The scenario must be updated every time a User Experience script is added or removed: