Bug 39707 - Regular expression extractor from URL
Regular expression extractor from URL
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.1.1
PC Windows XP
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
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