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

http://issues.apache.org/bugzilla/show_bug.cgi?id=43138

           Summary: regex extractor cannot assign vars with more than one
                    line.
           Product: JMeter
           Version: 2.2.1
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I'm trying to grab a block of data that looks something like this:

fp"
value="d9uhXR2oF6Wf/Z0mmUZnPmweclZ1KBu/tjenGRWcOhMl7+bnEb3TVg6/AdVibF8oC+ZGLj9kjYnu
nwYdG/K1a4cYgOpztWj3c0PppxltGqPkcx82mGqE8eMT+/Lr3m6wvA4AxQLGDJqDkJtkQSC3yEOI
hL8jUr7DZbE1d/PK55ME"

and place it into a variable to pass on to the next page.

If I grab it with this regex: 

__fp" value="((.)+)  or this one __fp" value="(.+)

I get the first line, like you'd expect.  If I add \n or \s like so:

__fp" value="((.|\n)+) or __fp" value="((.|\s)+)

then the assignment fails, and jmeter doesn't run any pages that use that
variable.  I added a simple http sampler later in the .jmx file that just hits
my workstation like:

127.0.0.1:/?ver=${varigrabbed} and it never fires IF I get a match in the above
regex.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to