skip to content

The Vendor's Side

The half of this tool that is not a file you can commit: definitions kept in somebody else's account, answered and run on their machines, to their clock. Interviewers probe the trade.

part ofAPI & DB clientsoverview, primer and where to startread it →
on this pageshow

explore

questions

13

In Postman, where does a mock server get the replies it serves, and who can change them?

level: juniorimportance: must knowfreq 70%

answer

  1. The replies were not written for the mock
  2. Look inside the collection, not beside it
  3. Saved examples are the reply set
  4. Held in an account, not your repository
  5. Collection edit right is reply edit right

basics

~20 s

A Postman mock server replies with the examples already saved beside the requests in the collection it was created from. Those examples live in a Postman account, and anyone allowed to edit that collection can edit them.

solid answer

~50 s

A Postman mock server has no reply set of its own. It answers with the **examples already saved beside the requests** in the collection it was created from, so the same document that describes a call also supplies the canned answer to it — definition, documentation and double in one artefact. That document is held in a Postman **account**, not in a file your repository tracks, which means the replies are governed by that account's membership rather than by your review process. There is no second permission boundary between the request and the reply: whoever may edit the collection's requests may edit the examples the stand-in answers with. The anatomy of a saved example belongs to the collection-format subject; what matters here is the arrangement — the reply set is somebody else's copy of a document your history never records.

go deeper

for a junior

Be ready to say plainly that the replies are the examples already saved in the collection, and that the collection lives in an account rather than in your repository. That single sentence is what the screen is testing.

for a middle

Explain the consequence: because the reply set is the collection's own examples, editing a request and editing a reply need the same permission, and there is no build step between an edit and what a consumer receives.

for a senior

Show that you treat this as a custody question. Say what you would keep in your own repository, and how a consumer would find out that a reply changed when nothing in your history did.

for a principal

Own the boundary call: which delivery paths may depend on content governed by an account outside your accountability boundary, and what the exit costs if that account stops being available to you.

## What the stand-in actually answers with A **mock server** in Postman is a hosted stand-in for a service: consumers aim their calls at it instead of at the real thing and get replies back before the real thing exists. What makes the Postman arrangement distinctive is not that a stand-in exists — every ecosystem has those — but **where its replies come from**. They are not authored into the mock as a separate artefact. They are the **saved examples that already sit beside the requests in the collection**: the same document a person opens to fire a call by hand, and the same document that renders as that collection's documentation for readers. So one document plays three parts at once: - it is the **definition** — the list of calls a consumer may make; - it is the **documentation** — what a reader is shown about each call; - it is the **double** — the source of the replies the stand-in hands back. No conversion step turns one of those into another. There is no compile, no publish-to-a-stub, no second copy that could fall behind the first. That is the whole appeal, and it is also the whole exposure. ## Where the reply set lives The collection is held in a **Postman account** on the vendor's side, not as a file your repository tracks. That single fact drives most of the interview conversation: - your version control holds **no record** of an edit to a reply; - your branch protection, code owners and pull-request review do not reach it; - the same commit of your build can see different replies on two different days; - the people who can change it are the people that account admits, which is not the same set as the people who can merge to your default branch. ## Who may change it The edit right here is simply **collection edit right**. There is no second boundary between "the request I send" and "the reply the stand-in gives", because they are two halves of the same saved document. Anybody trusted to add a request or correct a path in that collection is, by exactly that trust, able to change what the double answers with. This is not a misconfiguration to be tightened away; it is the shape of the arrangement, and a strong candidate designs around it instead of assuming a gate is there. ## The two ledgers | Question | Your repository | The hosted collection | |---|---|---| | Where does a change appear? | as a diff on a branch | inside somebody's account | | Who approves it? | reviewers you name | whoever that account trusts | | When do you learn of it? | at review time | when a consumer's call fails | | What is the audit trail? | your commit history | outside your history entirely | | How do you undo it? | revert the commit | ask the holder to undo it | ## Why teams take the trade anyway Say the upside out loud in an interview, or you sound merely opposed: 1. **No extra authoring.** The examples already exist, saved by somebody who was exploring the real service; the stand-in costs no second artefact and no second maintenance job. 2. **Documentation and double cannot disagree.** A reader and a consumer are looking at the same saved bytes, so the documented reply is the served reply by construction. 3. **Nothing to operate.** Uptime, hosting and lifecycle are somebody else's problem. The cost is the mirror image of each of those: you have handed the contents of a build dependency to an account you may not hold, with no diff of yours, no review of yours, and no revert of yours. ## What an interviewer is testing The question looks like trivia and is not. It separates the candidate who has only clicked the button from the one who has thought about **custody**. The answer that scores names the source (saved examples in the collection), the location (an account, not your repository) and the permission (collection edit right is reply edit right), and then draws the consequence: a dependency that can change without anything in your history changing. ## Where this subject ends Keep the boundary crisp — several neighbouring subjects own the parts that are not this one: - the **anatomy of a saved example** inside the collection document belongs to the collection-format subject; - **stub servers you start and operate yourself**, and managed stub services whose reply set is not a collection, are different subjects; name them here only as a boundary; - **how a stand-in picks which canned reply to return**, and what it does with a call it does not recognise, is service-virtualization material; - **keeping a stand-in honest against the real service** is its own subject. This one is about custody and edit rights, not fidelity.

  • If nobody writes a stub definition, what is the authoring cost of this arrangement?
    Close to zero, which is its main appeal. The examples were saved by somebody exploring the real service, so the stand-in reuses work that already happened. The cost moves elsewhere: you now depend on content held in an account you may not hold, changeable by anyone who may edit that collection, with no diff and no revert on your side.
  • Does a change to the served reply pass through your repository's review?
    No. The replies are the collection's own examples, held in an account rather than tracked by your version control, so your pull-request review, code owners and branch protection never see the change. Whatever review that account applies is the only review there is, and the first person on your side to notice is usually a consumer whose call fails.

It is like a restaurant whose menu photographs are also the meal: change the picture and the plate that arrives changes, and anyone who may reprint the menu may do it.

saying these in an interview costs you the question

  • Says the mock server keeps its own separate reply catalogue
  • Assumes the replies were recorded from the real service
  • Thinks changing a reply needs a permission separate from editing
  • Believes the collection is tracked in the team's repository
  • Treats the documented reply and the served reply as different things
open as a page

In Postman, where does a collection in a shared team workspace live, and who can change it?

level: juniorimportance: must knowfreq 62%

basics

~20 s

A collection in a shared Postman workspace lives in the vendor's hosted account, not in your repository. Anyone the workspace admits can edit it, and the edit takes effect immediately, with no commit and no review.

open as a page

What does a Postman mock server fuse when one collection is definition, documentation and stand-in at once?

level: middleimportance: must knowfreq 55%

basics

~20 s

A Postman mock server fuses the documented reply and the served reply into one saved example, so a single edit by anyone with collection edit rights moves documentation and stand-in together, with no diff or review on the consumer's side.

open as a page

When a Postman collection running on a hosted schedule fails, who finds out first, and what does that notice lack?

level: middleimportance: must knowfreq 55%

basics

~20 s

Whoever holds the vendor account finds out first, not whoever caused the failure. The notice carries a time and a failed request but no commit, no author and no build, so attribution has to be reconstructed by hand.

open as a page

In Postman, what does forking a shared collection give you that duplicating it does not?

level: middleimportance: must knowfreq 54%

basics

~20 s

A Postman fork keeps a recorded link back to the collection it came from, so later work can be offered back and merged through a review held in the vendor's account. A duplicate is an orphan.

open as a page

What does it cost you that a hosted scheduled run's definition lives in a vendor account rather than your repository?

level: seniorimportance: must knowfreq 50%

basics

~20 s

The schedule and the copy it runs are production configuration with no version control: no diff, no review, no blame, no revert. Anyone with account access can change or pause it, and a paused schedule looks like a passing one.

open as a page

What is a hosted scheduled run of a Postman collection, and how does it differ from running that collection yourself?

level: juniorimportance: should knowfreq 45%

basics

~20 s

A hosted scheduled run executes the same Postman collection on the vendor's machines, on a clock kept in their account rather than yours, from outside your network, and records the verdict there instead of in your build.

open as a page

Your build depends on a Postman mock server whose replies changed with no commit in your repository — how do you respond?

level: seniorimportance: should knowfreq 45%

basics

~20 s

Look outside your history: a Postman mock server answers from examples in a collection held in somebody's account, so an edit there changes a build dependency with no commit and no review. Establish custody and ask the holders.

open as a page

Your hosted scheduled collection run is failing while your own runs of the same collection pass. How do you triage that?

level: seniorimportance: should knowfreq 45%

basics

~20 s

Compare what your own run never exercises: the copy the schedule holds, the environment stored beside it, the credential in that account, and the public path in from outside your network. Only then suspect the service.

open as a page

Your team reviews Postman collection changes inside the vendor's workspace rather than in pull requests — what does that cost?

level: seniorimportance: should knowfreq 44%

basics

~20 s

Review moves to a system your repository cannot see: no searchable history, no gate that can refuse the change, no notification when it is wrong. A mistake surfaces to whoever next opens the collection, not to a build.

open as a page

When is it defensible for a delivery path to depend on a Postman mock server hosted in an account you do not hold?

level: principalimportance: should knowfreq 32%

basics

~20 s

Depending on a hosted Postman mock server is defensible while the account holder sits inside your accountability boundary and the exit is cheap. For a delivery path other teams depend on, own the reply set yourself.

open as a page

When does a check belong on a vendor's hosted schedule rather than in your own pipeline, and what do you pay for it?

level: principalimportance: should knowfreq 38%

basics

~20 s

Put a check there only when it must run with no change behind it, from outside your network. You pay with an unreviewed second definition, a credential in an account you do not hold, and a borrowed clock.

open as a page

How would you decide whether a hosted Postman workspace or your repository holds the authoritative collection?

level: principalimportance: should knowfreq 36%

basics

~20 s

Decide by who must be able to change the collection and who must be able to refuse a change. If anything automated reads it, the repository owns it; a pure exploration surface may live in the workspace.

open as a page