Forum Discussion
5 Replies
- vpachpute062New Contributor
Hi
Can anyone please help on this.
Regards
Vishal
- fazlookFrequent Contributor
Do you have TestComplete ? also, how do you export to XML ? how did you do that ? I think, the first time you read your XML, get your value and save it in a temp.txt file, then the next time you run, just compare results.
- wujianyyContributor
You can use Script Assertion which includes Groovy script to save/compare the response data.
- vpachpute1Frequent Contributor
Hi
Can anyone suggest sample groovy script to compare API responses.
My scenario:
1. Will store sample response at any location
2. And needs to take API response and compare with sample response.
I am using ReadyAPI 1.9 version
Regards
Vishal Pachpute
- vpachpute1Frequent Contributor
Hi
can anyone share sample groovy script to compare 2 xml responses.
1. I will store sample response at any location.
2. need to take API response and compare with sample response.
I am using ReadyAPI version 1.9
Regards
Vishal pachpute
Related Content
- 2 years ago
- 9 years ago
Recent Discussions
- 2 days ago