You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2003/12/03 20:08:52 UTC

DO NOT REPLY [Bug 25177] New: - Regular Expression extractor fails if value in single quotes

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25177>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25177

Regular Expression extractor fails if value in single quotes

           Summary: Regular Expression extractor fails if value in single
                    quotes
           Product: JMeter
           Version: 1.9.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: kpandeyktm@yahoo.com


I'm trying to extract hidden from value using .* in http request setup form.

if the html response  is like so -
 <input type="hidden" name="iespid" value="PanelId_257"> 

then PanelId_257 is correctly extracted and sent out in next request as value 
for iespid.

However if its like so
 <input type="hidden" name='iespid' value='PanelId_42'>

then it fails as passes .* as value for iespid in next request.

The W3C HTML 4.0 validator doesn't raise any issue with single quotes so I'm 
assuming that it is a valid syntax in HTML.

I'm able to reproduce this bug with Jmeter 8.1 as well.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org