I need to write a generator of random words in Postman, since the default randomizer offered by postman repeats words quite often, it does not work for me. I wrote a randomiser in JavaScript, but I don't understand how to integrate it into Postman?
let alphabet = 'abcdefghijklmnopqrstuvwxyz',
word = '';
for(let i = 0; i < 6; i++){
word += alphabet[Math.round(Math.random() * (alphabet.length - 1))];
}
console.log(word);