How to write postman scripts using set and get VARIABLES through SCRIPTING

Publié le: 21 juillet 2021
sur la chaîne: AllSoftwareProgramming
12
1

In this video tutorial, I will explain to you how to write postman scripts using set and get VARIABLES through SCRIPTING
How to set variables through Scripting
How to get variables through Scripting

console.log("hello world");
let url=pm.variables.get("url");
console.log(url);

let name=pm.variables.get("Name");
console.log(name);

let test=pm.variables.get("Test");
console.log(test);

//set the variables
pm.variables.set("Name","postman");
console.log(pm.variables.get("Name"));

pm.variables.set("Test","Scripts");
console.log(pm.variables.get("Test"));


Sur cette page du site, vous pouvez voir la vidéo en ligne How to write postman scripts using set and get VARIABLES through SCRIPTING durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur AllSoftwareProgramming 21 juillet 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 12 fois et il a aimé 1 téléspectateurs. Bon visionnage!