net.sf.jbenchmark
Class HttpLogPlayerTest
java.lang.Object
  
net.sf.jbenchmark.TestFeature
      
net.sf.jbenchmark.Test
          
net.sf.jbenchmark.TestGroup
              
net.sf.jbenchmark.HttpLogPlayerTest
- All Implemented Interfaces: 
 - java.lang.Runnable, TestContext, TestListener
 
- public class HttpLogPlayerTest
- extends TestGroup
  
Http Log Player test will execute http gets from the specified log file
 
 - File - http log file this attribute  when running from script.
 
- sessionCookie - name of cookie used to identify  a session .
 
  
- Version:
 
  - $Id: HttpLogPlayerTest.java,v 1.4 2004/07/28 05:40:18 bdargan Exp $
 
- Author:
 
  - Brett Dargan
 
 
 
| Methods inherited from class net.sf.jbenchmark.TestGroup | 
addListener, addTest, getAttribute, getExternalResource, getFeatureContext, getListener, getTests, getThreadCount, setAttribute, setContext, testFailed, testFinished, testStart | 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
HttpLogPlayerTest
public HttpLogPlayerTest()
Using this constructor, requires that setFile is called.
HttpLogPlayerTest
public HttpLogPlayerTest(java.util.List requests)
- Parameters:
 requests - 
doRun
protected TestResult doRun()
                    throws java.lang.Exception
- Executes the test.
 todo - could have a different type of testResult?
- Overrides:
 doRun in class TestGroup
 
- Throws:
 java.lang.Exception
 
 
getResults
public java.util.List getResults()
- Returns:
 
 
getFailedTests
public java.util.List getFailedTests()
- Returns:
 
 
setFile
public void setFile(java.io.File file)
- Parameters:
 file - 
 
setSessionIdentifier
public void setSessionIdentifier(java.lang.String sessionIdentifier)
- Parameters:
 sessionIdentifier - - string name identifying the value to use for session identification, must not contain spaces
 unless enclosed in quotes.
 
setThreads
public void setThreads(int threads)
- Sets the number of threads.
 
 
setDuration
public void setDuration(int duration)
- Sets the test duration (seconds)