In addition to the standard synthetic monitoring's WebDriverJS-based scripting environment, New Relic supports many popular Node.js modules to enhance your scripted browsers and API tests.
To import a supported module, follow the standard importing procedure for it. For example:
To import crypto-js, call:var crypto = require('crypto-js');
To import chai, call:var assert = require('chai').assert;
Different synthetic scripted monitor versions support different third-party modules. For information on modules supported by different monitor versions, see the monitor version comparison table.
New Relic's synthetic monitoring also supports the following optional Node.js core modules:
Unsupported modules are not guaranteed to work, and they are not covered by support.
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.