Forum Discussion
- nmraoChampion Level 3For the mentioned case, JsonPatMatch is fine.
$.accessToken should equal to the desired value.- mgroen2Super Contributor
nmrao wrote:
For the mentioned case, JsonPatMatch is fine.
$.accessToken should equal to the desired value.nmraoI entered this (see screenshot), but it's not working. as you can see there is an accesstoken in the response, but validating it gives an error (it thinks it should be false?). Do you have any tips?
- nmraoChampion Level 3If you want to retrieve the token, and use it for further requests, then Script Assertion can be used.
You may find some sample scripts below:
https://github.com/nmrao/soapUIGroovyScripts/tree/master/groovy
Related Content
- 9 years ago
Recent Discussions
- 15 years ago