Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

postman Assign variable to pre request script

var Random_Name = pm.variables.replaceIn('{{$randomFirstName}}'); 
pm.environment.set("Board Name", Random_Name );
 
PREVIOUS NEXT
Tagged: #postman #Assign #variable #pre #request #script
ADD COMMENT
Topic
Name
2+7 =