# Generating 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\
   ![](/files/bBROp0v6n3QW94qGLFgd)
2. Select the test plan you want to see it's coverage from the list:\\

   <figure><img src="/files/QaX2eqsC2arhHbbIT4oS" alt=""><figcaption></figcaption></figure>
3. In the test-plan run view, click the three dots menu and choose API coverage:

   <figure><img src="/files/TtoiJ5sBIrZ2c5vFehJy" 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="/files/TMy2nMUUbVFvkyPV8VK6" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/OVcYCoO8m2dWuPjcPN5B" alt=""><figcaption></figcaption></figure>

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.loadmill.com/reporting/api-catalog-and-coverage/test-coverage/generating-api-test-coverage-report.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
