Forum Discussion
AlexKaras
15 years agoChampion Level 3
Hi Andrei,
> If OnLoadTestingResponse must be used, what are the solutions in searching a text within the ResponseBody of a request, except file comparison?
Not sure if I understood correctly though anyway...
ResponseBody variable (available in the OnLoadTestingResponse(Sender, User, Request) handler via Request.ResponseBody.Contents) contains the response from the server. It will be text that you can work with directly if server responded with the textual data. If the server responded with binary data (e.g. with picture file), then this data must be decoded and, probably, saved to file for further processing.
> If OnLoadTestingResponse must be used, what are the solutions in searching a text within the ResponseBody of a request, except file comparison?
Not sure if I understood correctly though anyway...
ResponseBody variable (available in the OnLoadTestingResponse(Sender, User, Request) handler via Request.ResponseBody.Contents) contains the response from the server. It will be text that you can work with directly if server responded with the textual data. If the server responded with binary data (e.g. with picture file), then this data must be decoded and, probably, saved to file for further processing.
Related Content
- 7 months agomacheshmeh
- 2 years agoianlop
- 11 months agoIso_Yura
- 4 years agomcbane
Recent Discussions
- 3 days agoMW_Didata