RE: Remote Testing with different external data files

2016-06-02 Thread Ng Kok Chai
Thanks Sergio and Sebb, after I rename all the external data files with same 
name in JMeter Servers, it worked fine. But now I facing another issue, in the 
server, I have following error:
jmeter.samplers.RemoteListenerWrapper: testStarted(host) 
java.rmi.ConnectIOException: Exception creating connection to: 10.18.8.XX; 
nested exception is: 
java.net.SocketException: Network is unreachable: connect

So I unable to have the result for report in my client. 

In my servers, I have only 1 network interface, 10.17.5.XX
In my client, I have 4 network interfaces:
10.5.238.X for internet facing
10.16.5.XX for Jmeter Servers & Web servers
10.17.7.XX for access to my Application servers
10.18.8.XX for access to my DB servers

Why my JMeter server try to communicate to my Client server via 10.18.8.XX ??? 
it should via 10.16.5.XX. How can I configure this??

Thank you and appreciate all the help.


-Original Message-
From: Sergio Boso [mailto:ser...@bosoconsulting.it] 
Sent: Friday, 3 June 2016 2:05 AM
To: JMeter Users List
Subject: Re: Remote Testing with different external data files

Il 02/06/2016 06.22, Ng Kok Chai ha scritto:
> Is there any way to use different external data files in each remote server 
> when doing remote testing? Which mean Server 1 use file 1, Server 2 use file 
> 2 etc, then client will trigger all servers with same test plan.
>
> I have browsing over the JMeter docs and Wiki, unable to find solutions on 
> how to implement this. Basically I need server 1 to use user 1 to 10 to login 
> and perform testing, server 2 use user 11 to 20 to login and perform testing, 
> all the test scripts are same but just the login users will be different.
>
> I need to simulate 20,000 concurrent users access, distributed to around 40+ 
> test PC.
>
> Appreciate any help to save me remote desktop to each test PC and click 1 by 
> 1. :)
>
Hi , sure you can, I did this many times.
How ever, if you have so  many system, you may find more effective to have a 
central DB, and have each Jmeter instance ask for usr data.
I found Redis and Redis plugin very effective for this.

Regards


-- 

Ing. Sergio Boso




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


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



Re: JMeter test plan parameterization - setting loop count to be indefinite?

2016-06-02 Thread David Luu
Thanks Deepak, -1 seems to behave as "forever" though I didn't run for long
to truly confirm. Is that feature documented somewhere? If not, maybe the
JMeter docs should be updated to mention that sometime.

On Wed, Jun 1, 2016 at 9:40 PM, Deepak Shetty  wrote:

> Hi
> I cant test right now - but if I remember -1 was infinite  - try it out.
> If it doesnt work then you'd have to use a while controller inside your
> test that could react based on passed parameters - whether it wanted to
> continue or stop after awhile
>
> regards
> deeepak
>
> On Wed, Jun 1, 2016 at 5:28 PM, David Luu  wrote:
>
> > I've set up and used parameterized loop count, and it's also documented
> as
> > a best practice:
> >
> >
> http://jmeter.apache.org/usermanual/best-practices.html#parameterising_tests
> > .
> > But I was wondering if there's a way to tell JMeter to run the loop
> > indefinitely, similar to what's provided in the GUI - a checkbox option
> vs
> > providing a # in the text field. Would be nice to have the equivalent in
> > command line parameterization options, perhaps something like a loop
> value
> > of -1 or 0 means indefinite.
> >
> > For now, one can use a workaround of using a really high loop count as a
> > stand in to indefinite runs, but that only goes so far.
> >
>


Re: HTTPS AS2 (EDIINT) Testing

2016-06-02 Thread Deepak Shetty
Hi
no experience with it - but anything over HTTP(S) should in theory be
testable by JMeter.
There is some additional stuff in the EDI spec with respect to receipts
that might be more difficult to test - perhaps if you detail what you are
trying to test or where you are stuck someone could provide a better answer

regards
deepak

On Thu, Jun 2, 2016 at 9:30 AM, Murilo Alves  wrote:

> Guys
> Anyone here has ever done a testing using JMETER against a HTTPS AS2
> (EDIINT) server?
>


Re: Remote Testing with different external data files

2016-06-02 Thread Sergio Boso

Il 02/06/2016 06.22, Ng Kok Chai ha scritto:

Is there any way to use different external data files in each remote server 
when doing remote testing? Which mean Server 1 use file 1, Server 2 use file 2 
etc, then client will trigger all servers with same test plan.

I have browsing over the JMeter docs and Wiki, unable to find solutions on how 
to implement this. Basically I need server 1 to use user 1 to 10 to login and 
perform testing, server 2 use user 11 to 20 to login and perform testing, all 
the test scripts are same but just the login users will be different.

I need to simulate 20,000 concurrent users access, distributed to around 40+ 
test PC.

Appreciate any help to save me remote desktop to each test PC and click 1 by 1. 
:)


Hi , sure you can, I did this many times.
How ever, if you have so  many system, you may find more effective to have a 
central DB, and have each Jmeter instance ask for usr data.
I found Redis and Redis plugin very effective for this.

Regards


--

Ing. Sergio Boso




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



Re: Global code-based config element - defined/executed once then shared across threads/thread groups?

2016-06-02 Thread Deepak Shetty
>UDVs are shared between Thread Groups
>By Default variables have thread scope, but variables defined in User
..Defined Variables components have global scope.
Two different things. If you define a UDV , then it is available to all
threads in the sense if you use ${variable} you will get the value in all
threads. But the mechanism used is a copy - so each thread gets its own
copy of the variable - effectively if you change the value in one of the
threads , the other threads wont see it.
If you try something like
+UDV(variable x , value=y)
+Threadgroup (10 threads, 10 loops)
++Sampler
+++PostProcessor that changes the value of X to something else - say thread
number

Then initially the value of x for each thread will be y , but after the
post processor executes each thread will have its own value




On Wed, Jun 1, 2016 at 10:32 PM, Pratapi Hemant Patel <
hemantson...@gmail.com> wrote:

> From component reference page
>
> http://jmeter.apache.org/usermanual/component_reference.html#User_Defined_Variables
>
> UDVs are shared between Thread Groups
>
> By Default variables have thread scope, but variables defined in User
> Defined Variables components have global scope.
>
>
> With Best Regards
> Hemant
> 9810752184 / 9013982184 <%209013982184>
> 
>
> On Thu, Jun 2, 2016 at 9:37 AM, Deepak Shetty  wrote:
>
> > variables do not have "global" scope - in the sense that they are not
> > shared across threads (even if the initial value could be same , changes
> > are not reflected in a different thread)
> >
> > On Wed, Jun 1, 2016 at 8:58 PM, Pratapi Hemant Patel <
> > hemantson...@gmail.com
> > > wrote:
> >
> > > AS far as i understand, if you want to define some variable that can be
> > > shared among thread groups, use USER DEFINED VARIABLE component. The
> > > variables defined in it have global scope.
> > >
> > > Best Regards,
> > > Hemant
> > > 9810752184 / 9013982184 <%209013982184> <%209013982184>
> > > On 02-Jun-2016 5:47 AM, "David Luu"  wrote:
> > >
> > > > Is there any facility in JMeter already to define code/script based
> > > > configuration once for threads or thread groups to then use later on?
> > > > Meaning a single execution is done to dynamically generate the needed
> > > test
> > > > data (and utility methods) at test startup, then this whole config
> > > "object"
> > > > is referenced by threads in thread groups later on during the actual
> > test
> > > > run.
> > > >
> > > > Browsing over the JMeter docs, I'm not aware if that already exists,
> or
> > > how
> > > > best to implement this. Basically, in terms of JMeter
> > extensions/plugins,
> > > > I'm thinking of a config element that's like a static class or
> > singleton,
> > > > don't want each thread trying to instantiate their own instance.
> And/or
> > > > something similar to user defined variables at the test plan root
> > level,
> > > > only the variable is a Java object/struct rather than simple string
> > (that
> > > > could be typecasted to int) - or that defining the Java object is a
> lot
> > > of
> > > > logic that can't simply be done with JMeter functions to then flatten
> > > > object (serialized) to JSON string.
> > > >
> > > > If there already is such facility & best practice, that would be
> great
> > > as I
> > > > don't want to have to deal with instance checking, synchronization,
> and
> > > > thread safety myself unless I have to, when instantiating the
> globally
> > > > shared data across threads. Nor do I want each thread to have their
> own
> > > > "copy" as that eats up memory/resources as we scale the load up.
> > > >
> > > > I'm currently using a Java-based config element based off the CSV
> Data
> > > Set
> > > > Config (from kafkameter project). Would placing the config element
> > under
> > > > test plan rather than under a thread group affect how it executes?
> E.g.
> > > > execute once and result/output global to all threads, or would it
> also
> > be
> > > > executed X times for X threads, being globally used by them all, but
> > not
> > > > global in the sense of being already executed once with its output
> > > readily
> > > > accessible?
> > > >
> > > > This discussion would be with respect to things like config elements,
> > or
> > > > say pre-processors, in Java, Beanshell, javascript - but in the
> global
> > > > execute once context rather than execute per thread, while providing
> > its
> > > > output (as JMeter variables, etc.) being global to all threads.
> > > >
> > >
> >
>


HTTPS AS2 (EDIINT) Testing

2016-06-02 Thread Murilo Alves
Guys
Anyone here has ever done a testing using JMETER against a HTTPS AS2
(EDIINT) server?


Protocol Simulation

2016-06-02 Thread Deepak Goel
Hey

Namaskara~Nalama~Guten Tag~Bonjour

Can Jmeter simulate IETF 6LoWPAN protocol?

Thanks
Deepak
   --
Keigu

Deepak
73500 12833
www.simtree.net, dee...@simtree.net
deic...@gmail.com

LinkedIn: www.linkedin.com/in/deicool
Skype: thumsupdeicool
Google talk: deicool
Blog: http://loveandfearless.wordpress.com
Facebook: http://www.facebook.com/deicool

"Contribute to the world, environment and more : http://www.gridrepublic.org
"


Re: Remote Testing with different external data files

2016-06-02 Thread sebb
On 2 June 2016 at 05:22, Ng Kok Chai  wrote:
> Is there any way to use different external data files in each remote server 
> when doing remote testing? Which mean Server 1 use file 1, Server 2 use file 
> 2 etc, then client will trigger all servers with same test plan.

That's how JMeter works.

Files are opened locally by each JMeter server slave; they are not
sent over the client-server connection.
Only the test plan is sent (plus properties if relevant).

So just divide the users into separate files for each server.

> I have browsing over the JMeter docs and Wiki, unable to find solutions on 
> how to implement this. Basically I need server 1 to use user 1 to 10 to login 
> and perform testing, server 2 use user 11 to 20 to login and perform testing, 
> all the test scripts are same but just the login users will be different.
>
> I need to simulate 20,000 concurrent users access, distributed to around 40+ 
> test PC.
>
> Appreciate any help to save me remote desktop to each test PC and click 1 by 
> 1. :)
>
>
>

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