const crypto = require('crypto-js') const apiKey = '' const secret = '' const sign = crypto.HmacSHA512(request.data, secret).toString() postman.setEnvironmentVariable('apiKey', apiKey) postman.setEnvironmentVariable('sign', sign)