Bug 39707

Summary: Regular expression extractor from URL
Product: JMeter - Now in Github Reporter: Giuseppe Calignano <quasar7>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: 2.1.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Attachments: Patch to enhance the regular extractor beaviour

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