Created
July 15, 2018 21:43
-
-
Save haigopi/4faf4e2aa14e4c7cca2ee934f0c2895d to your computer and use it in GitHub Desktop.
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
Feature: A simple payload that can kick off the API | |
Background: | |
* url baseURL+'/test' | |
* configure headers = read('classpath:headers.js') | |
* def payload = read('payload.json') | |
Scenario: Create and Retrieve a menu by Id | |
And request payload | |
When method post | |
Then status 200 | |
And request payload | |
When method get | |
Then status 200 | |
And request payload | |
When method post | |
Then status 200 | |
And request payload | |
When method get | |
Then status 200 | |
And request payload | |
When method post | |
Then status 200 | |
And request payload | |
When method get | |
Then status 200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment