Use the RE Post-Processor
http://jakarta.apache.org/jmeter/usermanual/component_reference.html
with an RE of the form:
option value=1(\d+)\s+ |(\d+)\s+|(\S+)\s+|(.+?)|(.+?)/option
The values will then be in the variables:
refname_g1 = id
...
refname_g5 = status
On 12/10/06, Bruno Charloup
octobre 2006 12:16
À : JMeter Users List
Objet : Re: Problem with regular expression for extractor
Use the RE Post-Processor
http://jakarta.apache.org/jmeter/usermanual/component_reference.html
with an RE of the form:
option value=1(\d+)\s+ |(\d+)\s+|(\S+)\s+|(.+?)|(.+?)/option
The values
PROTECTED]
Envoyé : jeudi 12 octobre 2006 12:16
À : JMeter Users List
Objet : Re: Problem with regular expression for extractor
Use the RE Post-Processor
http://jakarta.apache.org/jmeter/usermanual/component_reference.html
with an RE of the form:
option value=1(\d+)\s+ |(\d+)\s+|(\S+)\s
@jakarta.apache.org
Objet : RE: Problem with regular expression for extractor
I'd use the XPath postprocessor to do what you want done. Only thing is
you'll need to use 2 postprocessors if you want to extract 2 values, etc.
Additional problem with RE is that this particular regex will extract all
options
in english language) i don't understand how to proceed for
multiline string ...
Just add
(?m)
immediately before the regex.
Thanks again.
-Message d'origine-
De : sebb [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 12 octobre 2006 12:16
À : JMeter Users List
Objet : Re: Problem with regular
5 matches
Mail list logo