You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Nadav Samet <th...@gmail.com> on 2008/08/21 21:23:47 UTC

Counter within a loop

Hi there,

I am trying to create a loop that each iteration would initiate a request.
One field in the request (the file to send) varies with each iteration.

This is how I set it up:

+ ThreadGroup
++ Loop controller      (Loop Count = 10)
+++ Counter  (Start=0, increment=1, max=100000, reference name=index)
+++ Request   (Send files with the request: myfile${index}).txt)

It turns out that it does loop 10 times, but it sends myfile0.txt on all
iterations, instead of the different 10 files I've prepared. Does it do the
string interpolation on the file name too early? What's the right way to do
it?

-- 
Thanks,
Nadav

Re: Counter within a loop

Posted by abyss <re...@yahoo.com>.
Yes, it is fixed in current nitghtly build (r922204). Thank you.


sebb-2-2 wrote:
> 
> Try the current nightly; if it is not fixed, please file a Buzilla issue.
> 
> 

-- 
View this message in context: http://old.nabble.com/Counter-within-a-loop-tp19095227p28287807.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


RE: Flex load testing

Posted by "Hoffman, Matthew S" <ho...@ctc.com>.
I didn't use the binary files. I was able to record the requests (various HTTP request, SWF file, and the overall page request) through Jmeter and bundle them into a transaction controller.

-----------------------------------------------------------------
Matthew S. Hoffman
Director, Software Development III
Concurrent Technologies Corporation
100 CTC Dr.
Johnstown, PA 15904
Office: 814-269-2528
Cell:  814-243-9389
http://www.ctc.com

  Please consider the environment before printing this e-mail.

-----Original Message-----
From: Saurabh Gupta [mailto:stonecold.saurabh@gmail.com] 
Sent: Monday, April 19, 2010 8:10 AM
To: JMeter Users List
Subject: Re: Flex load testing

Hi,

Could you please tell me how to parametrize/ handle the .binary files.

If possible can you please send me any sample .jmx file or doc.


On Tue, Apr 13, 2010 at 7:28 PM, Hoffman, Matthew S <ho...@ctc.com>wrote:

> Thank you very much.. This helped!
>
>   Please consider the environment before printing this e-mail.
>
> -----Original Message-----
> From: Deepak Shetty [mailto:shettyd@gmail.com]
> Sent: Monday, April 12, 2010 4:46 PM
> To: JMeter Users List
> Subject: Re: Flex load testing
>
> Use a transaction controller to group requests
>
> regards
> deepak
>
> On Mon, Apr 12, 2010 at 1:43 PM, Hoffman, Matthew S <hoffmanm@ctc.com
> >wrote:
>
> > Thank you.. I downloaded Fiddler2 and it did capture all the same data
> > that's in the requests.  The response does show a XML export of the data.
> >  It seems that its still loading way too fast.  The Flex page has 5
> > different requests that are generated for the overall page.  Each request
> is
> > a component with a report like a dashboard.  If there was a way I can
> group
> > all these and get a response for them all as a whole, then that might be
> > more realistic.
> >
> >
> >
> >
> > -----Original Message-----
> > From: Deepak Shetty [mailto:shettyd@gmail.com]
> > Sent: Monday, April 12, 2010 4:06 PM
> > To: JMeter Users List
> > Subject: Re: Flex load testing
> >
> > Hi
> > these are the requests that will download the file (which is a static
> file
> > download and will be fast).
> > If you perform some operations which call server side components then
> > additional calls should get recorded , then the problem is there. You can
> > cross check with something like fiddler , what requests your flex app is
> > making.
> >
> > regards
> > deepak
> >
> > On Mon, Apr 12, 2010 at 12:31 PM, Hoffman, Matthew S <hoffmanm@ctc.com
> > >wrote:
> >
> > > I setup my test like the following..
> > >
> >
> http://vishnuagrawal.blogspot.com/2009/04/use-jmeter-to-load-test-flex.html
> > >
> > > I did get some response but the .binary wasn't in the bin folder.  It
> > > recorded a .swf file and 5 other requests that were all components in
> the
> > > FLEX.  The response times are really fast and unrealistic.  What am I
> > doing
> > > wrong?
> > >
> > > Thanks Matt
> > >
> > > ------------------------------------------------------------
> > > This message and any files transmitted within are intended
> > > solely for the addressee or its representative and may
> > > contain company sensitive information.  If you are not the
> > > intended recipient, notify the sender immediately and delete
> > > this message.  Publication, reproduction, forwarding, or
> > > content disclosure is prohibited without the consent of the
> > > original sender and may be unlawful.
> > >
> > > Concurrent Technologies Corporation and its Affiliates.
> > > www.ctc.com  1-800-282-4392
> > > ------------------------------------------------------------
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> >
> > ------------------------------------------------------------
> > This message and any files transmitted within are intended
> > solely for the addressee or its representative and may
> > contain company sensitive information.  If you are not the
> > intended recipient, notify the sender immediately and delete
> > this message.  Publication, reproduction, forwarding, or
> > content disclosure is prohibited without the consent of the
> > original sender and may be unlawful.
> >
> > Concurrent Technologies Corporation and its Affiliates.
> > www.ctc.com  1-800-282-4392
> > ------------------------------------------------------------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
> ------------------------------------------------------------
> This message and any files transmitted within are intended
> solely for the addressee or its representative and may
> contain company sensitive information.  If you are not the
> intended recipient, notify the sender immediately and delete
> this message.  Publication, reproduction, forwarding, or
> content disclosure is prohibited without the consent of the
> original sender and may be unlawful.
>
> Concurrent Technologies Corporation and its Affiliates.
> www.ctc.com  1-800-282-4392
> ------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>


-- 
Best Regards,
Saurabh

------------------------------------------------------------
This message and any files transmitted within are intended
solely for the addressee or its representative and may
contain company sensitive information.  If you are not the
intended recipient, notify the sender immediately and delete
this message.  Publication, reproduction, forwarding, or 
content disclosure is prohibited without the consent of the
original sender and may be unlawful.

Concurrent Technologies Corporation and its Affiliates.
www.ctc.com  1-800-282-4392
------------------------------------------------------------

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


RE: Flex load testing

Posted by je...@orange-ftgroup.com.
 Perhaps with a Java Sampler and this API, you can handle AMF/Flex
communication 
http://opensource.adobe.com/wiki/display/blazeds/Java+AMF+Client

Cordialement / Best regards

Jean-Louis Pasturel


-----Message d'origine-----
De : Saurabh Gupta [mailto:stonecold.saurabh@gmail.com] 
Envoyé : lundi 19 avril 2010 14:10
À : JMeter Users List
Objet : Re: Flex load testing

Hi,

Could you please tell me how to parametrize/ handle the .binary files.

If possible can you please send me any sample .jmx file or doc.


On Tue, Apr 13, 2010 at 7:28 PM, Hoffman, Matthew S <ho...@ctc.com>wrote:

> Thank you very much.. This helped!
>
> ?  Please consider the environment before printing this e-mail.
>
> -----Original Message-----
> From: Deepak Shetty [mailto:shettyd@gmail.com]
> Sent: Monday, April 12, 2010 4:46 PM
> To: JMeter Users List
> Subject: Re: Flex load testing
>
> Use a transaction controller to group requests
>
> regards
> deepak
>
> On Mon, Apr 12, 2010 at 1:43 PM, Hoffman, Matthew S <hoffmanm@ctc.com
> >wrote:
>
> > Thank you.. I downloaded Fiddler2 and it did capture all the same 
> > data that's in the requests.  The response does show a XML export of the
data.
> >  It seems that its still loading way too fast.  The Flex page has 5 
> > different requests that are generated for the overall page.  Each 
> > request
> is
> > a component with a report like a dashboard.  If there was a way I 
> > can
> group
> > all these and get a response for them all as a whole, then that 
> > might be more realistic.
> >
> >
> >
> >
> > -----Original Message-----
> > From: Deepak Shetty [mailto:shettyd@gmail.com]
> > Sent: Monday, April 12, 2010 4:06 PM
> > To: JMeter Users List
> > Subject: Re: Flex load testing
> >
> > Hi
> > these are the requests that will download the file (which is a 
> > static
> file
> > download and will be fast).
> > If you perform some operations which call server side components 
> > then additional calls should get recorded , then the problem is 
> > there. You can cross check with something like fiddler , what 
> > requests your flex app is making.
> >
> > regards
> > deepak
> >
> > On Mon, Apr 12, 2010 at 12:31 PM, Hoffman, Matthew S 
> > <hoffmanm@ctc.com
> > >wrote:
> >
> > > I setup my test like the following..
> > >
> >
> http://vishnuagrawal.blogspot.com/2009/04/use-jmeter-to-load-test-flex
> .html
> > >
> > > I did get some response but the .binary wasn't in the bin folder.  
> > > It recorded a .swf file and 5 other requests that were all 
> > > components in
> the
> > > FLEX.  The response times are really fast and unrealistic.  What 
> > > am I
> > doing
> > > wrong?
> > >
> > > Thanks Matt
> > >
> > > ------------------------------------------------------------
> > > This message and any files transmitted within are intended solely 
> > > for the addressee or its representative and may contain company 
> > > sensitive information.  If you are not the intended recipient, 
> > > notify the sender immediately and delete this message.  
> > > Publication, reproduction, forwarding, or content disclosure is 
> > > prohibited without the consent of the original sender and may be 
> > > unlawful.
> > >
> > > Concurrent Technologies Corporation and its Affiliates.
> > > www.ctc.com  1-800-282-4392
> > > ------------------------------------------------------------
> > >
> > > ------------------------------------------------------------------
> > > --- To unsubscribe, e-mail: 
> > > jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: 
> > > jmeter-user-help@jakarta.apache.org
> > >
> > >
> >
> > ------------------------------------------------------------
> > This message and any files transmitted within are intended solely 
> > for the addressee or its representative and may contain company 
> > sensitive information.  If you are not the intended recipient, 
> > notify the sender immediately and delete this message.  Publication, 
> > reproduction, forwarding, or content disclosure is prohibited 
> > without the consent of the original sender and may be unlawful.
> >
> > Concurrent Technologies Corporation and its Affiliates.
> > www.ctc.com  1-800-282-4392
> > ------------------------------------------------------------
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
> ------------------------------------------------------------
> This message and any files transmitted within are intended solely for 
> the addressee or its representative and may contain company sensitive 
> information.  If you are not the intended recipient, notify the sender 
> immediately and delete this message.  Publication, reproduction, 
> forwarding, or content disclosure is prohibited without the consent of 
> the original sender and may be unlawful.
>
> Concurrent Technologies Corporation and its Affiliates.
> www.ctc.com  1-800-282-4392
> ------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>


--
Best Regards,
Saurabh



*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************


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


Re: Flex load testing

Posted by Saurabh Gupta <st...@gmail.com>.
Hi,

Could you please tell me how to parametrize/ handle the .binary files.

If possible can you please send me any sample .jmx file or doc.


On Tue, Apr 13, 2010 at 7:28 PM, Hoffman, Matthew S <ho...@ctc.com>wrote:

> Thank you very much.. This helped!
>
>   Please consider the environment before printing this e-mail.
>
> -----Original Message-----
> From: Deepak Shetty [mailto:shettyd@gmail.com]
> Sent: Monday, April 12, 2010 4:46 PM
> To: JMeter Users List
> Subject: Re: Flex load testing
>
> Use a transaction controller to group requests
>
> regards
> deepak
>
> On Mon, Apr 12, 2010 at 1:43 PM, Hoffman, Matthew S <hoffmanm@ctc.com
> >wrote:
>
> > Thank you.. I downloaded Fiddler2 and it did capture all the same data
> > that's in the requests.  The response does show a XML export of the data.
> >  It seems that its still loading way too fast.  The Flex page has 5
> > different requests that are generated for the overall page.  Each request
> is
> > a component with a report like a dashboard.  If there was a way I can
> group
> > all these and get a response for them all as a whole, then that might be
> > more realistic.
> >
> >
> >
> >
> > -----Original Message-----
> > From: Deepak Shetty [mailto:shettyd@gmail.com]
> > Sent: Monday, April 12, 2010 4:06 PM
> > To: JMeter Users List
> > Subject: Re: Flex load testing
> >
> > Hi
> > these are the requests that will download the file (which is a static
> file
> > download and will be fast).
> > If you perform some operations which call server side components then
> > additional calls should get recorded , then the problem is there. You can
> > cross check with something like fiddler , what requests your flex app is
> > making.
> >
> > regards
> > deepak
> >
> > On Mon, Apr 12, 2010 at 12:31 PM, Hoffman, Matthew S <hoffmanm@ctc.com
> > >wrote:
> >
> > > I setup my test like the following..
> > >
> >
> http://vishnuagrawal.blogspot.com/2009/04/use-jmeter-to-load-test-flex.html
> > >
> > > I did get some response but the .binary wasn't in the bin folder.  It
> > > recorded a .swf file and 5 other requests that were all components in
> the
> > > FLEX.  The response times are really fast and unrealistic.  What am I
> > doing
> > > wrong?
> > >
> > > Thanks Matt
> > >
> > > ------------------------------------------------------------
> > > This message and any files transmitted within are intended
> > > solely for the addressee or its representative and may
> > > contain company sensitive information.  If you are not the
> > > intended recipient, notify the sender immediately and delete
> > > this message.  Publication, reproduction, forwarding, or
> > > content disclosure is prohibited without the consent of the
> > > original sender and may be unlawful.
> > >
> > > Concurrent Technologies Corporation and its Affiliates.
> > > www.ctc.com  1-800-282-4392
> > > ------------------------------------------------------------
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> >
> > ------------------------------------------------------------
> > This message and any files transmitted within are intended
> > solely for the addressee or its representative and may
> > contain company sensitive information.  If you are not the
> > intended recipient, notify the sender immediately and delete
> > this message.  Publication, reproduction, forwarding, or
> > content disclosure is prohibited without the consent of the
> > original sender and may be unlawful.
> >
> > Concurrent Technologies Corporation and its Affiliates.
> > www.ctc.com  1-800-282-4392
> > ------------------------------------------------------------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
> ------------------------------------------------------------
> This message and any files transmitted within are intended
> solely for the addressee or its representative and may
> contain company sensitive information.  If you are not the
> intended recipient, notify the sender immediately and delete
> this message.  Publication, reproduction, forwarding, or
> content disclosure is prohibited without the consent of the
> original sender and may be unlawful.
>
> Concurrent Technologies Corporation and its Affiliates.
> www.ctc.com  1-800-282-4392
> ------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>


-- 
Best Regards,
Saurabh

RE: Flex load testing

Posted by "Hoffman, Matthew S" <ho...@ctc.com>.
Thank you very much.. This helped!

  Please consider the environment before printing this e-mail.

-----Original Message-----
From: Deepak Shetty [mailto:shettyd@gmail.com] 
Sent: Monday, April 12, 2010 4:46 PM
To: JMeter Users List
Subject: Re: Flex load testing

Use a transaction controller to group requests

regards
deepak

On Mon, Apr 12, 2010 at 1:43 PM, Hoffman, Matthew S <ho...@ctc.com>wrote:

> Thank you.. I downloaded Fiddler2 and it did capture all the same data
> that's in the requests.  The response does show a XML export of the data.
>  It seems that its still loading way too fast.  The Flex page has 5
> different requests that are generated for the overall page.  Each request is
> a component with a report like a dashboard.  If there was a way I can group
> all these and get a response for them all as a whole, then that might be
> more realistic.
>
>
>
>
> -----Original Message-----
> From: Deepak Shetty [mailto:shettyd@gmail.com]
> Sent: Monday, April 12, 2010 4:06 PM
> To: JMeter Users List
> Subject: Re: Flex load testing
>
> Hi
> these are the requests that will download the file (which is a static file
> download and will be fast).
> If you perform some operations which call server side components then
> additional calls should get recorded , then the problem is there. You can
> cross check with something like fiddler , what requests your flex app is
> making.
>
> regards
> deepak
>
> On Mon, Apr 12, 2010 at 12:31 PM, Hoffman, Matthew S <hoffmanm@ctc.com
> >wrote:
>
> > I setup my test like the following..
> >
> http://vishnuagrawal.blogspot.com/2009/04/use-jmeter-to-load-test-flex.html
> >
> > I did get some response but the .binary wasn't in the bin folder.  It
> > recorded a .swf file and 5 other requests that were all components in the
> > FLEX.  The response times are really fast and unrealistic.  What am I
> doing
> > wrong?
> >
> > Thanks Matt
> >
> > ------------------------------------------------------------
> > This message and any files transmitted within are intended
> > solely for the addressee or its representative and may
> > contain company sensitive information.  If you are not the
> > intended recipient, notify the sender immediately and delete
> > this message.  Publication, reproduction, forwarding, or
> > content disclosure is prohibited without the consent of the
> > original sender and may be unlawful.
> >
> > Concurrent Technologies Corporation and its Affiliates.
> > www.ctc.com  1-800-282-4392
> > ------------------------------------------------------------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
> ------------------------------------------------------------
> This message and any files transmitted within are intended
> solely for the addressee or its representative and may
> contain company sensitive information.  If you are not the
> intended recipient, notify the sender immediately and delete
> this message.  Publication, reproduction, forwarding, or
> content disclosure is prohibited without the consent of the
> original sender and may be unlawful.
>
> Concurrent Technologies Corporation and its Affiliates.
> www.ctc.com  1-800-282-4392
> ------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

------------------------------------------------------------
This message and any files transmitted within are intended
solely for the addressee or its representative and may
contain company sensitive information.  If you are not the
intended recipient, notify the sender immediately and delete
this message.  Publication, reproduction, forwarding, or 
content disclosure is prohibited without the consent of the
original sender and may be unlawful.

Concurrent Technologies Corporation and its Affiliates.
www.ctc.com  1-800-282-4392
------------------------------------------------------------

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


Re: Flex load testing

Posted by Deepak Shetty <sh...@gmail.com>.
Use a transaction controller to group requests

regards
deepak

On Mon, Apr 12, 2010 at 1:43 PM, Hoffman, Matthew S <ho...@ctc.com>wrote:

> Thank you.. I downloaded Fiddler2 and it did capture all the same data
> that's in the requests.  The response does show a XML export of the data.
>  It seems that its still loading way too fast.  The Flex page has 5
> different requests that are generated for the overall page.  Each request is
> a component with a report like a dashboard.  If there was a way I can group
> all these and get a response for them all as a whole, then that might be
> more realistic.
>
>
>
>
> -----Original Message-----
> From: Deepak Shetty [mailto:shettyd@gmail.com]
> Sent: Monday, April 12, 2010 4:06 PM
> To: JMeter Users List
> Subject: Re: Flex load testing
>
> Hi
> these are the requests that will download the file (which is a static file
> download and will be fast).
> If you perform some operations which call server side components then
> additional calls should get recorded , then the problem is there. You can
> cross check with something like fiddler , what requests your flex app is
> making.
>
> regards
> deepak
>
> On Mon, Apr 12, 2010 at 12:31 PM, Hoffman, Matthew S <hoffmanm@ctc.com
> >wrote:
>
> > I setup my test like the following..
> >
> http://vishnuagrawal.blogspot.com/2009/04/use-jmeter-to-load-test-flex.html
> >
> > I did get some response but the .binary wasn't in the bin folder.  It
> > recorded a .swf file and 5 other requests that were all components in the
> > FLEX.  The response times are really fast and unrealistic.  What am I
> doing
> > wrong?
> >
> > Thanks Matt
> >
> > ------------------------------------------------------------
> > This message and any files transmitted within are intended
> > solely for the addressee or its representative and may
> > contain company sensitive information.  If you are not the
> > intended recipient, notify the sender immediately and delete
> > this message.  Publication, reproduction, forwarding, or
> > content disclosure is prohibited without the consent of the
> > original sender and may be unlawful.
> >
> > Concurrent Technologies Corporation and its Affiliates.
> > www.ctc.com  1-800-282-4392
> > ------------------------------------------------------------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
> ------------------------------------------------------------
> This message and any files transmitted within are intended
> solely for the addressee or its representative and may
> contain company sensitive information.  If you are not the
> intended recipient, notify the sender immediately and delete
> this message.  Publication, reproduction, forwarding, or
> content disclosure is prohibited without the consent of the
> original sender and may be unlawful.
>
> Concurrent Technologies Corporation and its Affiliates.
> www.ctc.com  1-800-282-4392
> ------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

RE: Flex load testing

Posted by "Hoffman, Matthew S" <ho...@ctc.com>.
Thank you.. I downloaded Fiddler2 and it did capture all the same data that's in the requests.  The response does show a XML export of the data.  It seems that its still loading way too fast.  The Flex page has 5 different requests that are generated for the overall page.  Each request is a component with a report like a dashboard.  If there was a way I can group all these and get a response for them all as a whole, then that might be more realistic.




-----Original Message-----
From: Deepak Shetty [mailto:shettyd@gmail.com] 
Sent: Monday, April 12, 2010 4:06 PM
To: JMeter Users List
Subject: Re: Flex load testing

Hi
these are the requests that will download the file (which is a static file
download and will be fast).
If you perform some operations which call server side components then
additional calls should get recorded , then the problem is there. You can
cross check with something like fiddler , what requests your flex app is
making.

regards
deepak

On Mon, Apr 12, 2010 at 12:31 PM, Hoffman, Matthew S <ho...@ctc.com>wrote:

> I setup my test like the following..
> http://vishnuagrawal.blogspot.com/2009/04/use-jmeter-to-load-test-flex.html
>
> I did get some response but the .binary wasn't in the bin folder.  It
> recorded a .swf file and 5 other requests that were all components in the
> FLEX.  The response times are really fast and unrealistic.  What am I doing
> wrong?
>
> Thanks Matt
>
> ------------------------------------------------------------
> This message and any files transmitted within are intended
> solely for the addressee or its representative and may
> contain company sensitive information.  If you are not the
> intended recipient, notify the sender immediately and delete
> this message.  Publication, reproduction, forwarding, or
> content disclosure is prohibited without the consent of the
> original sender and may be unlawful.
>
> Concurrent Technologies Corporation and its Affiliates.
> www.ctc.com  1-800-282-4392
> ------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

------------------------------------------------------------
This message and any files transmitted within are intended
solely for the addressee or its representative and may
contain company sensitive information.  If you are not the
intended recipient, notify the sender immediately and delete
this message.  Publication, reproduction, forwarding, or 
content disclosure is prohibited without the consent of the
original sender and may be unlawful.

Concurrent Technologies Corporation and its Affiliates.
www.ctc.com  1-800-282-4392
------------------------------------------------------------

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


Re: Flex load testing

Posted by Deepak Shetty <sh...@gmail.com>.
Hi
these are the requests that will download the file (which is a static file
download and will be fast).
If you perform some operations which call server side components then
additional calls should get recorded , then the problem is there. You can
cross check with something like fiddler , what requests your flex app is
making.

regards
deepak

On Mon, Apr 12, 2010 at 12:31 PM, Hoffman, Matthew S <ho...@ctc.com>wrote:

> I setup my test like the following..
> http://vishnuagrawal.blogspot.com/2009/04/use-jmeter-to-load-test-flex.html
>
> I did get some response but the .binary wasn't in the bin folder.  It
> recorded a .swf file and 5 other requests that were all components in the
> FLEX.  The response times are really fast and unrealistic.  What am I doing
> wrong?
>
> Thanks Matt
>
> ------------------------------------------------------------
> This message and any files transmitted within are intended
> solely for the addressee or its representative and may
> contain company sensitive information.  If you are not the
> intended recipient, notify the sender immediately and delete
> this message.  Publication, reproduction, forwarding, or
> content disclosure is prohibited without the consent of the
> original sender and may be unlawful.
>
> Concurrent Technologies Corporation and its Affiliates.
> www.ctc.com  1-800-282-4392
> ------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Flex load testing

Posted by "Hoffman, Matthew S" <ho...@ctc.com>.
I setup my test like the following.. http://vishnuagrawal.blogspot.com/2009/04/use-jmeter-to-load-test-flex.html

I did get some response but the .binary wasn't in the bin folder.  It recorded a .swf file and 5 other requests that were all components in the FLEX.  The response times are really fast and unrealistic.  What am I doing wrong?  

Thanks Matt

------------------------------------------------------------
This message and any files transmitted within are intended
solely for the addressee or its representative and may
contain company sensitive information.  If you are not the
intended recipient, notify the sender immediately and delete
this message.  Publication, reproduction, forwarding, or 
content disclosure is prohibited without the consent of the
original sender and may be unlawful.

Concurrent Technologies Corporation and its Affiliates.
www.ctc.com  1-800-282-4392
------------------------------------------------------------

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


Re: Counter within a loop

Posted by sebb <se...@gmail.com>.
Try the current nightly; if it is not fixed, please file a Buzilla issue.

On 10/04/2010, abyss <re...@yahoo.com> wrote:
>
>  This bug still persist in v2.3.4 r785646.
>
>
>
>  sebb-2-2 wrote:
>  >
>  > It will be fixed in the next release of JMeter.
>  >
>  >
>
>
> --
>  View this message in context: http://old.nabble.com/Counter-within-a-loop-tp19095227p28204452.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
>
>

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


Re: Counter within a loop

Posted by abyss <re...@yahoo.com>.
This bug still persist in v2.3.4 r785646. 


sebb-2-2 wrote:
> 
> It will be fixed in the next release of JMeter.
> 
> 

-- 
View this message in context: http://old.nabble.com/Counter-within-a-loop-tp19095227p28204452.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


Re: Counter within a loop

Posted by sebb <se...@gmail.com>.
It will be fixed in the next release of JMeter.

On 09/01/2009, Sujesh <ss...@gmail.com> wrote:
>
>  I am using JMeter v2.3.2 and facing same problem.
>  The counter ( refered by variable cnt ) value is resolved only for the first
>  iteration, other subsequent iterations get the same value when used with in
>  loop.
>  iteration#    variable used            value resolved
>  1                   ${fname}${cnt}        import1
>  2                   ${fname}${cnt}        import1
>  3                   ${fname}${cnt}        import1
>
>
>  --
>  View this message in context: http://www.nabble.com/Counter-within-a-loop-tp19095227p21370797.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
>
>

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


Re: Counter within a loop

Posted by Sujesh <ss...@gmail.com>.
I am using JMeter v2.3.2 and facing same problem.
The counter ( refered by variable cnt ) value is resolved only for the first
iteration, other subsequent iterations get the same value when used with in
loop.
iteration#    variable used            value resolved
1                   ${fname}${cnt}        import1
2                   ${fname}${cnt}        import1           
3                   ${fname}${cnt}        import1

-- 
View this message in context: http://www.nabble.com/Counter-within-a-loop-tp19095227p21370797.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


Re: Counter within a loop

Posted by sebb <se...@gmail.com>.
On 19/09/2008, sebb <se...@gmail.com> wrote:
> On 28/08/2008, Nadav Samet <th...@gmail.com> wrote:
>  > That's weird.
>  >
>  >  So I was trying to debug what's going on. It seems like HTTPSamplerBase
>  >  caches the file list, so it's not aware that the filenames should change
>  >  between subsequent iterations. In HTTPSamplerBase around line 1548:
>  >
>  >         if (fileList != null){
>  >             return fileList;
>  >         }
>  >
>  >  When I comment the above lines out, I am getting a fresh value in each
>  >  iteration. Any ideas?
>
>
> I think the cache was added to save the possibly expensive process of
>  regenerating the list.  Unfortunately any variables are resolved when
>  the list is created.
>
>  This obviously needs to be revisited.
>

I think I've fixed the problem - the first file name is now resolved
at run-time (filenames after the first were OK previously)

If you want to try it, nightly builds after r697636 have the fix.

>  >
>  >  -Nadav
>  >
>  >
>  >
>  >  On Fri, Aug 22, 2008 at 1:50 PM, Nadav Samet <th...@gmail.com> wrote:
>  >
>  >  > I have tried this against both 2.3.2 and trunk. I have attached a minimal
>  >  > example in which this problem occurs.
>  >  >
>  >  > I've discovered that if I add an additional file to the sampler, then the
>  >  > counter will work right on the second file, but is frozen on the initial
>  >  > value for the first file. Perhaps this bug popped up after the HTTPFileArgs
>  >  > feature had been introduced?
>  >  >
>  >  > -Nadav
>  >  >
>  >  >
>  >  > On Thu, Aug 21, 2008 at 8:35 PM, Ryan Miling <rm...@bzzagent.com> wrote:
>  >  >
>  >  >> I cannot reproduce this error. I set-up my test plan exactly like yours
>  >  >> and was able to send the files
>  >  >> 'myfile0.txt','myfile1.txt',...,'myfile9.txt' along with the HTTP
>  >  >> Request. Like you, I had done this...
>  >  >>
>  >  >> + Thread Group
>  >  >> ++ Loop Controller
>  >  >> +++ Counter
>  >  >> +++ HTTP Request
>  >  >> +++ Debug Sampler
>  >  >> ++ View Results Tree
>  >  >>
>  >  >> ...except I threw on a Debug Sampler and View Results Tree to see what
>  >  >> was going on. You do have the most recent version of JMeter, correct?
>  >  >>
>  >  >>
>  >  >> > -----Original Message-----
>  >  >> > From: Nadav Samet [mailto:thesamet@gmail.com]
>  >  >> > Sent: Thursday, August 21, 2008 3:24 PM
>  >  >> > To: jmeter-user@jakarta.apache.org
>  >  >> > Subject: Counter within a loop
>  >  >> >
>  >  >> > Hi there,
>  >  >> >
>  >  >> > I am trying to create a loop that each iteration would initiate a
>  >  >> request.
>  >  >> > One field in the request (the file to send) varies with each
>  >  >> iteration.
>  >  >> >
>  >  >> > This is how I set it up:
>  >  >> >
>  >  >> > + ThreadGroup
>  >  >> > ++ Loop controller      (Loop Count = 10)
>  >  >> > +++ Counter  (Start=0, increment=1, max=100000, reference name=index)
>  >  >> > +++ Request   (Send files with the request: myfile${index}).txt)
>  >  >> >
>  >  >> > It turns out that it does loop 10 times, but it sends myfile0.txt on
>  >  >> all
>  >  >> > iterations, instead of the different 10 files I've prepared. Does it
>  >  >> do
>  >  >> > the
>  >  >> > string interpolation on the file name too early? What's the right way
>  >  >> to
>  >  >> > do
>  >  >> > it?
>  >  >> >
>  >  >> > --
>  >  >> > Thanks,
>  >  >> > Nadav
>  >  >>
>  >  >> ---------------------------------------------------------------------
>  >  >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >  >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >  >>
>  >  >>
>  >  >
>  >  >
>  >  > --
>  >  > Sincerely yours,
>  >  > Nadav
>  >  >
>  >
>

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


Re: Counter within a loop

Posted by sebb <se...@gmail.com>.
On 28/08/2008, Nadav Samet <th...@gmail.com> wrote:
> That's weird.
>
>  So I was trying to debug what's going on. It seems like HTTPSamplerBase
>  caches the file list, so it's not aware that the filenames should change
>  between subsequent iterations. In HTTPSamplerBase around line 1548:
>
>         if (fileList != null){
>             return fileList;
>         }
>
>  When I comment the above lines out, I am getting a fresh value in each
>  iteration. Any ideas?

I think the cache was added to save the possibly expensive process of
regenerating the list.  Unfortunately any variables are resolved when
the list is created.

This obviously needs to be revisited.

>
>  -Nadav
>
>
>
>  On Fri, Aug 22, 2008 at 1:50 PM, Nadav Samet <th...@gmail.com> wrote:
>
>  > I have tried this against both 2.3.2 and trunk. I have attached a minimal
>  > example in which this problem occurs.
>  >
>  > I've discovered that if I add an additional file to the sampler, then the
>  > counter will work right on the second file, but is frozen on the initial
>  > value for the first file. Perhaps this bug popped up after the HTTPFileArgs
>  > feature had been introduced?
>  >
>  > -Nadav
>  >
>  >
>  > On Thu, Aug 21, 2008 at 8:35 PM, Ryan Miling <rm...@bzzagent.com> wrote:
>  >
>  >> I cannot reproduce this error. I set-up my test plan exactly like yours
>  >> and was able to send the files
>  >> 'myfile0.txt','myfile1.txt',...,'myfile9.txt' along with the HTTP
>  >> Request. Like you, I had done this...
>  >>
>  >> + Thread Group
>  >> ++ Loop Controller
>  >> +++ Counter
>  >> +++ HTTP Request
>  >> +++ Debug Sampler
>  >> ++ View Results Tree
>  >>
>  >> ...except I threw on a Debug Sampler and View Results Tree to see what
>  >> was going on. You do have the most recent version of JMeter, correct?
>  >>
>  >>
>  >> > -----Original Message-----
>  >> > From: Nadav Samet [mailto:thesamet@gmail.com]
>  >> > Sent: Thursday, August 21, 2008 3:24 PM
>  >> > To: jmeter-user@jakarta.apache.org
>  >> > Subject: Counter within a loop
>  >> >
>  >> > Hi there,
>  >> >
>  >> > I am trying to create a loop that each iteration would initiate a
>  >> request.
>  >> > One field in the request (the file to send) varies with each
>  >> iteration.
>  >> >
>  >> > This is how I set it up:
>  >> >
>  >> > + ThreadGroup
>  >> > ++ Loop controller      (Loop Count = 10)
>  >> > +++ Counter  (Start=0, increment=1, max=100000, reference name=index)
>  >> > +++ Request   (Send files with the request: myfile${index}).txt)
>  >> >
>  >> > It turns out that it does loop 10 times, but it sends myfile0.txt on
>  >> all
>  >> > iterations, instead of the different 10 files I've prepared. Does it
>  >> do
>  >> > the
>  >> > string interpolation on the file name too early? What's the right way
>  >> to
>  >> > do
>  >> > it?
>  >> >
>  >> > --
>  >> > Thanks,
>  >> > Nadav
>  >>
>  >> ---------------------------------------------------------------------
>  >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>
>  >>
>  >
>  >
>  > --
>  > Sincerely yours,
>  > Nadav
>  >
>

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


Re: Counter within a loop

Posted by Nadav Samet <th...@gmail.com>.
That's weird.

So I was trying to debug what's going on. It seems like HTTPSamplerBase
caches the file list, so it's not aware that the filenames should change
between subsequent iterations. In HTTPSamplerBase around line 1548:

        if (fileList != null){
            return fileList;
        }

When I comment the above lines out, I am getting a fresh value in each
iteration. Any ideas?

-Nadav


On Fri, Aug 22, 2008 at 1:50 PM, Nadav Samet <th...@gmail.com> wrote:

> I have tried this against both 2.3.2 and trunk. I have attached a minimal
> example in which this problem occurs.
>
> I've discovered that if I add an additional file to the sampler, then the
> counter will work right on the second file, but is frozen on the initial
> value for the first file. Perhaps this bug popped up after the HTTPFileArgs
> feature had been introduced?
>
> -Nadav
>
>
> On Thu, Aug 21, 2008 at 8:35 PM, Ryan Miling <rm...@bzzagent.com> wrote:
>
>> I cannot reproduce this error. I set-up my test plan exactly like yours
>> and was able to send the files
>> 'myfile0.txt','myfile1.txt',...,'myfile9.txt' along with the HTTP
>> Request. Like you, I had done this...
>>
>> + Thread Group
>> ++ Loop Controller
>> +++ Counter
>> +++ HTTP Request
>> +++ Debug Sampler
>> ++ View Results Tree
>>
>> ...except I threw on a Debug Sampler and View Results Tree to see what
>> was going on. You do have the most recent version of JMeter, correct?
>>
>>
>> > -----Original Message-----
>> > From: Nadav Samet [mailto:thesamet@gmail.com]
>> > Sent: Thursday, August 21, 2008 3:24 PM
>> > To: jmeter-user@jakarta.apache.org
>> > Subject: Counter within a loop
>> >
>> > Hi there,
>> >
>> > I am trying to create a loop that each iteration would initiate a
>> request.
>> > One field in the request (the file to send) varies with each
>> iteration.
>> >
>> > This is how I set it up:
>> >
>> > + ThreadGroup
>> > ++ Loop controller      (Loop Count = 10)
>> > +++ Counter  (Start=0, increment=1, max=100000, reference name=index)
>> > +++ Request   (Send files with the request: myfile${index}).txt)
>> >
>> > It turns out that it does loop 10 times, but it sends myfile0.txt on
>> all
>> > iterations, instead of the different 10 files I've prepared. Does it
>> do
>> > the
>> > string interpolation on the file name too early? What's the right way
>> to
>> > do
>> > it?
>> >
>> > --
>> > Thanks,
>> > Nadav
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>
>
> --
> Sincerely yours,
> Nadav
>

Re: Counter within a loop

Posted by Nadav Samet <th...@gmail.com>.
I have tried this against both 2.3.2 and trunk. I have attached a minimal
example in which this problem occurs.

I've discovered that if I add an additional file to the sampler, then the
counter will work right on the second file, but is frozen on the initial
value for the first file. Perhaps this bug popped up after the HTTPFileArgs
feature had been introduced?

-Nadav

On Thu, Aug 21, 2008 at 8:35 PM, Ryan Miling <rm...@bzzagent.com> wrote:

> I cannot reproduce this error. I set-up my test plan exactly like yours
> and was able to send the files
> 'myfile0.txt','myfile1.txt',...,'myfile9.txt' along with the HTTP
> Request. Like you, I had done this...
>
> + Thread Group
> ++ Loop Controller
> +++ Counter
> +++ HTTP Request
> +++ Debug Sampler
> ++ View Results Tree
>
> ...except I threw on a Debug Sampler and View Results Tree to see what
> was going on. You do have the most recent version of JMeter, correct?
>
>
> > -----Original Message-----
> > From: Nadav Samet [mailto:thesamet@gmail.com]
> > Sent: Thursday, August 21, 2008 3:24 PM
> > To: jmeter-user@jakarta.apache.org
> > Subject: Counter within a loop
> >
> > Hi there,
> >
> > I am trying to create a loop that each iteration would initiate a
> request.
> > One field in the request (the file to send) varies with each
> iteration.
> >
> > This is how I set it up:
> >
> > + ThreadGroup
> > ++ Loop controller      (Loop Count = 10)
> > +++ Counter  (Start=0, increment=1, max=100000, reference name=index)
> > +++ Request   (Send files with the request: myfile${index}).txt)
> >
> > It turns out that it does loop 10 times, but it sends myfile0.txt on
> all
> > iterations, instead of the different 10 files I've prepared. Does it
> do
> > the
> > string interpolation on the file name too early? What's the right way
> to
> > do
> > it?
> >
> > --
> > Thanks,
> > Nadav
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>


-- 
Sincerely yours,
Nadav

RE: Counter within a loop

Posted by Ryan Miling <rm...@bzzagent.com>.
I cannot reproduce this error. I set-up my test plan exactly like yours
and was able to send the files
'myfile0.txt','myfile1.txt',...,'myfile9.txt' along with the HTTP
Request. Like you, I had done this...

+ Thread Group
++ Loop Controller
+++ Counter
+++ HTTP Request
+++ Debug Sampler
++ View Results Tree

...except I threw on a Debug Sampler and View Results Tree to see what
was going on. You do have the most recent version of JMeter, correct?


> -----Original Message-----
> From: Nadav Samet [mailto:thesamet@gmail.com]
> Sent: Thursday, August 21, 2008 3:24 PM
> To: jmeter-user@jakarta.apache.org
> Subject: Counter within a loop
> 
> Hi there,
> 
> I am trying to create a loop that each iteration would initiate a
request.
> One field in the request (the file to send) varies with each
iteration.
> 
> This is how I set it up:
> 
> + ThreadGroup
> ++ Loop controller      (Loop Count = 10)
> +++ Counter  (Start=0, increment=1, max=100000, reference name=index)
> +++ Request   (Send files with the request: myfile${index}).txt)
> 
> It turns out that it does loop 10 times, but it sends myfile0.txt on
all
> iterations, instead of the different 10 files I've prepared. Does it
do
> the
> string interpolation on the file name too early? What's the right way
to
> do
> it?
> 
> --
> Thanks,
> Nadav

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