Created
March 22, 2021 13:50
-
-
Save olivierodo/b67c5b25f88dfb0990f3d73ee8034e87 to your computer and use it in GitHub Desktop.
RestQA - Generate scenario from curl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given I have the api gateway hosted on "https://jsonplaceholder.typicode.com" | |
And I have the path "/todos/1" | |
And I have the method "GET" | |
When I run the API | |
Then I should receive a response with the status 200 | |
And the response body should be equal to: | |
""" | |
{ | |
"userId": 1, | |
"id": 1, | |
"title": "delectus aut autem", | |
"completed": false | |
} | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment