Overview
Hi, Testers!!
In this tutorial, you will learn to use a post-processor in JMeter.
You will learn to use:
- XPath Post-Processor
=> Click here for The Complete Free Training On JMeter (20+ Videos)
Watch The VIDEO Tutorial
Post-Processors are actions that are performed after your sampler has been executed. You can use them to perform some actions on your response or extract some values out from the response and save them in a variable that can be used later. You can achieve co-relation functionality by making use of post-processors.
XPath Post-Processor uses a Regular Expression string to fetch some values from the response to your request. The value(s) that is extracted can be stored in any variable and can be a reference in any further request in the test plan. Values can be extracted from the main sample, subsamples, and all other fields provided when you add this processor to your test plan.
XPath Syntax is “ //tag-name[@attribute=’value’] where tag-name is your HTML Tag name. Make sure you check the Tidy Parser option checked when the response to be parsed is (XML and HTML). In case it is a pure XML response, you can uncheck this option.
=> Click here for The Complete Free Training On JMeter (20+ Videos)