Modern QA2026Exercises
Log inJoin

Library Book 14 Exercises

Exercises

1.1BeginnerExercise 1: Import the JSONPlaceholder API (https://jsonplaceholder.typicode.com) into Postman. Create requests for GET /posts, GET…60 words1.2IntermediateExercise 3: Build a data-driven test for the JSONPlaceholder POST /posts endpoint. Create a CSV file with five different post titles and…81 words1.3AdvancedExercise 5: Write a pre-request script that generates an HMAC-SHA256 signature from the request body using a secret stored in an…47 words1.4Q&AResume phrasing- Designed and maintained Postman collections covering 100% of API endpoints, reducing manual regression testing time by 60% during sprint…57 words1.5Q&ACover letter framingAPI testing begins with understanding the system under test, and Postman is where that understanding starts. I use Postman not as a crutch…64 words1.6Q&AInterview framing"I treat Postman as my API reconnaissance tool. Before I write a single line of automated code, I import the OpenAPI spec, set up…100 words1.7Q&AWhat not to say- "I just click Send and check the response." -- Shows no systematic approach; interviewers want to see structured thinking. - "I use…119 words1.8Q&AQuestion 1Prompt: You inherit a Postman collection with 200+ requests, no environment variables, hardcoded tokens everywhere, and no folder…244 words1.9Q&AQuestion 2Prompt: A developer tells you their API does not need an OpenAPI spec because "the code is the documentation." How do you push back, and…212 words1.10Q&AQuestion 3Prompt: You are building a data-driven test in Postman with a CSV file containing 500 rows of test data. The collection run takes 45…324 words1.11Basic Usage0 words1.12Newman in GitHub ActionsPRO TIP: Always use if: always() on the artifact upload step. This ensures test reports are saved even when tests fail -- which is exactly…59 words1.13Project Structure0 words1.14Shared Fixtures (conftest.py)The conftest.py file is the heart of your pytest API test suite. It contains fixtures that provide authenticated sessions, base URLs, and…66 words1.15Writing CRUD TestsCOMMON MISTAKE: Writing tests that depend on data created by other tests. Each test should create its own data and clean up after itself…160 words1.16The Hybrid ApproachMany teams use both tools effectively:55 words1.17pytest Configuration1 words