jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Byron Foster" <by...@base2.cc>
Subject Re: How to Use Counter
Date Tue, 10 Dec 2002 17:18:11 GMT

I've recently had the same problem and after some investigation I believe
the Counter Config is broken, or at least does not work the way we think. 
The counter will increment with every new thread (in non-peruser mode),
but it will not increment with every loop.

What will probably work in your case is the counter function, try the
following and remove the CounterConfig element:

http://192.168.100.100/misc/test_${__counter(FALSE,count)}.html

docs at:
http://jakarta.apache.org/jmeter/usermanual/component_reference.html

Good Luck,
Byron

> Hello all,
>
> I know this is a simple question, but I'm having trouble getting the
> Counter to work.
>
> I want to send x number of requests to fetch x number of files that have
> increasing numbers in the filenames. I've added a counter to my thread
> group with a reference name of myCounter and I've set this in my http
> request settings:
>
> http://192.168.100.100/misc/test_${myCounter}.html
>
> However, when I run the test it makes a request for
>
> http://192.168.100.100/misc/test_1.html over and over again. The counter
> never increments.
>
> Am I putting it in the wrong place, have I configured it wrong in some
> way? The documenation on this is really thin and I haven't been able to
> find any examples on the web.
>
> Thanks
> Kenny Smith




--
To unsubscribe, e-mail:   <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jmeter-user-help@jakarta.apache.org>


Mime
View raw message