Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Run a SilkPerformer loadtest from the command line or from a batch file.

Run a SilkPerformer loadtest from the command line or from a batch file.

The syntax to run Silk Performer from the command line is :-

PERFORMER [project file [/Automation [refresh rate] [/WL:workloadname] [/StartMonitor]] [/PatrolReport] [/Dev]]

For example: assuming a default installation of Silk Performer 9.5 on the C: drive

"C:\Users\ciaranb\Documents\Silk Performer 9.5\Projects\Demo_Borland_Web\Demo_Borland_Web.ltp" /Automation 30 /WL:"Workload1"

 

The following is a list of the available parameters and their description:

  • project file Name of the project file; that defines the load test to be executed, to open.
  • /Automation Automatically start the load test that is defined by the specified project file. If you omit this parameter, SilkPerformer simply opens with the specified project.
  • refresh rate Refresh rate, in seconds, at which the Monitor window is to be refreshed. If you omit this parameter, then no refresh will occur.
  • /WL:workloadname Name of the workload in the specified project file. If you specify a workload, it will be set as the Active Workload in the project file.
  • /StartMonitor Start monitoring facility of the Performance Explorer when running the test.
  • /PatrolReport Create a result file, named LoadTestReport.xml, at the end of the load test where all agent summary measurements are stored. Note: You must be licensed for Silk Performer KM in order to use this switch.
  • /Dev Specifies to start as SilkPerformer Developer Workbench.
  • /Lite Specifies to start as SilkPerformer Lite Workbench.
  • /CTE Specifies to start as SilkPerformer Component Workbench.
  • /Vision Specifies to start as SilkPerformer Monitor Workbench.
  • /? or -? Displays help about the SilkPerformer command line interface.
  • /Resultsdir:directory Specifies the directory where the load test results are stored. The directory path can be absolute or relative to the project file.

 

Please note:

  1. The Loadtest MUST be run once from the SilkPerformer workbench before being used as scheduled test. This is to ensure that the workload information is written in to the LTP file.
  2. Ensure "WL" is in upper case
  3. Ensure you have named the LTP file correctly and have referenced the path correctly in the batch file.
  4. Ensure that the command is on a single line in your batch file. Batch files are executed on a line by line basis.
  5. You need to include quotation marks as shown.

 

For complete details on the Syntax please refer to the section "Running a load test from the command line" in the Online Help or type the following from a command line : performer -?

 

Please note, the command line parameter /Resultsdir:directory was only added in Silk Performer 10.0 and is not available in earlier versions.

 

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 19:03
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.