simpledb.feature 734 B

123456789101112131415161718192021222324
  1. # language: en
  2. @simpledb @sdb
  3. Feature: Amazon SimpleDB
  4. I want to use Amazon SimpleDB
  5. Scenario: Making a request
  6. When I call the "CreateDomain" API with:
  7. | DomainName | sample-domain |
  8. Then the request should be successful
  9. And I call the "ListDomains" API
  10. Then the value at "DomainNames" should be a list
  11. And I call the "DeleteDomain" API with:
  12. | DomainName | sample-domain |
  13. Then the request should be successful
  14. Scenario: Handling errors
  15. When I attempt to call the "CreateDomain" API with:
  16. | DomainName | |
  17. Then I expect the response error code to be "InvalidParameterValue"
  18. And I expect the response error message to include:
  19. """
  20. DomainName is invalid
  21. """