jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Cysne <flaviocy...@gmail.com>
Subject Re: Require help in Regular Expression!!!
Date Fri, 25 May 2012 12:45:42 GMT
the dot character in a regex will produce a hunger expression, try to avoid
it.

use, instead, \d for numbers only pattern -> equipmentPartId":"(\d+?)"

using a negation pattern is a better way to avoid the dot ->
productPartName":"([^"]+?)"

2012/5/25 Felix Frank <ff@mpexnet.de>

> On 05/25/2012 09:10 AM, venkatakurathi wrote:
> > add debug sampler to the transaction & run the script.
> > look into the response of debug sampler ,u can find the multiple values
> > extracted by your expression in name value format.
> > it gives you a better undertsanding to how to proceed further.
>
> Right.
>
> You will probably need to do something like this as well:
> http://theworkaholic.blogspot.com/2010/03/dynamic-parameters-in-jmeter.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message