Skip to content
  • ZipCode Api
  • Blog
  • About RedLine13
RedLine13
RedLine13
Primary Navigation Menu
Menu
  • Start Testing
  • Demo
  • Pricing
  • JMeter
  • Partners
  • Docs
    • Documentation Home
    • AWS Set Up for load testing
    • AWS Approval for Large Tests
    • PHP, NodeJS, Python Load Tests
    • Scalability
    • Jenkins Plugin Setup
    • Premium Features
    • Knowledge Base

JMeter Page Data Extractor

By: David Koziel

JMeter Page Data Extractor

Data collection is a key aspect of any load test. For most tests this data comes from request metrics such as response time, error rate, throughput, etc. However it is sometimes useful to capture data that is returned on the requested page itself. With JMeter, this is possible using the Page Data Extractor. This plugin can be used to directly plot data metrics returned from requests. Use cases include status monitoring, health checks, and other important data.

The Page Data Extractor plugin must be added to JMeter via the Plugins Manager, which can be found under the “Options” menu. Installing the plugin for the first time will require a restart of JMeter:

The Page Data Extractor can be installed from the JMeter Plugins Manager
The Page Data Extractor can be installed from the JMeter Plugins Manager.

Configuring the Page Data Extractor

To understand how the page data extractor works, it is best to illustrate by example. The scenario given in the Page Data Extractor documentation has requests going to a page with the following data metrics returned in the HTML body:

Example data available for extraction using the Page Data Extractor
Example data available for extraction using the Page Data Extractor.

This plugin uses regular expressions to find and match elements within the page body. In his example, the expression (serv.*)= is used to extract a key, and the expression serv.*=(.*)<BR> extracts the corresponding value:

Example configuration for the Page Data Extractor based on regular expressions
Example configuration for the Page Data Extractor based on regular expressions.

Running the test with an HTTP Request sampler gives the resultant graph output. The same information can also be displayed as data rows from the “Rows” tab making it more conducive for export and further analysis.


Did you know that RedLine13 offers a full-featured, time-limited free trial? Sign up now, and start testing today!

2024-10-10
Previous Post: JMeter AutoStop Plugin
Next Post: JMeter Test Plan Check Tool

Recent Posts

  • Order of Elements in JMeter
  • The JMeter Synthesis Report
  • Using the JMeter Plugins Manager
  • JMeter Rotating JTL Listener
  • Using Test Fragments in JMeter Tests

Related

  • Order of Elements in JMeter
  • SAML Configuration with Azure AD and RedLine13
  • SAML Configuration with OKTA and RedLine13
  • SAML Configuration with Google and RedLine13
  • The JMeter Synthesis Report
  • Using the JMeter Plugins Manager
  • JMeter Rotating JTL Listener
  • Using Test Fragments in JMeter Tests
  • Step-by-Step Guide to Testing with JMeter
  • Functional Testing vs Performance Testing

© RedLine13, LLC | Privacy Policy | Contract
Contact Us: info@redline13.com

Designed using Responsive Brix. Powered by WordPress.