jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <>
Subject Re: Get max or min Value of a Variable or Regular Expression
Date Mon, 19 Sep 2011 21:59:24 GMT
if there is nothing in the response that tells you the maximum then you have
to select all matches(match no -1) and do it in beanshell or bsf (should be
possible in XPATH).

But you might be missing something as well - when your application is
accessed by a normal user with the browser, what does he click (that you are
trying to script) and how does the "max" id get sent?


On Mon, Sep 19, 2011 at 6:12 AM, dino7777 <> wrote:

> Hello,
> I have read out some numeric value by using RegEx Extractor.
> Ref Name: FirstID
> Regular Ex: <.*show.htm\?id=(\d+)
> Template: $1$
> Match No.: 1
> Default_Value: not_found
> My pages have lists with various of these "id's". In fact they represent PK
> values from a db table.
> Now I have to get the highest value of an id, not necessarily the first, as
> in my regEx.
> *How can I read out the id with the highest (lowest) value.*
> --
> View this message in context:
> Sent from the JMeter - User mailing list archive at

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