0% found this document useful (0 votes)
119 views

Post Processor

This document provides an overview of different types of JMeter post-processors that can be used to process sampler responses. It lists common post-processors like Beanshell, BSF, Regular Expression Extractor, and XPath Extractor and provides brief descriptions of what each is used for, such as extracting values from responses or debugging JMeter scripts. The document also provides specific examples of using post-processors like using a Beanshell post-processor to process responses or a Regular Expression Extractor to get a session ID from a server response.

Uploaded by

Mayank Mishra
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
119 views

Post Processor

This document provides an overview of different types of JMeter post-processors that can be used to process sampler responses. It lists common post-processors like Beanshell, BSF, Regular Expression Extractor, and XPath Extractor and provides brief descriptions of what each is used for, such as extracting values from responses or debugging JMeter scripts. The document also provides specific examples of using post-processors like using a Beanshell post-processor to process responses or a Regular Expression Extractor to get a session ID from a server response.

Uploaded by

Mayank Mishra
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

JMeter

Postprocessor

A Post-Processor executes some action after a Sampler Request


has been made
A Post-Processor is most often used to process the response data
by extacting values from sampler
To extract values from sampler
To Debug your JMeter Script

List

Beanshell
BSF
CSS/JQuery Extractor
Debug
JDBC
Interthread Communication
XML Format
JSR223
Regular Expression Extractor
Result Status Action Handler
XPath Extractor
JASON Path Extractor

Beanshell

Beashell Pre Processor are


used to perform computations
and send the values along with
the request.

Beashell PostProcessors are


used to process the response.

Beashell Post Processor


which is executed after
Sampler and can be used for
recovery or clean up

BSF

To Processing JSON Responses with Jmeter

BSF Postprocessor use to parse JSON response and save the


properties as JMeter variables

CSS/JQuery Exractor

Result Status Action Handler


This test element
allows the user to
stop the thread or the
whole test if the
relevant sampler
failed.

Regular Expression Extractor


Extracting some information from
response body.
A standard usage example of using
expressions is to get a session ID from the
server response. If the server returns a
unique session key we can easily get it
using expressions in our load script.

Example

JDBC
The JDBC PostProcessor enables you to
run some SQL statement just after a
sample has run. This can be useful if your
JDBC Sample changes some data and
you want to reset state to what it was
before the JDBC sample run.

XPath Extractor
XPath Extractor prove to be very useful in
cases where data from the response body
e.g. a scenario where there are some
similar tags with no attributes but
different values can not be handeld
perfectly by regural expression extractor.

You might also like