Parameter | Type / syntax | Description |
$server= | String | Name (or IP) of the server being tested. |
$port= | Integer | Port number of the tested application. |
$uri= | URI or: $href(text) $action $var(name,default) |
URI of the current request. Either static
text or one of the following expressions: $href(text) - extracts URI from the link containing the specified text (in the response to the previous request). $action - extracts URI from the form action (in the response to the previous request). $var(name,default) - uses the value of the variable set previously by the $exportvar function (see below). If the variable is undefined, uses default instead. |
$method= | GET/POST | HTTP request method. |
$keepalive= | Yes/No | Triggers the use of keep-alive requests. |
$delay= | Integer | Delay inserted after request (milliseconds). |
$fail= | [!]/regexp/ | If the regular expression is matched in the response, the request is accounted as failed (see Failerrorsymbol in Syntax - global parameters). The exclamation point (!) preceding the regular expression inverts the matching result: i.e., a request is accounted as failed if the regular expression was NOT matched. |
$exportvar= | {varname},/regexp/,{replacestring} | Extracts the value (from the response to previous request) according to regexp and saves the respective replacestring to the external variable varname. Replacestring can use the $0-$9 constructs - according to blocks matched by the regular expression. $0 stands for the whole matching expression. |