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

Pubblicato il: 21 luglio 2021
sul canale di: 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"));


In questa pagina del sito puoi guardare il video online How to write postman scripts using set and get VARIABLES through SCRIPTING della durata di ore minuti seconda in buona qualità , che l'utente ha caricato AllSoftwareProgramming 21 luglio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 12 volte e gli è piaciuto 1 spettatori. Buona visione!