Navigation: Contents   Index   Previous   Next

Using Custom URL Scripts for Advanced URL Sequences

If simple URL sequences are not flexible enough for your testing needs then you should consider using Custom URL Scripts to configure Webserver Stress Tool.

On the URLs tab choose Custom URL Script to enable this feature. A code editor comes up where you can edit your URL Script:

A good start is to click Default Script, then Webserver Stress Tool loads the built in demo script.

The script language is very similar to VBScript and description of the syntax and a list of allowed commands can be found in the Appendix.

The script must define four main functions: OnBeforeClick, OnAfterClick, OnBeforeRequest and  OnAfterRequest.

More:

OnBeforeClick

OnBeforeClick Samples

OnAfterClick

OnAfterClick Samples

OnBeforeRequest

OnBeforeRequest Samples

OnAfterRequest

OnAfterRequest Samples

Navigation: Contents   Index   Previous   Next



Copyright © 1998 - 2011 Paessler AG