| java.lang.Object winstone.testCase.load.LoadTest
LoadTest | public class LoadTest (Code) | | This class is an attempt to benchmark performance under load for winstone. It
works by hitting a supplied URL with parallel threads (with keep-alives or
without) at an escalating rate, and counting the no of failures.
It uses HttpUnit's WebConversation class for the connection.
author: Rick Knowles version: $Id: LoadTest.java,v 1.2 2006/02/28 07:32:49 rickknowles Exp $ |
Constructor Summary | |
public | LoadTest(WinstoneResourceBundle resources, String url, boolean useKeepAlives, int startThreads, int endThreads, int stepSize, long stepPeriod, long gracePeriod) |
LoadTest | public LoadTest(WinstoneResourceBundle resources, String url, boolean useKeepAlives, int startThreads, int endThreads, int stepSize, long stepPeriod, long gracePeriod)(Code) | | |
incSuccessCount | public void incSuccessCount()(Code) | | |
incTimeTotal | public void incTimeTotal(long amount)(Code) | | |
|
|