Jmeter-Extract data using Post Processor Part- II

Jmeter-Extract data using Post Processor Part- II

Hello everyone ! I hope you are doing well in this pandemic of COVID-19. In the previous blogs, we saw how we can extract the data from Jmeter using post-processor- JSON Extractor. Here in this blog, we will see other post-processors like Regular Expression. Many of us feel that creating regular expressions is difficult for non-technical people. So most of us avoid using regular expressions for extracting data. Now in this blog, we will learn how easily we can extract data using post-processor -Regular Expressions.

Hello everyone ! I hope you are doing well in this pandemic of COVID-19. In the previous blogs, we saw how we can extract the data from Jmeter using post-processor- JSON Extractor. Here in this blog, we will see other post-processors like Regular Expression. Many of us feel that creating regular expressions is difficult for non-technical people. So most of us avoid using regular expressions for extracting data. Now in this blog, we will learn how easily we can extract data using post-processor -Regular Expressions.

Now the first question in your mind will arise- What is Regular Expressions and then we will move how to extract data from Jmeter using Post Processor

*Regular Expression- *

It is an expression of pattern in the string used to search and manipulate text, based on patterns.

Here we extract the digit(1001) from this expression on the left side (Jill rollnumber is 1001).

So in Jmeter when we need to extract any data from any response. We can extract that particular data and pass the same in another chaining request. I hope you will get to know about regular expressions from this example. For more, you can check on this link.

How to Create Regular Expression to extract Data- 

Here our motive is not to learn the regular expression. We will see how we can use this regular expression for extracting data. So for ease, I‘ll suggest using the tool Regex to write the regular expression. In this, you can validate your regular expression and get some cheat hints to create regular expressions.

Here you can add your response or string from which you want to extract the data-

loadtesting quality assessment (qa) testing jmeter performance testing postprocessor regular expression

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Jmeter-Extract data using Postprocessor Part-I

Jmeter is used to perform load testing. I have already discussed how it is easier and how can we use Jmeter in my earlier blogs. So let’s move some common pro

Combining Gatling Reports

In this blog, we shall discuss about the report generation through Gatling and combining Gatling Reports. As you may already know, when we run a Gatling test the report gets generated automatically.

How to Do API Testing?

API endpoint when you send the get request to that URL it returns the JSON response. In this article, I am going to use postman assertions for all the examples since it is the most popular tool. But this article is not intended only for the postman tool.

7 Approaches to Testing - DZone Performance

This article is for anyone who wants to better understand project quality assurance processes — check out 7 different testing approaches and their benefits.

Mutation Testing Systems: Improving the Quality of Tests

See why mutation testing might be the answer for better quality tests and thus higher quality code.