Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

How can you generate random numbers of a given range in Postman?

Category: API Testing using Postman

const customerId = Math.floor((Math.random() * 100 + 1));
pm.globals.set(“customerId”, customerId);

Leave a Reply

Your email address will not be published. Required fields are marked *