Sei sulla pagina 1di 6

Post-Processor

Home / JMeter

November 6, 2016 JMeter By Rida Sattar

JMeter Tutorial

JMeter SetUp

JMeter Basics

Build JMeter Test Plan

Elements of Test Plan

Post-Processor will be executed when a Sampler Request finishes its execution. If you need to use post-processor for a particular
Sampler, then add it as a child of that Sampler. It is used to process response data from server and extract specific value for later use.

Post-Processor elements list is as follows:

BeanShell PostProcessor
BSF PostProcessor
CSS/JQuery Extractor
Debug PostProcessor
JDBC PostProcessor
JSON Path PostProcessor
JSR223 PostProcessor
Regular Expression Extractor
Result Status Action Handler
XPath Extractor

Let’s have a look on some common types of Post-processors:


1: Regular Expression Extractor
Regular Expression Extractor is used to extract values from the response of test server using a Perl-Type Regular Expression. Being a
Post-Processor, it will execute after each Sampler request. It will extract the desired value by using the regular expression and
generate template string, then it will store the extracted value in the specified variable name.

2: XPath Extractor:
XPath Extractor element is used to extract values from structured response XML or (X)HTML by using XPath query language

1. Use Tidy Checkbox: If selected use Tidy to parse HTML response into XHTML.
2. If selected then fragment will be returned instead of just text. It means you will get the Title name along with its tags in our case.
3. The variable name in which the test result will be stored.
4. XPath Query: Element query in XPath language and it can also return more than one match.

3: Result Status Action Handler:


Result Status Action Handler element can be used to stop the thread or the test if the relevant sampler gets failed.

For more updates on JMeter, please Subscribe to our Newsletter.



Please ask any questions on ForumsQA, in case of any issues or doubts.

JMeter

Share this post

About the author

Rida Sattar

My name is Rida Sattar. As a technical-savvy, I have more than 3 years of experience in Software testing and Selenium automation.
Currently I am working as a Senior QA Automation Engineer for an IT company in Karachi, Pakistan. I always love to put myself in new
challenges and break software from different angles. I have passion for automation and performance testing. I always try to share my
ideas and knowledge with the community because I believe in this quote: “Knowledge has no value unless you use and share it.”

Related posts

Test Plan Elements


September 24, 2018

Getting Familiar with JMeter GUI


July 19, 2018

How to Install JMeter?


July 4, 2018
How to Install Java on Mac OS?
July 4, 2018

Introduction to JMeter
June 21, 2018

Logic Controller
November 6, 2016

SUBSCRIBE TO NEWSLETTER

Enter your email address:

Subscribe

GOT SELENIUM PROBLEMS ?

RECENT POST

What is TestNG?

WebDriverManager

Test Plan Elements


Generate Newman Reports on Jenkins

Run Postman Collection on Jenkins

Getting Started with Cucumber BDD for Testing in Agile Teams

Using XPath Generator for test recording in Katalon Studio

Configure Jenkins Job to Run Batch Command

Postman with Newman & Jenkins

API Testing with Postman

Install Jenkins

SQL Table Commands

Newman Optional Parameters & Configurations

Trees

Queuing for Beginners

Got a Question?

Subscribe in a reader

Site Links

Selenium Training
Corporate Training
Video Tutorials
About Us
Guest Blogs
Testimonials
Contact Us
SITEMAP
Tutorials

Software Testing

Selenium - Java

Selenium - C#

Cucumber

SpecFlow

Appium

TestNg

JUnit

Maven

Java

Postman

Katalon

Author

I’M LAKSHAY SHARMA AND I’M A TEST AUTOMATION ENGINEER.

Have passed 11 years playing with automation in mammoth projects like O2 (UK), Sprint (US), TD Bank (CA), Canadian Tire
(CA), NHS (UK) & ASOS(UK).
Currently I am working with BLOOMREACH as SDET.

I am passionate about designing Automation Frameworks that are effective and easy to maintain. For automating websites my
weapons are QTP and Selenium (Webdriver). I live in Amsterdam(NL), with my wife and a lovely daughter.

Please connect with me at LinkedIn or follow me on Instagram.

© 2013-2018 TOOLSQA.COM | ALL RIGHTS RESERVED

Potrebbero piacerti anche