jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject Re: Get max or min Value of a Variable or Regular Expression
Date Tue, 20 Sep 2011 08:57:29 GMT
On 20 September 2011 08:37, dino7777 <> wrote:
> Thx for this suggestion.
> First I will describe the problem a little more detailed.
> I am testing a web application that creates new records for some db tables.
> When I create a new record, i.e. fill in all needed data and click "save", a
> new tuple is created and this is reflected in the URL.
> After I create a tuple I get a URL with the id like "http://...htm?id=42".
> I have tried to catch this id via regular expression extractor with the
> regEx
> \.*htm\?id=(\d+)
> but I always get the default value set in regex extractor instead of the id
> ?!!

Did you set the Regex Extractor Response field to URL ?

> So I try to get the id (that is nothing but the PK of the current created
> tuple) by reading a table view of all records.
> I need the currently set highest id, plus 1, to have the current value of
> the PK i.e. the id.
> I will try with beanshell.
> Maybe someone has a tip, as I am new to using beanshell.
> thx
> --
> View this message in context:
> Sent from the JMeter - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message