Loadster is a pretty good tool for load testing XML web services (SOAP, XML-RPC, some RESTful services, etc).
When you’re testing an XML web service, you want to make sure the responses coming back are valid XML with the right structure and data.
Validation functions are expected to return a boolean value:
true if the response is valid, and
false if it’s
invalid. In the above example, we’re only considering the response valid if the response is a valid XML document
with a top-level collection
cars that contains at least one
car element in it.
You can read more about validation in Loadster, and other types of validators, in Validation Rules.
XML parsing also works in Capturing Rules.