Forum Discussion
Is your request data valid?
Please see if below link is of any help
https://stackoverflow.com/questions/12549029/sql-error-ora-01722-invalid-number
I don't control the values being passed back in this response. So, I'm trying to grab the value (which comes out as a string if I use the holder.getNodeValue(xpath). That breaks, but I'm trying to get it into an excel file so that as I'm going through my response, if one of these items in my xml list has an error, I transcribe that to the file.
To get around it, it appears that I may be able to do something like this:
log.info holder.getDomNode(err).toString()
But, it's not exactly what I want.
Ideally, I just want pull what's there, regardless printable/non-printable chars. So, if I could just CDATA the content regardless of what's there, but the problem is, is that I can't get to it.
- nmrao5 years agoChampion Level 3How does the raw response look like? Text message and screen shot helps.
Would try below snippet in script assertion
assert context.response, 'Response empty or null'
log.info context.response- tadudek5 years agoOccasional Contributor
I can't really post my full reponse here from the HTTP log. It does come back in escaped values, shown here.
The RAW view in the response test step also will not let me scroll to copy the entire raw response. So, the error in question is too far over, and readyapi won't let me scroll over to see it.
- nmrao5 years agoChampion Level 3Hmm.
Have you checked with you team regarding this?
Also there is header "Content-Encoding" header with gzip.
Are you sending any header related to this?
Also check the documentation below if you have preferences set to receive compressed response . Try changing it in case needed.
https://www.soapui.org/docs/preferences-and-settings.html#HTTP-Settings
Related Content
Recent Discussions
- 4 days agominhng