SOAP request Assertions using Cheerio

Thanks a lot for your time and effort :slight_smile:

I am just using the public SOAP API from

Also the snippet you shared is working, but when I try the same to do for other assertions its not working .

pm.test("Using Cheerio ", function ()

{

pm.expect($(‘m\:NumberToWordsResponse’).attr(‘xmlns:m’)).to.equal(‘http://www.dataaccess.com/webservicesserver/’)

pm.expect($(‘m\:NumberToWordsResult’)).to.eql(“five hundred”)

});

Please advice. Am I missing something?

Also should I save the response body directly to a variable or I should I store it in text format.