jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Aggregate sum for all threads
Date Tue, 22 Mar 2011 17:45:33 GMT
use a property (other shared objects across threads are any static fields
that you can access via java or objects in BSH shared object).
remember to synchronize access (or use atomicinteger).

regards
deepak

On Tue, Mar 22, 2011 at 10:18 AM, danimni <danimni@gmail.com> wrote:

> Hi All,
> I have a small problem with aggregate count for all my threads.
> My test plan is built with 5 threads and 10 total users (each thread will
> execute 2 users).
> I need to sum the total number of submissions of each user. For that, I've
> defined new UDV named 'TotalSubmissions'. My problem is that the
> 'TotalSubmissions' is created for each thread.
> So, at the end of the test I have 5 'TotalSubmissions' (that contains the
> sum of submission of 2 users).
> I would like to sum ALL submission for ALL the threads.
>
> How can I do that?
> Is there a way to define 1 global parameter that will be for all my
> threads?
>
> Thanks in advanced... :)
>
> Dan.
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Aggregate-sum-for-all-threads-tp4257247p4257247.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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