lundi 3 octobre 2016

SoapUI testcases reports are not correctly generating

I am using SoapUI v5.2.1 for testing OSB Services.

    LoginTestCase
         |
         |__TestSuite
              |
              |__TestCase1
              |      |
              |      |__Success Test Step
              |     
              |__TestCase2
                     |
                     |__Failure Test Step

I have configured everything as the directory I have mentioned. it giving the Failure Test output as:

<soapenv:Envelope xmlns:soapenv="http://ift.tt/sVJIaE">
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>XYZ-001: input is wrong</faultstring>
         <detail>
            <con:fault xmlns:con="http://ift.tt/1cumRuT">
               <con:errorCode>XYZ-001</con:errorCode>
               <con:reason>input is wrong</con:reason>
               <con:location>
                  <con:node>PipelinePairNode1</con:node>
                  <con:pipeline>PipelinePairNode1_response</con:pipeline>
                  <con:stage>stage1</con:stage>
                  <con:path>response-pipeline</con:path>
               </con:location>
            </con:fault>
         </detail>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope> 

this is a failed result, so it should be under the failed category. But when I am running it from test runner it is giving:

SoapUI 5.2.1 TestCaseRunner Summary
-----------------------------
Time Taken: 430ms
Total TestSuites: 1
Total TestCases: 2 (0 failed)
Total TestSteps: 2
Total Request Assertions: 0
Total Failed Assertions: 0
Total Exported Results: 2

I need to know why is it giving the 0 failed instead of 1 test case being failed?

Aucun commentaire:

Enregistrer un commentaire