Service Virtualization

  • 1.  Can Assertion result be saved?

    Posted Aug 23, 2016 10:48 PM

    I am using "Ensure XML Validation" assertion and this assertion returns error/s by comparing request XML with XSD document. Now I want to save this response from assertion. Is there a way to save this response?

     

    Thanks,

    Narasimha



  • 2.  Re: Can Assertion result be saved?

    Posted Aug 23, 2016 11:33 PM

    Hi Narasimha,

     

         When an assertion is fired the  results are raised as an event, there is no way to create a filter on events for a specific step. But however all Assertion events are logged in the log files and also when you run the test on the server, you can specify this setting in the staging doc to log the events so you can verify later on the reports why the test is failed.

     

     

    Thanks,

    Vamsi



  • 3.  Re: Can Assertion result be saved?

    Posted Aug 23, 2016 11:57 PM

    Thanks for the information Vamsi



  • 4.  Re: Can Assertion result be saved?

    Posted Aug 24, 2016 03:10 AM

    Hi Vamsi,

     

    I found a way to save this event outcome to a property.



  • 5.  Re: Can Assertion result be saved?

    Posted Aug 24, 2016 03:15 AM

    Excellent , can you please share the solution ?



  • 6.  Re: Can Assertion result be saved?
    Best Answer

    Posted Aug 24, 2016 09:04 PM