jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thom Hehl" <T...@pointsix.com>
Subject RE: Advice
Date Thu, 05 May 2011 15:02:21 GMT
Uh-huh. Pretend like I'm fumbling in a dark room and your holding a
candle about 100 feet away. It's helping, but you're either gonna have
to shine brighter or I need to move closer.

Um, OK. So I understand that I need to set up UDVs in my thread group.
OK, my thread group contains a bunch of UDP Request Samplers. How do I
configure them to determine which thread to run in? Is this a logic
controller?

-----Original Message-----
From: Felix Frank [mailto:ff@mpexnet.de] 
Sent: Thursday, May 05, 2011 9:36 AM
To: JMeter Users List
Subject: Re: Advice

On 05/05/2011 03:10 PM, Thom Hehl wrote:
> I am using a program to generate the XML packets for me in the test.
> 
> I understand that for this, I will set up 250 threads on the thread
> group. Unfortunately, that's the only thing that's clear to me from
what
> you said.
> 
> What will I be using the User Defined Variable for? How will a
> particular thread know which packets belong to it?

In the UDV, you can assign an arbitrary value unique to each thread (you
need not do this if you can take advantage of, say, the threadNum
function, see
http://jakarta.apache.org/jmeter/usermanual/functions.html#__threadNum)
or set of threads.

Each thread can use this value (or its own number) to seed e.g. a CSV
Dataset Config
(http://jakarta.apache.org/jmeter/usermanual/component_reference.html#CS
V_Data_Set_Config).

>From your CSV files, each of your thread configures itself so as to run
a distinct set of the tests you have already developed.

HTH,
Felix

> -----Original Message-----
> From: Felix Frank [mailto:ff@mpexnet.de] 
> Sent: Thursday, May 05, 2011 9:07 AM
> To: JMeter Users List
> Subject: Re: Advice
> 
> On 05/05/2011 02:58 PM, Thom Hehl wrote:
>> OK, I've been through the manual and understand how to go about
> setting
>> up my tests technically. The thing that I seem to be missing is how
to
>> set up tests meaningfully.
>>
>>  
>>
>> I have an application that receives packet data on a regular basis
and
>> then allows people to log in and view reports of the data. I'd like
to
>> write  a jmeter test that simultaneously simulates the data coming in
>> and the people logging in to review it.
>>
>>  
>>
>> So I've created a slew of UDP packets for coming in. It is important
>> that packets from the same source come in sequentially. When done I
> will
>> have 250 sources for these packets.
>>
>>  
>>
>> I started setting up a thread group for each of the sources with one
>> thread apiece, but it appears that jmeter wouldn't run more than 4 of
>> them. So now what do I do to simulate this load? Should I use
threads?
>> How many, because the manual warns about too many.
>>
>>  
>>
>> Then how do I set up each of my tests. I want 50 users and each user
>> will own the data from 5 of the data sources. How do I set this part
> up?
> 
> Hi,
> 
> sounds like a job for 250 Threads and some User Defined Variables
> elements.
> You can define variable values for each Thread, or define, say, 50
> values, so that each value will be shared by 5 Threads.
> 
> Managing this in the GUI is bound to be painful, so you may want to
> start out small and then expand the .jmx file with an editor or
> scripting language.

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



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


Mime
View raw message