Syntax of request functions

Function Description
$NRand({from},{to}[,{prefix}]) A random integer in the range [from,to], with an optional {prefix} in the beginning.
$ARand({from},{to}) Random sequence of alphanumeric characters (length limited by from and to).
$LRand({value1},[{value2},…]) A random value from the list.
$Seq({prefix}[,{startvalue}[,{clientshift}]]) Sequence of integers increasing by 1 with each subsequent request. Starts from {startvalue} (optional), otherwise from zero. {clientshift} (optional) shifts the start value for different virtual clients. You can add several leading zeroes to startvalue so that the resulting value will always consist from the same number of digits.
$UrlParam[({name})] The response to the previous request will be searched to find a GET request with {name} as one of parameters. The value of this parameter will be returned; if {name} is omitted, the name of the target parameter will be used instead.
$Hidden[({name})] Searches the response to previous request for a hidden construction like
<.... name=”{name}” value=”{value}”> Returns {value}.
$RegExp(/{regexp}/,{replacestring}) Performs a match of the result of previous request against {regexp}. Returns {replacestring}. $0-$9 can be used in {replacestring} to substitute blocks of {regexp} delimited by parentheses. $0 stays for the whole match.
$File({filename}[,{mimetype}]) File transfer (upload) using multipart form data. If no {mimetype} specified, application/octet-stream will be used.
$rxname(/{regexp}/,{replacestring},{value}) Modifying the parameter name using a regular expression. It does not matter what name is specified in the file: it will be replaced with the one derived from {replacestring}. Use the same rules as for $regexp(). {value} can be any correct value used for request parameters.
$var({name}[,{default}) Use the variable previously exported by $exportvar. The {default} value is used if the requested variable is undefined.
$gvar(OptionName, DefaultValue) Defines the parameter value when running as a Win32 console application (see Console mode). OptionName - the name of command line option, DefaultValue - default value of $gvar function. Upon the launch of a test script with a $gvar function the latter substitutes the value of the respective option from the command line (or the default value, if the requested OptionName was not found in the command line). Can be used for defining any parameters (or their components). CANNOT be used to define a parameter name (i.e., cannot stay to the left of the "=" sign).
$clid({prefix}) {prefix} plus the ordinal number of the virtual client. Useful if you need a value which is different for different clients, but stays unchanged for the same client.
$list(item[,item[,…]]) This one resembles $LRand, but the elements are substituted in the order they are listed (in a cycle).
$enc<< The text after << will be URL-encoded