-
Notifications
You must be signed in to change notification settings - Fork 48
HeaderModifier
Maciej Laskowski edited this page Nov 18, 2016
·
5 revisions
Header Modifier is responsible for injecting additional headers to the page before it is opened to test.
Module name: header
! Important information |
---|
In order to use this modifier it must be declared before the open module in the definition of the test suite XML and *[[proxy |
Parameter | Value | Description | Mandatory |
---|---|---|---|
key |
x | Key for the header | yes |
value |
y | Value for the header | yes |
<?xml version="1.0" encoding="UTF-8" ?>
<suite name="test-suite" company="cognifide" project="project">
<test name="header-modify-test">
<collect>
...
<header key="Authorization" value="Basic emVuT2FyZXVuOnozbkdAckQZbiE=" />
...
<open />
...
</collect>
<compare>
...
</compare>
<urls>
...
</urls>
</test>
...
<reports>
...
</reports>
</suite>
-
How To Use
-
Releases