Forum Discussion

kaftw's avatar
kaftw
Occasional Contributor
8 years ago

Why do some REST endpoints show "n/a" for coverage results?

I refactored my project from an updated Swagger definition.  The updated definition removed all content types from responses except for application/json.  Now some endpoints show as "N/A" instead of a percentage value in the test suite coverage metrics.  Some of these are endpoints that return application/json responses.  Anyone know why this is happening?

 

I'm using Ready API v1.8.5 with Soap UI Pro.  I have version 2.5.1 of the Swagger plug-in installed.  Thanks.

4 Replies

  • SmartBearAmber's avatar
    SmartBearAmber
    SmartBear Alumni (Retired)

    Test Coverage in Ready! API works best with a WSDL definition. Unfortunately, it does not handle REST calls (Including Swagger) as well. This can sometimes lead to confusing or misleading information in the coverage screen.

    • kaftw's avatar
      kaftw
      Occasional Contributor

      I created a ticket with customer support about this issue.  Hopefully it leads to a bug fix if that's the case.

      • nmrao's avatar
        nmrao
        Champion Level 3
        Thanks for letting know, Case Id can be added here if possible.