You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Amit Kumar <am...@gmail.com> on 2013/10/11 10:38:07 UTC

IMP: Can we perform load testing for video uploading scenario using JMeter?

Dear All:

I have to perform load testing for video uploading scenarios. Can we do it
in JMeter?
-- 
Thanks and Regards,
Amit

Re: Using Jmeter for Swing based testing

Posted by Flavio Cysne <fl...@gmail.com>.
If you prefer doing UI tests, you can use FEST, JUnit and JMeter.


2013/10/30 Asish Pradhan <as...@infogain.com>

> Thanks Janusz. I think Server side testing is achievable as we are trrying
> to test WebServices/DB/JMS etc. The issue that we are facing is determining
> if we can use Jmeter to drive our UI load testing. For example putting
> values in the UI objets and then driving the flow would be something that
> will be needed. I was wondering if Jmeter can do that UI drive from Swing
> Clients and if it can be profiled. Do you have any thoughts on that or any
> similar tools that does that
>
> -----Original Message-----
> From: Janusz Kowalczyk [mailto:kowalczykjanusz@gmail.com]
> Sent: Wednesday, October 30, 2013 4:25 AM
> To: JMeter Users List
> Subject: Re: Using Jmeter for Swing based testing
>
> Hi Asish,
>
> If it's the server side you want to load test then definitely you can do
> it in JMeter.
> Depending what communication protocol your backend is using you'd have to
> use a different sampler.
>
> Cheers,
> Janusz
>
>
> On 30 October 2013 00:45, Asish Pradhan <as...@infogain.com>
> wrote:
>
> > Hello All,
> > We are trying to figure out if we can load/stress test our Swing based
> > POS solution on a Client/Server architecture. Please recommend us if
> > we can use Jmeter for stress testing on this Multi Tiered Java Swing
> > based product. Will greatly appreciate any feedbacks.
> >
> > Thanks
> > JJJ
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> >
>
>
> --
> Zapraszam na swojego foto-bloga: http://na100procentchyba.wordpress.com/
> Autopodpis: Staraj się używać pola Ukryty do Wiadomości (UDW) przy
> wysyłaniu wiadomości do wielu odbiorców, ograniczysz przez to
> rozprzestrzenianie się spamu!
> Autosignature: Try to use field BCC (blind carbon copy) when sending
> message to many recepients, it will restrain spread of spam!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

RE: Using Jmeter for Swing based testing

Posted by Asish Pradhan <as...@infogain.com>.
Thanks Janusz. I think Server side testing is achievable as we are trrying to test WebServices/DB/JMS etc. The issue that we are facing is determining if we can use Jmeter to drive our UI load testing. For example putting values in the UI objets and then driving the flow would be something that will be needed. I was wondering if Jmeter can do that UI drive from Swing Clients and if it can be profiled. Do you have any thoughts on that or any similar tools that does that

-----Original Message-----
From: Janusz Kowalczyk [mailto:kowalczykjanusz@gmail.com] 
Sent: Wednesday, October 30, 2013 4:25 AM
To: JMeter Users List
Subject: Re: Using Jmeter for Swing based testing

Hi Asish,

If it's the server side you want to load test then definitely you can do it in JMeter.
Depending what communication protocol your backend is using you'd have to use a different sampler.

Cheers,
Janusz


On 30 October 2013 00:45, Asish Pradhan <as...@infogain.com> wrote:

> Hello All,
> We are trying to figure out if we can load/stress test our Swing based 
> POS solution on a Client/Server architecture. Please recommend us if 
> we can use Jmeter for stress testing on this Multi Tiered Java Swing 
> based product. Will greatly appreciate any feedbacks.
>
> Thanks
> JJJ
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>


--
Zapraszam na swojego foto-bloga: http://na100procentchyba.wordpress.com/
Autopodpis: Staraj się używać pola Ukryty do Wiadomości (UDW) przy wysyłaniu wiadomości do wielu odbiorców, ograniczysz przez to rozprzestrzenianie się spamu!
Autosignature: Try to use field BCC (blind carbon copy) when sending message to many recepients, it will restrain spread of spam!

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


Re: Using Jmeter for Swing based testing

Posted by Janusz Kowalczyk <ko...@gmail.com>.
Hi Asish,

If it's the server side you want to load test then definitely you can do it
in JMeter.
Depending what communication protocol your backend is using you'd have to
use a different sampler.

Cheers,
Janusz


On 30 October 2013 00:45, Asish Pradhan <as...@infogain.com> wrote:

> Hello All,
> We are trying to figure out if we can load/stress test our Swing based
> POS solution on a Client/Server architecture. Please recommend us if we
> can use Jmeter for stress testing on this Multi Tiered Java Swing based
> product. Will greatly appreciate any feedbacks.
>
> Thanks
> JJJ
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>


-- 
Zapraszam na swojego foto-bloga: http://na100procentchyba.wordpress.com/
Autopodpis: Staraj się używać pola Ukryty do Wiadomości (UDW) przy
wysyłaniu wiadomości do wielu odbiorców, ograniczysz przez to
rozprzestrzenianie się spamu!
Autosignature: Try to use field BCC (blind carbon copy) when sending
message to many recepients, it will restrain spread of spam!

Re: Using Jmeter for Swing based testing

Posted by Flavio Cysne <fl...@gmail.com>.
I'm working on a performance test in a client-server Swing application that
uses RMI.
I'm testing only the code part that communicates with the server, not the
user interface.
As I need to run the test headless, there's no meaning to start the test
from the user interface.
I created a JUnit test project in Eclipse, wrote the test classes and
export to a jar that I put in $JMETER_HOME\lib\junit
I also configured an external user classpath with the application library
dependencies.
After that I created a JMeter Test Plan and added a JUnit Test sampler
calling the test method of my JUnit test class.

To run the test I had to copy junit test project jar to $JMETER\lib\junit
directory of all JMeter instances used (master and slaves)
Had to copy application dependencies folder to all JMeter instances
machines and configure user classpath in user.properties for each one too.

Using Jmeter for Swing based testing

Posted by Asish Pradhan <as...@infogain.com>.
Hello All,
We are trying to figure out if we can load/stress test our Swing based
POS solution on a Client/Server architecture. Please recommend us if we
can use Jmeter for stress testing on this Multi Tiered Java Swing based
product. Will greatly appreciate any feedbacks.

Thanks
JJJ 

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


Using perfmon metrics collector to collect custom windows perf counter

Posted by kevin zeng <kz...@outlook.com>.
The perfmon metrics collector plugin works well with the standard set of counters (i.e. CPU, Memory, and etc) which it provides. However, I would like to collect applicaiton specific perf counters. The help document has mentioned to I can use exec in the plugin to start a process in the server and read the output from the process to the graph. Is there a example for doing that for windows perf counter? Also is it going to be resource intensive if I want to many of the counters (not sure if it will spawn out 1 process per counter)?
 
Thanks a lot for your help!
 
Kevin
 		 	   		  

Re: How to have more granular time report in junit request sampler

Posted by sebb <se...@gmail.com>.
On 22 October 2013 18:02, kevin zeng <kz...@outlook.com> wrote:
> Thanks a lot for your response. There are multiple reason for us to use junit sampler, because 1. we already have a java api library written which will handles authenticaiton and etc to enable client talking to serve; 2. within the junit test case, we will need to maintain the session info. i.e. we first make a bootstrap call to get the session id, and then make a post call to get a list of things, and then make subsequent calls.
>
> Is it possible to use the other sampler to do the thing I mentioned above?

Yes, though you will have to write some Java code.
I assume this is not an issue as you currently have to write the JUnit
tests anyway.

There are various ways to write code for JMeter.

1) Use a JSR223 sampler with a suitable scripting language
2) use the BeanShell Sampler
3) Implement the JavaSampler interface
4) Write your own stand-alone sampler

You will need to decide how to cache the session id between samples;
one way is to use a JMeter variable (which does not have to be a
String).

>
>> Date: Thu, 17 Oct 2013 12:06:02 +0100
>> Subject: Re: How to have more granular time report in junit request sampler
>> From: sebbaz@gmail.com
>> To: user@jmeter.apache.org
>>
>> On 14 October 2013 17:13, kevin zeng <kz...@outlook.com> wrote:
>> > Hi,
>> >
>> > I am new to JMeter. I would like to create a load test plan with a set of junit request sampler. Each JUnit request sampler will contains a sequence of user actions (i.e. login, view doc, and edit doc) to mimic a particular user scenario. Currently, if I use graph result listener, it will report time at the junit test case level. Is it also possible to report at the action level too? I will need this, because if I see problem at the test case level, then I will need to drill down to the action level.
>>
>> This is not possible with the JUnit sampler.
>> You will have to break your tests down further, or add logging to them.
>>
>> However, I wonder why you are using JUnit for such testing - why not
>> use an existing sampler?
>>
>> > Thanks a lot for your help!
>> >
>> > Kevin
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>> For additional commands, e-mail: user-help@jmeter.apache.org
>>
>

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


RE: How to have more granular time report in junit request sampler

Posted by kevin zeng <kz...@outlook.com>.
Thanks a lot for your response. There are multiple reason for us to use junit sampler, because 1. we already have a java api library written which will handles authenticaiton and etc to enable client talking to serve; 2. within the junit test case, we will need to maintain the session info. i.e. we first make a bootstrap call to get the session id, and then make a post call to get a list of things, and then make subsequent calls. 
 
Is it possible to use the other sampler to do the thing I mentioned above?

 
> Date: Thu, 17 Oct 2013 12:06:02 +0100
> Subject: Re: How to have more granular time report in junit request sampler
> From: sebbaz@gmail.com
> To: user@jmeter.apache.org
> 
> On 14 October 2013 17:13, kevin zeng <kz...@outlook.com> wrote:
> > Hi,
> >
> > I am new to JMeter. I would like to create a load test plan with a set of junit request sampler. Each JUnit request sampler will contains a sequence of user actions (i.e. login, view doc, and edit doc) to mimic a particular user scenario. Currently, if I use graph result listener, it will report time at the junit test case level. Is it also possible to report at the action level too? I will need this, because if I see problem at the test case level, then I will need to drill down to the action level.
> 
> This is not possible with the JUnit sampler.
> You will have to break your tests down further, or add logging to them.
> 
> However, I wonder why you are using JUnit for such testing - why not
> use an existing sampler?
> 
> > Thanks a lot for your help!
> >
> > Kevin
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
> 
 		 	   		  

Re: How to have more granular time report in junit request sampler

Posted by sebb <se...@gmail.com>.
On 14 October 2013 17:13, kevin zeng <kz...@outlook.com> wrote:
> Hi,
>
> I am new to JMeter. I would like to create a load test plan with a set of junit request sampler. Each JUnit request sampler will contains a sequence of user actions (i.e. login, view doc, and edit doc) to mimic a particular user scenario. Currently, if I use graph result listener, it will report time at the junit test case level. Is it also possible to report at the action level too? I will need this, because if I see problem at the test case level, then I will need to drill down to the action level.

This is not possible with the JUnit sampler.
You will have to break your tests down further, or add logging to them.

However, I wonder why you are using JUnit for such testing - why not
use an existing sampler?

> Thanks a lot for your help!
>
> Kevin
>

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


How to have more granular time report in junit request sampler

Posted by kevin zeng <kz...@outlook.com>.
Hi, 
 
I am new to JMeter. I would like to create a load test plan with a set of junit request sampler. Each JUnit request sampler will contains a sequence of user actions (i.e. login, view doc, and edit doc) to mimic a particular user scenario. Currently, if I use graph result listener, it will report time at the junit test case level. Is it also possible to report at the action level too? I will need this, because if I see problem at the test case level, then I will need to drill down to the action level.
 
Thanks a lot for your help!
 
Kevin
 		 	   		  

Re: IMP: Can we perform load testing for video uploading scenario using JMeter?

Posted by Amit Kumar <am...@gmail.com>.
Thanks Rex and Oscar, I will try this and will keep you posted.


On Sat, Oct 12, 2013 at 4:55 AM, Rex <li...@chickything.com> wrote:

> Yes this is correct.  Also, I think if you use the HTTP Proxy to capture
> requests, it will correctly capture the upload details, including the file
> itself.
>
> - Rex
>
>
> On 10/11/2013 2:37 PM, Oscar Nogueira Neto wrote:
>
>> Hi,
>> did you try to use the "Send File With Request" table in the HTTP Sampler?
>> It will really depend on how the application was built, but probably
>> uploading a video is just the same as uploading a text file.
>> Regards,
>>
>> __
>> *Oscar Nogueira Neto*
>> http://www.oscarnogueira.com
>> @oscarnogueira
>>
>>
>> On Fri, Oct 11, 2013 at 9:51 AM, Amit Kumar <am...@gmail.com> wrote:
>>
>>  Can anyone help me on this?
>>>
>>>
>>> On Fri, Oct 11, 2013 at 2:08 PM, Amit Kumar <am...@gmail.com>
>>> wrote:
>>>
>>>  Dear All:
>>>>
>>>> I have to perform load testing for video uploading scenarios. Can we do
>>>>
>>> it
>>>
>>>> in JMeter?
>>>> --
>>>> Thanks and Regards,
>>>> Amit
>>>>
>>>>
>>>
>>> --
>>> Thanks and Regards,
>>> Amit
>>>
>>>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.**apache.org<us...@jmeter.apache.org>
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>


-- 
Thanks and Regards,
Amit

Re: IMP: Can we perform load testing for video uploading scenario using JMeter?

Posted by Rex <li...@chickything.com>.
Yes this is correct.  Also, I think if you use the HTTP Proxy to capture 
requests, it will correctly capture the upload details, including the 
file itself.

- Rex

On 10/11/2013 2:37 PM, Oscar Nogueira Neto wrote:
> Hi,
> did you try to use the "Send File With Request" table in the HTTP Sampler?
> It will really depend on how the application was built, but probably
> uploading a video is just the same as uploading a text file.
> Regards,
>
> __
> *Oscar Nogueira Neto*
> http://www.oscarnogueira.com
> @oscarnogueira
>
>
> On Fri, Oct 11, 2013 at 9:51 AM, Amit Kumar <am...@gmail.com> wrote:
>
>> Can anyone help me on this?
>>
>>
>> On Fri, Oct 11, 2013 at 2:08 PM, Amit Kumar <am...@gmail.com> wrote:
>>
>>> Dear All:
>>>
>>> I have to perform load testing for video uploading scenarios. Can we do
>> it
>>> in JMeter?
>>> --
>>> Thanks and Regards,
>>> Amit
>>>
>>
>>
>> --
>> Thanks and Regards,
>> Amit
>>


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


Re: IMP: Can we perform load testing for video uploading scenario using JMeter?

Posted by Oscar Nogueira Neto <os...@gmail.com>.
Hi,
did you try to use the "Send File With Request" table in the HTTP Sampler?
It will really depend on how the application was built, but probably
uploading a video is just the same as uploading a text file.
Regards,

__
*Oscar Nogueira Neto*
http://www.oscarnogueira.com
@oscarnogueira


On Fri, Oct 11, 2013 at 9:51 AM, Amit Kumar <am...@gmail.com> wrote:

> Can anyone help me on this?
>
>
> On Fri, Oct 11, 2013 at 2:08 PM, Amit Kumar <am...@gmail.com> wrote:
>
> > Dear All:
> >
> > I have to perform load testing for video uploading scenarios. Can we do
> it
> > in JMeter?
> > --
> > Thanks and Regards,
> > Amit
> >
>
>
>
> --
> Thanks and Regards,
> Amit
>

Re: IMP: Can we perform load testing for video uploading scenario using JMeter?

Posted by Amit Kumar <am...@gmail.com>.
Can anyone help me on this?


On Fri, Oct 11, 2013 at 2:08 PM, Amit Kumar <am...@gmail.com> wrote:

> Dear All:
>
> I have to perform load testing for video uploading scenarios. Can we do it
> in JMeter?
> --
> Thanks and Regards,
> Amit
>



-- 
Thanks and Regards,
Amit