org.ow2.clif.console.lib.batch
Class RunCmd

java.lang.Object
  extended by org.ow2.clif.console.lib.batch.RunCmd

public class RunCmd
extends java.lang.Object

Batch command to initialize and start a deployed test plan, or just a subset of its blades, and then collect data after termination.

Author:
Joan Chaumont, Bruno Dillenseger

Constructor Summary
RunCmd()
           
 
Method Summary
static void main(java.lang.String[] args)
          Initializes and starts a deployed test plan, or just a subset of its blades, and then collect data after termination.
static int run(java.lang.String testPlanName, java.lang.String testRunId, java.lang.String[] blades)
          Initializes and starts a deployed test plan, or just a subset of its blades, and then collect data after termination.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunCmd

public RunCmd()
Method Detail

main

public static void main(java.lang.String[] args)
Initializes and starts a deployed test plan, or just a subset of its blades, and then collect data after termination.

Parameters:
args - args[0] is the name of the deployed test plan name to use, args[1] is the identifier string for this new test run, args[2] is optional and may contain a list of blade identifiers, separated by : character (bladeId1:bladeId2:...bladeIdn).

run

public static int run(java.lang.String testPlanName,
                      java.lang.String testRunId,
                      java.lang.String[] blades)
Initializes and starts a deployed test plan, or just a subset of its blades, and then collect data after termination.

Parameters:
testPlanName - the name of the deployed test plan name to use
testRunId - the identifier string for this new test run
blades - array of target blade identifiers. A null value means all blades in the test plan are concerned.
Returns:
execution status code