OnBeforeRequest is called before each single HTTP Request of a user (i.e. clicks, images, frames etc.) and can be used to log data or to alter the HTTP headers.
Input Parameters:
|
data.usernumber |
(Integer) |
Number of simulated user (first user is #0) |
|
data.clickcount |
(Integer) |
Number of finished clicks (first click is #0) |
|
data.requestcount |
(Integer) |
Number of finished requests (first request is #0) |
|
data.requesttype |
(String) |
Type of Request (e.g. CLICK, IMAGE, FRAME) |
Output Parameters:
|
data.log |
(String) |
if not empty this text is added to the user's log |
|
request.additionalheader |
(String) |
Additional lines for the HTTP header sent to the server |