Bug 39707 - Regular expression extractor from URL
Summary: Regular expression extractor from URL
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.1.1
Hardware: PC Windows XP
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-02 14:13 UTC by Giuseppe Calignano
Modified: 2006-06-02 12:14 UTC (History)
0 users



Attachments
Patch to enhance the regular extractor beaviour (4.78 KB, patch)
2006-06-02 14:14 UTC, Giuseppe Calignano
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Giuseppe Calignano 2006-06-02 14:13:40 UTC
With this patch it is possible to extract information (i.e. paramters) from the
URL. A new radio button is present in the regular parser extractor.
Comment 1 Giuseppe Calignano 2006-06-02 14:14:21 UTC
Created attachment 18397 [details]
Patch to enhance the regular extractor beaviour
Comment 2 Sebb 2006-06-02 15:52:41 UTC
Thanks!

There are a couple of problems with the patch:
* getURL() may return null, causing an NPE. Easy to fix.

* previously there was only one "boolean" property - USEHEADERS - to choose 
between Headers and Body; adding two new independent properties causes upward-
compatibility problems. Probably need to change to using a string with the 
values true/false/url. I should be able to fix this and allow the test suite 
to pass.
Comment 3 Sebb 2006-06-02 19:14:36 UTC
Added code to SVN
Comment 4 The ASF infrastructure team 2022-09-24 20:37:37 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1736