Async Group
formatting...Module contains step implementations for the Async group task.
Close
Close the instance created in Async group start.
Add the Async group task to the list of tasks that the scenario is going to execute.
See Async group task documentation for more information.
Example
Open
Create an instance of the Async group task.
All Request tasks created after this step will be added to the request group, until the group is closed.
See Async group task documentation for more information.
Example
Given an async request group with name "async-group-1"
Then post request with name "test-post-2" to endpoint "/api/test"
"""
{
"value": "good news everyone!"
}
"""
Then get request with name "test-get-1" from endpoint "/api/test"
And close async request group
In this example, the put
and get
requests will run asynchronously, and both requests will block following requests until both are finished.
Async group tasks cannot be nested.
Arguments
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
unique name for the group, used in request statistics |
required |