org.icenigrid.gridsam.client.cli
Class GridSAMMultiJSDLStressTest

java.lang.Object
  extended by org.icenigrid.gridsam.client.cli.GridSAMMultiJSDLStressTest

public class GridSAMMultiJSDLStressTest
extends java.lang.Object

GridSAM Stress Test Client with multiple input JSDLs. This command can accept two folders of JSDL files, one conatins good JSDLs and the other contains bad JSDLs. Before submitting each job during the stress test, this command will first decide to choose good or bad JSDLs with a given bad JSDL percentage, then randomly choose a good or bad JSDL file from the selected fold.
This is a improved version of stress test client to accept multiple JSDLs.

Author:
Yongqiang Zou. 2008.11.05.

Nested Class Summary
static interface GridSAMMultiJSDLStressTest.Reporter
          interface for receiving event from user
static class GridSAMMultiJSDLStressTest.SimulatedUser
          class representing a simulated user
 class GridSAMMultiJSDLStressTest.XMLReporter
          a reporter that generates a XML report
 
Constructor Summary
GridSAMMultiJSDLStressTest()
           
 
Method Summary
static void main(java.lang.String[] pArgs)
          application entry point
 int run(java.lang.String[] pArgs, java.io.PrintStream pOut, java.io.PrintStream pErr)
          run the command-line application
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridSAMMultiJSDLStressTest

public GridSAMMultiJSDLStressTest()
Method Detail

run

public int run(java.lang.String[] pArgs,
               java.io.PrintStream pOut,
               java.io.PrintStream pErr)
run the command-line application

Parameters:
pArgs - command line arguments
pOut - output stream
pErr - error stream
Returns:
return value

main

public static void main(java.lang.String[] pArgs)
application entry point

Parameters:
pArgs - array of command-line arguments


Copyright © 2009. All Rights Reserved.