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.
JMeter Cookbook
By :
JMeter Cookbook
By:
Overview of this book
Table of Contents (16 chapters)
JMeter Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
JMeter Fundamentals
Handling Responses
Building Robust Test Plans with Controllers
Testing Services
Diving into Distributed Testing
Extending JMeter
Building, Debugging, and Analyzing the Results of Test Plans
Beyond the Basics
Installing the Supporting Software Needed for this Book
Index
Customer Reviews