Exam 156-521 Topic 1 Question 238 Discussion

Actual exam question for CheckPoint's 156-521 exam
Question #: 238
Topic #: 1
What should be added in Postman's "Tests" tab after a login request to capture the session token?

Suggested Answer: C Vote an answer

The correct script is pm.environment.set("session", pm.response.json().sid);, which extracts the session token from the response and stores it as a reusable environment variable.

by Eric at Sep 30, 2026, 09:24 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10