JMeter offers CSS/jQuery Extractor that allows you to extract server responses using a CSS/jQuery-like syntax. This component was introduced in JMeter 2.9 and is particularly helpful when dealing with HTML responses. CSS/jQuery-like syntax allows you to easily select HTML DOM elements that might otherwise have been difficult to write a regular expression for, for example, selecting a button with a danger
class in the response (button.danger
), selecting images matching a particular regular expression (img[src~=(?i)\\.(png|jpeg|gif)]
), and so on. The default implementation of the CSS/jQuery implementation is JSoup (http://jsoup.org) and the API documentation for its selector can be found at http://jsoup.org/apidocs/org/jsoup/select/Selector.html.
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