I am setting up few requests which need to be executed before certain requests of collection at pre-request script via pm.sendRequest() method.
My need is to keep entire pm.sendRequest() as environment variable and will call it in required pre-request tab by getting its variable name as pm.environment.get(“variablename”)… Also,i want to update json key value after getting it from environment.
Any help on this…