I am trying to implement test to use the crypto. Do Postman still support as part of scripting, if not please specify th change


For more trials I have used

pm.test(“Body matches string”, function () {
var cryptoRandomString = require (‘crypto-random-string’);

Response on UI, Test Results
Body matches string | Error: Cannot find module ‘crypto-random-string’

Postman sandbox doesn’t include crypto. Certain cryptographically secure random number generation related algorithms aren’t possible. I’m afraid, you’ll have to impersonate the same using Math.random

Hey. If you ask, I use this service switchere.com/exchange/buy-bitcoin. So far there have been no problems. Hooray!!! The money, after 8 hours of stupor, finally came. But I’m still wondering why this happens, and if a more substantial amount gets stuck, what to do, how to “push” them? Why transactions don’t always go through quickly. I would also like to clarify who else buy bitcoin with credit card on switchere.com/exchange/buy-bitcoin. Thank you all for your answers.