Advertisement
Guest User

Scenario Outline

a guest
Oct 24th, 2012
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. Scenario Outline: Create comments using supported media types
  2. Given I have an existing default incident
  3. And I know the ID for the default incident as "defaultIncidentId"
  4. And my payload type is "<type>" and I am accepting "<type>"
  5. When I POST my payload to "/v1/incidents/{defaultIncidentId}/comments"
  6. Then a response of 201 (CREATED) is returned
  7. Examples:
  8. | type |
  9. | application/json |
  10. | application/json; charset=UTF-8 |
  11. | application/vnd.rackspace.incident-v1+json |
  12. | application/vnd.rackspace.incident-v1+json;charset=UTF-8 |
  13. | application/xml |
  14. | application/xml; charset=UTF-8 |
  15. | application/vnd.rackspace.incident-v1+xml |
  16. | application/vnd.rackspace.incident-v1+xml;charset=UTF-8 |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement