DevWeb tests

This topic provides information on working with DevWeb scripts in Controller.

Run load tests with DevWeb scripts

In Controller, you can run load tests using DevWeb scripts created in VuGen, or upload scripts created in DevWeb Standalone.

Creating scripts in DevWeb Standalone enables you to take advantage of its coding flexibility and integration with multiple IDEs. You can then upload and run the DevWeb Standalone scripts directly in Controller scenarios. Any conversion required takes place automatically, so that the properties for the script can be viewed in the Controller Runtime Settings UI, and the script resembles any DevWeb script created in VuGen.

You can add DevWeb scripts to scenarios and run tests side-by-side with any other tests. You can also edit runtime settings, and generally use the scripts in the same way as for other web-based protocols.

Back to top

Add DevWeb scripts to scenarios

This task describes how to add DevWeb scripts to scenarios, for DevWeb scripts created in either VuGen or DevWeb Standalone.

To upload a DevWeb script:

  1. On the main Controller toolbar, click the New Scenario button .
  2. In the New Scenario dialog box, in the Select the scripts... area, make sure the LoadRunner Scripts radio button is selected.
  3. Click the Browse button and in the Open Script dialog box, browse to the DevWeb script location.
  4. In Files of type field, select DevWeb Scripts (*.js):

  5. Select the JavaScript file, and click Open.
  6. Click OK in the New Scenario dialog box. The scenario containing the DevWeb script opens in the Design tab.

Back to top

Runtime settings

You can edit runtime settings for your DevWeb script from Controller. Select Runtime Settings in the right-click menu for the script to open the a dedicated Runtime Settings window for DevWeb.

From the Runtime Settings window you can define run properties for your script, including:

  • Run logic
  • Logger settings
  • Proxy settings, including PAC support
  • HTTP, SSL, and encryption settings
  • Snapshots during replay

Note: When a script is added to a scenario, the Create snapshots during replay is set to On error. You can change the setting to Never or Always, but take into account that snapshots can impact performance during load testing.

DevWeb measurements

Measurements from DevWeb tests are reported to the graphs under the web-based category.

There is an additional graph for DevWeb tests, the Bytes Sent per Second graph. The graph displays the amount of data sent by DevWeb Vusers to the server.

For details, see Web Resource monitoring overview and Bytes Sent per Second Graph.

Back to top

See also:

Got it!
Welcome to the help center for LoadRunner Professional, formerly known as LoadRunner. LoadRunner Professional is part of the new Micro Focus LoadRunner family of performance testing products.