sns.feature 541 B

1234567891011121314151617
  1. # language: en
  2. @sns @client
  3. Feature: Amazon Simple Notification Service
  4. Scenario: Making a request
  5. When I call the "ListTopics" API
  6. Then the value at "Topics" should be a list
  7. Scenario: Handling errors
  8. When I attempt to call the "Publish" API with:
  9. | Message | hello |
  10. | TopicArn | fake_topic |
  11. Then I expect the response error code to be "InvalidParameter"
  12. And I expect the response error message to include:
  13. """
  14. Invalid parameter: TopicArn Reason: fake_topic does not start with arn
  15. """