Class LaunchCmd


  • public class LaunchCmd
    extends java.lang.Object
    Batch command to deploy and to run a test plan as defined in a given test plan file. The deployed test plan is given a name (registered in the Registry) for further reference with other batch commands. The CLIFRegistry must be running before using this command.
    Author:
    Bruno Dillenseger
    • Constructor Summary

      Constructors 
      Constructor Description
      LaunchCmd()  
    • 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 deployName, java.lang.String fileName, java.lang.String testRunId)
      Deploys a test plan (i.e.
      • Methods inherited from class java.lang.Object

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

      • LaunchCmd

        public LaunchCmd()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Parameters:
        args - args[0] is the name for the deployed test plan, args[1] is the file name of the test plan definition to be deployed
        See Also:
        run(String, String, String)
      • run

        public static int run​(java.lang.String deployName,
                              java.lang.String fileName,
                              java.lang.String testRunId)
        Deploys a test plan (i.e. a set of blades among CLIF servers) according to the given test plan definition.
        Parameters:
        deployName - name for the new deployed test plan
        fileName - file name of the test plan definition to be deployed
        Returns:
        command status code (@see BatchUtil)