The Transaction Action is used to group together certain actions, namely those relating to a business transaction, in order to extract statistics.
Name | Description | Accept variable | Required | Since |
---|---|---|---|---|
name | The Transaction name | - | ✓ | |
description | The Transaction description | - | - | |
sla_profile | The name of the SLA profile to apply to the Transaction (will not be applied to children) | - | - | 6.9 |
steps | Steps of the Transaction | - | ✓ | |
assertions | The list of assertions to validate the response content of all requests matching criteria within the Transaction. By default, the validation is applied only on response with content-type text/html or text/xhtml. List of content-types used for response matching can be customized in the Project Settings / Runtime Parameters from the GUI project (cannot be customized with As-code only project). | - | - | 7.6 |
Defining MyTransaction that contains only 1 Delay.
transaction
name MyTransaction
description My First transaction
sla_profile MySlaProfile
steps
delay 3s