Created
December 5, 2015 00:20
-
-
Save pgburt/ffc0926f569bcff4e87a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Evaluate responses to various HTTP methods. | |
Background: | |
Given "curl" is installed | |
And the following profile: | |
| name | value | | |
<% payload.each do |key, value| %> | |
<%= "| hostname | #{value} |" %> | |
<% end %> | |
Scenario Outline: Verify server responds correctly to various HTTP methods | |
When I launch a "curl" attack with: | |
""" | |
curl -i -X <method> <hostname> | |
""" | |
Then the output should contain "<response>" | |
Examples: | |
| method | response | | |
| delete | Error 405 (Method Not Allowed) | | |
| patch | Error 405 (Method Not Allowed) | | |
| trace | Error 405 (Method Not Allowed) | | |
| track | Error 405 (Method Not Allowed) | | |
| bogus | Error 405 (Method Not Allowed) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment