OnBeforeClick
OnBeforeClick
OnBeforeClick is called before each "click" of a user. This event can be used to set the URLs, imageurls, Postdata etc.
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.token |
(String) |
Use this variable to store e.g. tokens from one click or request to the next (see Advanced Samples section below) |
Output Parameters:
|
data.url |
(String) |
URL for the next click |
|
data.addimageurl |
(String) |
Adds the given URL to the list of image URLs that are requested after HTML is received |
|
data.postdata |
(String) |
POSTDATA for the next click |
|
data.username |
(String) |
USERNAME for the next click |
|
data.password |
(String) |
PASSWORD for the next click |
|
data.clickdelay |
(integer) |
Time to wait before click is execute (milliseconds) |
|
data.log |
(String) |
if not empty this text is added to the user's log |
|
data.soapaction |
(String) |
If you want to test a SOAP server set this variable to the string of your SOAPAction (see Advanced Samples Section below) |