jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Ohrstrom <johrst...@hotmail.com>
Subject Re: Debug Sampler - Regular Expression Extractor - Response Assertion
Date Fri, 11 Jul 2014 03:47:23 GMT
On Thu, 2014-07-10 at 08:25 +0000, Gerrit Leder wrote:
> Hi all,
> 
> I have a JMeter Test Plan with a Debug Sampler that prints out
> system.properties file and others. Below of the Debug Sampler are a Regular
> Expression Extractor that defines a variable FOO. This variable is checked
> in a Response Assertion if it contains the result of the regex.
> 
> My variable result is always null.
> 
> How come?
> 
Are you giving them a default value? If the RegEx Extractor can't find
it it'll be either the default value or null. I tried to replicate this
for a second and found that this expression worked to get my
java.version. Perhaps your regular expression is not working right?

java.version=(.+?)\s

> Thanks
> Gerrit
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
> 



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


Mime
View raw message