Skip to content
Igor Gursky edited this page Sep 26, 2016 · 1 revision

Waiting for async Gadget update in the background to be completed

Given request body from file request.json
When the client performs PUT request on api/gadgets/12345
Then status code is 200

And should wait at most 60 seconds with interval 1 seconds until property "status" equal to "SUCCEEDED"
When the client performs GET request on {(header.Location)}
And response contains property "status" with value "SUCCEEDED"

Waiting for async Gadget update in the background to be completed or failed

.....
And should wait at most 60 seconds with interval 1 seconds until property "status" equal to "SUCCEEDED" or fail with "FAILED"
When the client performs GET request on {(header.Location)}
And response contains property "status" with value "SUCCEEDED"
Clone this wiki locally