Open ashameem123 opened 1 week ago
@ashameem123 Can I know which Javascript sandbox mode you are using. If you are using safe mode you will get this error. If that's the case switch to developer mode and check again.
@ashameem123 Can I know which Javascript sandbox mode you are using. If you are using safe mode you will get this error. If that's the case switch to developer mode and check again.
I am using Developer mode.
@sreelakshmi-bruno - Any help is greatly appreciated.
Hi @ashameem123 , I tried faker
for generating random data using the guide in the docs and it works fine for me. Can you share the collection if possible for me to test it out?
See here
@sreelakshmi-bruno - Could you please also share the package.json for me to compare?
Sure, here you go: package.json
@sreelakshmi-bruno Thanks for sharing the file. It's weird that I have the same exact steps but it won't work for me. Is it possible for you to generate RandomUrl in the example you provided above and check if you could generate it?
I can generate uuid with below code, const uuid = require("uuid"); bru.setVar('id', uuid.v4()); But nothing is working for me to generate random url , name etc
This is my folder structure,
I have checked the following:
Describe the bug
How to use faker for generating random data in our request??
Using this guide to insatll and use faker library:
https://docs.usebruno.com/scripting/external-libraries
.bru file to reproduce the bug
NA
Screenshots/Live demo link
NA