Context
A context action is a special case of action in Chutney, providing technical support :
- It does not make use of external services (see target).
- It does not define outputs.
- It should not have validations included.
Context Put🔗
Take a list of named values and put them into the execution context (i.e. create a variable for scenario expressions).
Required | Name | Type | Default |
---|---|---|---|
* | entries |
Map of <String, Object> |
No outputs
Example🔗
Debug🔗
Log the execution context variables.
Required | Name | Type | Default | Description |
---|---|---|---|---|
* | filters |
List<String> | List of strings that logged keys must contains |
No outputs
Example🔗
Sleep🔗
Wait for a given time.
Required | Name | Type | Default | Description |
---|---|---|---|---|
* | duration |
Duration (String) | The time to wait for |
No outputs
Example🔗
Final🔗
Define a teardown action, which will be executed at the end of scenario execution.
Required | Name | Type | Default | Description |
---|---|---|---|---|
* | type |
String | The action type | |
* | name |
String | The name of the teardown action step | |
inputs |
Map<String, Object> | The inputs to use | ||
validations |
Map<String, Object> | The validations to execute | ||
strategy-type |
String | The type of strategy to use | ||
strategy-properties |
Map<String, Object> | The properties of the strategy to use |
No outputs
Example🔗
Fail🔗
Just fail.
No inputs
No outputs
Example🔗
Success🔗
Just pass.
No inputs
No outputs