Forum Discussion
KarelHusa
9 years agoSuper Contributor
I use some of the elements of the request to carry the testing information.
Especially if different mock services share a same set of XML elements, than all of them are handled with the same Groovy script.
The groovy script does the work: parses the request message, reads the information with XPath and does what required (chooses the response message, populates some values, sets HTTP headers, waits a specific delay etc.).
Karel