Releases: ubirak/rest-api-behat-extension
Releases · ubirak/rest-api-behat-extension
Add some steps about redirection precondition & response assertions
Redirection precondition new step
Given I won't follow next redirect
Response new assertions examples
Then the response status code should be 301
And response header "Location" should have value "http://www.google.com"
Correct edge case with Guzzle parse_url usage
- To correct the fact that Guzzle use
parse_url
method before appendingbaseUrl
declared in the client, we deal now directly with full urls only
Improve print response
Merge pull request #13 from tyx/feature/improve-last-response Improve print last response
Improve print response
Merge pull request #14 from tyx/feature/header-on-last-response Add headers on print response
Behat3 support
2.0.0 fix README
Move headers to requestHeaders.
Merge pull request #10 from gmorel/feature/expose_response Expose RestApiContext::request and RestApiContext::response
HTTP Header set method in RestApiContext
The beginning
Introduces :
- RestApiContext
- JsonContext