API Testing Methods: The Overview and One API's Record
Which of your APIs have tests, security checks, a mock or a load test? The Overview lists every API of a project with what it has had, and each API has a record of its own. Looking runs nothing.
This is lesson 9.20 of Shift-Left API in Depth, the product track of the learning center. Lesson 9.19 accepted APIs into a project. Now you see, API by API, which testing each one has had. The Overview, its Tests and Mock chips and each API's record work in every edition, Free included, and the project in the video is built from the public sandbox store's spec, which you can import too.
Which API testing methods has each API had?
API testing methods only help if you can see which ones each API has had: tests, security checks, a mock, a load test. Once a project holds dozens of APIs, nobody can say which has what. The Overview lists every API of a project with what it has had. For the kinds of testing themselves, read types of API testing.
One API, six places
An API's evidence lives in six places: its tests and their latest results, security checks and findings, mocks, load tests, workflows and requirements. The Overview reads each from the part of the product that owns it, and looking runs nothing. It also words things carefully: a number comes with what it is out of, such as "3 of 5 tests passed", never a percentage. A gap reads as a gap: No tests, never fine. "All checks passed" means every planned check ran and none failed, not that the API is secure.
How do you open the Overview?
Overview is a tab in the top bar from the start; the account menu's Top menu tabs can hide it. Click it and you get APIs and their quality, with your projects as cards. Compare all your projects gives one row per project: how many APIs it has, and how many have failing tests, no tests, tests not run, open findings, a failed load test or no mock. Click a project to open it.
How do you read the list?
At the top is the project's release verdict, which lesson 9.21 covers. Scroll to API by API. Each row has a tick box, the method, the name and path with its reason, and four chips: Tests, Security, Mock and Load. Checks at the end of a row opens every check behind its verdict. A chip you may not read shows a dash, never a zero, and a part your licence does not include is not drawn at all.
How do you narrow, group and act on many APIs?
Buttons above the rows narrow the list one at a time: No tests, Failing, No mock, Open findings. A line says how many of the project's APIs match. The Name or path box filters as you type. Group by → Attention needed puts each API in exactly one group by the first thing to do: Do first, Soon, When convenient, or nothing you can see.
Tick several APIs and a bar offers what you can do to them: generate tests, create mocks, run security checks or add them to load tests. Security checks ask which environment and never offer production. Generate tests for these shows an offer first: nothing has been done yet, here is what it would create. Click Confirm and the APIs leave the No tests list.
What is in one API's record?
Click an API's name. The page shows its name, method, path and project, then tabs: Overview, Tests, Security, Performance, Mocks, Workflows, Requirements, Dependencies, Changes, Analytics, Governance and Discovery. Which you see follows your edition and add-ons. The Overview tab holds the API's own verdict and What to do next, each item marked Do first, Soon or When convenient, with a button to the screen that owns the work. Order with AI puts the same items in the order your AI provider would do them; it never adds or removes one. Each tab shows its own details, and the API's report can be downloaded.
What changes with your edition?
Professional and up add the release verdict and the Analytics and Governance tabs. The API security testing, performance testing and API Discovery add-ons add their own chips and tabs. The 15-day trial includes all of them.
Try it yourself
Import the sandbox spec into a project, click Overview, open the project and click No tests. Tick two APIs, click Generate tests for these and confirm. Then open an API's name and read its tabs.
Recap
- API testing methods only help when you can see which ones each API has had; the Overview shows that, API by API.
- Narrow with the buttons and search, group by what needs attention, and act on many APIs through an offer you confirm.
- Each API has a record with tabs for tests, security, mocks, load and more. Looking runs nothing.
- The types of API testing are all in the chips, and a gap always reads as a gap.
Next, lesson 9.21 asks the question the Overview raises: is this API ready to release?
Try it: Import the sandbox spec at https://demo.totalshiftleft.ai/openapi/rest.json into a project, click Overview in the top bar, open the project, click No tests to narrow the list, tick two APIs and click Generate tests for these, confirm the offer, then open one API's name and read its Overview tab.
- Use this sandbox asset
- https://demo.totalshiftleft.ai/openapi/rest.json
- You got it right when
- After you confirm, the APIs you ticked leave the No tests list, and an API's page shows its tests, security checks, mocks and load results, each saying what it is out of, with What to do next at the bottom.
Frequently asked questions
How do you see which API testing methods each API has had?+
Open the Overview tab and choose a project. The API by API list shows one row per API with chips for its Tests, Security, Mock and Load state. Click an API's name to open its record, with tabs for tests, security, performance, mocks, workflows, requirements and more.
Does looking at the Overview run any tests?+
No. Looking runs nothing. Every button either opens the screen that owns the work or shows an offer that says nothing has been done yet and what it would do. Nothing happens until you confirm.
Which editions include the Overview?+
The Overview, its Tests and Mock chips and each API's record work in every edition, Free included. Professional and up add the release verdict and the Analytics and Governance tabs. The API security testing, performance testing and API Discovery add-ons add their own chips and tabs, and the 15-day trial includes all of them.
Related lessons
Found is not tested. Connect a traffic file as a source, read the evidence behind each API, confirm or dismiss it, then accept the APIs into a new project and run their generated tests.
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.
Your OpenAPI spec is most of a test plan already. Import it into Shift-Left API, explore what it creates, and generate tests from it with no requirements needed.