intermediate·14 min read·Updated

API Testing Documentation: Many Requirement Documents

Real projects have a BRD, meeting notes, a rules workbook and new versions, and they do not always agree. Turn them into one requirement set, settle conflicts, find gaps and see what a run verified.

This is lesson 9.33 of Shift-Left API in Depth, the product track of the learning center. The earlier lesson is how the project assistant offers changes. It builds on requirements intelligence. Many requirement documents, Excel workbooks, cross-document conflicts, versions and the traceability matrix are in every edition, Free included. Extraction uses your own AI provider.

What does API testing documentation look like on a real project?

API testing documentation is rarely one file. A business requirements document (BRD), meeting notes and a rules workbook may not agree. In Shift-Left API, a project's documents form one requirement set. Each rule keeps a link to its source. A rule stated in two documents is counted and tested once. When documents give different values, nothing is generated for that rule until a person decides.

How do you upload and read many documents?

On Requirements, untick Extract automatically if you want to check files and the estimated AI calls first, then select or drop your files. You can add PDF, Word, Excel, CSV, HTML, Markdown or text files, each up to 50 MB. A refused file does not stop the others. API specifications belong in Setup, then API Specs.

A workbook is read sheet by sheet. A requirement list is read row by row. A data dictionary gives field rules straight from its cells without AI. Test data and glossary sheets do not become requirements. A sheet the detection is less than 60 percent sure of is read as text. You can change how a sheet is read, then click Save and read again.

Documents in one project are extracted one at a time, so each can be compared with the earlier ones. Under each requirement list in a workbook, you can see the rows that produced nothing, so you can check them. AI results vary, so review what was extracted.

How do you handle duplicates and disagreements?

Open Review all requirements to see one list with each rule's source. After reading them, approve the ones you agree with: only approved rules count, and only approved use cases become journeys.

On Gaps and conflicts, you can rank documents under Which document wins. A rank only suggests a value; you still decide. In the video, the BRD and meeting notes give different length limits for the notes on an order. For each conflict, you can use one value, say both are right and explain when, or enter another value. A settled disagreement can be reopened.

What about gaps and journeys?

Each requirement without a test is listed under one reason, such as a disagreement, a decision still waiting, no link to an endpoint, prose only, or nothing concrete to assert.

A use case that lists its calls in order can become a workflow test once every step has a test. Journeys shows which are ready and which are blocked, such as one that calls an endpoint no specification declares. On the free edition, workflows are limited to 50, with ten steps each.

Does a passed test mean a verified requirement?

No. A test that checks only the status code can stay green when the data is wrong. In the video, a run report shows Passed, but worth a look, which can include tests that pass without really checking and negative tests refused for the wrong reason. A requirement verdict can be:

  • Verified: a check made from the requirement ran and passed.
  • Not really verified: its tests passed, but none checks what it says.
  • Unverified: no test covers it, its tests did not run, or nothing in it can be checked.
  • Failing: a check from it failed, or its endpoint looks like a product bug.
  • Not run: the run left its tests out on purpose.

The traceability matrix keeps each latest real verdict. Verdicts use no AI. Add checks to this test uses none either. When it can add checks, they come from your API documentation, and you review each change before applying it. It only adds checks, and never checks a field the response did not contain.

What happens when a new version arrives?

Use Upload new version under the old document's name. If you upload a file with a similar name the ordinary way, you are only asked whether it is a new version; nothing is linked without your yes. The Versions view shows that:

  • unchanged rules keep their review decision and tests;
  • changed rules return to review, and their tests are marked Requirement changed but still run;
  • for rules no longer stated, you choose to retire or keep them;
  • added rules need review like any new rule.

Before you delete a document, you see what would be removed. In the video, deleting version two would make version one current again.

Try it yourself

On the free edition, upload two overlapping documents and a workbook, extract them together, settle one disagreement and build one journey. Then run a feature's tests and read the report. A few habits help: add the most authoritative document first, keep requirement IDs stable and settle disagreements before generating tests.

Recap

  • Many documents and workbooks become one requirement set.
  • Disagreements wait for a person; ranks only suggest.
  • Verified means a check from the requirement ran and passed.
  • New versions show what changed.

Next, learn how to test an API with cURL. For traceability basics, read about the requirements traceability matrix for API testing.

Hands-on lab

Try it: Upload two documents that overlap and an Excel workbook. Check how each sheet will be read, extract them together, settle one disagreement and build one journey. Then run a feature's tests and read the findings in the run report.

Enter your email to open the lab steps. One unlock opens every lab in the learning center.

No spam. Protected by reCAPTCHA — Google Privacy & Terms.

Frequently asked questions

What should API testing documentation include on a real project?+

It is usually more than one file: business requirements, meeting notes, rule workbooks and later versions. What matters is knowing where each rule came from, where the files disagree and which rules have a test.

How is a verified requirement different from a passed test?+

A passing test may check only the status code. In the requirements traceability matrix, verified means a check made from that requirement ran and passed. A requirement whose tests pass without checking what it says is marked as not really verified.

What happens to requirements based testing when a document changes?+

Upload it with Upload new version. Unchanged rules keep their review decision and tests, changed rules go back to review and their tests are flagged, and you decide whether to retire or keep rules that are no longer stated.

Read more on the blog