Aug 21, 2019

Postman/ Newman How to fix: TypeError: Cannot read property '_destroySSL' of undefined?

On updating Node to current version 12.X, we get below error on executing Postman test scripts via Newman using command-line:
_tls_wrap.js:534
  self._destroySSL();
       ^
TypeError: Cannot read property '_destroySSL' of undefined
    at Timeout.destroySSL [as _onTimeout] (_tls_wrap.js:534:8)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)
In order to fix: Simply downgrade Node version to v10.16.3. Happy Testing :)