On 08/04/2009, Sonam Chauhan <[email protected]> wrote:
> Hello! Just wanted to hold up some strange behaviour - the __counter()
> function apparently skipped a value. This isn't a big problem for me but
> did cause a false load testing EAI publish-subscribe middleware :-)
>
>
>
> A 'User Parameters' sampler was used to setup a counter variable as
> follows:
>
> ---------------------------------------
>
> User Parameters (positioned at top of test plan - 'above' thread group)
>
> Name=(empty) User_1 =
> ${__counter(FALSE,count)}
Using Name=count and User_1=${__counter(FALSE)} would be the usual way
to do this.
> 'Update Once Per Iteration' -- ticked
>
> ---------------------------------------
>
>
>
> ${count} is then used in HTTP samplers to get a unique counter value in
> each JMeter thread.
>
>
>
> The test plan has 417 threads in a single thread group with one
> iteration only. However, 'View Results Tree' shows the value of ${count}
> used in the sampler going like this:
>
> 1,2,4,5,6 ... 417,418 (i.e. the ${count} skipped 3)
>
Does this happen repeatably?
>
> Regards,
>
> Sonam Chauhan
>
> --
>
> Corporate Express Australia Ltd.
>
> Phone: +61-2-93350725, Email: [email protected]
>
>
>
>
> The information contained in this email and any attached files are strictly
> private and confidential. This email should be read by the intended addressee
> only. If the recipient of this message is not the intended addressee, please
> call Corporate Express Australia Limited on +61 2 9335 0555 or Corporate
> Express
> New Zealand Limited on +64 9 279 2555 and promptly delete this email and any
> attachments. The intended recipient of this email may only use, reproduce,
> disclose or distribute the information contained in this email and any
> attached
> files with Corporate Express' permission. If you are not the intended
> addressee,
> you are strictly prohibited from using, reproducing, disclosing or
> distributing
> the information contained in this email and any attached files. Corporate
> Express advises that this email and any attached files should be scanned to
> detect viruses. Corporate Express accepts no liability for loss or damage
> (whether caused by negligence or not) resulting from the use of any attached
> files.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]