Forum Discussion

harveen's avatar
harveen
New Contributor
11 years ago

coverage report issue

While reading the coverage I noticed that the Test Request/Step Coverage is 23%, however, it is reported as 10% at the TestCase level. There is only one TestRequest in the TestCase.
Can someone help me on this. The snapshot of the report i
  • harveen's avatar
    harveen
    New Contributor
    Looking at the functional test coverage report, I noticed that the coverage at TestRequest/Step level is 23% but at the level of Testcase it is 10%. Although there is only one Test Request inside the TestCase. Can some one advise why it is so. I am attaching the snapshot of the coverage report.
  • Hello,

    As redfish4ktc2 mentioned, if you are a SoapUI Pro user you can post in the pro forums. If you do not have permissions to do so then please open a support ticket requesting access with you SoapUI Pro license number and forum user name.

    http://www.soapui.org/Support/support-overview.html


    In regards to coverage count for the test case, it represents the coverage you currently have for your web service not the test steps you have added in your test case. So if you have other requests in your webservice in which there are no SOAP requests or assertions it is going to lower the percentage represented in the test case as the test case has a higher amount of coverage items since it is considering your entire webservice. Please look at the example screen shot below, I have a test case with one request as well but my web service has two endpoints for SOAP 1.1 and SOAP 1.2 with corresponding requests. However I only created a SOAP request test step for the SOAP 1.2 endpoint in which 4 out of 5 coverage items are covered (80%), since I do not have another SOAP request test step for the SOAP 1.1 coverage I am 0 out of 5 (0%) in coverage for the SOAP 1.1 endpoint. Both of these coverage items combined make my test case 4 out of 10 which is 40% of coverage.