Class InitCmd


  • public class InitCmd
    extends java.lang.Object
    Batch command to initialize all blades of a given deployed test plan.
    Author:
    Joan Chaumont, Bruno Dillenseger
    • Constructor Summary

      Constructors 
      Constructor Description
      InitCmd()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      static int run​(java.lang.String testPlanName, java.lang.String testRunId)
      Initializes all the blades of the given deployed test plan to prepare for a new execution.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InitCmd

        public InitCmd()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Parameters:
        args - shall contain 2 arguments: args[0] is the name of the deployed test plan to initialize, args[1] is an arbitrary identifier string for this new test run
        See Also:
        run(String, String)
      • run

        public static int run​(java.lang.String testPlanName,
                              java.lang.String testRunId)
        Initializes all the blades of the given deployed test plan to prepare for a new execution. According to the blade lifecycle, initialization may occur just after deployment or after execution termination (i.e. in aborted, completed or stopped states).
        Parameters:
        testPlanName - the name of the deployed test plan to initialize
        testRunId - an arbitrary identifier string for this new test run
        Returns:
        command status code (@see BatchUtil)