Forum Discussion
nmrao
Champion Level 3
Looks you are using REST with xml format.
And your data is little tricky as it is inside CDATA. And even that is not simple string or xml, it is again properties. And this type of sample does not appear to be present in the soapui samples of above reply link.
You can quickly try it online demo how to extract the same.
Here you go, add Script Assertion for the request test step which extracts the token and set it test case level, so that property expansion can be used where that is needed i.e., ${#TestCase#ATS_TOKEN}
Vijay3
8 years agoNew Contributor
Thanks for the answer.
After adding Script assertion, I'm getting the below error:
"Content is not allowed in prolog."
Related Content
Recent Discussions
- 15 years ago