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

Publicado el: 21 julio 2021
en el canal de: 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"));


En esta página del sitio puede ver el video en línea How to write postman scripts using set and get VARIABLES through SCRIPTING de Duración hora minuto segunda en buena calidad , que subió el usuario AllSoftwareProgramming 21 julio 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 12 veces y le gustó 1 a los espectadores. Disfruta viendo!