net.sf.jbenchmark
Class RandomHttpGet

java.lang.Object
  extended bynet.sf.jbenchmark.TestFeature
      extended bynet.sf.jbenchmark.Test
          extended bynet.sf.jbenchmark.HttpGetTest
              extended bynet.sf.jbenchmark.RandomHttpGet
All Implemented Interfaces:
java.lang.Runnable

public class RandomHttpGet
extends HttpGetTest

Randomly Http Get using set items list.

Version:
$Id: RandomHttpGet.java,v 1.2 2004/02/05 09:25:23 dcotterill Exp $
Author:
Adam Murdoch

Constructor Summary
RandomHttpGet()
           
 
Method Summary
protected  java.lang.String getNewPath()
          Randomly choose an item and include it in the path.
 void setItems(java.lang.String items)
          Set the item
 
Methods inherited from class net.sf.jbenchmark.HttpGetTest
doRun, setAcceptGZipEncoding, setPath, setReuseState
 
Methods inherited from class net.sf.jbenchmark.Test
addAssertion, addFeature, addResource, doCleanup, doInitialise, finish, getFeatureContext, getResource, run, setContext
 
Methods inherited from class net.sf.jbenchmark.TestFeature
getContext, getName, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RandomHttpGet

public RandomHttpGet()
Method Detail

setItems

public void setItems(java.lang.String items)
Set the item


getNewPath

protected java.lang.String getNewPath()
Randomly choose an item and include it in the path.

Overrides:
getNewPath in class HttpGetTest
Returns:
A new path to get.