Frequently Asked Questions

Oct 7, 2024 - 06:30pm

 [F] Frequently Asked Questions  / Installation, Configuration and Related  /

Stress Testing

Rate This FAQ
 (Not yet rated)

Created On: 26 Oct 1999 11:59 am
Last Edited: 26 Oct 1999 11:59 am

Question Printer Friendly

How can I stress test Web Crossing.

See your sysop documentation for the most up-to-date instructions

Answer

Web Crossing includes some tools for stress testing your site.
You can use these to test robustness and maximum throughput.

The stress test uses another copy of Web Crossing, running on another machine,
to emulate user requests.
The test copy of Web Crossing makes TCP/IP connections,
sends HTTP requests to your Web server, and checks the results.

The test copy (or copies) of Web Crossing do not require an additional license
fee as long as they are used only to test your Web Crossing installation.

To start a set of test clients running, send a URL such as the following
to the test copy of Web Crossing:

where:


    countClients is number of test clients to start, or 0 to shut down all clients
    durationSecs is the number of seconds for the clients to run (i.e. 300 for a 5 minute test)
    periodSecs is the average time interval between requests, each test client
    viewsPerPost is the number of views per post. If 0, then only posts are done; if
                                                                            20, then 20 views to one post, etc.
    folderUrl is address of the folder to view/post. Posts are messages to
                                                                            existing discussions; if there are no discussions, then no posts will be done.
                                                                            NOTE: the folderURL IP address must be numeric.

For example,

will start 2 test clients, run them for 60 seconds, send a request every second from each client,
do 20 views to 1 post, and use the /Test folder. Note that the "?" in the
folderUrl

is URL-quoted to %3f in the request, so that it doesn't
look like a query delimiter.

When you send a 204-0 request, you will get a report of the number of connections, views, posts,
errors, and average time per request.
For example,