Scenario Headers Block

At the top of a hypertest scenario a HEADERS block may be defined which defines HTTP headers added to every request within this scenario.

This is useful for example to pass authentication information.


Any field name can used multiple times even if the given header's semantics does not allow it. It is up to the test runner to correctly set them on the server request.


  Authorization "Bearer __token__"
  Set-Cookie "foo"
  Set-Cookie "bar"

With Class "Entrypoint" {
    Expect Link "only-visible-when-authorized"
Last Updated: 12/4/2019, 7:23:03 PM