2014-03-06 16:02:02 -04:00
|
|
|
@ProcessMakerMichelangelo @RestAPI
|
|
|
|
|
Feature: Process Variables Negative Tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Background:
|
2014-03-06 16:32:07 -04:00
|
|
|
Given that I have a valid access_token
|
2014-03-06 16:02:02 -04:00
|
|
|
|
2014-03-07 16:11:17 -04:00
|
|
|
Scenario Outline: Get all variables of a Grid bad parameters (negative tests)
|
2014-03-06 16:32:07 -04:00
|
|
|
Given I request "project/14414793652a5d718b65590036026581/grid/00000000000000000000000000000000/variables"
|
|
|
|
|
And the content type is "application/json"
|
|
|
|
|
Then the response status code should be <status_code>
|
|
|
|
|
And the response charset is "UTF-8"
|
|
|
|
|
And the type is "object"
|
|
|
|
|
And the response status message should have the following text "<status_message>"
|
|
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
|
| status_code | status_message |
|
2014-03-07 16:11:17 -04:00
|
|
|
| 400 | grid_uid |
|