NeoLoadWeb Operator
The NeoLoadWeb operator allows piloting performance tests on a target system by leveraging the Tricentis NeoLoad Web solution.
Once triggered, this operator will configure and start the execution of a NeoLoad test run on the remote endpoint. When the test is unable to run then the operator blocks the Akamas workflow issuing an error.
Operator arguments
This operator requires five pieces of information to pilot successfully performance tests within Akamas:
The location of a .zip archive(project file) containing the definition of the performance test. This location can be a URL accessible via HTTP/HTTPS or a file path accessible via SFTP. Otherwise, the unique identifier of a previously uploaded project must be provided.
The name of the scenario to be used for the test
The URL of the NeoLoad Web API (either on-premise or SaaS)
The URL of the NeoLoad Web API for uploading project files
The account token used to access the NeoLoad Web APIs
When a projectFile
is specified the Operator uploads the provided project to NeoLoad and launches the specified scenario. After the execution of the scenario, the project is deleted from NeoLoad. When a projectId
is specified the Operator expects the project to be already available on NeoLoad. Please refer to NeoLoad official documentation on how to upload a project and obtain a project ID.
Name | Type | Value Restrictions | Required | Default | Description |
---|---|---|---|---|---|
| String | It should match an existing scenario in the project file. Can be retrieved from the "runtime" section of your neoload controller. | No, if the component whose name is defined in | The name of the scenario to be used for the performance piloted by Akamas | |
| String | It should be a valid UUID | No, if a | The identified of a previously uploaded project file. Has precedence over | |
| Object | It should have a structure like the one described here below | No, if a | The specification of the strategy to be used to get the archive containing the specification of the performance test to be piloted by Akamas. When defined | |
| String | It should be a valid URL or IP | No | The address of the API to be used to upload project files to NeoLoad Web | |
| String | It should be a valid URL or IP | No | The address of the Neotys' NeoLoad Web API | |
| String | Comma-separated list of zones and number of LG | No | The list of LG zones id with the number of the LGs. Example: "ZoneId1:10,ZoneId2:5". If empty, the default zone will be used with one LG. | |
| String | A controller zone Id | No | The controller zone Id. If empty, the default zone will be used. | |
| String | It should match the name of an existing component of the System under test | No | The name of the component whose properties can be used as arguments of the operator. | |
| String | It should match an existing access token registered with NeoLoad Web | No, if specified in the component. See example below | The token to be used to authenticate requests against the NeoLoad Web APIs |
ProjectFile
structure and arguments
ProjectFile
structure and argumentsThe projectFile
argument needs to be specified differently depending on the protocol used to get the specification of the performance test:
HTTP/HTTPS
SSH (SFTP)
HTTP/HTTPS
Here follows the structure of the projectFile
argument in the case in which HTTP/HTTPS is used to get the specification of the performance test:
with its arguments:
Name | Type | Value Restrictions | Required | Default | Descrption |
---|---|---|---|---|---|
| String | It should be a valid URL or IP | Yes | The URL of the project file | |
| Boolean | No | true | If the https connection should be verified using the certificates available on the machine in which the operator is running |
SSH (SFTP)
Here follows the structure of the projectFile
argument in the case in which SFTP is used to get the specification of the performance test.
with its arguments
Type | Value Restrictions | Required | Default | Description | |
---|---|---|---|---|---|
| String | It should be a valid SSH host address | Yes | SSH host address | |
| String | Yes | SSH login username | ||
| String | No. Either | SSH login password | ||
| Number (integer) | 1≤ | 22 | SSH port | |
| String | No, Either | SSH login key, provided directly its value or the path of the file to import from. The operator supports RSA and DSA Keys. | ||
| String | It should be a valid path on the SSH host machine | Yes | The path of the project file |
component
structure and arguments
component
structure and argumentsThe component
argument can be used to refer to a component by name and use its properties as the arguments of the operator.
Component property to Operator argument mapping
Component property | Operator argument |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Examples
Without component argument
With component argument
Last updated