Forum Discussion

rad's avatar
rad
Occasional Contributor
9 years ago

Updated to SOAPUI 5.2.0 and now the assertion that I added to a test case is failing.

I have created a 'Contains' assertion to one of my teststeps (Using REST request) . In the Contains text box ,I copied by Raw response data and when i run the step, it always fail.Howevere it works for JSON string . In one of your posts, you had mentioned that it should work for XML too and I need to use the RAW response data which is exactly what I am doing. Any help would be greatly appreciated!

 

 

thanks

1 Reply

  • kondasamy's avatar
    kondasamy
    Regular Contributor

    Rad,

     

    I did the same way copying the Raw response XML data into Contains assertion in SoapUI 5.2. My assertion passes! I guess some spaces would hinder the validation point. Not sure on this!

     

    Thanks,

    Samy