Forum Discussion
StevenColon
7 years agoSmartBear Alumni (Retired)
Thank you for posting to our Community Forum.
The script snippet provided isn't enough information to assess where the issue is occurring. Please provide the full script where you are using XMLSlurper to parse the DB.
To compare that information to a JSON response, you need to parse the response with JSON Slurper and run the comparison.
http://docs.groovy-lang.org/2.4.9/html/gapi/groovy/json/JsonSlurper.html
Have a great day!