> For the complete documentation index, see [llms.txt](https://docs.loadmill.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.loadmill.com/results-and-teamwork/api-catalog-and-coverage/test-coverage/generating-api-test-coverage-report.md).

# Generating an API Test Coverage Report

Test plan coverage is generated on demand. To generate a report, follow the next steps:

1. Navigate to "Test Plan Runs" from the left side menu\
   ![](https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-48474d6c5da4df80413aa6957370968e25b14d83%2Fimage.png?alt=media)
2. Select the test plan you want to see it's coverage from the list:\\

   <figure><img src="https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-8fb7bcbd32bc820ab7387239e2ada06ac489105b%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
3. In the test-plan run view, click the three dots menu and choose API coverage:

   <figure><img src="https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-c6b5802fc96cd218eec1c028afdd6f04b90278fd%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Note! The plan should pass in order to generate the "Coverage report". In a failed Test Plan, generating an API coverage is disabled
{% endhint %}

4. Select the desired service/s to include in the report\\

   <figure><img src="https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-4d9ecf3711b42c47655c9d59766fa0a121b56ac3%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Loadmill will calculate and show the percentage of the coverage for each service

<figure><img src="https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-38343f4c3897a23c12978af6532126c8c980449a%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Note, the report is also available to download as a csv file.
