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: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
