Introduction
When testing applications, it is important to know how to handle the responses from the several requests that constitute the test script. In this chapter, we will tackle how to deal with various server responses for applications under test. These include handling XML, JSON, and HTML responses. It's even more important to know how to extract information contained in those responses, as you might need them to feed data dynamically to your script down the execution chain. Preprocessors and postprocessors, as their names imply, are applied before and after samplers respectively to extract information from server responses, which can then be stored and used later down the execution chain. In the later recipes, we cover how to handle file uploads with JMeter and assert the correctness of such responses.