Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

postman random number

pm.globals.set('randomNumber', Math.floor(Math.random() * 5));
Comment

Generate random phone numbers in POSTMAN

pm.sendRequest("https://randomuser.me/api/?nat=us&inc=phone", (err, res) => {
    pm.environment.set('phoneNumber', res.json().results[0].phone)
})
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript interface class 
Javascript :: how to create my own filter in js 
Javascript :: javascript sucks 
Javascript :: JavaScript Change the Elements of an Array 
Javascript :: add a string to list jquery 
Javascript :: got back to start of for loop js 
Javascript :: Create a Simple Delay Using setTimeout 
Javascript :: vue resources post 
Javascript :: phoenix routes 
Javascript :: js Changing selected option by option text 
Javascript :: Check if a number is even or odd 
Javascript :: tradingview custom data feed 
Javascript :: dual array in javascript 
Javascript :: (function (g, d, a) {})(window, document, jQuery); 
Javascript :: convert arrow function to normal function javascript online 
Python :: abc list python 
Python :: francais a anglais 
Python :: load pandas from text 
Python :: how to install OpenCV? 
Python :: is pythin a real coding language 
Python :: pandas read csv no index 
Python :: maximize window in selenium 
Python :: pandas change column to a string 
Python :: pip install error 
Python :: copy text to clipboard python 
Python :: how to make a hidden file in python 
Python :: extract domain name from url python 
Python :: conditional row delete pandas 
Python :: convert numpy to torch 
Python :: convert python list to text file 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =