| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.jbenchmark.TestFeature
net.sf.jbenchmark.Test
net.sf.jbenchmark.HttpGetTest
A test that fetches performs a GET of a particular URI.
| Constructor Summary | |
HttpGetTest()
 | 
|
| Method Summary | |
protected  TestResult | 
doRun()
Executes the test.  | 
protected  java.lang.String | 
getNewPath()
To be overridden by subclass.  | 
 void | 
setAcceptGZipEncoding(boolean useGZip)
Sets whether the GZip encoding header should be added (defaults to true)  | 
 void | 
setPath(java.lang.String path)
Sets the path.  | 
 void | 
setReuseState(boolean reuseState)
Should state of client be reused  | 
| 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 | 
public HttpGetTest()
| Method Detail | 
public void setPath(java.lang.String path)
public void setAcceptGZipEncoding(boolean useGZip)
protected TestResult doRun()
                    throws java.lang.Exception
doRun in class Testjava.lang.Exceptionprotected java.lang.String getNewPath()
public void setReuseState(boolean reuseState)
reuseState - 
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||