waf.feature 546 B

1234567891011121314151617181920
  1. # language: en
  2. @waf
  3. Feature: AWS WAF
  4. Scenario: Making a request
  5. When I call the "ListRules" API with JSON:
  6. """
  7. {"Limit":20}
  8. """
  9. Then the value at "Rules" should be a list
  10. Scenario: Handling errors
  11. When I attempt to call the "CreateSqlInjectionMatchSet" API with:
  12. | Name | fake_name |
  13. | ChangeToken | fake_token |
  14. Then I expect the response error code to be "WAFStaleDataException"
  15. And I expect the response error message to include:
  16. """
  17. The input token is no longer current
  18. """