Agentic SDLC Part 3: Verify Behavior, Keep the Evidence A QA engineer in the third installment of an agentic SDLC series independently verifies a check-in feature against an approved OpenAPI contract by building separate datasets, mocks, and simulations rather than reusing the coding agent's assumptions. The engineer's performance test ran ten virtual users for one minute and passed at a 95th-percentile response time of 236 milliseconds, against a threshold requiring 95% of responses under half a second and fewer than 1% errors or failed checks. The approach is meant to prevent a coding agent's wrong assumptions from passing through when the same agent both writes and judges the code. Agentic SDLC Part 3: Verify Behavior, Keep the Evidence This is part 3 of a 3-part series on the agentic SDLC. In part 1, design produced the package. In part 2, the developer built the check-in feature against it. Now the QA engineer tests what was built. Testing is where an agentic SDLC has the most to prove. If the same agent writes the code and decides whether the code is correct, any wrong assumption passes straight through. This post follows a QA engineer who works from the approved contract instead, builds separate mocks and datasets, and leaves behind evidence that the next change has to satisfy as well. Verify behavior and preserve the evidence As the QA engineer, it’s my job to independently test the running check-in feature against the approved contract, so we’re checking what was agreed rather than repeating the coding agent’s assumptions. I own the datasets, assertions, failure scenarios, and performance thresholds that determine whether the feature passes. Those four items are the QA engineer’s deliverables, and each one answers a different question: | Item | The question it answers | |---|---| | Datasets | Which situations does this feature have to handle? | | Assertions | What must be true after each request? | | Failure scenarios | What happens when a dependency breaks or slows down? | | Performance thresholds | How fast and reliable must the feature be under load? | Owning them is what makes the testing independent. The developer already checked the code against the design’s mocks. The QA engineer builds a second set from the contract, so a mistake baked into the first set doesn’t hide in the second. Build datasets, mocks, and simulations Test: the QA engineer generates datasets, runs contract and behavior checks, load tests the feature, proves the tests catch mistakes, and packages a CI workflow. I start with the situations this feature needs to handle. The datasets skill helps me create cases for active coverage, denied coverage, invalid requests, and someone trying to check in twice. Then I use the api-mocking skill to create my own appointment and eligibility mocks, and the api-simulation skill to run them together. I can make eligibility unavailable or slow to respond, so I can test those failures whenever I need to. With the api-testing skill, I check both the response and the appointment afterward. Active coverage should allow check-in; a denial or an eligibility failure should leave the appointment unchanged. A second check-in should be rejected without another update. The responses must also match the approved OpenAPI https://www.openapis.org/ spec, and the collection must stay in sync with it. The expected outcomes line up like this: | Situation | Expected result | |---|---| | Active coverage | Check-in allowed | | Denied coverage | Appointment unchanged | | Eligibility failure | Appointment unchanged | | Second check-in for the same appointment | Rejected without another update | Two details in this step separate a real verification from a smoke test. First, every case checks the appointment afterward, not only the response. A refusal message means little if the status changed anyway. Second, the “check in twice” case covers a bug that single-request tests never see: a duplicate request that quietly updates the record a second time. Matching the responses to the OpenAPI specification gives the contract a second job. It describes the API, and it also acts as the standard the running feature gets held to. Keeping the collection in sync with it means the tests don’t drift from what was agreed. Check performance under load Next, the performance-testing skill checks how the feature behaves under load: ten virtual users for a minute, with 95% of responses required to finish in under half a second and fewer than 1% errors or failed checks. This local run passes at 236 milliseconds for the 95th percentile. A few terms make that result easier to read. Virtual users are simulated clients sending requests at the same time. The 95th percentile often written p95 is the response time that 95% of requests beat, so it shows how slow the unlucky requests are in a way an average hides. The thresholds set the bar before the run: p95 under 500 milliseconds, and under 1% errors or failed checks. The run either meets them or it doesn’t. The pass at 236 milliseconds is a local result against simulated dependencies. It tells you the feature’s own code handles the load. It doesn’t predict production latency, which depends on the real eligibility service and the real network between them. Prove the tests catch mistakes I also want proof that these tests catch mistakes. On copies of the code, removing the eligibility check, returning the wrong error, and adding a delay each cause a failure. The reports show what broke and how to reproduce it, giving the developer a clear starting point for a fix. Finally, the ci-integration skill packages the checks into a GitHub Actions https://learning.postman.com/docs/postman-cli/postman-cli-github-actions workflow. Once it runs in CI and is required before merge, a later change will have to meet these same checks. A passing test suite only means something if it can fail. Each of the three changes breaks one of the feature’s promises: | Change to the code | Promise it breaks | |---|---| | Remove the eligibility check | Coverage is confirmed before check-in | | Return the wrong error | Refusals follow the contract | | Add a delay | Responses stay fast | Doing this on copies of the code keeps the real branch clean, and the failure reports give the developer a reproducible starting point. They show what broke and how to run it again. The last sentence about CI has two conditions in it, and both matter. The workflow has to run, and the check has to be required before merge. Writing the workflow file does the first part. Marking the check as required in your repository settings does the second. Until both are true, the checks are advice and not a gate. What each phase hands to the next So I started with this feature request: add an appointment check-in feature that confirms a patient’s insurance coverage is active before marking them checked in. Most of the decisions happened before development started. The architect gets a design package to review: saved Context Graph findings, spec.md , the OpenAPI contract, governance checks, design tests, collections, mocks, and simulations with their assumptions recorded. The developer uses that package to deliver the implemented check-in feature, with its API integrations and eligibility rules, and checks it against the simulated dependencies. The QA engineer then produces an independent verification package: datasets, contract and behavior tests, separate mocks and failure simulations, performance checks with pass-or-fail thresholds, reproducible failure reports, and a CI workflow. Each person owns the work in their phase, and each handoff gives the next person the context and runnable assets they need. That is how I want to use agents across the SDLC: give each phase enough context to do useful work, preserve its output for the next person, and keep a named human responsible for each handoff. Here are the three handoffs side by side: | Phase | Owner | Receives | Produces | |---|---|---|---| | Design | Architect reviews | The feature request and the Context Graph | Design package: Context Graph findings, spec.md , OpenAPI contract, governance checks, collections, mocks, simulations | | Develop | Developer | The approved design package | The implemented check-in feature, checked against simulated dependencies | | Test | QA engineer | The running feature and the approved contract | Datasets, contract and behavior tests, separate mocks and failure simulations, performance checks, failure reports, CI workflow | The pattern repeats in every row. Each phase starts from saved, runnable artifacts instead of a verbal explanation, and each ends by leaving a package for the next person. That’s what makes the agentic SDLC work across a team and not only inside one person’s terminal session. Try it yourself Open Claude Code in the repo that has the design package and the developer’s implementation. Ask for verification from the contract, not from the code. Swap in the names from your own feature: Prompt Independently test the running check-in feature against the approved contract. Create datasets for active coverage, denied coverage, invalid requests, and a second check-in. Use your own mocks and simulations, check the appointment after each response, and add a load test with pass-or-fail thresholds. Then package the checks into a GitHub Actions workflow. Work through the result in this order: 1. Read the datasets and confirm they cover active coverage, denied coverage, invalid requests, and a second check-in. 2. Check that the tests read the appointment back after each response and don’t stop at the response body. 3. Confirm the responses are validated against the OpenAPI contract. 4. Review the load thresholds before the run, then compare the result to them. 5. Open the generated GitHub Actions workflow and decide which checks to require before merge. To see whether your tests catch mistakes, break a copy of the handler on purpose and run the collection again: postman collection run path/to/verification-collection.json Replace the path with wherever your collection lives. Remove the eligibility check, return the wrong error, and add a delay, one at a time. Each change should fail at least one test. If one doesn’t, that gap is the next test to write.