Forum Discussion
nmrao
Champion Level 3
Please find the script:
https://github.com/nmrao/soapUIGroovyScripts/blob/master/groovy/json/QueryProperty.groovy
https://github.com/nmrao/soapUIGroovyScripts/blob/master/groovy/json/QueryProperty.groovy
master_ace85
8 years agoOccasional Contributor
Thank you nmrao.
I have altered my script and it is working.
I was hoping to use the same code. It is strange that the original code works in SoapUI5.3.0 but refuses to workin in Ready Api
- nmrao8 years agoChampion Level 3The script I provided should work in SoapUI 5.3 too. Have a check if you want.
- master_ace858 years agoOccasional Contributor
The script you provided does indeed work.
I was just baffled why the one I had was not compatible.
- nmrao8 years agoChampion Level 3You script uses "com.jayway.jsonpath.JsonPath" which is not part of native groovy-all-xxx.jar
Where as "groovy.json.JsonSlurper" is part of native groovy library. And it appears that the other library might be removed in the ReadyAPI, hence not working.
Related Content
- 6 years ago
- 10 years ago
Recent Discussions
- 18 days ago