Create a Script
How is the communication between a Script and the PerformanceGuard Agent structured?
The structure for the data reported by AutoSteps script must follow the same structure as outlined for the AutoSteps Chart Widget. The documentation on how a script can communicate with the PerformanceGuard agent is described in BTM.
You can use the following parameters:
Property | Description | Examples |
---|---|---|
Transaction Group | Defines the BTM Transaction Group - Mostly used as an overall category. |
|
Transaction Name | Defines the BTM Transaction Name - Mostly used to define a more narrow category like the application or website being tested. |
|
Tags | Defines the BTM Tags - Mostly used to describe the exact operation performed by the script. |
|
To create a new script click . You can select a category from the menu or you can create a new Script Category while creating a new Script.
Category: Used to organize your scripts and also makes it easier to search for a particular script.
Executable and Executable Parameters: Used to define what and how a script is executed.
Creating Executable and Executable Parameters
You can create the line of arguments for the executable and set values to each parameter while creating a new Script.
When AutoSteps executes the script, it is done using the parameters in the order they are written and thus it is important to type the parameters according to the syntax for your executable.
After creating a parameter you will be able to add Default Parameter Values to each parameter.
Creating a Script with an executing binary file
AutoSteps supports the use of self-contained executable (.exe files). This allows you to distribute the executable and thus no installation of an executable program on the AutoSteps computer is necessary in order to execute the script.
- Go to Administration > AutoSteps > Scripts and Create a script
- Upload the file and Click Save