How To
Summary
We have a question about ICAM Synthetic "Scripting REST API" scripts, which are based on node.js. We are working on a project that requires a synthetic test to encode a JWT token to be sent to an API server. In node.js one can use lots of external modules by doing npm install some-module and then require('some-module') from the script. In our case we would be using jwt-simple to encode the JWT token using the RS256 algorithm. So the question is: is there a way to use standard node/npm modules from ICAM Synthetic scripts? If not, then those scripts become extremely limited, we can only use the JS standard library.
Document Location
Worldwide
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
07 December 2020
UID
ibm16220526