intermediate·9 min read·Updated

API Testing Checklist: Is This API Ready to Release?

Every API testing checklist ends with one question: is this API ready to release? In Shift-Left API, rules answer it from the evidence on record. The worst result wins, and missing proof is never a pass.

This is lesson 9.21, part 1 of 2, of Shift-Left API in Depth, the product track of the learning center. It picks up from lesson 9.20, which showed each API's record. Here the record becomes a decision. The release verdict comes with Professional, the 15-day trial and Enterprise, and the demo runs on a project built from the public sandbox store API.

What does an API testing checklist have to answer?

Every API testing checklist ends with one question: is this API ready to release? And if it isn't, why not? A paper checklist is ticked by hand, so it is only as honest as the person ticking it. In Shift-Left API, the release verdict answers the question for a whole project and for each API, worked out by rules from the evidence already on record. Nothing runs when you look at it.

What are the four answers, and what is the rule?

The answer is one of four:

  • Ready: nothing the policy asks for is missing or wrong.
  • Ready with risks: it can go, but something deserves a look.
  • Not ready: at least one finding blocks the release.
  • No evidence yet: there isn't enough proof to say.

The rule runs in order, worst first. Any block makes it Not ready. Any missing proof makes it No evidence yet, and so does having no passing functional tests. Any risk then makes it Ready with risks, and only what is left is Ready. Missing proof is never a pass. No tests, tests that never ran, results older than the policy allows, results from before the API's current version, blocked tests, and failures down to the environment or the test data all count as missing proof, not as green. The project then takes the result of its weakest API.

What does the project's answer show?

Open Overview from the header and pick a project. The card shows a banner with the answer and a sentence saying why, then four tiles, worst first, each reading "N of total" APIs. Click a tile to narrow the list to those APIs, and click it again to clear.

Under the tiles, What to do first gives one row per kind of problem: the area, the chip, and how many APIs it touches, most serious first. Show these APIs narrows the list to them. In the video, an API with a waiting breaking spec change sits beside many APIs with no tests at all, and every untested API reads No evidence yet.

What does one API's answer show?

Open an API and its Overview tab carries its own card. It has a numbered What to do first, or the line "Nothing: every check the release policy asks for passed." Below it, Every check lists each area, a word for the result (Blocks release, Proof missing, Risk, Passed or Not counted), what was found, what to do about it, and how many pieces of evidence stand behind it. The eight areas are functional tests, cause of failures, security, load, spec changes, mocks, test strength and design rules. How is this decided? states the rule and whether the project uses the default release policy.

Can you judge one environment at a time?

Yes. The Environment list starts at "All environments" and then names the project's environments, with the production one marked. Choose one and the verdict is judged again from that environment's results, and the banner names the environment. If you lack permission to see some results, or there are too many to read, the card says so: this is not the whole picture.

Who decides what a release needs?

Open What a release needs. It lists the rules, switch by switch: whether a failing functional test blocks, whether a waiting spec change counts, whether a test that proves less than before is a risk, how old results may be, and more. Anyone who can see the project can read them; changing them needs permission to manage API governance. Part 2 changes one and watches the answer move.

Try it yourself

With a trial, open a project that has some tests and results. Go to Overview, read the banner and What to do first, then open one API and read Every check. Pick one environment and watch the answer change, then open What a release needs and read the rules. If the Security and Load areas read Not counted, that is the add-ons talking, not a failure.

Recap

  • An API testing checklist should answer one question, and Shift-Left API answers it by rule: Ready, Ready with risks, Not ready or No evidence yet.
  • The worst result wins, a project takes its weakest API's answer, and missing proof is never a pass.
  • Every API shows what to do first and every check behind its answer, and you can judge one environment at a time.

Next, part 2 of this lesson changes a release rule, keeps a verdict as a record, and fails a build that isn't ready. For the wider checklist, read our API testing checklist.

Hands-on lab

Try it: With a trial, open a project that has tests and results, go to its Overview and read the release verdict: the project's answer, What to do first, then one API's Every check. Pick one environment, then open What a release needs and read the rules.

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 an API testing checklist cover before a release?+

Whether the functional tests passed recently and against the API's current version, why any failure happened, whether security and load were checked, whether a spec change is waiting, and whether the design rules hold. Shift-Left API reads these eight areas from the evidence on record and turns them into one answer for the project and one for each API.

How does the release verdict decide between the four answers?+

By rule, worst first. Any blocking finding means Not ready. Otherwise, missing proof means No evidence yet, and so does having no passing functional tests. Otherwise any risk means Ready with risks, and only when nothing is left is the answer Ready. A project takes the result of its weakest API.

Is the release verdict available in every edition?+

The release verdict comes with Professional, the 15-day trial and Enterprise; the Free edition doesn't draw the card. Its Security and Load areas count only with the API security testing and performance testing add-ons, which the trial includes. Without them those areas read Not counted.