Node Package Manager Support
Added NPM support was added to Service Suite in the AIQ 4.8.3 release.
When NPM is running within Service Suite, be aware of the following:
-
NPM or the program it should execute should be installed where AIQ is running.
-
NPM or the process that the user wants to execute will always be executed in AIQ or in the TestNode where the Service Suite is running, or where Mobile Designer is running. The process is not run in the plug-in.
-
The calling of the method will freeze the test until the method completes. The call will return an object with 3 parameters:
-
Process output
-
Process error
-
Process status
-
-
NPM/Program call won’t have any request/response/sub steps. It will be another step with only time to run the execution.
-
The call will not fail if the NPM/Program process output is different from 0, the output of the call will be the termination status integer of the method. For standard success output validation and assertEquals(0,output.status) could be used
-
The first parameter points to the folder where the process will be executed.
-