Skip to content

Postman interview questions — Easy

188 easy-level Postman questions from our API Testing bank, each with the correct answer and an explanation of why it is correct.

What this covers

Postman appears throughout API Testing interviews. At easy level, interviewers are typically checking that you know the fundamentals and can describe them precisely — definitions, defaults, and the basic mechanics. Work through these, then explain your answer out loud; the second part is what interviews actually test.

20 example questions

  1. 1. In the context of Postman, pm.environment.get() is best described as:

    • A. Reads an environment variable in scripts.correct
    • B. Saved response used for documentation and mock servers.
    • C. Parses the response body as JSON in a test script.
    • D. Executes all requests in a collection, optionally with data files.

    Why: pm.environment.get(): Reads an environment variable in scripts.

  2. 2. Which of the following best describes pm.response.json() in Postman?

    • A. Configures auth (Bearer, Basic, OAuth2) applied to requests.
    • B. Parses the response body as JSON in a test script.correct
    • C. Values available across all collections and environments.
    • D. Reads an environment variable in scripts.

    Why: pm.response.json(): Parses the response body as JSON in a test script.

  3. 3. Which of the following best describes Collection Runner in Postman?

    • A. Executes all requests in a collection, optionally with data files.correct
    • B. Saved response used for documentation and mock servers.
    • C. Shared area where teams collaborate on APIs and collections.
    • D. Values available across all collections and environments.

    Why: Collection Runner: Executes all requests in a collection, optionally with data files.

  4. 4. In a QA certification mock exam: Which Postman variable scope is broadest (available everywhere)?

    • A. Local.
    • B. Environment.
    • C. Global.correct
    • D. Collection.

    Why: Globals are broadest; precedence narrows local>data>environment>collection>global.

  5. 5. Which of the following best describes example response in Postman?

    • A. Saved response used for documentation and mock servers.correct
    • B. Parses the response body as JSON in a test script.
    • C. Reads an environment variable in scripts.
    • D. Shared area where teams collaborate on APIs and collections.

    Why: example response: Saved response used for documentation and mock servers.

  6. 6. Which of the following best describes postman.setNextRequest in Postman?

    • A. Reads an environment variable in scripts.
    • B. Saved response used for documentation and mock servers.
    • C. Controls execution order/branching in a collection run.correct
    • D. Configures auth (Bearer, Basic, OAuth2) applied to requests.

    Why: postman.setNextRequest: Controls execution order/branching in a collection run.

  7. 7. Which of the following best describes authorization tab in Postman?

    • A. Configures auth (Bearer, Basic, OAuth2) applied to requests.correct
    • B. Parses the response body as JSON in a test script.
    • C. Shared area where teams collaborate on APIs and collections.
    • D. Values available across all collections and environments.

    Why: authorization tab: Configures auth (Bearer, Basic, OAuth2) applied to requests.

  8. 8. During a sprint demo, a teammate asks: In Postman, where do assertions run after a response?

    • A. Pre-request Script.
    • B. Params.
    • C. Tests tab.correct
    • D. Headers.

    Why: The Tests tab runs after the response; Pre-request runs before.

  9. 9. In Postman, where do you write JavaScript that runs AFTER a response is received to assert on it?

    • A. Pre-request Script tab.
    • B. Tests tab.correct
    • C. Params tab.
    • D. Headers tab.

    Why: The Tests tab runs after the response; Pre-request Script runs before the request is sent.

  10. 10. Which of the following best describes pm.sendRequest in Postman?

    • A. Shared area where teams collaborate on APIs and collections.
    • B. Saved response used for documentation and mock servers.
    • C. Sends an additional HTTP request from a script.correct
    • D. Reads an environment variable in scripts.

    Why: pm.sendRequest: Sends an additional HTTP request from a script.

  11. 11. What is the purpose of workspace in Postman?

    • A. Executes all requests in a collection, optionally with data files.
    • B. Values available across all collections and environments.
    • C. Shared area where teams collaborate on APIs and collections.correct
    • D. Sends an additional HTTP request from a script.

    Why: workspace: Shared area where teams collaborate on APIs and collections.

  12. 12. In Postman, what does authorization tab do or refer to?

    • A. Controls execution order/branching in a collection run.
    • B. Values available across all collections and environments.
    • C. Parses the response body as JSON in a test script.
    • D. Configures auth (Bearer, Basic, OAuth2) applied to requests.correct

    Why: authorization tab: Configures auth (Bearer, Basic, OAuth2) applied to requests.

  13. 13. In Postman, what does example response do or refer to?

    • A. Parses the response body as JSON in a test script.
    • B. Reads an environment variable in scripts.
    • C. Values available across all collections and environments.
    • D. Saved response used for documentation and mock servers.correct

    Why: example response: Saved response used for documentation and mock servers.

  14. 14. What is the purpose of pm.environment.get() in Postman?

    • A. Parses the response body as JSON in a test script.
    • B. Reads an environment variable in scripts.correct
    • C. Sends an additional HTTP request from a script.
    • D. Controls execution order/branching in a collection run.

    Why: pm.environment.get(): Reads an environment variable in scripts.

  15. 15. In Postman, what does pm.response.json() do or refer to?

    • A. Saved response used for documentation and mock servers.
    • B. Executes all requests in a collection, optionally with data files.
    • C. Controls execution order/branching in a collection run.
    • D. Parses the response body as JSON in a test script.correct

    Why: pm.response.json(): Parses the response body as JSON in a test script.

  16. 16. In Postman, what does postman.setNextRequest do or refer to?

    • A. Controls execution order/branching in a collection run.correct
    • B. Values available across all collections and environments.
    • C. Saved response used for documentation and mock servers.
    • D. Sends an additional HTTP request from a script.

    Why: postman.setNextRequest: Controls execution order/branching in a collection run.

  17. 17. In Postman, what does global variables do or refer to?

    • A. Configures auth (Bearer, Basic, OAuth2) applied to requests.
    • B. Values available across all collections and environments.correct
    • C. Parses the response body as JSON in a test script.
    • D. Executes all requests in a collection, optionally with data files.

    Why: global variables: Values available across all collections and environments.

  18. 18. What is the purpose of Collection Runner in Postman?

    • A. Shared area where teams collaborate on APIs and collections.
    • B. Parses the response body as JSON in a test script.
    • C. Executes all requests in a collection, optionally with data files.correct
    • D. Values available across all collections and environments.

    Why: Collection Runner: Executes all requests in a collection, optionally with data files.

  19. 19. Which of the following best describes workspace in Postman?

    • A. Values available across all collections and environments.
    • B. Parses the response body as JSON in a test script.
    • C. Configures auth (Bearer, Basic, OAuth2) applied to requests.
    • D. Shared area where teams collaborate on APIs and collections.correct

    Why: workspace: Shared area where teams collaborate on APIs and collections.

  20. 20. What is the purpose of pm.response.json() in Postman?

    • A. Executes all requests in a collection, optionally with data files.
    • B. Shared area where teams collaborate on APIs and collections.
    • C. Controls execution order/branching in a collection run.
    • D. Parses the response body as JSON in a test script.correct

    Why: pm.response.json(): Parses the response body as JSON in a test script.

Related API Testing topics