You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Neependra Khare <ne...@gmail.com> on 2015/04/20 16:21:23 UTC

Multiple system under test with Jmeter

In my environment I have different apps running and they
can be accessed via end-points like following :-

https://hello.example.com <https://hello-openshift.cloudapps.example.com>
https://hello1.example.com <https://hello-openshift.cloudapps.example.com/>
.......
.......
https://helloN.example.com <https://hello-openshift.cloudapps.example.com/>

I want to send simultaneous requests through jmeter to all of the
end-points
and collect response time.

Is it possible to have multiple system under tests and collect the results
in
central location ?

Thanks.

-- 
Regards,
Neependra
www.neependra.net

Re: Multiple system under test with Jmeter

Posted by Deepak Shetty <sh...@gmail.com>.
>Thanks. I am very new Jmeter.
Probably better if you write some basic tests to get a feel for Jmeter
before trying multi -env


Option b would look like
Thread Group0 - Actual Steps (Disabled)
+Simple Controller
++Your samples (Probably name depends on ${env})
Thread Group1 - Env 1
+Module Controller (--> Thread Group 0 --> Simple Controller)
+ HTTP Request defaults (Server Name = Env1)
Thread Group2 - Env 2
+Module Controller (--> Thread Group 0 --> Simple Controller)
+ HTTP Request defaults (Server Name = Env2)
Summary Report Listener

Basically you have Thread Group 0 which defines what your actual test is
You have Thread Group 1 which includes these steps but sets up an HTTP
Request default to change the server name that is being pointed to. You
repeat this for the number of environments you have , and fInally have a
listener scoped to the test plan which will collect results from all the
Thread Groups (In order to be able to differentiate the results from one
another , you might need to prefix your step name with env)




On Mon, Apr 20, 2015 at 8:25 AM, Neependra Khare <ne...@gmail.com>
wrote:

> On Mon, Apr 20, 2015 at 8:46 PM, Deepak Shetty <sh...@gmail.com> wrote:
>
> > >Is it possible to have multiple system under tests and collect the
> results
> > >in central location ?
> > yes many different ways to do it too
> > a. It could be part of the same test (and same thread group also)
> > b. It could be part of the same test but different threadgroups which
> > include the same script
> > c. It could be part of a distributed test where each server sends to one
> of
> > the systems
> > d. It could be independent tests which aggregate the results using some
> of
> > the listeners
> > and so  on...
> >
>
> Thanks. I am very new Jmeter.
> Can you point me to some sample test files ?
>
> Thanks,
>
>
>
> >
> > On Mon, Apr 20, 2015 at 7:21 AM, Neependra Khare <
> > neependra.khare@gmail.com>
> > wrote:
> >
> > > In my environment I have different apps running and they
> > > can be accessed via end-points like following :-
> > >
> > > https://hello.example.com <
> https://hello-openshift.cloudapps.example.com
> > >
> > > https://hello1.example.com <
> > https://hello-openshift.cloudapps.example.com/
> > > >
> > > .......
> > > .......
> > > https://helloN.example.com <
> > https://hello-openshift.cloudapps.example.com/
> > > >
> > >
> > > I want to send simultaneous requests through jmeter to all of the
> > > end-points
> > > and collect response time.
> > >
> > > Is it possible to have multiple system under tests and collect the
> > results
> > > in
> > > central location ?
> > >
> > > Thanks.
> > >
> > > --
> > > Regards,
> > > Neependra
> > > www.neependra.net
> > >
> >
>
>
>
> --
> Regards,
> Neependra
> www.neependra.net
>

Re: Multiple system under test with Jmeter

Posted by Neependra Khare <ne...@gmail.com>.
On Mon, Apr 20, 2015 at 8:46 PM, Deepak Shetty <sh...@gmail.com> wrote:

> >Is it possible to have multiple system under tests and collect the results
> >in central location ?
> yes many different ways to do it too
> a. It could be part of the same test (and same thread group also)
> b. It could be part of the same test but different threadgroups which
> include the same script
> c. It could be part of a distributed test where each server sends to one of
> the systems
> d. It could be independent tests which aggregate the results using some of
> the listeners
> and so  on...
>

Thanks. I am very new Jmeter.
Can you point me to some sample test files ?

Thanks,



>
> On Mon, Apr 20, 2015 at 7:21 AM, Neependra Khare <
> neependra.khare@gmail.com>
> wrote:
>
> > In my environment I have different apps running and they
> > can be accessed via end-points like following :-
> >
> > https://hello.example.com <https://hello-openshift.cloudapps.example.com
> >
> > https://hello1.example.com <
> https://hello-openshift.cloudapps.example.com/
> > >
> > .......
> > .......
> > https://helloN.example.com <
> https://hello-openshift.cloudapps.example.com/
> > >
> >
> > I want to send simultaneous requests through jmeter to all of the
> > end-points
> > and collect response time.
> >
> > Is it possible to have multiple system under tests and collect the
> results
> > in
> > central location ?
> >
> > Thanks.
> >
> > --
> > Regards,
> > Neependra
> > www.neependra.net
> >
>



-- 
Regards,
Neependra
www.neependra.net

Re: Multiple system under test with Jmeter

Posted by Bo Bodnar <bb...@cleversafe.com>.
I’ve done this before using a single server dedicated for Jmeter 
concurrently targeting two different computers.  Some experiences:

1). I used two thread groups (easier this way).
2). The target machines had activities timestamped and stored in local log 
files - this required all computers to synchronize to a common clock.  I 
used a CENTOS computer running as a stratum-2 clock and synchronizing to a 
bunch of NIST stratum-1 time servers.  The (application) log data could 
then be correlated with Jmeter load.
3). Jmeter and target machines were windows-based; this required modifying 
the registry to change the default 1/week time synchronization to 1/hour 
synchronization.  This change eliminated clock drift.
4). All work was done in a dedicated performance lab that was isolated 
from outside load - this reduced variance in latency/execution time; the 
only outside access was via one of the NICs on the time server.

I hope this helps,

Bohdan Bodnar



On 4/20/15, 10:16 AM, "Deepak Shetty" <sh...@gmail.com> wrote:

>>Is it possible to have multiple system under tests and collect the 
>>results
>>in central location ?
>yes many different ways to do it too
>a. It could be part of the same test (and same thread group also)
>b. It could be part of the same test but different threadgroups which
>include the same script
>c. It could be part of a distributed test where each server sends to one 
>of
>the systems
>d. It could be independent tests which aggregate the results using some of
>the listeners
>and so  on...
>
>On Mon, Apr 20, 2015 at 7:21 AM, Neependra Khare 
><ne...@gmail.com>
>wrote:
>
>> In my environment I have different apps running and they
>> can be accessed via end-points like following :-
>>
>> https://hello.example.com 
>><https://hello-openshift.cloudapps.example.com>
>> https://hello1.example.com 
>><https://hello-openshift.cloudapps.example.com/
>> >
>> .......
>> .......
>> https://helloN.example.com 
>><https://hello-openshift.cloudapps.example.com/
>> >
>>
>> I want to send simultaneous requests through jmeter to all of the
>> end-points
>> and collect response time.
>>
>> Is it possible to have multiple system under tests and collect the 
>>results
>> in
>> central location ?
>>
>> Thanks.
>>
>> --
>> Regards,
>> Neependra
>> www.neependra.net
>>

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

Re: Multiple system under test with Jmeter

Posted by Deepak Shetty <sh...@gmail.com>.
>Is it possible to have multiple system under tests and collect the results
>in central location ?
yes many different ways to do it too
a. It could be part of the same test (and same thread group also)
b. It could be part of the same test but different threadgroups which
include the same script
c. It could be part of a distributed test where each server sends to one of
the systems
d. It could be independent tests which aggregate the results using some of
the listeners
and so  on...

On Mon, Apr 20, 2015 at 7:21 AM, Neependra Khare <ne...@gmail.com>
wrote:

> In my environment I have different apps running and they
> can be accessed via end-points like following :-
>
> https://hello.example.com <https://hello-openshift.cloudapps.example.com>
> https://hello1.example.com <https://hello-openshift.cloudapps.example.com/
> >
> .......
> .......
> https://helloN.example.com <https://hello-openshift.cloudapps.example.com/
> >
>
> I want to send simultaneous requests through jmeter to all of the
> end-points
> and collect response time.
>
> Is it possible to have multiple system under tests and collect the results
> in
> central location ?
>
> Thanks.
>
> --
> Regards,
> Neependra
> www.neependra.net
>