Skip to main content

Node Package Manager Support

RunAdded Node.jsNPM Packagessupport fromwas added to Service Suite


Service Suite can invoke approved Node.js and npm-based processes onin the AIQ execution4.8.3 host.release.

Install

When Node.js,NPM npm,is andrunning requiredwithin packagesService onSuite, be aware of the samefollowing:

Test
Node

NPM or hostthe program it should execute should be installed where AIQ is running.

    NPM or the process that runsthe user wants to execute will always be executed in AIQ or in the TestNode where the Service Suite test.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:

      PlanProcess foroutput

      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 towill wait untilbe the externaltermination processstatus completes.integer Captureof the method. For standard success output validation and validateassertEquals(0,output.status) could be used

      The first parameter points to the folder where the process exitwill status,be standard output, and standard error in the test logic.executed.


      Use

      a controlled working
      directory and avoid installing untrusted packages during execution. Validate package compatibility with the deployed AIQ and Node.js versions before use.



      Last updated: SeptemberJune 14,19, 2026


      2023

      If you have any feedback on this topic, please contact us at documentation@appvance.ai