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) |
Webserver Stress Tool is a powerful HTTP-client/server test application designed to pinpoint critical performance issues in your web site or web server that may prevent optimal experience for your site's visitors.
Welcome
Introduction: Testing Basics
Performance, Load or Stress Testing?
Calculation of Load and Load Pattern
Webserver Stress Tool Features
How much load can Webserver Stress Tool generate?
Installation
Configuring Webserver Stress Tool
Selecting the Test Type and the Number of Users
Selecting the URLs or Editing the URL Script
Using Custom URL Scripts for Advanced URL Sequences
Performance Tips&Tricks
Running the Test
Reviewing Logfile Results
Analyzing Graphical Results
Graph Click Times & Errors (per URL)
Graph Click Times, Hits/s and Clicks/s
Graph Server and User Bandwidth
Creating Reports
Additional Features
Appendix
Software License and Contact Information