Webtest WebTest GitHub Home

General Type header

Description

Specify http headers by name and value

Header elements belong to the config rather than to a specific invocation, because they reflect browser settings. They are unlikely to change during a conversation.

Parameters

name
Required? yes
The name of the HTTP header as defined by the HTTP spec., e.g. User-Agent, Accept-Language or Cookie.
value
Required? yes
The header value. Range and format are restricted by the HTTP spec., e.g. Mozilla/4.0, de-ch or cookieName=cookieValue

Usage

config.