Check_Point
156-521 · Question #186
What should be added in Postman's "Tests" tab after a login request to capture the session token?
Sign in or unlock 156-521 to reveal the answer and full explanation for question #186. The question stem and answer options stay visible for context.
Security Management API Operations
Question
What should be added in Postman's "Tests" tab after a login request to capture the session token?
Options
- Aconsole.log("token");
- Bvar token = request.token
- Cpm.environment.set("session", pm.response.json().sid);
- Dpostman.setGlobal("token", true);
Unlock 156-521 to see the answer
You've previewed enough free 156-521 questions. Unlock 156-521 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Postman test scripts#session capture#pm.environment.set#sid