0
0
Postmantesting~20 mins

Flow creation in Postman - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Postman Flow Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Postman Flow Execution Order

In Postman Flow, which block executes immediately after the Request block completes successfully?

AThe <strong>Start</strong> block triggers the next block regardless of request success
BThe <strong>Delay</strong> block placed anywhere in the flow
CThe <strong>Condition</strong> block connected to the <strong>Request</strong> block
DThe <strong>Request</strong> block itself runs again automatically
Attempts:
2 left
💡 Hint

Think about what controls the flow after a request finishes.

Predict Output
intermediate
2:00remaining
Output of a Postman Flow with Delay and Request Blocks

Consider a Postman Flow with a Start block connected to a Delay block set to 2000 ms, which then connects to a Request block that returns status 200. What is the expected behavior?

Postman
Start -> Delay(2000ms) -> Request(status 200)
AThe flow fails because Delay cannot be connected before Request
BThe flow waits 2 seconds, then sends the request and receives status 200
CThe request sends immediately without waiting, then the flow delays 2 seconds
DThe flow sends the request twice, once before and once after the delay
Attempts:
2 left
💡 Hint

Think about how Delay blocks pause the flow before continuing.

assertion
advanced
2:00remaining
Correct Assertion for Response Status in Postman Flow

Which assertion correctly checks that a response status code is 201 in a Postman Flow Test block?

Apm.test('Status is 201', () => pm.response.to.have.status(201));
Bpm.expect(pm.response.status).toBe(201);
Cassert(pm.response.statusCode == 201);
Dpm.response.statusCode === 201 ? pass() : fail();
Attempts:
2 left
💡 Hint

Use the official Postman assertion syntax.

🔧 Debug
advanced
2:00remaining
Debugging a Postman Flow with a Condition Block

A Postman Flow has a Condition block checking if response.status === 200. The flow always takes the false path even when the response status is 200. What is the most likely cause?

AThe response object is undefined at the time of condition evaluation
BThe condition uses a single equals sign (<code>=</code>) instead of triple equals (<code>===</code>)
CThe condition block is not connected to the Request block
DThe flow does not support boolean conditions
Attempts:
2 left
💡 Hint

Check if the response data is available when the condition runs.

framework
expert
3:00remaining
Best Practice for Reusing Request Blocks in Postman Flow

In a complex Postman Flow, you want to reuse the same Request block multiple times with different parameters. Which approach ensures maintainability and clarity?

AUse external scripts to call the API instead of Request blocks
BDuplicate the entire flow for each parameter set to avoid changing variables
CCreate multiple identical Request blocks with hardcoded parameters for each use
DUse a single Request block with variables for parameters and update variables before each use
Attempts:
2 left
💡 Hint

Think about how variables help avoid repetition and ease updates.