Package org.ow2.clif.console.lib.batch
Class RunCmd
- java.lang.Object
-
- org.ow2.clif.console.lib.batch.RunCmd
-
public class RunCmd extends java.lang.ObjectBatch 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
Constructors Constructor Description RunCmd()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(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 intrun(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.
-
-
-
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 usetestRunId- the identifier string for this new test runblades- array of target blade identifiers. A null value means all blades in the test plan are concerned.- Returns:
- execution status code
-
-