GitHub user benbenw opened a pull request:

    https://github.com/apache/jmeter/pull/79

    Bug 58865 : allow empty default value in the regex extractor

    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 can merge this pull request into a Git repository by running:

    $ git pull https://github.com/benbenw/jmeter emptyregex

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jmeter/pull/79.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #79
    
----
commit 6dcbb9d3594c5d2447b73325fbe451cf344584ad
Author: benoit <[email protected]>
Date:   2016-01-13T14:55:34Z

    allow empty default value in the regex extractor
    
    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

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to