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/08/10 17:08:38 UTC

[Bug 59967] New: CSS/JQuery Extractor : Allow empty default value

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

            Bug ID: 59967
           Summary: CSS/JQuery Extractor : Allow empty default value
           Product: JMeter
           Version: 3.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: support@ubikloadpack.com

As it was done in Bug 58865 it would be very useful to be able to set empty
value to variable instead of not defining it.

Example
with the following CSS selector 'a.titi' for the variable myvar
And code:
<html><body><a href="toto" >test</a></body></html>

and an 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

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

[Bug 59967] CSS/JQuery Extractor : Allow empty default value

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

--- Comment #1 from UbikLoadPack support <su...@ubikloadpack.com> ---
Created attachment 34121
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34121&action=edit
Patch implementing the issue

Note patch also fixes missing documentation for the same checkbox in Regular
Expression Extractor.

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

[Bug 59967] CSS/JQuery Extractor : Allow empty default value

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Wed Aug 10 19:55:50 2016
New Revision: 1755820

URL: http://svn.apache.org/viewvc?rev=1755820&view=rev
Log:
Bug 59967 - CSS/JQuery Extractor : Allow empty default value
Bugzilla Id: 59967

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/extractor/HtmlExtractor.java
   
jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/HtmlExtractorGui.java
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/component_reference.xml

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