Service Virtualization

 View Only
  • 1.  Service error: "The test ended in failure".

    Posted Aug 13, 2020 02:03 PM
    Hello everyone.
    I'm having a problem with a service that I don't know how to solve.
    The service is in EFFICIENT execution mode. All service steps are performed without error, however, at the end of the steps a test failure error is displayed. Apparently the error is in the Virtual HTTPS Responder step. The message reported is:
    "The test ended in failure".
    The error is shown in xml format with the following information:

    MetaData is: HTTP-Response-Code-Text=OK&HTTP-Response-Code=
    200&Content-Type=text/xml; charset=UTF-8&X-Powered-By=DevTest/10.1.0 (10.1.0.283); Produced in Telefonica Git Repository
    ThinkTime is: 100t</Response>
        </StepExecHistory>
        <StepExecHistory>
          <StepName>fail</StepName>
          <StepGUID>1CC8DBA442C411EAB6DE00059A3C7A00</StepGUID>
          <Time>1597339343669</Time>
          <Timestamp>2020-08-13 14:22:23</Timestamp>
          <TypeName>Fail and End Test</TypeName>
          <CycleUniqueId>7FCE365FDD8911EAA436D4D252CFB470</CycleUniqueId>
          <EndedState>1</EndedState>
          <RespTime>0</RespTime>
          <Bandwidth>0</Bandwidth>
          <PropsSet>
            <Prop>
              <Type>S</Type>
              <Name>lisa.fail.rsp.time</Name>
              <Value>0</Value>
              <time>1597339343669</time>
            </Prop>
          </PropsSet>
          <PropsUsed />
          <Events />
          <Warnings />
          <Errors />
        </StepExecHistory>


    ------------------------------
    Matheus Souza
    Capgemini-BR
    ------------------------------


  • 2.  RE: Service error: "The test ended in failure".

    Posted Aug 13, 2020 03:39 PM
    I found that if I manipulate the response file that will be sent by the service, I can get a response. Excludes all Body content from the response and the service was able to respond.
    The body of my answer contains the tag <soapenv: Fault>. Is there a problem related to this?


  • 3.  RE: Service error: "The test ended in failure".

    Posted Aug 14, 2020 12:39 AM
    Hi Matheus,

    It seems one of assertions in a step is failing resulting in execution failed.
    Are you invoking LIVE Invocation step also in your virtual service as well?Are you invoking LIVE Invocation step also in your virtual service as well?

    Thanks

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 4.  RE: Service error: "The test ended in failure".
    Best Answer

    Posted Aug 14, 2020 07:52 AM
    Hello Vaibhav, thanks for your reply!
    The response the service was sending had problems. It was configured as a SOAP protocol processing error response. I believe that DevTest was interpreting it as a mistake. I changed the answer to a valid answer and the service worked.


  • 5.  RE: Service error: "The test ended in failure".

    Posted Aug 14, 2020 09:12 AM
    Thanks for the update.


    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------