ec2.feature 531 B

123456789101112131415161718
  1. # language: en
  2. @ec2 @client
  3. Feature: Amazon Elastic Compute Cloud
  4. Scenario: Making a request
  5. When I call the "DescribeRegions" API
  6. Then the value at "Regions" should be a list
  7. Scenario: Handling errors
  8. When I attempt to call the "DescribeInstances" API with JSON:
  9. """
  10. {"InstanceIds": ["i-12345678"]}
  11. """
  12. Then I expect the response error code to be "InvalidInstanceID.NotFound"
  13. And I expect the response error message to include:
  14. """
  15. The instance ID 'i-12345678' does not exist
  16. """