arupacharya1784
7 years agoOccasional Contributor
How to handle bulleted points in Response as Contains assertions
Hi,
One of Responses has texts in bullted points as
"<![CDATA[<ul><li>arup4</li><li>arup3</li><li>arup2</li><li>Arup1</li></ul>]]>"
Above, arup4 arup3 arup2 Arup1 are technical texts but in bulleted points.
I am trying to match these values via Groovy scripting. How do I achieve that? If i copy paste everything & compare the response (stored in varaiable), it doesn't match because of bulleted points values as ![CDATA[<ul><li>, etc.
I am using SOAPUI Pro 5.0.2. If not groovy & something from tool also that will do.
Please suggest/guide.