Run several scripts on several mobiles

This procedure is used to run several End User Experience scripts sequentially on several mobiles. Each virtual user instance represents the execution of scripts on a mobile, with a new script being run at each new iteration of the Actions container. The load corresponds to the number of mobiles to be tested, and the number of iterations corresponds to the number of scripts to be tested.

In this example, we will assume that we must test 3 mobiles "Device Under Test" or "DUT", identified with the following IDs: "034F1E2", "5A18F34", "3BAA91B", and that we must sequentially test 3 scripts "UserScript1", "UserScript2" and "UserScript3" on each mobile.

We then want to sequentially run the first script "PRIVATE:UserScript1.xml" simultaneously on the 3 mobiles, then the second script "PRIVATE:UserScript2.xml" simultaneously on the 3 mobiles, and then the last script "PRIVATE:UserScript3.xml" simultaneously on the 3 mobiles.

  1. Create a new NeoLoad List Variable type named "DUT". Enter the DUT values and In the Value change policy section, select For each Virtual User.


  2. Create a NeoLoad List Variable type named "EUEScript".

  3. 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.
  4. Enter the name of the script to be run using the previously created variable ${EUEScript.col_0}.
  5. Enter the name of the mobile to be tested, using the previously created variable ${DUT.col_0}.

    Example for Perfecto Mobile

  6. Create a population and add the previously created Virtual User.
  7. In your scenario, add the previously created population with a load of 3 virtual users (because there are 3 mobiles). 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 mobile is added or removed:

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