Modern QA2026Intermediate
Log inJoin
1 / 8 · Book 14 · Exercises · drill: interview Q&A⊞ allnext →Get the book →

1.2Intermediate

Exercise 3: Build a data-driven test for the JSONPlaceholder POST /posts endpoint. Create a CSV file with five different post titles and bodies. Run the collection with the CSV file and verify that each iteration returns status 201.

Exercise 4: Chain three requests together: (1) Create a post, (2) extract the post ID from the response and save it to an environment variable, (3) use the saved ID to fetch that specific post with GET /posts/{{post_id}}. Write assertions for each step.