You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2016/01/14 17:44:00 UTC

[Bug 58865] New: allow empty default value in the regex extractor

https://bz.apache.org/bugzilla/show_bug.cgi?id=58865

            Bug ID: 58865
           Summary: allow empty default value in the regex extractor
           Product: JMeter
           Version: 2.13
          Hardware: Other
                OS: Mac System 8.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: benoit.wiart@gmail.com

Example
with the following regex for the variable myvar
<input name="baulpismuth" type="text" value="(.+?)" 
and a http argument as
baulpismuth = ${myvar}

and the given html
<input name="baulpismuth" type="text" >
the browser will send baulpismuth=

but jmeter will send baulpismuth=${myvar}
as no match will be found and it's not possible to define an empty
default value

this PR add a checkbox (I love checkbox) to let the user choose an empty
default value

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58865] Allow empty default value in the Regular Expression Extractor

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58865

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
           Keywords|                            |PatchAvailable
             Status|NEW                         |RESOLVED

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Sat Jan 23 14:08:17 2016
New Revision: 1726399

URL: http://svn.apache.org/viewvc?rev=1726399&view=rev
Log:
Bug 58865 - Allow empty default value in the Regular Expression Extractor
#resolve #79
Bugzilla Id: 58865

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/extractor/RegexExtractor.java
   
jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/RegexExtractorGui.java
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
    jmeter/trunk/test/src/org/apache/jmeter/extractor/TestRegexExtractor.java
    jmeter/trunk/xdocs/changes.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58865] allow empty default value in the regex extractor

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58865

--- Comment #1 from benoit.wiart@gmail.com ---
PR https://github.com/apache/jmeter/pull/79

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58865] Allow empty default value in the Regular Expression Extractor

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58865

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Mac System 8.5              |All
           Severity|normal                      |enhancement
            Summary|allow empty default value   |Allow empty default value
                   |in the regex extractor      |in the Regular Expression
                   |                            |Extractor
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
           Hardware|Other                       |All

-- 
You are receiving this mail because:
You are the assignee for the bug.