gauntlt/gauntlt

View on GitHub
examples/curl/cookies.attack

Summary

Maintainability
Test Coverage
@slow
Feature: Evaluate received cookies against expected.

Background:
  Given "curl" is installed
  And the following profile:
    | name     | value      |
    | hostname | google.com |

Scenario: Verify server is returning the cookies expected
  When I launch a "curl" attack with:
    """
    curl --include --location --head --silent <hostname>
    """
  Then the following cookies should be received:
    | name | httponly |
    | NID  | true     |