Silk Performer scripts

This topic provides information about including Silk Performer scripts in your LoadRunner Professional scenario. For details about creating scripts, see the Silk Performer product documentation.

Silk Performer integration overview

Silk Performer is a Micro Focus software performance testing tool across web, mobile and enterprise applications. This integration enables you to save and run Silk Performer scripts in LoadRunner Professional tests, and view results in the LoadRunner graphs.

By including Silk Performer scripts in your scenarios, you can run Silk Performer scripts side-by-side with any other scripts, giving you a single entry point for executing your performance tests.

Data is reported in real-time, and measurements can be viewed in Analysis using the data points from the Silk Performer tests.

Back to top

Set up and run Silk Performer scripts

After you export your Silk Performer projects from the Silk Performer Workbench, you will be able to include them in LoadRunner scenarios.

To run Silk Performer scripts in your Controller scenarios:

  1. Create and edit scripts in Silk Performer Workbench. For details, see the Silk Performer product documentation.

  2. Install the Silk Performer Agent on all load generators that will be used to run Silk Performer scripts. When you run the OneLG setup, select the Install Silk Performer Agent after installation option in the End User License Agreement page of the installation wizard.

    For more details, see the LoadRunner Professional Installation.

    For a silent installation, add the following parameter: INSTALL_SILK_PERFORMER_AGENT=1.

    Example: SetupOneLG.exe -s -sp"/s INSTALLDIR=""C:\Program Files (x86)\Micro Focus\LoadRunner OneLG"" IS_RUNAS_SERVICE=1 START_LGA=1 NVINSTALL=N INSTALL_SILK_PERFORMER_AGENT=1"

  3. Follow these steps to export your Silk Performer project to prepare it for use in Controller:

    1. Open your project in the Silk Performer Workbench and select File > Export Project to > LoadRunner Professional.

    2. In the Export Project window, specify an export location and click OK.

  4. In Controller, add Silk Performer scripts to your scenario from the New Scenario dialog box. In the Add Script window, browse for the Silk Performer project file with an .ltp extension, that you exported in the previous step. You can also add them later from the Add Group dialog box.

  5. Edit the runtime settings of the script as needed. To open the runtime settings, right-click the script name and select Runtime Settings, or select the script and click the Runtime Settings button on the toolbar. The runtime settings include the following:

    1. In the Log node, enable logging and specify the extent of the logging to collect runtime information about your scenario run.

    2. From LoadRunner Professional 2022 R2: In the Pacing node, set the pacing to control the time between iterations of the actions in the script.

  6. Run the test and view the results as you would with other tests. Silk Performer scripts produce results that are displayed in the standard Transaction and Web Resource graphs. Only Web and BDLT protocols (Browser Driven Load Test) data graphs are available.

Back to top

Known issues for Silk Performer scripts

The following known issues apply to Silk Performer scripts:

  • If you have an issue when replaying scripts in your web browser, you may need to update the browser webdriver. For details, see WebDriver update for Silk Agents.
  • NV (Network Virtualization) is not supported.
  • Goal oriented scenarios are not supported.
  • Synchronization functions, such as rendezvous points, are not supported.

Back to top

See also: