Handling XML responses
Yet another structure you may encounter as you build test plans is XML. Some websites may hand off XML as their response to certain calls. XML allows you to describe object graphs in a different format than JSON does. For example, we can get our test application to return an XML representation of the list of persons we were working with earlier in this chapter by making a call to http://sampleapp.jmeterbook.com/person/list?format=xml.
Describing XML in detail goes beyond the scope of this book, but you can find much more about it online. For our exercise, it suffices just to know what it looks like. Take a look at the XML returned by the previous link. Now that you know what XMLs look like, let's get going with a sample ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access