Re: Remote testing problem - Works for one testplan does not work for the second

2011-10-21 Thread sasidharsmit
Thank you, Sebb.
I managed to locate the problem area.

I identified the samplers and non-sampler elements used in my test plans
Plan1 and Plan2. Details below:

http://jmeter.512774.n5.nabble.com/file/n4924571/sampler_details.png 

As you had suggested, I tried to execute test plans remotely, with different
samplers. The following were the samplers I tried.

a) Webservice (SOAP) request
b) HTTP request
c) dummy sampler
d) jp@gc - http raw request

In each of the first 3 cases, remote execution was successful. No exceptions
were thrown.

But, when I tried to execute a testplan that uses the sampler jp@gc - http
raw request, I face the NotSerializableException.

So, I believe, the problem is with the sampler jp@gc - http raw request.

This was not one of the default samplers available with JMeter 2.4. This is
a custom plugin, I downloaded from the below site:

http://code.google.com/p/jmeter-plugins/

I had to use jp@gc - http raw request sampler instead of the default HTTP
Request sampler, because my requests to the servers are JSON strings of
varying length (generated by the beanshell preprocessor) and I could not use
HTTP Request for this.

Is there any way to resolve the issue with jp@gc - http raw request
sampler or any workarounds to get this working?

Thanks and Regards,
Sasidhar Sekar

--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Remote-testing-problem-Works-for-one-testplan-does-not-work-for-the-second-tp4921259p4924571.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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



Re: Remote testing problem - Works for one testplan does not work for the second

2011-10-21 Thread sebb
On 21 October 2011 13:32, sasidharsmit sasidhars...@gmail.com wrote:
 Thank you, Sebb.
 I managed to locate the problem area.

 I identified the samplers and non-sampler elements used in my test plans
 Plan1 and Plan2. Details below:

 http://jmeter.512774.n5.nabble.com/file/n4924571/sampler_details.png

 As you had suggested, I tried to execute test plans remotely, with different
 samplers. The following were the samplers I tried.

 a) Webservice (SOAP) request
 b) HTTP request
 c) dummy sampler
 d) jp@gc - http raw request

 In each of the first 3 cases, remote execution was successful. No exceptions
 were thrown.

 But, when I tried to execute a testplan that uses the sampler jp@gc - http
 raw request, I face the NotSerializableException.

 So, I believe, the problem is with the sampler jp@gc - http raw request.

OK, well done.

 This was not one of the default samplers available with JMeter 2.4. This is
 a custom plugin, I downloaded from the below site:

 http://code.google.com/p/jmeter-plugins/

 I had to use jp@gc - http raw request sampler instead of the default HTTP
 Request sampler, because my requests to the servers are JSON strings of
 varying length (generated by the beanshell preprocessor) and I could not use
 HTTP Request for this.

You probably can use Http request, but it might be tricky.

 Is there any way to resolve the issue with jp@gc - http raw request

Contact the provider to get them to fix the bug.

 sampler or any workarounds to get this working?

Don't use client-server mode; batch mode is anyway more efficient.

We are working on a Raw option for the Http Sampler, which will be in
the next release of JMeter.

 Thanks and Regards,
 Sasidhar Sekar

 --
 View this message in context: 
 http://jmeter.512774.n5.nabble.com/Remote-testing-problem-Works-for-one-testplan-does-not-work-for-the-second-tp4921259p4924571.html
 Sent from the JMeter - User mailing list archive at Nabble.com.

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



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



Re: Remote testing problem - Works for one testplan does not work for the second

2011-10-21 Thread sasidharsmit
Thank you, Sebb.
I contacted the developer. Fortunately, this issue was already known and he
already had a fix ready.
Now, with the new fix everything is working fine.

More details on the fix and the updated jar file can be found at the below
site:
http://code.google.com/p/jmeter-plugins/issues/detail?id=79

And thanks for mentioning the batch mode. It proved really useful.

Thanks and Regards,
Sasidhar Sekar

--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Remote-testing-problem-Works-for-one-testplan-does-not-work-for-the-second-tp4921259p4925175.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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



Remote testing problem - Works for one testplan does not work for the second

2011-10-20 Thread sasidharsmit
://jmeter.512774.n5.nabble.com/Remote-testing-problem-Works-for-one-testplan-does-not-work-for-the-second-tp4921259p4921259.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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



Re: Remote testing problem - Works for one testplan does not work for the second

2011-10-20 Thread sebb
 a particular file is available in one server and is not
 available in the other

That causes a different error.

 12. I verified both and this is not the case. To confirm even further, I
 copied the complete jakarta-jmeter-2.4 directory from Server1 to Server2,
 so that they have identical copies of all the files involved (including the
 jmeter jar files, data files etc.)

Good.

 13. Still I'm facing the same problem

 14. I also verified what happens if I execute Plan2, only in Server1
 (without using remote execution). It works perfectly

 Can any of you help me?

What sampler are you using in Plan2 that you are not using in Plan1?

If there are several unique ones, try disabling them one by one until
the plan works.
Or create separate test plans with one sampler in each. If the startup
gets beyond the serialisation error then it's not that sampler.

Or it could perhaps be a non-sampler test element, but try samplers first.

Then report back which test element is involved.

Unfortunately the log does not provide detail of the test element that
is causing the issue.

 Thanks and Regards,
 Sasidhar Sekar


 --
 View this message in context: 
 http://jmeter.512774.n5.nabble.com/Remote-testing-problem-Works-for-one-testplan-does-not-work-for-the-second-tp4921259p4921259.html
 Sent from the JMeter - User mailing list archive at Nabble.com.

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



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



VU Meter always shows 0/0 using remote testing

2010-11-08 Thread denis boutin

Hi,

Using remote testing, I've configured a controller (jmeter.bat) and a 
server (jmeter-server.bat). However when I click on 'Demarrage distant 
de tous (Ctrl + Maj + R)', The vu meter always display 0/0 however it 
should display 1/1. Is it a bug in the release 2.4 (r961953) or do I 
need to set someting else ? For info, the tests are well executed.


Regards,
Denis.



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



Re: VU Meter always shows 0/0 using remote testing

2010-11-08 Thread sebb
)n 8 November 2010 10:39, denis boutin dbou...@c-log.com wrote:
 Hi,

 Using remote testing, I've configured a controller (jmeter.bat) and a server
 (jmeter-server.bat). However when I click on 'Demarrage distant de tous
 (Ctrl + Maj + R)', The vu meter always display 0/0 however it should display
 1/1. Is it a bug in the release 2.4 (r961953) or do I need to set someting
 else ? For info, the tests are well executed.

This is not a bug, it is deliberate.

 Regards,
 Denis.



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



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



Re: remote testing and CSV data config file

2010-08-10 Thread sebb
On 9 August 2010 16:42, thanh nguyen mailinglist...@gmail.com wrote:
 Hi all,

 Here's my setup: I control the the slave computer from my master computer.
 When I run the tesplan, the slave can't find the CSV data config file, even
 if it's really there. Note that both my master and slave have exactly the
 same directory structure.

 Thanks for thelp,

Check the jmeter log file on the slave - it should show the exact name
of the file it failed to find.

 Thanh


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



remote testing and CSV data config file

2010-08-09 Thread thanh nguyen
Hi all,

Here's my setup: I control the the slave computer from my master computer.
When I run the tesplan, the slave can't find the CSV data config file, even
if it's really there. Note that both my master and slave have exactly the
same directory structure.

Thanks for thelp,
Thanh


RE: How does remote testing distribute work?

2010-05-21 Thread Bhattacharya, Sudip
Ok.. So in this case you are saying that it will put a load of 500*6=3000 users 
on the server?

Will the data collection reflect this total number on the controller jmeter 
machine (in the grpThreads or allThreads columns in the reports)?

-Original Message-
From: sebb [mailto:seb...@gmail.com]
Sent: Thursday, May 20, 2010 8:59 PM
To: JMeter Users List
Subject: Re: How does remote testing distribute work?

In JMeter client-server mode, the JMeter client sends the same test
plan to ALL the servers which all run the same plan.

It does not do any load distribution or balancing.

On 20/05/2010, Bhattacharya, Sudip sudip.bhattacha...@genpact.com wrote:
 I am setting up a 500 user test script, where 500 users are distributed in 5 
 thread groups(5 separate use cases) of 100 users each.
  TestPlan
  ---TG1 (100users)
  ---TG2 (100users)
  ---TG3 (100users)
  ---TG4 (100users)
  ---TG5 (100users)

  I have 5 remote servers configured in my jmeter properties to distribute my 
 load on, and I have also registered my locahost ip. So RemoteStart menu 
 displays 6 servers.
  So the list looks like:
  1.   localhost
  2.   LoadGenSvr1
  3.   LoadGenSvr2
  4.   LoadGenSvr3
  5.   LoadGenSvr4
  6.   LoadGenSvr5

  If I click on Remote Start All now, how will JMeter distribute the load on 
 these 6 Load Generating nodes?

  1.   Will it execute the whole script on all 6 nodes - 500 users on each 
 node = 500*6 = 3000 user load emulated on target server?
  2.   Will it execute 1/6 of 500 users on each of the 6 nodes, so that 
 the total load emulated on the target server stays 500 users?
  3.   Is there a way to set affinity of threadgroups to remoteservers, so 
 that I can say TG1 would execute on LoadGenSvr1, TG2 on LoadGenSvr2, etc?

  Please help me understand.

  __
  Sudip Kumar Bhattacharya, PMP
  Senior Principal Consultant, BPM Track, Products Org
  Genpact, Delhi, India

  C +91 98995 16992
  E sudip.bhattacha...@genpact.commailto:sudip.bhattacha...@genpact.com
  www.genpact.comhttp://www.genpact.com/



  This e-mail (and any attachments), is confidential and may be privileged. It 
 may be read, copied and used only
  by intended recipients. Unauthorized access to this e-mail (or attachments) 
 and disclosure or copying of its
  contents or any action taken in reliance on it is unlawful. Unintended 
 recipients must notify the sender immediately
  by e-mail/phone  delete it from their system without making any copies or 
 disclosing it to a third person.



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

This e-mail (and any attachments), is confidential and may be privileged. It 
may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and 
disclosure or copying of its 
contents or any action taken in reliance on it is unlawful. Unintended 
recipients must notify the sender immediately 
by e-mail/phone  delete it from their system without making any copies or 
disclosing it to a third person.


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



Re: How does remote testing distribute work?

2010-05-21 Thread sebb
On 21/05/2010, Bhattacharya, Sudip sudip.bhattacha...@genpact.com wrote:
 Ok.. So in this case you are saying that it will put a load of 500*6=3000 
 users on the server?

Yes - assuming that the thread groups are not set to run
consecutively, and assuming that they run for long enough that all
threads are active together.

  Will the data collection reflect this total number on the controller jmeter 
 machine (in the grpThreads or allThreads columns in the reports)?


Yes. Try it and see (start with a much smaller number of threads).


  -Original Message-
  From: sebb [mailto:seb...@gmail.com]
  Sent: Thursday, May 20, 2010 8:59 PM
  To: JMeter Users List
  Subject: Re: How does remote testing distribute work?

  In JMeter client-server mode, the JMeter client sends the same test
  plan to ALL the servers which all run the same plan.

  It does not do any load distribution or balancing.

  On 20/05/2010, Bhattacharya, Sudip sudip.bhattacha...@genpact.com wrote:
   I am setting up a 500 user test script, where 500 users are distributed in 
 5 thread groups(5 separate use cases) of 100 users each.
TestPlan
---TG1 (100users)
---TG2 (100users)
---TG3 (100users)
---TG4 (100users)
---TG5 (100users)
  
I have 5 remote servers configured in my jmeter properties to distribute 
 my load on, and I have also registered my locahost ip. So RemoteStart menu 
 displays 6 servers.
So the list looks like:
1.   localhost
2.   LoadGenSvr1
3.   LoadGenSvr2
4.   LoadGenSvr3
5.   LoadGenSvr4
6.   LoadGenSvr5
  
If I click on Remote Start All now, how will JMeter distribute the load 
 on these 6 Load Generating nodes?
  
1.   Will it execute the whole script on all 6 nodes - 500 users on 
 each node = 500*6 = 3000 user load emulated on target server?
2.   Will it execute 1/6 of 500 users on each of the 6 nodes, so that 
 the total load emulated on the target server stays 500 users?
3.   Is there a way to set affinity of threadgroups to remoteservers, 
 so that I can say TG1 would execute on LoadGenSvr1, TG2 on LoadGenSvr2, etc?
  
Please help me understand.
  
__
Sudip Kumar Bhattacharya, PMP
Senior Principal Consultant, BPM Track, Products Org
Genpact, Delhi, India
  
C +91 98995 16992
E sudip.bhattacha...@genpact.commailto:sudip.bhattacha...@genpact.com
www.genpact.comhttp://www.genpact.com/
  
  
  
This e-mail (and any attachments), is confidential and may be privileged. 
 It may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or 
 attachments) and disclosure or copying of its
contents or any action taken in reliance on it is unlawful. Unintended 
 recipients must notify the sender immediately
by e-mail/phone  delete it from their system without making any copies 
 or disclosing it to a third person.
  
  


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


  This e-mail (and any attachments), is confidential and may be privileged. It 
 may be read, copied and used only
  by intended recipients. Unauthorized access to this e-mail (or attachments) 
 and disclosure or copying of its
  contents or any action taken in reliance on it is unlawful. Unintended 
 recipients must notify the sender immediately
  by e-mail/phone  delete it from their system without making any copies or 
 disclosing it to a third person.



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



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



How does remote testing distribute work?

2010-05-20 Thread Bhattacharya, Sudip
I am setting up a 500 user test script, where 500 users are distributed in 5 
thread groups(5 separate use cases) of 100 users each.
TestPlan
---TG1 (100users)
---TG2 (100users)
---TG3 (100users)
---TG4 (100users)
---TG5 (100users)

I have 5 remote servers configured in my jmeter properties to distribute my 
load on, and I have also registered my locahost ip. So RemoteStart menu 
displays 6 servers.
So the list looks like:
1.   localhost
2.   LoadGenSvr1
3.   LoadGenSvr2
4.   LoadGenSvr3
5.   LoadGenSvr4
6.   LoadGenSvr5

If I click on Remote Start All now, how will JMeter distribute the load on 
these 6 Load Generating nodes?

1.   Will it execute the whole script on all 6 nodes - 500 users on each 
node = 500*6 = 3000 user load emulated on target server?
2.   Will it execute 1/6 of 500 users on each of the 6 nodes, so that the 
total load emulated on the target server stays 500 users?
3.   Is there a way to set affinity of threadgroups to remoteservers, so 
that I can say TG1 would execute on LoadGenSvr1, TG2 on LoadGenSvr2, etc?

Please help me understand.

__
Sudip Kumar Bhattacharya, PMP
Senior Principal Consultant, BPM Track, Products Org
Genpact, Delhi, India

C +91 98995 16992
E sudip.bhattacha...@genpact.commailto:sudip.bhattacha...@genpact.com
www.genpact.comhttp://www.genpact.com/



This e-mail (and any attachments), is confidential and may be privileged. It 
may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and 
disclosure or copying of its 
contents or any action taken in reliance on it is unlawful. Unintended 
recipients must notify the sender immediately 
by e-mail/phone  delete it from their system without making any copies or 
disclosing it to a third person.



Re: How does remote testing distribute work?

2010-05-20 Thread sebb
In JMeter client-server mode, the JMeter client sends the same test
plan to ALL the servers which all run the same plan.

It does not do any load distribution or balancing.

On 20/05/2010, Bhattacharya, Sudip sudip.bhattacha...@genpact.com wrote:
 I am setting up a 500 user test script, where 500 users are distributed in 5 
 thread groups(5 separate use cases) of 100 users each.
  TestPlan
  ---TG1 (100users)
  ---TG2 (100users)
  ---TG3 (100users)
  ---TG4 (100users)
  ---TG5 (100users)

  I have 5 remote servers configured in my jmeter properties to distribute my 
 load on, and I have also registered my locahost ip. So RemoteStart menu 
 displays 6 servers.
  So the list looks like:
  1.   localhost
  2.   LoadGenSvr1
  3.   LoadGenSvr2
  4.   LoadGenSvr3
  5.   LoadGenSvr4
  6.   LoadGenSvr5

  If I click on Remote Start All now, how will JMeter distribute the load on 
 these 6 Load Generating nodes?

  1.   Will it execute the whole script on all 6 nodes - 500 users on each 
 node = 500*6 = 3000 user load emulated on target server?
  2.   Will it execute 1/6 of 500 users on each of the 6 nodes, so that 
 the total load emulated on the target server stays 500 users?
  3.   Is there a way to set affinity of threadgroups to remoteservers, so 
 that I can say TG1 would execute on LoadGenSvr1, TG2 on LoadGenSvr2, etc?

  Please help me understand.

  __
  Sudip Kumar Bhattacharya, PMP
  Senior Principal Consultant, BPM Track, Products Org
  Genpact, Delhi, India

  C +91 98995 16992
  E sudip.bhattacha...@genpact.commailto:sudip.bhattacha...@genpact.com
  www.genpact.comhttp://www.genpact.com/



  This e-mail (and any attachments), is confidential and may be privileged. It 
 may be read, copied and used only
  by intended recipients. Unauthorized access to this e-mail (or attachments) 
 and disclosure or copying of its
  contents or any action taken in reliance on it is unlawful. Unintended 
 recipients must notify the sender immediately
  by e-mail/phone  delete it from their system without making any copies or 
 disclosing it to a third person.



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



Re: Unable to do remote testing

2010-01-03 Thread Scatman

Not bad! I was a bit skeptic about this cloud testing but I didn't have
the time/manpower/enough severs to create my own distributed testing
environment. I was surprised to see that it is just like running jmeter
locally and it takes about 2-3 minutes to have all servers up and running.
Thanks.



Ducklin wrote:
 
 You can try running your load from the cloud and save yourself the hassle.
 Use   http://www.cloud-intelligence.com/cloud/testing/load/home
 CloudIntelligence 
 http://www.cloud-intelligence.com/cloud/testing/load/home for a fully
 configured JMeter distributed environment in Amazon EC2. You only need to
 register and pay for the time you use the remote servers. You also see the
 logs during runtime and can download them along with the load results at
 any time
 
 drubix wrote:
 
 Perhaps your friend is running another process that uses RMI and is
 already using the default port.  Maybe get your friend to start JMeter
 listening on another port using the -Dserver_port switch?  Then just
 specify the remote port along with your friend's IP in jmeter.properties
 like ip:port (e.g. 192.168.0.100:2020 for port 2020).
 
 
 Chintan Kachhi wrote:
 
 
 I am using JMeter version 2.3.3. I have followed the instructions  in:
 http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
 
 My system is the master system, and my friend's system is the slave
 system. I am trying to do remote testing by running JMeter: Run -
 Remote Start - his I.P. address. However this is not working, and
 looking at the log, I am getting the following error messages:
 
 
 2009/05/28 14:46:43 ERROR - jmeter.gui.action.RemoteStart: Failed to
 initialise remote engine java.rmi.NoSuchObjectException: no such object
 in table
 at
 sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
 Source)
 at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
 at sun.rmi.server.UnicastRef.invoke(Unknown Source)
 at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
 at java.rmi.Naming.lookup(Unknown Source)
 at
 org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
 at
 org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:64)
 at
 org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:163)
 at
 org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
 at
 org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
 at
 org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
 at
 org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
 at java.awt.event.InvocationEvent.dispatch(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
 Source)
 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
 Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
 
 
 I hope I am doing it correctly. According to the documentation, he only
 has his JMeter server running ( not the JMeter running), and I only have
 my JMeter running ( and not the JMeter server running, even though
 running both in both the systems also did not make any difference). We
 both have the same JMeter version 2.3.3 running with the same JDK
 version 1.5. Is there something else that needs to be edited? The only
 change I made in the jmeter.properties file was to add his ip address
 under the remote_hosts property.
 
 Thanks,
 
 Chintan
 
 
 _
 Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
 
 http://www.microsoft.com/india/windows/windowslive/photos.aspx
 
 
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Unable-to-do-remote-testing-tp23770605p27000413.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Remote testing Error:Connection Refused

2009-10-01 Thread nanduri

Hi,
Im doing remote testing.I have a linux machine where i have installed jmeter
and JDK 1.6 MY java VERISON IS 1.6 .I have ran jmeter-server on linux on
master  system and i went to run Remote start-ip After some time i got one
error connection refused.What are the things i have done first thing .

In Linux mater system installed jmeter and jdk 1.6
2.Add the clients ip in jmeter properties file
3.Ran the jmeter-server on server 

Client
1.Raned the jmeter-server-bat on the client
2.Added the server ip  in remote_hosts in jmeter.properties fi

Do i need to install the jdk 1.6 on the client and  start the rmiregistry of
it is ran in linux its enough but i studied that jmeter version after 2.3.1
will start rmiregistry when we start jmeter-server.please help me in this

Thanks,
kirann
-- 
View this message in context: 
http://www.nabble.com/Remote-testing-Error%3AConnection-Refused-tp25696620p25696620.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: Unable to do remote testing

2009-09-02 Thread socio_pal

Hi Chintan:
I am currently trying to use Jmeter for distributed testing and after some
reading and research on this forum, I followed the steps below and it
worked. I am using Jmeter 2.3.4 and Java 1.6:

Server side:

1. Set your CLASSPATH variables as shown below:

set JMETER_HOME=Jmeter dir
eg., set JMETER_HOME=c:\jakarta-jmeter-2.3.3

set
CLASSPATH=%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;%JMETER_HOME%\lib\logkit-1.2.jar

set SERVER_PORT= 

2. In your Jmeter.properties file, make sure the following values are set
and save the file
server_port=1664
server.rmi.port=1664
server.rmi.create=true

3. Start the jmeter in the server mode.

On the Client side:

1. Update the jmeter.properties file to have
remote_hosts=server ipaddress:port on which the rmirgistry listens, eg.,
1664

2. Start the client

It should work now. When you run the script remotely on the server, you
should see comments like Starting the test. in the Server log.

Hope this helps.

--Ramya

sebb-2-2 wrote:
 
 On 28/05/2009, Chintan Kachhi chintan_kac...@hotmail.com wrote:

  I am using JMeter version 2.3.3. I have followed the instructions  in:
 http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf

  My system is the master system, and my friend's system is the slave
 system. I am trying to do remote testing by running JMeter: Run - Remote
 Start - his I.P. address. However this is not working, and looking at
 the log, I am getting the following error messages:


  2009/05/28 14:46:43 ERROR - jmeter.gui.action.RemoteStart: Failed to
 initialise remote engine java.rmi.NoSuchObjectException: no such object
 in table
 at
 sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
 Source)
 at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
 at sun.rmi.server.UnicastRef.invoke(Unknown Source)
 at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
 at java.rmi.Naming.lookup(Unknown Source)
 at
 org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
 at
 org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:64)
 at
 org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:163)
 at
 org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
 at
 org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
 at
 org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
 at
 org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
 at java.awt.event.InvocationEvent.dispatch(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
 Source)
 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
 Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
 
 I've not seen that particular error before - it looks like the client
 is able to reach the RMI server but that cannot find JMeter.
 
 What does the server log say?
 

  I hope I am doing it correctly. According to the documentation, he only
 has his JMeter server running ( not the JMeter running), and I only have
 my JMeter running ( and not the JMeter server running, even though
 running both in both the systems also did not make any difference). We
 both have the same JMeter version 2.3.3 running with the same JDK version
 1.5. Is there something else that needs to be edited? The only change I
 made in the jmeter.properties file was to add his ip address under the
 remote_hosts property.

  Thanks,

  Chintan


  _
  Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

  http://www.microsoft.com/india/windows/windowslive/photos.aspx
 
 -
 To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
 For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Unable-to-do-remote-testing-tp23770605p25263870.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: Unable to do remote testing

2009-08-30 Thread Ducklin

You can try running your load from the cloud and save yourself the hassle.
Use   http://www.cloud-intelligence.com/cloud/testing/load/home
CloudIntelligence  http://www.cloud-intelligence.com/cloud/testing/load/home
for a fully configured JMeter distributed environment in Amazon EC2. You
only need to register and pay for the time you use the remote servers. You
also see the logs during runtime and can download them along with the load
results at any time

drubix wrote:
 
 Perhaps your friend is running another process that uses RMI and is
 already using the default port.  Maybe get your friend to start JMeter
 listening on another port using the -Dserver_port switch?  Then just
 specify the remote port along with your friend's IP in jmeter.properties
 like ip:port (e.g. 192.168.0.100:2020 for port 2020).
 
 
 Chintan Kachhi wrote:
 
 
 I am using JMeter version 2.3.3. I have followed the instructions  in:
 http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
 
 My system is the master system, and my friend's system is the slave
 system. I am trying to do remote testing by running JMeter: Run - Remote
 Start - his I.P. address. However this is not working, and looking at
 the log, I am getting the following error messages:
 
 
 2009/05/28 14:46:43 ERROR - jmeter.gui.action.RemoteStart: Failed to
 initialise remote engine java.rmi.NoSuchObjectException: no such object
 in table
 at
 sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
 Source)
 at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
 at sun.rmi.server.UnicastRef.invoke(Unknown Source)
 at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
 at java.rmi.Naming.lookup(Unknown Source)
 at
 org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
 at
 org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:64)
 at
 org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:163)
 at
 org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
 at
 org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
 at
 org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
 at
 org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
 at java.awt.event.InvocationEvent.dispatch(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
 Source)
 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
 Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
 
 
 I hope I am doing it correctly. According to the documentation, he only
 has his JMeter server running ( not the JMeter running), and I only have
 my JMeter running ( and not the JMeter server running, even though
 running both in both the systems also did not make any difference). We
 both have the same JMeter version 2.3.3 running with the same JDK version
 1.5. Is there something else that needs to be edited? The only change I
 made in the jmeter.properties file was to add his ip address under the
 remote_hosts property.
 
 Thanks,
 
 Chintan
 
 
 _
 Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
 
 http://www.microsoft.com/india/windows/windowslive/photos.aspx
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Unable-to-do-remote-testing-tp23770605p25214698.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: remote testing and POST data

2009-08-17 Thread Claude Vedovini
Thanks Deepak :)

I chose to use rsync and wrote a blog post here:
http://vedovini.net/2009/08/jmeter-distributed-testing-with-amazon-ec2/

Cheers
Claude Vedovini
---
Software Consulting  Development
+41 78 617 86 98
http://vedovini.net/
http://www.dita-op.org/




2009/8/4 Deepak Shetty shet...@gmail.com:
 http://markmail.org/message/xdhu5n5xxp5qt3g6
 Summary :Jmeter doesnt automatically copy the related files to all the
 servers you need to do this yourself or use some kind of shared drive
 between all the machines running jmeter
 regards
 deepak

 On Tue, Aug 4, 2009 at 10:03 AM, Claude Vedovini cla...@vedovini.netwrote:

 Hi all,

 I managed to create a test plan using the jmeter proxy.
 Then I setup several servers to act as jmeter slaves and I setup a master

 My test plan and associated data (csv and .binary) are on the master
 and when I use the master to launch a local session everything works
 fine.

 However, when I launch a remote session, the samples I got back are
 all failing when it comes to POST requests with records like the
 following:

 httpSample t=1 lt=0 ts=1249401794908 s=false lb=/gateway/
 rc=Non HTTP response code: java.io.FileNotFoundException rm=Non
 HTTP response message: POST5878609082814840620.binary (No such file or
 directory) tn=Home page, login, logout 1-4 dt=text by=1000/

 I read the doc and googled but could not find anything useful, what do I
 miss?

 Thanks
 Claude Vedovini
 ---
 Software Consulting  Development
 +41 78 617 86 98
 http://vedovini.net/
 http://www.dita-op.org/

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




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



remote testing and POST data

2009-08-04 Thread Claude Vedovini
Hi all,

I managed to create a test plan using the jmeter proxy.
Then I setup several servers to act as jmeter slaves and I setup a master

My test plan and associated data (csv and .binary) are on the master
and when I use the master to launch a local session everything works
fine.

However, when I launch a remote session, the samples I got back are
all failing when it comes to POST requests with records like the
following:

httpSample t=1 lt=0 ts=1249401794908 s=false lb=/gateway/
rc=Non HTTP response code: java.io.FileNotFoundException rm=Non
HTTP response message: POST5878609082814840620.binary (No such file or
directory) tn=Home page, login, logout 1-4 dt=text by=1000/

I read the doc and googled but could not find anything useful, what do I miss?

Thanks
Claude Vedovini
---
Software Consulting  Development
+41 78 617 86 98
http://vedovini.net/
http://www.dita-op.org/

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



Re: remote testing and POST data

2009-08-04 Thread Deepak Shetty
http://markmail.org/message/xdhu5n5xxp5qt3g6
Summary :Jmeter doesnt automatically copy the related files to all the
servers you need to do this yourself or use some kind of shared drive
between all the machines running jmeter
regards
deepak

On Tue, Aug 4, 2009 at 10:03 AM, Claude Vedovini cla...@vedovini.netwrote:

 Hi all,

 I managed to create a test plan using the jmeter proxy.
 Then I setup several servers to act as jmeter slaves and I setup a master

 My test plan and associated data (csv and .binary) are on the master
 and when I use the master to launch a local session everything works
 fine.

 However, when I launch a remote session, the samples I got back are
 all failing when it comes to POST requests with records like the
 following:

 httpSample t=1 lt=0 ts=1249401794908 s=false lb=/gateway/
 rc=Non HTTP response code: java.io.FileNotFoundException rm=Non
 HTTP response message: POST5878609082814840620.binary (No such file or
 directory) tn=Home page, login, logout 1-4 dt=text by=1000/

 I read the doc and googled but could not find anything useful, what do I
 miss?

 Thanks
 Claude Vedovini
 ---
 Software Consulting  Development
 +41 78 617 86 98
 http://vedovini.net/
 http://www.dita-op.org/

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




Re: Jmeter 2.3.3 Remote testing Remote start menu problem

2009-06-12 Thread sebb
On 03/06/2009, sebb seb...@gmail.com wrote:
 On 03/06/2009, uzfarid faridshari...@yahoo.com wrote:
  
Hi,
  
I noticed that in Jmeter 2.3.3 When I start remote hosts one by one , 
 remote
host IPs in run-Remote Start list dont get greyed out.
  
Also seems now it is not possible to stop remote hosts one by one. in 
 2.3.2
this feature was available.
  
or am I missing some extra settings?


 No, it looks like this feature was accidentally disabled when some
  other changes were made to the code. It will have to be fixed ...

  Sory, but there's probably no work-round for this.


FYI: The problem has been fixed in SVN and will be in the next release.


Br,
  
Farid
  
   --
View this message in context: 
 http://www.nabble.com/Jmeter-2.3.3-Remote-testing-Remote-start-menu-problem-tp23851931p23851931.html
Sent from the JMeter - User mailing list archive at Nabble.com.
  
  
-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
  
  


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



Jmeter 2.3.3 Remote testing problem

2009-06-03 Thread uzfarid

Hi,

I did Jmeter remote testing with 3 machines, 1 being master and other 2
slaves.

In one of slave machines ramping up users went ok but in between I keep
getting the following error:

ERROR - jmeter.samplers.StandardSampleSender: sampleOccurred
java.rmi.MarshalException: error marshalling arguments; nested exception is: 
java.net.SocketException: Connection reset by peer: socket write error
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at
org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.sampleOccurred(Unknown
Source)
at
org.apache.jmeter.samplers.StandardSampleSender.sampleOccurred(StandardSampleSender.java:68)
at
org.apache.jmeter.samplers.RemoteListenerWrapper.sampleOccurred(RemoteListenerWrapper.java:86)
at
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:86)
at
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:673)
at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:360)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset by peer: socket write
error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.write(Unknown Source)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown 
Source)
at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(Unknown
Source)
at java.io.ObjectOutputStream.writeFatalException(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)
... 9 more

Does this mean that in reality this slave machine did not run the script??
or what is reason for this error?

Thank you.

Br,

Farid
-- 
View this message in context: 
http://www.nabble.com/Jmeter-2.3.3-Remote-testing-problem-tp23847444p23847444.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: Jmeter 2.3.3 Remote testing problem

2009-06-03 Thread uzfarid

I checked hardware statistics.

Load was not generated from second slave machine even though users were
ramped up.

I checked JVM versions and saw that they are different. Now i am making them
use one version and see if it solves this problem.


uzfarid wrote:
 
 Hi,
 
 I did Jmeter remote testing with 3 machines, 1 being master and other 2
 slaves.
 
 In one of slave machines ramping up users went ok but in between I keep
 getting the following error:
 
 ERROR - jmeter.samplers.StandardSampleSender: sampleOccurred
 java.rmi.MarshalException: error marshalling arguments; nested exception
 is: 
   java.net.SocketException: Connection reset by peer: socket write error
   at sun.rmi.server.UnicastRef.invoke(Unknown Source)
   at
 org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.sampleOccurred(Unknown
 Source)
   at
 org.apache.jmeter.samplers.StandardSampleSender.sampleOccurred(StandardSampleSender.java:68)
   at
 org.apache.jmeter.samplers.RemoteListenerWrapper.sampleOccurred(RemoteListenerWrapper.java:86)
   at
 org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:86)
   at
 org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:673)
   at
 org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:360)
   at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
   at java.lang.Thread.run(Unknown Source)
 Caused by: java.net.SocketException: Connection reset by peer: socket
 write error
   at java.net.SocketOutputStream.socketWrite0(Native Method)
   at java.net.SocketOutputStream.socketWrite(Unknown Source)
   at java.net.SocketOutputStream.write(Unknown Source)
   at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
   at java.io.BufferedOutputStream.write(Unknown Source)
   at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown 
 Source)
   at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(Unknown
 Source)
   at java.io.ObjectOutputStream.writeFatalException(Unknown Source)
   at java.io.ObjectOutputStream.writeObject(Unknown Source)
   at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)
   ... 9 more
 
 Does this mean that in reality this slave machine did not run the script??
 or what is reason for this error?
 
 Thank you.
 
 Br,
 
 Farid
 

-- 
View this message in context: 
http://www.nabble.com/Jmeter-2.3.3-Remote-testing-problem-tp23847444p23849212.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Jmeter 2.3.3 Remote testing Remote start menu problem

2009-06-03 Thread uzfarid

Hi,

I noticed that in Jmeter 2.3.3 When I start remote hosts one by one , remote
host IPs in run-Remote Start list dont get greyed out.

Also seems now it is not possible to stop remote hosts one by one. in 2.3.2
this feature was available.

or am I missing some extra settings?

Br,

Farid
-- 
View this message in context: 
http://www.nabble.com/Jmeter-2.3.3-Remote-testing-Remote-start-menu-problem-tp23851931p23851931.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: Jmeter 2.3.3 Remote testing problem

2009-06-03 Thread uzfarid

changing JVM versions did not fix this problem unfortunately...



uzfarid wrote:
 
 I checked hardware statistics.
 
 Load was not generated from second slave machine even though users were
 ramped up.
 
 I checked JVM versions and saw that they are different. Now i am making
 them use one version and see if it solves this problem.
 
 
 uzfarid wrote:
 
 Hi,
 
 I did Jmeter remote testing with 3 machines, 1 being master and other 2
 slaves.
 
 In one of slave machines ramping up users went ok but in between I keep
 getting the following error:
 
 ERROR - jmeter.samplers.StandardSampleSender: sampleOccurred
 java.rmi.MarshalException: error marshalling arguments; nested exception
 is: 
  java.net.SocketException: Connection reset by peer: socket write error
  at sun.rmi.server.UnicastRef.invoke(Unknown Source)
  at
 org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.sampleOccurred(Unknown
 Source)
  at
 org.apache.jmeter.samplers.StandardSampleSender.sampleOccurred(StandardSampleSender.java:68)
  at
 org.apache.jmeter.samplers.RemoteListenerWrapper.sampleOccurred(RemoteListenerWrapper.java:86)
  at
 org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:86)
  at
 org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:673)
  at
 org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:360)
  at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
  at java.lang.Thread.run(Unknown Source)
 Caused by: java.net.SocketException: Connection reset by peer: socket
 write error
  at java.net.SocketOutputStream.socketWrite0(Native Method)
  at java.net.SocketOutputStream.socketWrite(Unknown Source)
  at java.net.SocketOutputStream.write(Unknown Source)
  at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
  at java.io.BufferedOutputStream.write(Unknown Source)
  at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown
 Source)
  at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(Unknown
 Source)
  at java.io.ObjectOutputStream.writeFatalException(Unknown Source)
  at java.io.ObjectOutputStream.writeObject(Unknown Source)
  at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)
  ... 9 more
 
 Does this mean that in reality this slave machine did not run the
 script?? or what is reason for this error?
 
 Thank you.
 
 Br,
 
 Farid
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Jmeter-2.3.3-Remote-testing-problem-tp23847444p23852472.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: Jmeter 2.3.3 Remote testing Remote start menu problem

2009-06-03 Thread sebb
On 03/06/2009, uzfarid faridshari...@yahoo.com wrote:

  Hi,

  I noticed that in Jmeter 2.3.3 When I start remote hosts one by one , remote
  host IPs in run-Remote Start list dont get greyed out.

  Also seems now it is not possible to stop remote hosts one by one. in 2.3.2
  this feature was available.

  or am I missing some extra settings?

No, it looks like this feature was accidentally disabled when some
other changes were made to the code. It will have to be fixed ...

Sory, but there's probably no work-round for this.

  Br,

  Farid

 --
  View this message in context: 
 http://www.nabble.com/Jmeter-2.3.3-Remote-testing-Remote-start-menu-problem-tp23851931p23851931.html
  Sent from the JMeter - User mailing list archive at Nabble.com.


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



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



Re: Jmeter 2.3.3 Remote testing problem

2009-06-03 Thread sebb
If JMeter works OK with one server host but not the other, then the
likelihood is that there is a problem with the host or the connection
to it.

On 03/06/2009, uzfarid faridshari...@yahoo.com wrote:

  changing JVM versions did not fix this problem unfortunately...




  uzfarid wrote:
  
   I checked hardware statistics.
  
   Load was not generated from second slave machine even though users were
   ramped up.
  
   I checked JVM versions and saw that they are different. Now i am making
   them use one version and see if it solves this problem.
  
  
   uzfarid wrote:
  
   Hi,
  
   I did Jmeter remote testing with 3 machines, 1 being master and other 2
   slaves.
  
   In one of slave machines ramping up users went ok but in between I keep
   getting the following error:
  
   ERROR - jmeter.samplers.StandardSampleSender: sampleOccurred
   java.rmi.MarshalException: error marshalling arguments; nested exception
   is:
java.net.SocketException: Connection reset by peer: socket write 
 error
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at
   
 org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.sampleOccurred(Unknown
   Source)
at
   
 org.apache.jmeter.samplers.StandardSampleSender.sampleOccurred(StandardSampleSender.java:68)
at
   
 org.apache.jmeter.samplers.RemoteListenerWrapper.sampleOccurred(RemoteListenerWrapper.java:86)
at
   
 org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:86)
at
   
 org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:673)
at
   
 org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:360)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
at java.lang.Thread.run(Unknown Source)
   Caused by: java.net.SocketException: Connection reset by peer: socket
   write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.write(Unknown Source)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown
   Source)
at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(Unknown
   Source)
at java.io.ObjectOutputStream.writeFatalException(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)
... 9 more
  
   Does this mean that in reality this slave machine did not run the
   script?? or what is reason for this error?
  
   Thank you.
  
   Br,
  
   Farid
  
  
  

  --

 View this message in context: 
 http://www.nabble.com/Jmeter-2.3.3-Remote-testing-problem-tp23847444p23852472.html

 Sent from the JMeter - User mailing list archive at Nabble.com.


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



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



Re: Jmeter 2.3.3 Remote testing problem

2009-06-03 Thread uzfarid

Hi,

Strange thing is that with second host (the one which has problem) user ramp
up works fine until some number, sometimes 300, sometimes less or more. then
it starts giving that error message above.

Br,

Farid

sebb-2-2 wrote:
 
 If JMeter works OK with one server host but not the other, then the
 likelihood is that there is a problem with the host or the connection
 to it.
 
 On 03/06/2009, uzfarid faridshari...@yahoo.com wrote:

  changing JVM versions did not fix this problem unfortunately...




  uzfarid wrote:
  
   I checked hardware statistics.
  
   Load was not generated from second slave machine even though users
 were
   ramped up.
  
   I checked JVM versions and saw that they are different. Now i am
 making
   them use one version and see if it solves this problem.
  
  
   uzfarid wrote:
  
   Hi,
  
   I did Jmeter remote testing with 3 machines, 1 being master and other
 2
   slaves.
  
   In one of slave machines ramping up users went ok but in between I
 keep
   getting the following error:
  
   ERROR - jmeter.samplers.StandardSampleSender: sampleOccurred
   java.rmi.MarshalException: error marshalling arguments; nested
 exception
   is:
java.net.SocketException: Connection reset by peer: socket write
 error
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at
  
 org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.sampleOccurred(Unknown
   Source)
at
  
 org.apache.jmeter.samplers.StandardSampleSender.sampleOccurred(StandardSampleSender.java:68)
at
  
 org.apache.jmeter.samplers.RemoteListenerWrapper.sampleOccurred(RemoteListenerWrapper.java:86)
at
  
 org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:86)
at
  
 org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:673)
at
  
 org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:360)
at
 org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
at java.lang.Thread.run(Unknown Source)
   Caused by: java.net.SocketException: Connection reset by peer: socket
   write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.write(Unknown Source)
at
 java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown
   Source)
at
 java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(Unknown
   Source)
at java.io.ObjectOutputStream.writeFatalException(Unknown
 Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)
... 9 more
  
   Does this mean that in reality this slave machine did not run the
   script?? or what is reason for this error?
  
   Thank you.
  
   Br,
  
   Farid
  
  
  

  --

 View this message in context:
 http://www.nabble.com/Jmeter-2.3.3-Remote-testing-problem-tp23847444p23852472.html

 Sent from the JMeter - User mailing list archive at Nabble.com.


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


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

-- 
View this message in context: 
http://www.nabble.com/Jmeter-2.3.3-Remote-testing-problem-tp23847444p23855518.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: Jmeter 2.3.3 Remote testing problem

2009-06-03 Thread sebb
On 03/06/2009, uzfarid faridshari...@yahoo.com wrote:

  Hi,

  Strange thing is that with second host (the one which has problem) user ramp
  up works fine until some number, sometimes 300, sometimes less or more. then
  it starts giving that error message above.

What happens if you run that host on its own? Does it still fail?

  Br,

  Farid


  sebb-2-2 wrote:
  
   If JMeter works OK with one server host but not the other, then the
   likelihood is that there is a problem with the host or the connection
   to it.
  
   On 03/06/2009, uzfarid faridshari...@yahoo.com wrote:
  
changing JVM versions did not fix this problem unfortunately...
  
  
  
  
uzfarid wrote:

 I checked hardware statistics.

 Load was not generated from second slave machine even though users
   were
 ramped up.

 I checked JVM versions and saw that they are different. Now i am
   making
 them use one version and see if it solves this problem.


 uzfarid wrote:

 Hi,

 I did Jmeter remote testing with 3 machines, 1 being master and other
   2
 slaves.

 In one of slave machines ramping up users went ok but in between I
   keep
 getting the following error:

 ERROR - jmeter.samplers.StandardSampleSender: sampleOccurred
 java.rmi.MarshalException: error marshalling arguments; nested
   exception
 is:
  java.net.SocketException: Connection reset by peer: socket write
   error
  at sun.rmi.server.UnicastRef.invoke(Unknown Source)
  at

   
 org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.sampleOccurred(Unknown
 Source)
  at

   
 org.apache.jmeter.samplers.StandardSampleSender.sampleOccurred(StandardSampleSender.java:68)
  at

   
 org.apache.jmeter.samplers.RemoteListenerWrapper.sampleOccurred(RemoteListenerWrapper.java:86)
  at

   
 org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:86)
  at

   
 org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:673)
  at

   
 org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:360)
  at
   org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
  at java.lang.Thread.run(Unknown Source)
 Caused by: java.net.SocketException: Connection reset by peer: socket
 write error
  at java.net.SocketOutputStream.socketWrite0(Native Method)
  at java.net.SocketOutputStream.socketWrite(Unknown Source)
  at java.net.SocketOutputStream.write(Unknown Source)
  at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
  at java.io.BufferedOutputStream.write(Unknown Source)
  at
   java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown
 Source)
  at
   java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(Unknown
 Source)
  at java.io.ObjectOutputStream.writeFatalException(Unknown
   Source)
  at java.io.ObjectOutputStream.writeObject(Unknown Source)
  at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)
  ... 9 more

 Does this mean that in reality this slave machine did not run the
 script?? or what is reason for this error?

 Thank you.

 Br,

 Farid



  
--
  
   View this message in context:
   
 http://www.nabble.com/Jmeter-2.3.3-Remote-testing-problem-tp23847444p23852472.html
  
   Sent from the JMeter - User mailing list archive at Nabble.com.
  
  
-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
  
  
  
   -
   To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
   For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
  
  
  


 --
  View this message in context: 
 http://www.nabble.com/Jmeter-2.3.3-Remote-testing-problem-tp23847444p23855518.html

 Sent from the JMeter - User mailing list archive at Nabble.com.


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



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



RE: Unable to do remote testing

2009-06-01 Thread Chintan Kachhi

I thought I had already sent the client log in the first post I sent. I will 
include it again here:


2009/05/28 14:46:43 ERROR - jmeter.gui.action.RemoteStart: Failed to
initialise remote engine java.rmi.NoSuchObjectException: no such object
in table
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown 
Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at 
org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
at 
org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:64)
at 
org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:163)
at org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
at 
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
at 
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)




 Date: Fri, 29 May 2009 18:25:08 +0100
 Subject: Re: Unable to do remote testing
 From: seb...@gmail.com
 To: jmeter-user@jakarta.apache.org
 
 On 29/05/2009, Chintan Kachhi chintan_kac...@hotmail.com wrote:
 
   Here is the JMeter server log:
 
 
   2009/05/28 16:43:54 INFO  - jmeter.util.JMeterUtils: Setting Locale to 
  en_US
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: Loading user properties from: 
  C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin\user.properties
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: Loading system properties from: 
  C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin\system.properties
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: Copyright (c) 1998-2009 The 
  Apache Software Foundation
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: Version 2.3.3 r776386
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: java.version=1.6.0_13
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM) 
  Client VM
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: os.name=Windows Vista
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: os.arch=x86
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: os.version=6.0
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: file.encoding=Cp1252
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: Default Locale=English (United 
  States)
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: JMeter  Locale=English (United 
  States)
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: 
  JMeterHome=C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: user.dir  
  =C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: PWD   
  =C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin
   2009/05/28 16:43:54 INFO  - jmeter.JMeter: IP: 10.184.226.193 Name: 
  cern-ck017497 FullName: myhostname-username.northamerica.company.net
   2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Starting 
  backing engine on 1099
   2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: IP 
  address=10.144.228.196
   2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Creating 
  RMI registry (server.rmi.create=true)
   2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Creating 
  JMeter engine on host company-username
   2009/05/28 16:43:54 INFO  - jmeter.engine.StandardJMeterEngine: Listeners 
  will be started after enabling running version
   2009/05/28 16:43:54 INFO  - jmeter.engine.StandardJMeterEngine: To revert 
  to the earlier behaviour, define jmeterengine.startlistenerslater=false
   2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Bound to 
  registry on port 1099
 
 
 That looks fine; the JMeter server creates the RMI server and binds to it.
 
 What does the JMeter client log show?
 
 
 
   If my friend was using another process that uses RMI, it would give him an 
  error message, something like 'the port is already in use and thus cannot 
  be binded.' (The reason I know this is that it did show that message once 
  on his system, when he manually tried to start the rmiregistry from within 
  the jdk , and then later tried to start the JMeter server). I also tried 
  what you suggested that is put his ip address:port number ( that did not 
  work either). The port number I used

Re: Unable to do remote testing

2009-06-01 Thread sebb
On 01/06/2009, Chintan Kachhi chintan_kac...@hotmail.com wrote:

  I thought I had already sent the client log in the first post I sent. I will 
 include it again here:

That's not the full log.



  2009/05/28 14:46:43 ERROR - jmeter.gui.action.RemoteStart: Failed to
  initialise remote engine java.rmi.NoSuchObjectException: no such object
  in table
 at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown 
 Source)
 at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
 at sun.rmi.server.UnicastRef.invoke(Unknown Source)
 at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
 at java.rmi.Naming.lookup(Unknown Source)
 at 
 org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
 at 
 org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:64)
 at 
 org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:163)
 at org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
 at 
 org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
 at 
 org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
 at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
 at java.awt.event.InvocationEvent.dispatch(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)





  Date: Fri, 29 May 2009 18:25:08 +0100

  Subject: Re: Unable to do remote testing
   From: seb...@gmail.com
   To: jmeter-user@jakarta.apache.org
  
   On 29/05/2009, Chintan Kachhi chintan_kac...@hotmail.com wrote:
   
 Here is the JMeter server log:
   
   
 2009/05/28 16:43:54 INFO  - jmeter.util.JMeterUtils: Setting Locale to 
 en_US
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: Loading user properties 
 from: C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin\user.properties
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: Loading system properties 
 from: C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin\system.properties
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: Copyright (c) 1998-2009 The 
 Apache Software Foundation
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: Version 2.3.3 r776386
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: java.version=1.6.0_13
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: java.vm.name=Java 
 HotSpot(TM) Client VM
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: os.name=Windows Vista
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: os.arch=x86
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: os.version=6.0
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: file.encoding=Cp1252
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: Default Locale=English 
 (United States)
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: JMeter  Locale=English 
 (United States)
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: 
 JMeterHome=C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: user.dir  
 =C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: PWD   
 =C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin
 2009/05/28 16:43:54 INFO  - jmeter.JMeter: IP: 10.184.226.193 Name: 
 cern-ck017497 FullName: myhostname-username.northamerica.company.net
 2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: 
 Starting backing engine on 1099
 2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: IP 
 address=10.144.228.196
 2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: 
 Creating RMI registry (server.rmi.create=true)
 2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: 
 Creating JMeter engine on host company-username
 2009/05/28 16:43:54 INFO  - jmeter.engine.StandardJMeterEngine: 
 Listeners will be started after enabling running version
 2009/05/28 16:43:54 INFO  - jmeter.engine.StandardJMeterEngine: To 
 revert to the earlier behaviour, define jmeterengine.startlistenerslater=false
 2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Bound 
 to registry on port 1099
   
  
   That looks fine; the JMeter server creates the RMI server and binds to it.
  
   What does the JMeter client log show?
  
   
   
 If my friend was using another process that uses RMI, it would give him 
 an error message, something like 'the port is already in use and thus cannot 
 be binded.' (The reason I know this is that it did show that message once on 
 his system, when he manually tried to start the rmiregistry from within the 
 jdk

Re: Unable to do remote testing

2009-05-29 Thread sebb
If this is the case, it should show up in the JMeter server log,
because JMeter won't be able to start the RMI server on the default
port.

On 29/05/2009, drubix andrew.schr...@gmail.com wrote:

  Perhaps your friend is running another process that uses RMI and is already
  using the default port.  Maybe get your friend to start JMeter listening on
  another port using the -Dserver_port switch?  Then just specify the remote
  port along with your friend's IP in jmeter.properties like ip:port (e.g.
  192.168.0.100:2020 for port 2020).



  Chintan Kachhi wrote:
  
  
   I am using JMeter version 2.3.3. I have followed the instructions  in:
   
 http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
  
   My system is the master system, and my friend's system is the slave
   system. I am trying to do remote testing by running JMeter: Run - Remote
   Start - his I.P. address. However this is not working, and looking at the
   log, I am getting the following error messages:
  
  
   2009/05/28 14:46:43 ERROR - jmeter.gui.action.RemoteStart: Failed to
   initialise remote engine java.rmi.NoSuchObjectException: no such object in
   table
   at
   sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
   Source)
   at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
   at sun.rmi.server.UnicastRef.invoke(Unknown Source)
   at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
   at java.rmi.Naming.lookup(Unknown Source)
   at
   
 org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
   at
   
 org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:64)
   at
   org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:163)
   at
   org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
   at
   
 org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
   at
   org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
   at
   org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
  
  
   I hope I am doing it correctly. According to the documentation, he only
   has his JMeter server running ( not the JMeter running), and I only have
   my JMeter running ( and not the JMeter server running, even though running
   both in both the systems also did not make any difference). We both have
   the same JMeter version 2.3.3 running with the same JDK version 1.5. Is
   there something else that needs to be edited? The only change I made in
   the jmeter.properties file was to add his ip address under the
   remote_hosts property.
  
   Thanks,
  
   Chintan
  
  
   _
   Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
  
   http://www.microsoft.com/india/windows/windowslive/photos.aspx
  


 --
  View this message in context: 
 http://www.nabble.com/Unable-to-do-remote-testing-tp23770605p23771911.html
  Sent from the JMeter - User mailing list archive at Nabble.com.


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



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



RE: Unable to do remote testing

2009-05-29 Thread Chintan Kachhi

Here is the JMeter server log:


2009/05/28 16:43:54 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_US 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: Loading user properties from: 
C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin\user.properties 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: Loading system properties from: 
C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin\system.properties 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: Copyright (c) 1998-2009 The Apache 
Software Foundation 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: Version 2.3.3 r776386 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: java.version=1.6.0_13 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM) Client 
VM 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: os.name=Windows Vista 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: os.arch=x86 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: os.version=6.0 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: file.encoding=Cp1252 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: Default Locale=English (United 
States) 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: JMeter  Locale=English (United 
States) 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: 
JMeterHome=C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: user.dir  
=C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: PWD   
=C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin 
2009/05/28 16:43:54 INFO  - jmeter.JMeter: IP: 10.184.226.193 Name: 
cern-ck017497 FullName: myhostname-username.northamerica.company.net 
2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Starting 
backing engine on 1099 
2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: IP 
address=10.144.228.196 
2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Creating RMI 
registry (server.rmi.create=true) 
2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Creating 
JMeter engine on host company-username
2009/05/28 16:43:54 INFO  - jmeter.engine.StandardJMeterEngine: Listeners will 
be started after enabling running version 
2009/05/28 16:43:54 INFO  - jmeter.engine.StandardJMeterEngine: To revert to 
the earlier behaviour, define jmeterengine.startlistenerslater=false 
2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Bound to 
registry on port 1099 




If my friend was using another process that uses RMI, it would give him an 
error message, something like 'the port is already in use and thus cannot be 
binded.' (The reason I know this is that it did show that message once on his 
system, when he manually tried to start the rmiregistry from within the jdk , 
and then later tried to start the JMeter server). I also tried what you 
suggested that is put his ip address:port number ( that did not work either). 
The port number I used was the one which was shown in the JMeter server 
console, and seems like that port number is dynamic and changes everytime the 
server is started.

 Not sure why it won't work.



 Date: Fri, 29 May 2009 11:40:55 +0100
 Subject: Re: Unable to do remote testing
 From: seb...@gmail.com
 To: jmeter-user@jakarta.apache.org
 
 If this is the case, it should show up in the JMeter server log,
 because JMeter won't be able to start the RMI server on the default
 port.
 
 On 29/05/2009, drubix andrew.schr...@gmail.com wrote:
 
   Perhaps your friend is running another process that uses RMI and is already
   using the default port.  Maybe get your friend to start JMeter listening on
   another port using the -Dserver_port switch?  Then just specify the remote
   port along with your friend's IP in jmeter.properties like ip:port (e.g.
   192.168.0.100:2020 for port 2020).
 
 
 
   Chintan Kachhi wrote:
   
   
I am using JMeter version 2.3.3. I have followed the instructions  in:

  http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
   
My system is the master system, and my friend's system is the slave
system. I am trying to do remote testing by running JMeter: Run - Remote
Start - his I.P. address. However this is not working, and looking at 
  the
log, I am getting the following error messages:
   
   
2009/05/28 14:46:43 ERROR - jmeter.gui.action.RemoteStart: Failed to
initialise remote engine java.rmi.NoSuchObjectException: no such object 
  in
table
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at

  org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
at

  org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:64

Re: Unable to do remote testing

2009-05-29 Thread sebb
On 29/05/2009, Chintan Kachhi chintan_kac...@hotmail.com wrote:

  Here is the JMeter server log:


  2009/05/28 16:43:54 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_US
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: Loading user properties from: 
 C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin\user.properties
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: Loading system properties from: 
 C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin\system.properties
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: Copyright (c) 1998-2009 The 
 Apache Software Foundation
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: Version 2.3.3 r776386
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: java.version=1.6.0_13
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM) 
 Client VM
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: os.name=Windows Vista
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: os.arch=x86
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: os.version=6.0
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: file.encoding=Cp1252
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: Default Locale=English (United 
 States)
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: JMeter  Locale=English (United 
 States)
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: 
 JMeterHome=C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: user.dir  
 =C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: PWD   
 =C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin
  2009/05/28 16:43:54 INFO  - jmeter.JMeter: IP: 10.184.226.193 Name: 
 cern-ck017497 FullName: myhostname-username.northamerica.company.net
  2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Starting 
 backing engine on 1099
  2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: IP 
 address=10.144.228.196
  2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Creating 
 RMI registry (server.rmi.create=true)
  2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Creating 
 JMeter engine on host company-username
  2009/05/28 16:43:54 INFO  - jmeter.engine.StandardJMeterEngine: Listeners 
 will be started after enabling running version
  2009/05/28 16:43:54 INFO  - jmeter.engine.StandardJMeterEngine: To revert to 
 the earlier behaviour, define jmeterengine.startlistenerslater=false
  2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Bound to 
 registry on port 1099


That looks fine; the JMeter server creates the RMI server and binds to it.

What does the JMeter client log show?



  If my friend was using another process that uses RMI, it would give him an 
 error message, something like 'the port is already in use and thus cannot be 
 binded.' (The reason I know this is that it did show that message once on his 
 system, when he manually tried to start the rmiregistry from within the jdk , 
 and then later tried to start the JMeter server). I also tried what you 
 suggested that is put his ip address:port number ( that did not work either). 
 The port number I used was the one which was shown in the JMeter server 
 console, and seems like that port number is dynamic and changes everytime the 
 server is started.

   Not sure why it won't work.



   Date: Fri, 29 May 2009 11:40:55 +0100
   Subject: Re: Unable to do remote testing
   From: seb...@gmail.com
   To: jmeter-user@jakarta.apache.org

 
   If this is the case, it should show up in the JMeter server log,
   because JMeter won't be able to start the RMI server on the default
   port.
  
   On 29/05/2009, drubix andrew.schr...@gmail.com wrote:
   
 Perhaps your friend is running another process that uses RMI and is 
 already
 using the default port.  Maybe get your friend to start JMeter 
 listening on
 another port using the -Dserver_port switch?  Then just specify the 
 remote
 port along with your friend's IP in jmeter.properties like ip:port (e.g.
 192.168.0.100:2020 for port 2020).
   
   
   
 Chintan Kachhi wrote:
 
 
  I am using JMeter version 2.3.3. I have followed the instructions  in:
  
 http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
 
  My system is the master system, and my friend's system is the slave
  system. I am trying to do remote testing by running JMeter: Run - 
 Remote
  Start - his I.P. address. However this is not working, and looking 
 at the
  log, I am getting the following error messages:
 
 
  2009/05/28 14:46:43 ERROR - jmeter.gui.action.RemoteStart: Failed to
  initialise remote engine java.rmi.NoSuchObjectException: no such 
 object in
  table
  at
  sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
  Source)
  at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
  at sun.rmi.server.UnicastRef.invoke(Unknown Source

Unable to do remote testing

2009-05-28 Thread Chintan Kachhi

I am using JMeter version 2.3.3. I have followed the instructions  in: 
http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf

My system is the master system, and my friend's system is the slave system. I 
am trying to do remote testing by running JMeter: Run - Remote Start - his 
I.P. address. However this is not working, and looking at the log, I am getting 
the following error messages:


2009/05/28 14:46:43 ERROR - jmeter.gui.action.RemoteStart: Failed to initialise 
remote engine java.rmi.NoSuchObjectException: no such object in table
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown 
Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at 
org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
at 
org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:64)
at 
org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:163)
at org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
at 
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
at 
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


I hope I am doing it correctly. According to the documentation, he only has his 
JMeter server running ( not the JMeter running), and I only have my JMeter 
running ( and not the JMeter server running, even though running both in both 
the systems also did not make any difference). We both have the same JMeter 
version 2.3.3 running with the same JDK version 1.5. Is there something else 
that needs to be edited? The only change I made in the jmeter.properties file 
was to add his ip address under the remote_hosts property.

Thanks,

Chintan


_
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

http://www.microsoft.com/india/windows/windowslive/photos.aspx

Re: Unable to do remote testing

2009-05-28 Thread sebb
On 28/05/2009, Chintan Kachhi chintan_kac...@hotmail.com wrote:

  I am using JMeter version 2.3.3. I have followed the instructions  in: 
 http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf

  My system is the master system, and my friend's system is the slave system. 
 I am trying to do remote testing by running JMeter: Run - Remote Start - 
 his I.P. address. However this is not working, and looking at the log, I am 
 getting the following error messages:


  2009/05/28 14:46:43 ERROR - jmeter.gui.action.RemoteStart: Failed to 
 initialise remote engine java.rmi.NoSuchObjectException: no such object in 
 table
 at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown 
 Source)
 at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
 at sun.rmi.server.UnicastRef.invoke(Unknown Source)
 at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
 at java.rmi.Naming.lookup(Unknown Source)
 at 
 org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
 at 
 org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:64)
 at 
 org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:163)
 at org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
 at 
 org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
 at 
 org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
 at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
 at java.awt.event.InvocationEvent.dispatch(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)

I've not seen that particular error before - it looks like the client
is able to reach the RMI server but that cannot find JMeter.

What does the server log say?


  I hope I am doing it correctly. According to the documentation, he only has 
 his JMeter server running ( not the JMeter running), and I only have my 
 JMeter running ( and not the JMeter server running, even though running both 
 in both the systems also did not make any difference). We both have the same 
 JMeter version 2.3.3 running with the same JDK version 1.5. Is there 
 something else that needs to be edited? The only change I made in the 
 jmeter.properties file was to add his ip address under the remote_hosts 
 property.

  Thanks,

  Chintan


  _
  Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

  http://www.microsoft.com/india/windows/windowslive/photos.aspx

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



Re: Unable to do remote testing

2009-05-28 Thread drubix

Perhaps your friend is running another process that uses RMI and is already
using the default port.  Maybe get your friend to start JMeter listening on
another port using the -Dserver_port switch?  Then just specify the remote
port along with your friend's IP in jmeter.properties like ip:port (e.g.
192.168.0.100:2020 for port 2020).


Chintan Kachhi wrote:
 
 
 I am using JMeter version 2.3.3. I have followed the instructions  in:
 http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
 
 My system is the master system, and my friend's system is the slave
 system. I am trying to do remote testing by running JMeter: Run - Remote
 Start - his I.P. address. However this is not working, and looking at the
 log, I am getting the following error messages:
 
 
 2009/05/28 14:46:43 ERROR - jmeter.gui.action.RemoteStart: Failed to
 initialise remote engine java.rmi.NoSuchObjectException: no such object in
 table
 at
 sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
 Source)
 at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
 at sun.rmi.server.UnicastRef.invoke(Unknown Source)
 at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
 at java.rmi.Naming.lookup(Unknown Source)
 at
 org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
 at
 org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:64)
 at
 org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:163)
 at
 org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
 at
 org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
 at
 org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
 at
 org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
 at java.awt.event.InvocationEvent.dispatch(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
 
 
 I hope I am doing it correctly. According to the documentation, he only
 has his JMeter server running ( not the JMeter running), and I only have
 my JMeter running ( and not the JMeter server running, even though running
 both in both the systems also did not make any difference). We both have
 the same JMeter version 2.3.3 running with the same JDK version 1.5. Is
 there something else that needs to be edited? The only change I made in
 the jmeter.properties file was to add his ip address under the
 remote_hosts property.
 
 Thanks,
 
 Chintan
 
 
 _
 Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
 
 http://www.microsoft.com/india/windows/windowslive/photos.aspx
 

-- 
View this message in context: 
http://www.nabble.com/Unable-to-do-remote-testing-tp23770605p23771911.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: Once again: remote testing problems

2009-03-17 Thread sebb
Please start a new thread for a new question.

On 18/03/2009, bruce chen.s...@symbio-group.com wrote:
 Hi sebb
  I am a new user for JMeter. You said that  the server sends the data back

 to the client which will store the data.

 It will be to hold the network that the server sends the data back to the
  client. Does it will impact the performance testing? For example, it will
  improve the network flow.


  -Original Message-
  From: sebb [mailto:seb...@gmail.com]
  Sent: Saturday, March 14, 2009 2:30 AM
  To: JMeter Users List
  Subject: Re: Once again: remote testing problems

  On 13/03/2009, santiagoloso santiagol...@gmail.com wrote:
  
Somehow it's working. I've done everything again (as told on the manual
quoted before) and it's working happily. I can see the Starting backing
Engine message on the JMeter-server.log at the Server machine.

  Probably something did not startup properly before.

Now, moving on to the next problem: I can't see where's saving results.
  I've
added a Simple Data Writer to the testing plan on the Client, saved it
  and
runned again (I think it's important to mention that every time I've
  tried
to stop remote server the message telling me to be patient was the only
  app
answer, it seemed as if wasn't going to stop, so I've manually closed
application both on server and client) but I dunno where is the file
  being
saved.

  As mentioned in another very recent thread, the server sends the data
  back to the client which will store the data.

  Problems shutting down the server may indicate a communication problem.

  Check both the server and client log files for any error messages that
  might be relevant.

Thanks a lot for your help.
  
   --
View this message in context:
  http://www.nabble.com/Once-again%3A-remote-testing-problems-tp22483921p22501
  201.html
  
   Sent from the JMeter - User mailing list archive at Nabble.com.
  
  
-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
  
  

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


 __ Information from ESET NOD32 Antivirus, version of virus signature
  database 3937 (20090314) __

  The message was checked by ESET NOD32 Antivirus.

  http://www.eset.com




  __ Information from ESET NOD32 Antivirus, version of virus signature
  database 3937 (20090314) __

  The message was checked by ESET NOD32 Antivirus.

  http://www.eset.com




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



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



RE: Once again: remote testing problems

2009-03-16 Thread bruce
Hi sebb
I am a new user for JMeter. You said that  the server sends the data back
to the client which will store the data.
It will be to hold the network that the server sends the data back to the
client. Does it will impact the performance testing? For example, it will
improve the network flow.

-Original Message-
From: sebb [mailto:seb...@gmail.com] 
Sent: Saturday, March 14, 2009 2:30 AM
To: JMeter Users List
Subject: Re: Once again: remote testing problems

On 13/03/2009, santiagoloso santiagol...@gmail.com wrote:

  Somehow it's working. I've done everything again (as told on the manual
  quoted before) and it's working happily. I can see the Starting backing
  Engine message on the JMeter-server.log at the Server machine.

Probably something did not startup properly before.

  Now, moving on to the next problem: I can't see where's saving results.
I've
  added a Simple Data Writer to the testing plan on the Client, saved it
and
  runned again (I think it's important to mention that every time I've
tried
  to stop remote server the message telling me to be patient was the only
app
  answer, it seemed as if wasn't going to stop, so I've manually closed
  application both on server and client) but I dunno where is the file
being
  saved.

As mentioned in another very recent thread, the server sends the data
back to the client which will store the data.

Problems shutting down the server may indicate a communication problem.

Check both the server and client log files for any error messages that
might be relevant.

  Thanks a lot for your help.

 --
  View this message in context:
http://www.nabble.com/Once-again%3A-remote-testing-problems-tp22483921p22501
201.html

 Sent from the JMeter - User mailing list archive at Nabble.com.


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



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

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3937 (20090314) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3937 (20090314) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


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



RE: Once again: remote testing problems

2009-03-13 Thread Fitzpatrick, Adrian

Hi,

Not sure what your problem is, but your telnet syntax is wrong anyway. it
should be telnet 172.31.112.59 1100 . If that doesn't work when run from
the master (client), try the same thing from the server machine itself and
see if you get the same or a different result. Also try telnet localhost
1100 from the server machine.

Adrian

-Original Message-
From: santiagoloso [mailto:santiagol...@gmail.com]
Sent: 12 March 2009 19:42
To: jmeter-user@jakarta.apache.org
Subject: Once again: remote testing problems


*

This e-mail has been received by the Revenue Internet e-mail service. (IP)

*


I've followed this tutorial:
http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_b
y_step.pdf

I've started jmeter-server.bat on the server machine. I've setted the the
port to 1100 (for some reason 1099 was in use, according to command line) on
both machines (jmeter-server.bat on the server side, jmeter.properties on
the client). I've also added the IP address on the last file, on remote
hosts line. But connection is being refused.

Checked firewalls, both are disabled. Log file on the client side says:

2009/03/12 16:47:56 ERROR - jmeter.gui.action.RemoteStart: Failed to
initialise remote engine java.rmi.ConnectException: Connection refused to
host: 172.31.112.59; nested exception is: 
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at
org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java
:52)
at
org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:56
)
at
org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:162)
at
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
at
org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.init(Unknown Source)
at java.net.Socket.init(Unknown Source)
at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
Source)
at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
Source)
... 20 more

Also tried to telnet serverip:1100 and it says:

Connecting To 172.31.112.59:1100...Could not open connection to the host, on
port 23: Connect failed

Thanks in advance for your help.
-- 
View this message in context:
http://www.nabble.com/Once-again%3A-remote-testing-problems-tp22483921p224839
21.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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





This message has been delivered to the Internet by the Revenue Internet e-mail 
service (OP)

*

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



Re: Once again: remote testing problems

2009-03-13 Thread santiagoloso

Yes, you were right. My telnet syntax was wrong. I've tried again and it says
that telnet connection is refused on the port selected(JMeter server is
running on the server machine).

Any idea of what could it be?


santiagoloso wrote:
 
 I've followed this tutorial:
 http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
 
 I've started jmeter-server.bat on the server machine. I've setted the the
 port to 1100 (for some reason 1099 was in use, according to command line)
 on both machines (jmeter-server.bat on the server side, jmeter.properties
 on the client). I've also added the IP address on the last file, on remote
 hosts line. But connection is being refused.
 
 Checked firewalls, both are disabled. Log file on the client side says:
 
 2009/03/12 16:47:56 ERROR - jmeter.gui.action.RemoteStart: Failed to
 initialise remote engine java.rmi.ConnectException: Connection refused to
 host: 172.31.112.59; nested exception is: 
   java.net.ConnectException: Connection refused: connect
   at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
   at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
   at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
   at sun.rmi.server.UnicastRef.newCall(Unknown Source)
   at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
   at java.rmi.Naming.lookup(Unknown Source)
   at
 org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:52)
   at
 org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:56)
   at
 org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:162)
   at 
 org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
   at
 org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
   at
 org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
   at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
 Caused by: java.net.ConnectException: Connection refused: connect
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(Unknown Source)
   at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
   at java.net.PlainSocketImpl.connect(Unknown Source)
   at java.net.SocksSocketImpl.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.init(Unknown Source)
   at java.net.Socket.init(Unknown Source)
   at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
 Source)
   at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
 Source)
   ... 20 more
 
 Also tried to telnet serverip:1100 and it says:
 
 Connecting To 172.31.112.59:1100...Could not open connection to the host,
 on port 23: Connect failed
 
 Thanks in advance for your help.
 

-- 
View this message in context: 
http://www.nabble.com/Once-again%3A-remote-testing-problems-tp22483921p22495076.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: Once again: remote testing problems

2009-03-13 Thread sebb
On 13/03/2009, santiagoloso santiagol...@gmail.com wrote:

  Yes, you were right. My telnet syntax was wrong. I've tried again and it says
  that telnet connection is refused on the port selected(JMeter server is
  running on the server machine).

  Any idea of what could it be?


Same answer as before - try running the additional commands suggested.


  santiagoloso wrote:
  
   I've followed this tutorial:
   
 http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
  
   I've started jmeter-server.bat on the server machine. I've setted the the
   port to 1100 (for some reason 1099 was in use, according to command line)
   on both machines (jmeter-server.bat on the server side, jmeter.properties
   on the client). I've also added the IP address on the last file, on remote
   hosts line. But connection is being refused.
  
   Checked firewalls, both are disabled. Log file on the client side says:
  
   2009/03/12 16:47:56 ERROR - jmeter.gui.action.RemoteStart: Failed to
   initialise remote engine java.rmi.ConnectException: Connection refused to
   host: 172.31.112.59; nested exception is:
 java.net.ConnectException: Connection refused: connect
 at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
 at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
 at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
 at sun.rmi.server.UnicastRef.newCall(Unknown Source)
 at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
 at java.rmi.Naming.lookup(Unknown Source)
 at
   
 org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:52)
 at
   
 org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:56)
 at
   org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:162)
 at 
 org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
 at
   
 org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
 at
   org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
 at 
 org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
 at java.awt.event.InvocationEvent.dispatch(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown 
 Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown 
 Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
   Caused by: java.net.ConnectException: Connection refused: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(Unknown Source)
 at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
 at java.net.PlainSocketImpl.connect(Unknown Source)
 at java.net.SocksSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at 
 sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
   Source)
 at 
 sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
   Source)
 ... 20 more
  
   Also tried to telnet serverip:1100 and it says:
  
   Connecting To 172.31.112.59:1100...Could not open connection to the host,
   on port 23: Connect failed
  
   Thanks in advance for your help.
  

  --

 View this message in context: 
 http://www.nabble.com/Once-again%3A-remote-testing-problems-tp22483921p22495076.html

 Sent from the JMeter - User mailing list archive at Nabble.com.


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



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



Re: Once again: remote testing problems

2009-03-13 Thread sebb
On 13/03/2009, santiagoloso santiagol...@gmail.com wrote:

  Somehow it's working. I've done everything again (as told on the manual
  quoted before) and it's working happily. I can see the Starting backing
  Engine message on the JMeter-server.log at the Server machine.

Probably something did not startup properly before.

  Now, moving on to the next problem: I can't see where's saving results. I've
  added a Simple Data Writer to the testing plan on the Client, saved it and
  runned again (I think it's important to mention that every time I've tried
  to stop remote server the message telling me to be patient was the only app
  answer, it seemed as if wasn't going to stop, so I've manually closed
  application both on server and client) but I dunno where is the file being
  saved.

As mentioned in another very recent thread, the server sends the data
back to the client which will store the data.

Problems shutting down the server may indicate a communication problem.

Check both the server and client log files for any error messages that
might be relevant.

  Thanks a lot for your help.

 --
  View this message in context: 
 http://www.nabble.com/Once-again%3A-remote-testing-problems-tp22483921p22501201.html

 Sent from the JMeter - User mailing list archive at Nabble.com.


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



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



Re: [Remote Testing] How can I see test results?

2009-03-12 Thread Ivan Usik
Hello!

There is a full content of the jmeter-server.log when I run that test (see
in attachments)



2009/3/11 sebb seb...@gmail.com

 On 11/03/2009, Ivan Usik usik.i...@gmail.com wrote:
  Hello!
 
   Of course, I've added several Listeners and there are no errors in the
   client's Log.

 What about the server log?

   2009/3/11 sebb seb...@gmail.com
 
 
On 11/03/2009, Ivan Usik usik.i...@gmail.com wrote:
 Hello!

  I've target server and client on port 1644 and started they by case
  described in User's Manual

  So, in console where jmeter-server is running I can see the next
 notes:
  - Starting the test on host server_ip:1644 .
  - Finished the test on host server_ip:1644 .

  and there is nothing in the GUI of client Jmeter instance.

  How can I see test results?
   
They should appear in the Listener(s) on the client.
   
  What is wring?
   
Have you added a Listener?
   
Check for any errors in the client or server logs.
   

  --
  Sincerely!
  Ivan Usik
  --
  Skype: ivan.usik
  Phone: +375 29 973 21 85
  e-mail: usik.i...@gmail.com

   
 
   -
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
   
   
 
 
 
   --
 
  Sincerely!
   Ivan Usik
   --
   Skype: ivan.usik
   Phone: +375 29 973 21 85
   e-mail: usik.i...@gmail.com
 

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




-- 
Sincerely!
 Ivan Usik
--
Skype: ivan.usik
Phone: +375 29 973 21 85
e-mail: usik.i...@gmail.com
-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org

Re: [Remote Testing] How can I see test results?

2009-03-12 Thread sebb
Sorry, attachments aren't allowed. Send me the log privately if you
wish, or post it publicly and send the URL.

On 12/03/2009, Ivan Usik usik.i...@gmail.com wrote:
 Hello!

 There is a full content of the jmeter-server.log when I run that test (see
 in attachments)




 2009/3/11 sebb seb...@gmail.com

 
  On 11/03/2009, Ivan Usik usik.i...@gmail.com wrote:
   Hello!
  
 
Of course, I've added several Listeners and there are no errors in the
client's Log.
 
  What about the server log?
 
 
 
 
2009/3/11 sebb seb...@gmail.com
  
  
 On 11/03/2009, Ivan Usik usik.i...@gmail.com wrote:
  Hello!
 
   I've target server and client on port 1644 and started they by
 case
   described in User's Manual
 
   So, in console where jmeter-server is running I can see the next
 notes:
   - Starting the test on host server_ip:1644 .
   - Finished the test on host server_ip:1644 .
 
   and there is nothing in the GUI of client Jmeter instance.
 
   How can I see test results?

 They should appear in the Listener(s) on the client.

   What is wring?

 Have you added a Listener?

 Check for any errors in the client or server logs.

 
   --
   Sincerely!
   Ivan Usik
   --
   Skype: ivan.usik
   Phone: +375 29 973 21 85
   e-mail: usik.i...@gmail.com
 

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


  
  
  
--
  
   Sincerely!
Ivan Usik
--
Skype: ivan.usik
Phone: +375 29 973 21 85
e-mail: usik.i...@gmail.com
  
 
 
 -
  To unsubscribe, e-mail:
 jmeter-user-unsubscr...@jakarta.apache.org
  For additional commands, e-mail:
 jmeter-user-h...@jakarta.apache.org
 
 



 --
 Sincerely!
   Ivan Usik
 --
 Skype: ivan.usik
 Phone: +375 29 973 21 85
 e-mail: usik.i...@gmail.com

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


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



Re: [Remote Testing] How can I see test results?

2009-03-12 Thread Ivan Usik
Thanks a lot for your attention to my problem!
I've resolved it! It was a problem with Vista IPv6 protocol, client is
running on Vista and server is running on Windows XP, so they were coudn't
connect normally. I've turned off IPv6 in Vista and now It's OK.

But your advice still could be usefull for me. Would you like to explain me:
if I run 3 servers and 1 client (with 100 threads in 1 group) I'll get the
emulation of 3 PC (by 33 threads running on each). Am I right?

2009/3/12 sebb seb...@gmail.com

 Sorry, attachments aren't allowed. Send me the log privately if you
 wish, or post it publicly and send the URL.

 On 12/03/2009, Ivan Usik usik.i...@gmail.com wrote:
  Hello!
 
  There is a full content of the jmeter-server.log when I run that test
 (see
  in attachments)
 
 
 
 
  2009/3/11 sebb seb...@gmail.com
 
  
   On 11/03/2009, Ivan Usik usik.i...@gmail.com wrote:
Hello!
   
  
 Of course, I've added several Listeners and there are no errors in
 the
 client's Log.
  
   What about the server log?
  
  
  
  
 2009/3/11 sebb seb...@gmail.com
   
   
  On 11/03/2009, Ivan Usik usik.i...@gmail.com wrote:
   Hello!
  
I've target server and client on port 1644 and started they by
  case
described in User's Manual
  
So, in console where jmeter-server is running I can see the
 next
  notes:
- Starting the test on host server_ip:1644 .
- Finished the test on host server_ip:1644 .
  
and there is nothing in the GUI of client Jmeter instance.
  
How can I see test results?
 
  They should appear in the Listener(s) on the client.
 
What is wring?
 
  Have you added a Listener?
 
  Check for any errors in the client or server logs.
 
  
--
Sincerely!
Ivan Usik
--
Skype: ivan.usik
Phone: +375 29 973 21 85
e-mail: usik.i...@gmail.com
  
 
   

  -
  To unsubscribe, e-mail:
  jmeter-user-unsubscr...@jakarta.apache.org
  For additional commands, e-mail:
  jmeter-user-h...@jakarta.apache.org
 
 
   
   
   
 --
   
Sincerely!
 Ivan Usik
 --
 Skype: ivan.usik
 Phone: +375 29 973 21 85
 e-mail: usik.i...@gmail.com
   
  
  
  -
   To unsubscribe, e-mail:
  jmeter-user-unsubscr...@jakarta.apache.org
   For additional commands, e-mail:
  jmeter-user-h...@jakarta.apache.org
  
  
 
 
 
  --
  Sincerely!
Ivan Usik
  --
  Skype: ivan.usik
  Phone: +375 29 973 21 85
  e-mail: usik.i...@gmail.com
 
  -
   To unsubscribe, e-mail:
  jmeter-user-unsubscr...@jakarta.apache.org
   For additional commands, e-mail:
  jmeter-user-h...@jakarta.apache.org
 

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




-- 
Sincerely!
 Ivan Usik
--
Skype: ivan.usik
Phone: +375 29 973 21 85
e-mail: usik.i...@gmail.com


Re: [Remote Testing] How can I see test results?

2009-03-12 Thread sebb
On 12/03/2009, Ivan Usik usik.i...@gmail.com wrote:
 Thanks a lot for your attention to my problem!
  I've resolved it! It was a problem with Vista IPv6 protocol, client is
  running on Vista and server is running on Windows XP, so they were coudn't
  connect normally. I've turned off IPv6 in Vista and now It's OK.

Was there any indication of this in the server log file?
If so, could you post the lines that show this so it can be documented?

  But your advice still could be usefull for me. Would you like to explain me:
  if I run 3 servers and 1 client (with 100 threads in 1 group) I'll get the
  emulation of 3 PC (by 33 threads running on each). Am I right?

No, each server will run the entire test plan, i.e 100 threads each or
300 total.

All the Listener data will be shipped back to the client system, so
you may need to enable some form of batching or statistical sampling
(see jmeter.properties) to ensure that the client is not overloaded.
However 300 threads is not a huge number.

  2009/3/12 sebb seb...@gmail.com


   Sorry, attachments aren't allowed. Send me the log privately if you
   wish, or post it publicly and send the URL.
  
   On 12/03/2009, Ivan Usik usik.i...@gmail.com wrote:
Hello!
   
There is a full content of the jmeter-server.log when I run that test
   (see
in attachments)
   
   
   
   
2009/3/11 sebb seb...@gmail.com
   

 On 11/03/2009, Ivan Usik usik.i...@gmail.com wrote:
  Hello!
 

   Of course, I've added several Listeners and there are no errors in
   the
   client's Log.

 What about the server log?




   2009/3/11 sebb seb...@gmail.com
 
 
On 11/03/2009, Ivan Usik usik.i...@gmail.com wrote:
 Hello!

  I've target server and client on port 1644 and started they by
case
  described in User's Manual

  So, in console where jmeter-server is running I can see the
   next
notes:
  - Starting the test on host server_ip:1644 .
  - Finished the test on host server_ip:1644 .

  and there is nothing in the GUI of client Jmeter instance.

  How can I see test results?
   
They should appear in the Listener(s) on the client.
   
  What is wring?
   
Have you added a Listener?
   
Check for any errors in the client or server logs.
   

  --
  Sincerely!
  Ivan Usik
  --
  Skype: ivan.usik
  Phone: +375 29 973 21 85
  e-mail: usik.i...@gmail.com

   
 
  
-
To unsubscribe, e-mail:
jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail:
jmeter-user-h...@jakarta.apache.org
   
   
 
 
 
   --
 
  Sincerely!
   Ivan Usik
   --
   Skype: ivan.usik
   Phone: +375 29 973 21 85
   e-mail: usik.i...@gmail.com
 


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


   
   
   
--
Sincerely!
  Ivan Usik
--
Skype: ivan.usik
Phone: +375 29 973 21 85
e-mail: usik.i...@gmail.com
   
-
 To unsubscribe, e-mail:
jmeter-user-unsubscr...@jakarta.apache.org
 For additional commands, e-mail:
jmeter-user-h...@jakarta.apache.org
   
  
   -
   To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
   For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
  
  


  --
  Sincerely!
  Ivan Usik
  --
  Skype: ivan.usik
  Phone: +375 29 973 21 85
  e-mail: usik.i...@gmail.com


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



Once again: remote testing problems

2009-03-12 Thread santiagoloso

I've followed this tutorial:
http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf

I've started jmeter-server.bat on the server machine. I've setted the the
port to 1100 (for some reason 1099 was in use, according to command line) on
both machines (jmeter-server.bat on the server side, jmeter.properties on
the client). I've also added the IP address on the last file, on remote
hosts line. But connection is being refused.

Checked firewalls, both are disabled. Log file on the client side says:

2009/03/12 16:47:56 ERROR - jmeter.gui.action.RemoteStart: Failed to
initialise remote engine java.rmi.ConnectException: Connection refused to
host: 172.31.112.59; nested exception is: 
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at
org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:52)
at
org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:56)
at
org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:162)
at 
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.init(Unknown Source)
at java.net.Socket.init(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
Source)
... 20 more

Also tried to telnet serverip:1100 and it says:

Connecting To 172.31.112.59:1100...Could not open connection to the host, on
port 23: Connect failed

Thanks in advance for your help.
-- 
View this message in context: 
http://www.nabble.com/Once-again%3A-remote-testing-problems-tp22483921p22483921.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: Once again: remote testing problems

2009-03-12 Thread sebb
On 12/03/2009, santiagoloso santiagol...@gmail.com wrote:

  I've followed this tutorial:
  
 http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf

  I've started jmeter-server.bat on the server machine. I've setted the the
  port to 1100 (for some reason 1099 was in use, according to command line) on
  both machines (jmeter-server.bat on the server side, jmeter.properties on
  the client). I've also added the IP address on the last file, on remote
  hosts line. But connection is being refused.

  Checked firewalls, both are disabled. Log file on the client side says:

  2009/03/12 16:47:56 ERROR - jmeter.gui.action.RemoteStart: Failed to
  initialise remote engine java.rmi.ConnectException: Connection refused to
  host: 172.31.112.59; nested exception is:
 java.net.ConnectException: Connection refused: connect
 at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
 at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
 at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
 at sun.rmi.server.UnicastRef.newCall(Unknown Source)
 at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
 at java.rmi.Naming.lookup(Unknown Source)
 at
  
 org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:52)
 at
  
 org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:56)
 at
  org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:162)
 at 
 org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
 at
  org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
 at
  org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
 at 
 org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
 at java.awt.event.InvocationEvent.dispatch(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown 
 Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
  Caused by: java.net.ConnectException: Connection refused: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(Unknown Source)
 at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
 at java.net.PlainSocketImpl.connect(Unknown Source)
 at java.net.SocksSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
  Source)
 at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
  Source)
 ... 20 more

  Also tried to telnet serverip:1100 and it says:

  Connecting To 172.31.112.59:1100...Could not open connection to the host, on
  port 23: Connect failed

Either server is not running on port 1100 or you cannot connect to the
host, or port 1100 is blocked by router.

  Thanks in advance for your help.

 --
  View this message in context: 
 http://www.nabble.com/Once-again%3A-remote-testing-problems-tp22483921p22483921.html
  Sent from the JMeter - User mailing list archive at Nabble.com.


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



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



[Remote Testing] How can I see test results?

2009-03-11 Thread Ivan Usik
Hello!

I've target server and client on port 1644 and started they by case
described in User's Manual

So, in console where jmeter-server is running I can see the next notes:
- Starting the test on host server_ip:1644 .
- Finished the test on host server_ip:1644 .

and there is nothing in the GUI of client Jmeter instance.

How can I see test results?

What is wring?


-- 
Sincerely!
 Ivan Usik
--
Skype: ivan.usik
Phone: +375 29 973 21 85
e-mail: usik.i...@gmail.com


Re: [Remote Testing] How can I see test results?

2009-03-11 Thread sebb
On 11/03/2009, Ivan Usik usik.i...@gmail.com wrote:
 Hello!

  I've target server and client on port 1644 and started they by case
  described in User's Manual

  So, in console where jmeter-server is running I can see the next notes:
  - Starting the test on host server_ip:1644 .
  - Finished the test on host server_ip:1644 .

  and there is nothing in the GUI of client Jmeter instance.

  How can I see test results?

They should appear in the Listener(s) on the client.

  What is wring?

Have you added a Listener?

Check for any errors in the client or server logs.


  --
  Sincerely!
  Ivan Usik
  --
  Skype: ivan.usik
  Phone: +375 29 973 21 85
  e-mail: usik.i...@gmail.com


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



Re: [Remote Testing] How can I see test results?

2009-03-11 Thread Ivan Usik
Hello!

Of course, I've added several Listeners and there are no errors in the
client's Log.

2009/3/11 sebb seb...@gmail.com

 On 11/03/2009, Ivan Usik usik.i...@gmail.com wrote:
  Hello!
 
   I've target server and client on port 1644 and started they by case
   described in User's Manual
 
   So, in console where jmeter-server is running I can see the next notes:
   - Starting the test on host server_ip:1644 .
   - Finished the test on host server_ip:1644 .
 
   and there is nothing in the GUI of client Jmeter instance.
 
   How can I see test results?

 They should appear in the Listener(s) on the client.

   What is wring?

 Have you added a Listener?

 Check for any errors in the client or server logs.

 
   --
   Sincerely!
   Ivan Usik
   --
   Skype: ivan.usik
   Phone: +375 29 973 21 85
   e-mail: usik.i...@gmail.com
 

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




-- 
Sincerely!
 Ivan Usik
--
Skype: ivan.usik
Phone: +375 29 973 21 85
e-mail: usik.i...@gmail.com


Re: [Remote Testing] How can I see test results?

2009-03-11 Thread sebb
On 11/03/2009, Ivan Usik usik.i...@gmail.com wrote:
 Hello!

  Of course, I've added several Listeners and there are no errors in the
  client's Log.

What about the server log?

  2009/3/11 sebb seb...@gmail.com


   On 11/03/2009, Ivan Usik usik.i...@gmail.com wrote:
Hello!
   
 I've target server and client on port 1644 and started they by case
 described in User's Manual
   
 So, in console where jmeter-server is running I can see the next notes:
 - Starting the test on host server_ip:1644 .
 - Finished the test on host server_ip:1644 .
   
 and there is nothing in the GUI of client Jmeter instance.
   
 How can I see test results?
  
   They should appear in the Listener(s) on the client.
  
 What is wring?
  
   Have you added a Listener?
  
   Check for any errors in the client or server logs.
  
   
 --
 Sincerely!
 Ivan Usik
 --
 Skype: ivan.usik
 Phone: +375 29 973 21 85
 e-mail: usik.i...@gmail.com
   
  

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



  --

 Sincerely!
  Ivan Usik
  --
  Skype: ivan.usik
  Phone: +375 29 973 21 85
  e-mail: usik.i...@gmail.com


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



Re: [Remote Testing] Custom fixed port numbers via proxy through firewall

2009-02-25 Thread sebb
On 03/02/2009, Axel Knauf axel.kn...@googlemail.com wrote:
 Hi.

  I am currently trying to setup some remote test cases with the following 
 setup:
  - 2 linux Tomcats and 1 linux Apache as target hosts to be tested
  running our web app
  - 2 separate linux hosts running the jmeter-server to generate load on
  the target hosts
  - 1 linux client running the controlling jmeter instance in non-gui
  mode (all via SSH sessions)

  I am using the JMeter 2.3.2 stable release and all the linux boxes are
  in the same network subnet, but separated by firewalls currently only
  allowing ports 8080 and 1099 to get through. On the load generators I
  am using the default jmeter.properties and the rmiregistry gets
  started on default port 1099. On the controlling host, I have set the
  following properties in the jmeter.properties file:

  --
  remote_hosts=10.30.23.63:1099 (only using one load generator for testing)
  server.rmi.port=1099 (this would not be necessary, since it is the default)
  --

  When trying to connect with the controlling jmeter instance, I get
  ConnectExceptions due to timeouts in the jmeter.log file. When looking
  at the listening ports on the load generator host, I see that it is
  listening on the rmiregistry port and an additional anonymous port:

  --
  # netstat -lnp | grep java
  tcp0  0 0.0.0.0:51910   0.0.0.0:*
  LISTEN  26862/jav
  tcp0  0 0.0.0.0:10990.0.0.0:*
  LISTEN  26862/jav
  --

  Obviously the RMI lookup gets dispatched to a separate port, which I
  would assume to be the usual behavior. But nevertheless the firewall
  will block this (random) free port since we cannot predict and enable
  it in the firewall. One approach was to adjust the JMeter code to use
  a custom SocketFactory[0] for RMI interaction which will always
  provide a custom configurable port number as described in [1]. But at
  this I am currently stuck and do not want to spend too much time.

  So, finally - my question: Has anyone already set up clean remote test
  cases using a proxy-based solution for tunneling the RMI connections
  through the inter-host firewall as described in the distributed
  testing guide [3]? And if not, has anyone already patched the JMeter
  code to provide custom port numbers for the actual service calls? (Or
  would one even have to exchange the SocketFactory for rmiregistry
  since this might be where the dispatching occurs?)

  For forwarding ports I could use SSH tunnels but I am not sure if this
  would a too great an impact on the load testing performance.

  Any help on this issue is greatly appreciated. If any facts are
  missing please simply ask.

  Cheers  Thanks,
  Axel


  --
  [0] http://java.sun.com/j2se/1.5.0/docs/guide/rmi/socketfactory/index.html

Had a look at the document, and tried playing with the demo code.
Although one can modify the behaviour of the sockets, it does not seem
to be possible to specify the local port to be used for the remote
object.

However, it turns out that it is very easy to specify a different port
when creating the remote object - just pass the port to the
UnicastRemoteObject constructor. No need for all the socket factory
stuff.

This has been implemented in r747989 which is available in the current
nightly builds directory if you want to give it a try.

Just define the JMeter property server.rmi.localport before starting
the JMeter server.

  [1] http://wiki.apache.org/jakarta-jmeter/JMeterRemoteTestingEnhancements
  (section below 'a modified version' header).
  [2] 
 http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
  (section 'Limitations')

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



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



How to set users for slaves in remote testing?

2009-02-16 Thread uzfarid

Hi,

I was wondering how it is possible to set amount of users for each slave
machine in Distributed/Remote testing?

I setup 3 machines for remote testing. 1 master and other 2 are slaves.
However when I run test it doesnt show how many users are actually running
in master machine near green light. Is this normal or something should be
done abt it?

Thanks,

Br,

Farid
-- 
View this message in context: 
http://www.nabble.com/How-to-set-users-for-slaves-in-remote-testing--tp22037763p22037763.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: How to set users for slaves in remote testing?

2009-02-16 Thread sebb
On 16/02/2009, uzfarid faridshari...@yahoo.com wrote:

  Hi,

  I was wondering how it is possible to set amount of users for each slave
  machine in Distributed/Remote testing?

  I setup 3 machines for remote testing. 1 master and other 2 are slaves.
  However when I run test it doesnt show how many users are actually running
  in master machine near green light. Is this normal or something should be
  done abt it?

This is normal.

  Thanks,

  Br,

  Farid

 --
  View this message in context: 
 http://www.nabble.com/How-to-set-users-for-slaves-in-remote-testing--tp22037763p22037763.html
  Sent from the JMeter - User mailing list archive at Nabble.com.


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



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



Re: Remote testing

2009-02-14 Thread sebb
Finally had another look at this and found the problem.

The error is caused by using different numbers of sample_variable
entries on the server and client.

As a work-round, if you use the sample_variables feature, please make
sure that the client and all servers use the same setting.

Clearly the client and server instances need to agree to use the same
variable names - otherwise the test output won't make sense, even if
there are no errors - but it should be easier to configure.

On 26/01/2009, sebb seb...@gmail.com wrote:
 Which version of JMeter are you using?


  On 23/01/2009, Duncan Davidson ddavi...@staffmail.ed.ac.uk wrote:
   Thx. There is a nice stack trace
  
2009/01/23 14:51:58 ERROR - jmeter.reporters.ResultCollector: Error 
 trying to record a sample java.lang.ArrayIndexOutOfBoundsException: 0
   at 
 org.apache.jmeter.samplers.SampleEvent.getVarValue(SampleEvent.java:143)
   at 
 org.apache.jmeter.save.CSVSaveService.resultToDelimitedString(CSVSaveService.java:843)
   at 
 org.apache.jmeter.save.CSVSaveService.resultToDelimitedString(CSVSaveService.java:681)
   at 
 org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:433)
   at 
 org.apache.jmeter.samplers.RemoteSampleListenerImpl.sampleOccurred(RemoteSampleListenerImpl.java:99)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
   at sun.rmi.transport.Transport$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.rmi.transport.Transport.serviceCall(Unknown Source)
   at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown 
 Source)
   at 
 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
   at 
 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
 Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
 Source)
   at java.lang.Thread.run(Unknown Source)
  
  
-Original Message-
From: Steve Kapinos [mailto:steve.kapi...@tandberg.com]
Sent: 23 January 2009 15:00
To: JMeter Users List
  
   Subject: RE: Remote testing
  
Look in jmeter.log probably
  
Permissions on file directory?  File paths changed?
  
-Original Message-
From: Duncan Davidson [mailto:ddavi...@staffmail.ed.ac.uk]
Sent: Friday, January 23, 2009 9:56 AM
To: JMeter Users List
Subject: Remote testing
  
Hi
  
I have been running a test remotely and logging using a Simple Data 
 Writer. For some reason it has suddenly stopped logging unless the test is 
 run on the local machine. I have added other listeners and (for
example) the graph results shows the results from remote test but the 
 file part of it still won't output.
  
Any ideas?
  
Thanks
Duncan
  
  
--
The University of Edinburgh is a charitable body, registered in Scotland, 
 with registration number SC005336.
  
  
-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
  
  
-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
  
  
  
  
-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
  
  


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



Re: Remote Testing Exception

2009-02-04 Thread sebb
On 04/02/2009, maturipradeep maturiprad...@gmail.com wrote:

  Thanks Sebb, it works.

  I have an another question

Please start a new e-mail (don't reply to an existing one, it messes
up threading)

Thanks..

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



Re: Remote Testing Exception

2009-02-04 Thread maturipradeep

ok sebb.any how i have closed that issue sebb.

Thanks Sebb

Regards,
Pradeep 


sebb-2-2 wrote:
 
 On 04/02/2009, maturipradeep maturiprad...@gmail.com wrote:

  Thanks Sebb, it works.

  I have an another question
 
 Please start a new e-mail (don't reply to an existing one, it messes
 up threading)
 
 Thanks..
 
 -
 To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
 For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Remote-Testing-Exception-tp21804379p21828162.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: [Remote Testing] Custom fixed port numbers via proxy through firewall

2009-02-03 Thread sebb
On 03/02/2009, Axel Knauf axel.kn...@googlemail.com wrote:
 Hi.

  I am currently trying to setup some remote test cases with the following 
 setup:
  - 2 linux Tomcats and 1 linux Apache as target hosts to be tested
  running our web app
  - 2 separate linux hosts running the jmeter-server to generate load on
  the target hosts
  - 1 linux client running the controlling jmeter instance in non-gui
  mode (all via SSH sessions)

  I am using the JMeter 2.3.2 stable release and all the linux boxes are
  in the same network subnet, but separated by firewalls currently only
  allowing ports 8080 and 1099 to get through. On the load generators I
  am using the default jmeter.properties and the rmiregistry gets
  started on default port 1099. On the controlling host, I have set the
  following properties in the jmeter.properties file:

  --
  remote_hosts=10.30.23.63:1099 (only using one load generator for testing)
  server.rmi.port=1099 (this would not be necessary, since it is the default)
  --

  When trying to connect with the controlling jmeter instance, I get
  ConnectExceptions due to timeouts in the jmeter.log file. When looking
  at the listening ports on the load generator host, I see that it is
  listening on the rmiregistry port and an additional anonymous port:

  --
  # netstat -lnp | grep java
  tcp0  0 0.0.0.0:51910   0.0.0.0:*
  LISTEN  26862/jav
  tcp0  0 0.0.0.0:10990.0.0.0:*
  LISTEN  26862/jav
  --

  Obviously the RMI lookup gets dispatched to a separate port, which I
  would assume to be the usual behavior. But nevertheless the firewall
  will block this (random) free port since we cannot predict and enable
  it in the firewall. One approach was to adjust the JMeter code to use
  a custom SocketFactory[0] for RMI interaction which will always
  provide a custom configurable port number as described in [1]. But at
  this I am currently stuck and do not want to spend too much time.

  So, finally - my question: Has anyone already set up clean remote test
  cases using a proxy-based solution for tunneling the RMI connections
  through the inter-host firewall as described in the distributed
  testing guide [3]? And if not, has anyone already patched the JMeter
  code to provide custom port numbers for the actual service calls? (Or
  would one even have to exchange the SocketFactory for rmiregistry
  since this might be where the dispatching occurs?)

  For forwarding ports I could use SSH tunnels but I am not sure if this
  would a too great an impact on the load testing performance.

  Any help on this issue is greatly appreciated. If any facts are
  missing please simply ask.

Seems to me that the simplest solution would be to abandon trying to
use client-server mode and just run the tests as non-GUI JMeter
instances on each of the servers.

You just need to copy the test script to the servers. And then copy
the output files back to a common machine for analysis. The server
clocks should be synchronised as closely as possible (this is true for
client-server mode as well).

If you want to synchronise the starting times, then you can use a
shell script (e.g. from the client) to start the remote JMeters in
quick succession.

Note that non-GUI mode uses fewer resources than client-server mode.

Otherwise, you will need to open up the firewalls.

  Cheers  Thanks,
  Axel


  --
  [0] http://java.sun.com/j2se/1.5.0/docs/guide/rmi/socketfactory/index.html
  [1] http://wiki.apache.org/jakarta-jmeter/JMeterRemoteTestingEnhancements
  (section below 'a modified version' header).
  [2] 
 http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
  (section 'Limitations')

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



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



Re: Remote Testing Exception

2009-02-03 Thread sebb
On 03/02/2009, maturipradeep maturiprad...@gmail.com wrote:

  Hi All,

  while executing the script from remote machine, i have found few exceptions
  in Jmeter Log file. what was it meant by i don't know can any one explain
  me.

Was that in the client log file or the server log file?

Which version of JMeter?

  Thanks in Advance.

  2009/02/02 17:41:58 WARN  - jorphan.reflect.Functor: Trouble functing:
  org.apache.jmeter.visualizers.SamplingStatCalculator.getMin(...) :  invokee:
  Samples: 134  Avg: 4213.179104477612  Min: 594  Max: 5907  Error Rate: 0.0
  Sample Rate: 0.14818517396275907 null
  java.lang.reflect.InvocationTargetException

 at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)

 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

 at java.lang.reflect.Method.invoke(Unknown Source)

 at org.apache.jorphan.reflect.Functor.doInvoke(Functor.java:253)

 at org.apache.jorphan.reflect.Functor.invoke(Functor.java:314)

 at org.apache.jorphan.reflect.Functor.invoke(Functor.java:285)

 at
  org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.java:176)

 at javax.swing.JTable.getValueAt(Unknown Source)

 at javax.swing.JTable.prepareRenderer(Unknown Source)

 at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)

 at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)

 at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)

 at javax.swing.plaf.ComponentUI.update(Unknown Source)

 at javax.swing.JComponent.paintComponent(Unknown Source)

 at javax.swing.JComponent.paint(Unknown Source)

 at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)

 at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)

 at javax.swing.JComponent._paintImmediately(Unknown Source)

 at javax.swing.JComponent.paintImmediately(Unknown Source)

 at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

 at 
 javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown
  Source)

 at java.awt.event.InvocationEvent.dispatch(Unknown Source)

 at java.awt.EventQueue.dispatchEvent(Unknown Source)

 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown 
 Source)

 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

 at java.awt.EventDispatchThread.run(Unknown Source)

  Caused by: java.lang.NullPointerException

 at
  
 org.apache.jmeter.visualizers.SamplingStatCalculator.getMin(SamplingStatCalculator.java:362)

 ... 28 more


  Regards,
  Pradeep

 --
  View this message in context: 
 http://www.nabble.com/Remote-Testing-Exception-tp21804379p21804379.html
  Sent from the JMeter - User mailing list archive at Nabble.com.


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



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



Re: [Remote Testing] Custom fixed port numbers via proxy through firewall

2009-02-03 Thread Axel Knauf
Hi.

On Tue, Feb 3, 2009 at 13:13, sebb seb...@gmail.com wrote:
 [ Firewall issues with random RMI ports ]
 Seems to me that the simplest solution would be to abandon trying to
 use client-server mode and just run the tests as non-GUI JMeter
 instances on each of the servers. [..]

Thanks for the suggestion. But in case I run the test cases on each
load generator host as a separate process without having them
synchronized by a common controller instance, how do I get the
aggregated load statistics and results?

When running several load tests from the diverse hosts each one would
log its own result data which might be really hard to put together
afterwards. I have seen that there are several different approaches
for analyzing the generated logs (e. g. by xslt transformation or perl
analyses[0]), but neither of them aggregates several _separate_ log
files (or am I missing something?).

Any suggestions for this one? Since the environment we are trying to
test is decently powered (near-productive performance), only using a
single load generator will surely not be enough.

Cheers,
Axel


-- 
[0] http://wiki.apache.org/jakarta-jmeter/LogAnalysis

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



Re: Remote Testing Exception

2009-02-03 Thread maturipradeep

It was Server side log file and I'm using JMeter2.3.2


sebb-2-2 wrote:
 
 On 03/02/2009, maturipradeep maturiprad...@gmail.com wrote:

  Hi All,

  while executing the script from remote machine, i have found few
 exceptions
  in Jmeter Log file. what was it meant by i don't know can any one
 explain
  me.
 
 Was that in the client log file or the server log file?
 
 Which version of JMeter?
 
  Thanks in Advance.

  2009/02/02 17:41:58 WARN  - jorphan.reflect.Functor: Trouble functing:
  org.apache.jmeter.visualizers.SamplingStatCalculator.getMin(...) : 
 invokee:
  Samples: 134  Avg: 4213.179104477612  Min: 594  Max: 5907  Error Rate:
 0.0
  Sample Rate: 0.14818517396275907 null
  java.lang.reflect.InvocationTargetException

 at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)

 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
 Source)

 at java.lang.reflect.Method.invoke(Unknown Source)

 at org.apache.jorphan.reflect.Functor.doInvoke(Functor.java:253)

 at org.apache.jorphan.reflect.Functor.invoke(Functor.java:314)

 at org.apache.jorphan.reflect.Functor.invoke(Functor.java:285)

 at
 
 org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.java:176)

 at javax.swing.JTable.getValueAt(Unknown Source)

 at javax.swing.JTable.prepareRenderer(Unknown Source)

 at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)

 at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)

 at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)

 at javax.swing.plaf.ComponentUI.update(Unknown Source)

 at javax.swing.JComponent.paintComponent(Unknown Source)

 at javax.swing.JComponent.paint(Unknown Source)

 at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown
 Source)

 at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)

 at javax.swing.JComponent._paintImmediately(Unknown Source)

 at javax.swing.JComponent.paintImmediately(Unknown Source)

 at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

 at
 javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown
  Source)

 at java.awt.event.InvocationEvent.dispatch(Unknown Source)

 at java.awt.EventQueue.dispatchEvent(Unknown Source)

 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
 Source)

 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
 Source)

 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

 at java.awt.EventDispatchThread.run(Unknown Source)

  Caused by: java.lang.NullPointerException

 at
 
 org.apache.jmeter.visualizers.SamplingStatCalculator.getMin(SamplingStatCalculator.java:362)

 ... 28 more


  Regards,
  Pradeep

 --
  View this message in context:
 http://www.nabble.com/Remote-Testing-Exception-tp21804379p21804379.html
  Sent from the JMeter - User mailing list archive at Nabble.com.


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


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

-- 
View this message in context: 
http://www.nabble.com/Remote-Testing-Exception-tp21804379p21809417.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: [Remote Testing] Custom fixed port numbers via proxy through firewall

2009-02-03 Thread sebb
On 03/02/2009, Axel Knauf axel.kn...@googlemail.com wrote:
 Hi.

  On Tue, Feb 3, 2009 at 13:13, sebb seb...@gmail.com wrote:
   [ Firewall issues with random RMI ports ]

  Seems to me that the simplest solution would be to abandon trying to
   use client-server mode and just run the tests as non-GUI JMeter

  instances on each of the servers. [..]

  Thanks for the suggestion. But in case I run the test cases on each
  load generator host as a separate process without having them
  synchronized by a common controller instance, how do I get the
  aggregated load statistics and results?

This has been covered in the past; there may be some useful info in
the mail archives.

  When running several load tests from the diverse hosts each one would
  log its own result data which might be really hard to put together
  afterwards. I have seen that there are several different approaches
  for analyzing the generated logs (e. g. by xslt transformation or perl
  analyses[0]), but neither of them aggregates several _separate_ log
  files (or am I missing something?).

If you use CSV output (which is cheaper), then it is trivial to merge
the files - the entries don't have to be in timestamp order. You just
need to remove all but one header.

In any case, you need to ensure that each host collects the same
information (i.e. the same columns).

  Any suggestions for this one? Since the environment we are trying to
  test is decently powered (near-productive performance), only using a
  single load generator will surely not be enough.

Quite possibly, though a single JMeter can generate a substantial load
if the test plan does not have much in it except samples.

If you do need lots of JMeter instances, then using client-server mode
is likely to put a big strain on the client system and its network
connection.

  Cheers,
  Axel



  --
  [0] http://wiki.apache.org/jakarta-jmeter/LogAnalysis


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



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



Re: Remote Testing Exception

2009-02-03 Thread sebb
Are you sure it was the server? The one running RMI registry?
Or was it the one running the GUI, i.e. the client?

If it is continuing to cause problems, just disable or remove the
Listener when running the test, and use it to load the data
afterwards.

On 03/02/2009, maturipradeep maturiprad...@gmail.com wrote:

  It was Server side log file and I'm using JMeter2.3.2



  sebb-2-2 wrote:
  
   On 03/02/2009, maturipradeep maturiprad...@gmail.com wrote:
  
Hi All,
  
while executing the script from remote machine, i have found few
   exceptions
in Jmeter Log file. what was it meant by i don't know can any one
   explain
me.
  
   Was that in the client log file or the server log file?
  
   Which version of JMeter?
  
Thanks in Advance.
  
2009/02/02 17:41:58 WARN  - jorphan.reflect.Functor: Trouble functing:
org.apache.jmeter.visualizers.SamplingStatCalculator.getMin(...) :
   invokee:
Samples: 134  Avg: 4213.179104477612  Min: 594  Max: 5907  Error Rate:
   0.0
Sample Rate: 0.14818517396275907 null
java.lang.reflect.InvocationTargetException
  
   at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
  
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
   Source)
  
   at java.lang.reflect.Method.invoke(Unknown Source)
  
   at org.apache.jorphan.reflect.Functor.doInvoke(Functor.java:253)
  
   at org.apache.jorphan.reflect.Functor.invoke(Functor.java:314)
  
   at org.apache.jorphan.reflect.Functor.invoke(Functor.java:285)
  
   at
  
   
 org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.java:176)
  
   at javax.swing.JTable.getValueAt(Unknown Source)
  
   at javax.swing.JTable.prepareRenderer(Unknown Source)
  
   at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
  
   at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
  
   at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
  
   at javax.swing.plaf.ComponentUI.update(Unknown Source)
  
   at javax.swing.JComponent.paintComponent(Unknown Source)
  
   at javax.swing.JComponent.paint(Unknown Source)
  
   at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown
   Source)
  
   at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
  
   at javax.swing.JComponent._paintImmediately(Unknown Source)
  
   at javax.swing.JComponent.paintImmediately(Unknown Source)
  
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
  
   at
   javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown
Source)
  
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
  
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
  
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
   Source)
  
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
   Source)
  
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  
   at java.awt.EventDispatchThread.run(Unknown Source)
  
Caused by: java.lang.NullPointerException
  
   at
  
   
 org.apache.jmeter.visualizers.SamplingStatCalculator.getMin(SamplingStatCalculator.java:362)
  
   ... 28 more
  
  
Regards,
Pradeep
  
   --
View this message in context:
   http://www.nabble.com/Remote-Testing-Exception-tp21804379p21804379.html
Sent from the JMeter - User mailing list archive at Nabble.com.
  
  
-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
  
  
  
   -
   To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
   For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
  
  
  


 --
  View this message in context: 
 http://www.nabble.com/Remote-Testing-Exception-tp21804379p21809417.html

 Sent from the JMeter - User mailing list archive at Nabble.com.


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



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



Re: [Remote Testing] Custom fixed port numbers via proxy through firewall

2009-02-03 Thread Axel Knauf
Hi.

On Tue, Feb 3, 2009 at 14:15, sebb seb...@gmail.com wrote:
 [ JMeter instances on separate servers without controlling
 instance instead of distributed testing ]
 [..] how do I get the aggregated load statistics and results?

 This has been covered in the past; there may be some useful info in
 the mail archives. [..]

Thanks sebb for the hint, I will investigate this further. Merging the
logs should not be that hard (when speaking cat / sed / sort / uniq)
and if this produces feasible results, I am fine with it.

Cheers  Thanks,
Axel

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



[Remote Testing] Custom fixed port numbers via proxy through firewall

2009-02-03 Thread Axel Knauf
Hi.

I am currently trying to setup some remote test cases with the following setup:
- 2 linux Tomcats and 1 linux Apache as target hosts to be tested
running our web app
- 2 separate linux hosts running the jmeter-server to generate load on
the target hosts
- 1 linux client running the controlling jmeter instance in non-gui
mode (all via SSH sessions)

I am using the JMeter 2.3.2 stable release and all the linux boxes are
in the same network subnet, but separated by firewalls currently only
allowing ports 8080 and 1099 to get through. On the load generators I
am using the default jmeter.properties and the rmiregistry gets
started on default port 1099. On the controlling host, I have set the
following properties in the jmeter.properties file:

--
remote_hosts=10.30.23.63:1099 (only using one load generator for testing)
server.rmi.port=1099 (this would not be necessary, since it is the default)
--

When trying to connect with the controlling jmeter instance, I get
ConnectExceptions due to timeouts in the jmeter.log file. When looking
at the listening ports on the load generator host, I see that it is
listening on the rmiregistry port and an additional anonymous port:

--
# netstat -lnp | grep java
tcp0  0 0.0.0.0:51910   0.0.0.0:*
LISTEN  26862/jav
tcp0  0 0.0.0.0:10990.0.0.0:*
LISTEN  26862/jav
--

Obviously the RMI lookup gets dispatched to a separate port, which I
would assume to be the usual behavior. But nevertheless the firewall
will block this (random) free port since we cannot predict and enable
it in the firewall. One approach was to adjust the JMeter code to use
a custom SocketFactory[0] for RMI interaction which will always
provide a custom configurable port number as described in [1]. But at
this I am currently stuck and do not want to spend too much time.

So, finally - my question: Has anyone already set up clean remote test
cases using a proxy-based solution for tunneling the RMI connections
through the inter-host firewall as described in the distributed
testing guide [3]? And if not, has anyone already patched the JMeter
code to provide custom port numbers for the actual service calls? (Or
would one even have to exchange the SocketFactory for rmiregistry
since this might be where the dispatching occurs?)

For forwarding ports I could use SSH tunnels but I am not sure if this
would a too great an impact on the load testing performance.

Any help on this issue is greatly appreciated. If any facts are
missing please simply ask.

Cheers  Thanks,
Axel


-- 
[0] http://java.sun.com/j2se/1.5.0/docs/guide/rmi/socketfactory/index.html
[1] http://wiki.apache.org/jakarta-jmeter/JMeterRemoteTestingEnhancements
(section below 'a modified version' header).
[2] 
http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
(section 'Limitations')

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



Re: Remote Testing Exception

2009-02-03 Thread maturipradeep

Thanks Sebb, it works.

I have an another question thus JMeter Server in GUI Mode will take data
from CSV file. If yes, what was the procedure. If no, how can we pass the
data from CSV file to JMeter Server in GUI Mode.

Thanks  Regards,
Pradeep



sebb-2-2 wrote:
 
 Are you sure it was the server? The one running RMI registry?
 Or was it the one running the GUI, i.e. the client?
 
 If it is continuing to cause problems, just disable or remove the
 Listener when running the test, and use it to load the data
 afterwards.
 
 On 03/02/2009, maturipradeep maturiprad...@gmail.com wrote:

  It was Server side log file and I'm using JMeter2.3.2



  sebb-2-2 wrote:
  
   On 03/02/2009, maturipradeep maturiprad...@gmail.com wrote:
  
Hi All,
  
while executing the script from remote machine, i have found few
   exceptions
in Jmeter Log file. what was it meant by i don't know can any one
   explain
me.
  
   Was that in the client log file or the server log file?
  
   Which version of JMeter?
  
Thanks in Advance.
  
2009/02/02 17:41:58 WARN  - jorphan.reflect.Functor: Trouble
 functing:
org.apache.jmeter.visualizers.SamplingStatCalculator.getMin(...) :
   invokee:
Samples: 134  Avg: 4213.179104477612  Min: 594  Max: 5907  Error
 Rate:
   0.0
Sample Rate: 0.14818517396275907 null
java.lang.reflect.InvocationTargetException
  
   at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown
 Source)
  
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
   Source)
  
   at java.lang.reflect.Method.invoke(Unknown Source)
  
   at
 org.apache.jorphan.reflect.Functor.doInvoke(Functor.java:253)
  
   at
 org.apache.jorphan.reflect.Functor.invoke(Functor.java:314)
  
   at
 org.apache.jorphan.reflect.Functor.invoke(Functor.java:285)
  
   at
  
  
 org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.java:176)
  
   at javax.swing.JTable.getValueAt(Unknown Source)
  
   at javax.swing.JTable.prepareRenderer(Unknown Source)
  
   at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown
 Source)
  
   at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown
 Source)
  
   at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
  
   at javax.swing.plaf.ComponentUI.update(Unknown Source)
  
   at javax.swing.JComponent.paintComponent(Unknown Source)
  
   at javax.swing.JComponent.paint(Unknown Source)
  
   at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown
   Source)
  
   at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
  
   at javax.swing.JComponent._paintImmediately(Unknown Source)
  
   at javax.swing.JComponent.paintImmediately(Unknown Source)
  
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown
 Source)
  
   at
  
 javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown
Source)
  
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
  
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
  
   at
 java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
   Source)
  
   at
 java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
   Source)
  
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  
   at java.awt.EventDispatchThread.run(Unknown Source)
  
Caused by: java.lang.NullPointerException
  
   at
  
  
 org.apache.jmeter.visualizers.SamplingStatCalculator.getMin(SamplingStatCalculator.java:362)
  
   ... 28 more
  
  
Regards,
Pradeep
  
   --
View this message in context:
  
 http://www.nabble.com/Remote-Testing-Exception-tp21804379p21804379.html
Sent from the JMeter - User mailing list archive at Nabble.com.
  
  
   
 -
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
  
  
  
   -
   To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
   For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
  
  
  


 --
  View this message in context:
 http://www.nabble.com/Remote-Testing-Exception-tp21804379p21809417.html

 Sent from the JMeter - User mailing list archive at Nabble.com.


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


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

Re: Remote Testing

2009-02-02 Thread sebb
)
 at java.awt.EventDispatchThread.run(Unknown Source)
  Caused by: java.net.ConnectException: Connection refused: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(Unknown Source)
 at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
 at java.net.PlainSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
  Source)
 at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
  Source)
 ... 20 more


  In Console:

  Could not find ApacheJmeter_core.jar ...
  ... Trying JMETER_HOME=..
  Found ApacheJMeter_core.jar
  Problem creating registry: java.rmi.server.ExportException: Port already in
  use:
   1099; nested exception is:
 java.net.BindException: Address already in use: JVM_Bind
  Continuing...
  Server failed to start: java.rmi.RemoteException: Cannot start. See server
  log f
  ile.
  errorlevel=1
  Press any key to continue . . .


  JMeter Server Log errors:
  ERROR - jmeter.engine.RemoteJMeterEngineImpl: rmiregistry needs to be
  running to start JMeter in server mode
 java.rmi.ConnectException: Connection refused to host: 
 192.168.100.163;
  nested exception is:
 java.net.ConnectException: Connection refused: connect
  2009/02/02 11:11:07 ERROR - jmeter.JMeter: Giving up, as server failed with:
  java.rmi.RemoteException: Cannot start. See server log file.
 at
  
 org.apache.jmeter.engine.RemoteJMeterEngineImpl.init(RemoteJMeterEngineImpl.java:82)
 at
  
 org.apache.jmeter.engine.RemoteJMeterEngineImpl.init(RemoteJMeterEngineImpl.java:55)
 at org.apache.jmeter.JMeter.startServer(JMeter.java:612)
 at org.apache.jmeter.JMeter.start(JMeter.java:323)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.jmeter.NewDriver.main(NewDriver.java:184)


  Thanks in Advance.

  Regards,
  Pradeep

 --
  View this message in context: 
 http://www.nabble.com/Remote-Testing-tp21784977p21784977.html
  Sent from the JMeter - User mailing list archive at Nabble.com.


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



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



Re: Remote Testing

2009-02-02 Thread maturipradeep
)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
 Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
  Caused by: java.net.ConnectException: Connection refused: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(Unknown Source)
 at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
 at java.net.PlainSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at
 sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
  Source)
 at
 sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
  Source)
 ... 20 more


  In Console:

  Could not find ApacheJmeter_core.jar ...
  ... Trying JMETER_HOME=..
  Found ApacheJMeter_core.jar
  Problem creating registry: java.rmi.server.ExportException: Port already
 in
  use:
   1099; nested exception is:
 java.net.BindException: Address already in use: JVM_Bind
  Continuing...
  Server failed to start: java.rmi.RemoteException: Cannot start. See
 server
  log f
  ile.
  errorlevel=1
  Press any key to continue . . .


  JMeter Server Log errors:
  ERROR - jmeter.engine.RemoteJMeterEngineImpl: rmiregistry needs to be
  running to start JMeter in server mode
 java.rmi.ConnectException: Connection refused to host:
 192.168.100.163;
  nested exception is:
 java.net.ConnectException: Connection refused: connect
  2009/02/02 11:11:07 ERROR - jmeter.JMeter: Giving up, as server failed
 with:
  java.rmi.RemoteException: Cannot start. See server log file.
 at
 
 org.apache.jmeter.engine.RemoteJMeterEngineImpl.init(RemoteJMeterEngineImpl.java:82)
 at
 
 org.apache.jmeter.engine.RemoteJMeterEngineImpl.init(RemoteJMeterEngineImpl.java:55)
 at org.apache.jmeter.JMeter.startServer(JMeter.java:612)
 at org.apache.jmeter.JMeter.start(JMeter.java:323)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
 Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.jmeter.NewDriver.main(NewDriver.java:184)


  Thanks in Advance.

  Regards,
  Pradeep

 --
  View this message in context:
 http://www.nabble.com/Remote-Testing-tp21784977p21784977.html
  Sent from the JMeter - User mailing list archive at Nabble.com.


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


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

-- 
View this message in context: 
http://www.nabble.com/Remote-Testing-tp21784977p21788232.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Remote Testing Exception

2009-02-02 Thread maturipradeep

Hi All,

while executing the script from remote machine, i have found few exceptions
in Jmeter Log file. what was it meant by i don't know can any one explain
me.

Thanks in Advance.

2009/02/02 17:41:58 WARN  - jorphan.reflect.Functor: Trouble functing:
org.apache.jmeter.visualizers.SamplingStatCalculator.getMin(...) :  invokee:
Samples: 134  Avg: 4213.179104477612  Min: 594  Max: 5907  Error Rate: 0.0 
Sample Rate: 0.14818517396275907 null
java.lang.reflect.InvocationTargetException

at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.apache.jorphan.reflect.Functor.doInvoke(Functor.java:253)

at org.apache.jorphan.reflect.Functor.invoke(Functor.java:314)

at org.apache.jorphan.reflect.Functor.invoke(Functor.java:285)

at
org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.java:176)

at javax.swing.JTable.getValueAt(Unknown Source)

at javax.swing.JTable.prepareRenderer(Unknown Source)

at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)

at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)

at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)

at javax.swing.plaf.ComponentUI.update(Unknown Source)

at javax.swing.JComponent.paintComponent(Unknown Source)

at javax.swing.JComponent.paint(Unknown Source)

at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)

at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)

at javax.swing.JComponent._paintImmediately(Unknown Source)

at javax.swing.JComponent.paintImmediately(Unknown Source)

at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

at 
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown
Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.lang.NullPointerException

at
org.apache.jmeter.visualizers.SamplingStatCalculator.getMin(SamplingStatCalculator.java:362)

... 28 more


Regards,
Pradeep
-- 
View this message in context: 
http://www.nabble.com/Remote-Testing-Exception-tp21804379p21804379.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Remote Testing

2009-02-01 Thread maturipradeep
)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.init(Unknown Source)
at java.net.Socket.init(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
Source)
... 20 more


In Console:

Could not find ApacheJmeter_core.jar ...
... Trying JMETER_HOME=..
Found ApacheJMeter_core.jar
Problem creating registry: java.rmi.server.ExportException: Port already in
use:
 1099; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
Continuing...
Server failed to start: java.rmi.RemoteException: Cannot start. See server
log f
ile.
errorlevel=1
Press any key to continue . . .


JMeter Server Log errors:
ERROR - jmeter.engine.RemoteJMeterEngineImpl: rmiregistry needs to be
running to start JMeter in server mode
java.rmi.ConnectException: Connection refused to host: 192.168.100.163;
nested exception is: 
java.net.ConnectException: Connection refused: connect 
2009/02/02 11:11:07 ERROR - jmeter.JMeter: Giving up, as server failed with:
java.rmi.RemoteException: Cannot start. See server log file.
at
org.apache.jmeter.engine.RemoteJMeterEngineImpl.init(RemoteJMeterEngineImpl.java:82)
at
org.apache.jmeter.engine.RemoteJMeterEngineImpl.init(RemoteJMeterEngineImpl.java:55)
at org.apache.jmeter.JMeter.startServer(JMeter.java:612)
at org.apache.jmeter.JMeter.start(JMeter.java:323)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.jmeter.NewDriver.main(NewDriver.java:184)


Thanks in Advance.

Regards,
Pradeep
-- 
View this message in context: 
http://www.nabble.com/Remote-Testing-tp21784977p21784977.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: Remote testing

2009-01-26 Thread sebb
Which version of JMeter are you using?

On 23/01/2009, Duncan Davidson ddavi...@staffmail.ed.ac.uk wrote:
 Thx. There is a nice stack trace

  2009/01/23 14:51:58 ERROR - jmeter.reporters.ResultCollector: Error trying 
 to record a sample java.lang.ArrayIndexOutOfBoundsException: 0
 at 
 org.apache.jmeter.samplers.SampleEvent.getVarValue(SampleEvent.java:143)
 at 
 org.apache.jmeter.save.CSVSaveService.resultToDelimitedString(CSVSaveService.java:843)
 at 
 org.apache.jmeter.save.CSVSaveService.resultToDelimitedString(CSVSaveService.java:681)
 at 
 org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:433)
 at 
 org.apache.jmeter.samplers.RemoteSampleListenerImpl.sampleOccurred(RemoteSampleListenerImpl.java:99)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
 at sun.rmi.transport.Transport$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.rmi.transport.Transport.serviceCall(Unknown Source)
 at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
 at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown 
 Source)
 at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown 
 Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
 Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)


  -Original Message-
  From: Steve Kapinos [mailto:steve.kapi...@tandberg.com]
  Sent: 23 January 2009 15:00
  To: JMeter Users List

 Subject: RE: Remote testing

  Look in jmeter.log probably

  Permissions on file directory?  File paths changed?

  -Original Message-
  From: Duncan Davidson [mailto:ddavi...@staffmail.ed.ac.uk]
  Sent: Friday, January 23, 2009 9:56 AM
  To: JMeter Users List
  Subject: Remote testing

  Hi

  I have been running a test remotely and logging using a Simple Data Writer. 
 For some reason it has suddenly stopped logging unless the test is run on the 
 local machine. I have added other listeners and (for
  example) the graph results shows the results from remote test but the file 
 part of it still won't output.

  Any ideas?

  Thanks
  Duncan


  --
  The University of Edinburgh is a charitable body, registered in Scotland, 
 with registration number SC005336.


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


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




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



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



Remote testing

2009-01-23 Thread Duncan Davidson
Hi

I have been running a test remotely and logging using a Simple Data Writer. For 
some reason it has suddenly stopped logging unless the test is run on the local 
machine. I have added other listeners and (for example) the graph results shows 
the results from remote test but the file part of it still won't output.

Any ideas?

Thanks
Duncan


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


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



RE: Remote testing

2009-01-23 Thread Steve Kapinos
Look in jmeter.log probably

Permissions on file directory?  File paths changed?

-Original Message-
From: Duncan Davidson [mailto:ddavi...@staffmail.ed.ac.uk] 
Sent: Friday, January 23, 2009 9:56 AM
To: JMeter Users List
Subject: Remote testing

Hi

I have been running a test remotely and logging using a Simple Data
Writer. For some reason it has suddenly stopped logging unless the test
is run on the local machine. I have added other listeners and (for
example) the graph results shows the results from remote test but the
file part of it still won't output.

Any ideas?

Thanks
Duncan


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


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


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



RE: Remote testing

2009-01-23 Thread Duncan Davidson
Thx. There is a nice stack trace

2009/01/23 14:51:58 ERROR - jmeter.reporters.ResultCollector: Error trying to 
record a sample java.lang.ArrayIndexOutOfBoundsException: 0
at 
org.apache.jmeter.samplers.SampleEvent.getVarValue(SampleEvent.java:143)
at 
org.apache.jmeter.save.CSVSaveService.resultToDelimitedString(CSVSaveService.java:843)
at 
org.apache.jmeter.save.CSVSaveService.resultToDelimitedString(CSVSaveService.java:681)
at 
org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:433)
at 
org.apache.jmeter.samplers.RemoteSampleListenerImpl.sampleOccurred(RemoteSampleListenerImpl.java:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown 
Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown 
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) 

-Original Message-
From: Steve Kapinos [mailto:steve.kapi...@tandberg.com] 
Sent: 23 January 2009 15:00
To: JMeter Users List
Subject: RE: Remote testing

Look in jmeter.log probably

Permissions on file directory?  File paths changed?

-Original Message-
From: Duncan Davidson [mailto:ddavi...@staffmail.ed.ac.uk]
Sent: Friday, January 23, 2009 9:56 AM
To: JMeter Users List
Subject: Remote testing

Hi

I have been running a test remotely and logging using a Simple Data Writer. For 
some reason it has suddenly stopped logging unless the test is run on the local 
machine. I have added other listeners and (for
example) the graph results shows the results from remote test but the file part 
of it still won't output.

Any ideas?

Thanks
Duncan


--
The University of Edinburgh is a charitable body, registered in Scotland, with 
registration number SC005336.


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


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




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



AW: JMeter parameters for remote testing

2008-11-10 Thread Rigazzi Beat (IT-BA-PT)
Thanks for the hint with the server log.

The problem was that JMeter changes the base dir when loading a test from the 
gui. This is not done when a test is run in remote mode. Now I use absolute 
paths and it works in gui and in remote mode

Beat.

-Ursprüngliche Nachricht-
Von: sebb [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 6. November 2008 03:07
An: JMeter Users List
Betreff: Re: JMeter parameters for remote testing


On 05/11/2008, Rigazzi Beat (IT-BA-PT) [EMAIL PROTECTED] wrote:
 Hi everybody,

  I have the following problem / error with JMeter 2.3.2.

  Any suggestions?

  Many greets

  Beat.

  ---
  When a test with a CSV data set is run remotely (by one or more
 remote instances of JMeter), $-variables are not replaced.

  Example:
  - Test Setup:
   Test plan uses a csv data set with parameters paramA,paramB (limiter is 
 comma ',').
   The only JavaRequest uses input parameters paramA as ${paramA} and
 paramB as ${paramB}.
  - Test plan execution works fine when run on the local machine from JMeter 
 gui.
  - Test plan runs with incorrect parameters when run remotely.
   Parameters are not replaced: parameter values are ${paramA} and 
 {$paramB} (instead of actual csv values).
  ---

Check the server logs.
Ensure that the file used by CSV Dataset is present on the server nodes.

  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JMeter parameters for remote testing

2008-11-10 Thread sebb
On 10/11/2008, Rigazzi Beat (IT-BA-PT) [EMAIL PROTECTED] wrote:
 Thanks for the hint with the server log.

  The problem was that JMeter changes the base dir when loading a test from 
 the gui.

I think the intention was to allow the JMX and data files to be in the
same directory, without needing to specify a path, but it is a bit
confusing.

 This is not done when a test is run in remote mode. Now I use absolute paths 
 and it works in gui and in remote mode

  Beat.

  -Ursprüngliche Nachricht-
  Von: sebb [mailto:[EMAIL PROTECTED]
  Gesendet: Donnerstag, 6. November 2008 03:07
  An: JMeter Users List
  Betreff: Re: JMeter parameters for remote testing



  On 05/11/2008, Rigazzi Beat (IT-BA-PT) [EMAIL PROTECTED] wrote:
   Hi everybody,
  
I have the following problem / error with JMeter 2.3.2.
  
Any suggestions?
  
Many greets
  
Beat.
  
---
When a test with a CSV data set is run remotely (by one or more
   remote instances of JMeter), $-variables are not replaced.
  
Example:
- Test Setup:
 Test plan uses a csv data set with parameters paramA,paramB (limiter is 
 comma ',').
 The only JavaRequest uses input parameters paramA as ${paramA} and
   paramB as ${paramB}.
- Test plan execution works fine when run on the local machine from 
 JMeter gui.
- Test plan runs with incorrect parameters when run remotely.
 Parameters are not replaced: parameter values are ${paramA} and 
 {$paramB} (instead of actual csv values).
---

  Check the server logs.
  Ensure that the file used by CSV Dataset is present on the server nodes.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  
  

  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JMeter parameters for remote testing

2008-11-05 Thread Rigazzi Beat (IT-BA-PT)
Hi everybody,

I have the following problem / error with JMeter 2.3.2.

Any suggestions?

Many greets

Beat.

---
When a test with a CSV data set is run remotely (by one or more remote 
instances of JMeter), $-variables are not replaced.

Example:
- Test Setup:
  Test plan uses a csv data set with parameters paramA,paramB (limiter is comma 
',').
  The only JavaRequest uses input parameters paramA as ${paramA} and paramB as 
${paramB}.
- Test plan execution works fine when run on the local machine from JMeter gui.
- Test plan runs with incorrect parameters when run remotely.
  Parameters are not replaced: parameter values are ${paramA} and {$paramB} 
(instead of actual csv values).
---

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JMeter parameters for remote testing

2008-11-05 Thread sebb
On 05/11/2008, Rigazzi Beat (IT-BA-PT) [EMAIL PROTECTED] wrote:
 Hi everybody,

  I have the following problem / error with JMeter 2.3.2.

  Any suggestions?

  Many greets

  Beat.

  ---
  When a test with a CSV data set is run remotely (by one or more remote 
 instances of JMeter), $-variables are not replaced.

  Example:
  - Test Setup:
   Test plan uses a csv data set with parameters paramA,paramB (limiter is 
 comma ',').
   The only JavaRequest uses input parameters paramA as ${paramA} and paramB 
 as ${paramB}.
  - Test plan execution works fine when run on the local machine from JMeter 
 gui.
  - Test plan runs with incorrect parameters when run remotely.
   Parameters are not replaced: parameter values are ${paramA} and 
 {$paramB} (instead of actual csv values).
  ---

Check the server logs.
Ensure that the file used by CSV Dataset is present on the server nodes.

  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JMeter parameters for remote testing

2008-11-05 Thread Sipathamandla
I will answer with a question, is the CSV file also sent to the remote
server? I believe is has to be physically accessible by the remote server,
copy the file to the remote server and use relative paths.

Sipathamandla Shoko
Software Developer
Dariel Solutions - http://www.dariel.co.za






2008/11/6 Rigazzi Beat (IT-BA-PT) [EMAIL PROTECTED]

 Hi everybody,

 I have the following problem / error with JMeter 2.3.2.

 Any suggestions?

 Many greets

 Beat.

 ---
 When a test with a CSV data set is run remotely (by one or more remote
 instances of JMeter), $-variables are not replaced.

 Example:
 - Test Setup:
  Test plan uses a csv data set with parameters paramA,paramB (limiter is
 comma ',').
  The only JavaRequest uses input parameters paramA as ${paramA} and paramB
 as ${paramB}.
 - Test plan execution works fine when run on the local machine from JMeter
 gui.
 - Test plan runs with incorrect parameters when run remotely.
  Parameters are not replaced: parameter values are ${paramA} and
 {$paramB} (instead of actual csv values).
 ---

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




RE: Number of User Settings for Remote Testing

2008-08-22 Thread Fitzpatrick, Adrian

Hi, 

Yes you are correct, it would be 20 in your example - in general its N x
number of threads in JMX file, where N is number of remote machines. 

Where I've found this really annoying is if you want do ramp up over time.
Say you have 50 threads in the JMX and 10 machines, and you wanted to
steadily increase the load up to the max level of 500 simultaneous users. In
a remote test scenario, you are limited to increasing the load in step
amounts based on the number of machines. I.e. id like to be able to do - 1 ..
2 .. 3 .. 4 .. up to 500 threads, say over 4 hours, but in reality all you
can do is 10 .. 20 .. 30 .. etc.

If anyone knows of a good solution for this, please let me know!

Adrian

-Original Message-
From: Turkel, David [mailto:[EMAIL PROTECTED]
Sent: 22 August 2008 00:02
To: jmeter-user@jakarta.apache.org
Subject: Number of User Settings for Remote Testing


I apologize for what seems like a simple question, but I cannot find a
definitive answer in the documentation or online:

 

If I'm executing tests across N clients, how is the number of
threads/users setup in a thread group used?

 

Is it cumulative, meaning the number of users will the total across all
N clients, or will it be a number of threads/users on each client?

 

For example, if I have 2 clients and set my number of threads/users to
be 10 will I end up running with 10 or 20 total threads/users.

 

My assumption was that it would be 20 (10 per client).

 

Thanks,

 

Dave





This message has been delivered to the Internet by the Revenue Internet e-mail 
service (OP)

*

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Number of User Settings for Remote Testing

2008-08-21 Thread Turkel, David
I apologize for what seems like a simple question, but I cannot find a
definitive answer in the documentation or online:

 

If I'm executing tests across N clients, how is the number of
threads/users setup in a thread group used?

 

Is it cumulative, meaning the number of users will the total across all
N clients, or will it be a number of threads/users on each client?

 

For example, if I have 2 clients and set my number of threads/users to
be 10 will I end up running with 10 or 20 total threads/users.

 

My assumption was that it would be 20 (10 per client).

 

Thanks,

 

Dave



Re: Number of User Settings for Remote Testing

2008-08-21 Thread sebb
On 22/08/2008, Turkel, David [EMAIL PROTECTED] wrote:
 I apologize for what seems like a simple question, but I cannot find a
  definitive answer in the documentation or online:



  If I'm executing tests across N clients, how is the number of
  threads/users setup in a thread group used?



  Is it cumulative, meaning the number of users will the total across all
  N clients, or will it be a number of threads/users on each client?



  For example, if I have 2 clients and set my number of threads/users to
  be 10 will I end up running with 10 or 20 total threads/users.



  My assumption was that it would be 20 (10 per client).


In client-server (remote) mode, the test plan is sent to every server,
and each server executes the test plan.

So if the test plan has 10 threads, and the client JMeter sends the
test to 2 servers, then there will be 10 * 2 = 20 threads in total.


  Thanks,



  Dave



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: NPE with SimpleDataWriter and Remote testing

2008-08-10 Thread sebb
On 29/07/2008, HughRodgers [EMAIL PROTECTED] wrote:

  I have a test plan that uses the SimpleDataWriter (and no other listeners).
  When I run it locally in GUI mode, the test results are written to the file
  specified in the SimpleDataWriter. I then copy this test plan to the JMeter
  remote/slave machines and run the test from the master JMeter GUI. The test
  runs fine (I see the expected rows added to my database), but the results
  file is empty. I look in the master JMeter's jmeter.log file and see
  numerous NPEs for jmeter.reporters.ResultCollector.

  Any ideas why the SimpleDataWriter would not work when I run my test plan
  remotely?


Can you provide a bit more detail, e.g. JMeter version, and snippets
from the client and server log files?

  Thanks.

  Hugh Rodgers


  --
  View this message in context: 
 http://www.nabble.com/NPE-with-SimpleDataWriter-and-Remote-testing-tp18720028p18720028.html
  Sent from the JMeter - User mailing list archive at Nabble.com.


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



NPE with SimpleDataWriter and Remote testing

2008-07-29 Thread HughRodgers

I have a test plan that uses the SimpleDataWriter (and no other listeners).
When I run it locally in GUI mode, the test results are written to the file
specified in the SimpleDataWriter. I then copy this test plan to the JMeter
remote/slave machines and run the test from the master JMeter GUI. The test
runs fine (I see the expected rows added to my database), but the results
file is empty. I look in the master JMeter's jmeter.log file and see
numerous NPEs for jmeter.reporters.ResultCollector.

Any ideas why the SimpleDataWriter would not work when I run my test plan
remotely?

Thanks.

Hugh Rodgers

-- 
View this message in context: 
http://www.nabble.com/NPE-with-SimpleDataWriter-and-Remote-testing-tp18720028p18720028.html
Sent from the JMeter - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem with remote testing, test scenario only running the first sampler

2008-04-22 Thread Romain Dorgueil

Hello

I'm new to this list, and to JMeter, so maybe (for sure?) I did 
something wrong, but I tryed tuning and hacking as much as I could and I 
still have the same problem.


Here it is

I wrote a test scenario, that works just as I wanted if ran locally 
(with or without the gui). Basically, it runs one request every seconds 
in each threads from this sampler list: fetch an homepage, try to login 
and fail, try to log and success, browse some pages, logout, reload 
homepage.


As said, if I run this scenario with the local client, it works just 
fine. But for my needs, I need to have 8 machines running this 
simultaneous, so I installed JMeter on a test machine, and ran 
jmeter-server.bat which launches successfully. Then, I added its IP to 
jmeter.properties, and asked my GUI to make the server run the test 
scenario. Server displays Starting the test on host x.y.z.w @ ..


I then switch to my web server and tail -f the access log to see if 
everything is fine, but each threads only run the first sampler of my 
scenario... whatever I do, all following requests are not sent...


I really can't figure out what I did wrong, I hope someone help cause 
I'm a bit lost^^


Thanks

Romain Dorgueil
Symfony developer
http://www.symfony-project.com/
http://www.sensiolabs.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with remote testing, test scenario only running the first sampler

2008-04-22 Thread Romain Dorgueil
ok, just found the reason: JMeter server batch launch script does not 
like being launched under cygwin environment.


sorry for the noise :)

Romain Dorgueil a écrit :

Hello

I'm new to this list, and to JMeter, so maybe (for sure?) I did 
something wrong, but I tryed tuning and hacking as much as I could and 
I still have the same problem.


Here it is

I wrote a test scenario, that works just as I wanted if ran locally 
(with or without the gui). Basically, it runs one request every 
seconds in each threads from this sampler list: fetch an homepage, try 
to login and fail, try to log and success, browse some pages, logout, 
reload homepage.


As said, if I run this scenario with the local client, it works just 
fine. But for my needs, I need to have 8 machines running this 
simultaneous, so I installed JMeter on a test machine, and ran 
jmeter-server.bat which launches successfully. Then, I added its IP to 
jmeter.properties, and asked my GUI to make the server run the test 
scenario. Server displays Starting the test on host x.y.z.w @ ..


I then switch to my web server and tail -f the access log to see if 
everything is fine, but each threads only run the first sampler of my 
scenario... whatever I do, all following requests are not sent...


I really can't figure out what I did wrong, I hope someone help cause 
I'm a bit lost^^


Thanks

Romain Dorgueil
Symfony developer
http://www.symfony-project.com/
http://www.sensiolabs.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with remote testing, test scenario only running the first sampler

2008-04-22 Thread sebb
On 22/04/2008, Romain Dorgueil [EMAIL PROTECTED] wrote:
 ok, just found the reason: JMeter server batch launch script does not like
 being launched under cygwin environment.


The jmeter-server script works fine for me on Cygwin - what problem did you see?

What does the jmeter-server.log file show?

  sorry for the noise :)

  Romain Dorgueil a écrit :


  Hello
 
  I'm new to this list, and to JMeter, so maybe (for sure?) I did something
 wrong, but I tryed tuning and hacking as much as I could and I still have
 the same problem.
 
  Here it is
 
  I wrote a test scenario, that works just as I wanted if ran locally (with
 or without the gui). Basically, it runs one request every seconds in each
 threads from this sampler list: fetch an homepage, try to login and fail,
 try to log and success, browse some pages, logout, reload homepage.
 
  As said, if I run this scenario with the local client, it works just fine.
 But for my needs, I need to have 8 machines running this simultaneous, so I
 installed JMeter on a test machine, and ran jmeter-server.bat which launches
 successfully. Then, I added its IP to jmeter.properties, and asked my GUI to
 make the server run the test scenario. Server displays Starting the test on
 host x.y.z.w @ ..
 
  I then switch to my web server and tail -f the access log to see if
 everything is fine, but each threads only run the first sampler of my
 scenario... whatever I do, all following requests are not sent...
 
  I really can't figure out what I did wrong, I hope someone help cause I'm
 a bit lost^^
 
  Thanks
 
  Romain Dorgueil
  Symfony developer
  http://www.symfony-project.com/
  http://www.sensiolabs.com/


 -
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with remote testing, test scenario only running the first sampler

2008-04-22 Thread Romain Dorgueil
The error in log looks like the following. It is shown before first 
request, which is sent, and many times after, but any other request is 
not sent. In apache access_log, only the first request of each thread 
shows up.


2008/04/22 18:12:10 ERROR - jmeter.samplers.RemoteTestListenerWrapper:  
java.rmi.ConnectException: Connection refused to host: 127.0.1.1 
http://127.0.1.1; ne

sted exception is:
   java.net.ConnectException: Connection refused: connect^M
   at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)^M
   at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown 
Source)^M

   at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)^M
   at sun.rmi.server.UnicastRef.invoke(Unknown Source)^M
   at 
org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted(Unknown 
Source)^M
   at 
org.apache.jmeter.samplers.RemoteTestListenerWrapper.testStarted(RemoteTestListenerWrapper.java:65)^M
   at 
org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:233)^M
   at 
org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:364)^M

   at java.lang.Thread.run(Unknown Source)^M
Caused by: java.net.ConnectException: Connection refused: connect^M
   at java.net.PlainSocketImpl.socketConnect(Native Method)^M
   at java.net.PlainSocketImpl.doConnect(Unknown Source)^M
   at java.net.PlainSocketImpl.connectToAddress(Unknown Source)^M
   at java.net.PlainSocketImpl.connect(Unknown Source)^M
   at java.net.SocksSocketImpl.connect(Unknown Source)^M
   at java.net.Socket.connect(Unknown Source)^M
   at java.net.Socket.connect(Unknown Source)^M
   at java.net.Socket.init(Unknown Source)^M
   at java.net.Socket.init(Unknown Source)^M
   at 
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown 
Source)^M
   at 
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown 
Source)^M

   ... 9 more^M

sebb a écrit :

On 22/04/2008, Romain Dorgueil [EMAIL PROTECTED] wrote:
  

ok, just found the reason: JMeter server batch launch script does not like
being launched under cygwin environment.




The jmeter-server script works fine for me on Cygwin - what problem did you see?

What does the jmeter-server.log file show?

  

 sorry for the noise :)

 Romain Dorgueil a écrit :




Hello

I'm new to this list, and to JMeter, so maybe (for sure?) I did something
  

wrong, but I tryed tuning and hacking as much as I could and I still have
the same problem.


Here it is

I wrote a test scenario, that works just as I wanted if ran locally (with
  

or without the gui). Basically, it runs one request every seconds in each
threads from this sampler list: fetch an homepage, try to login and fail,
try to log and success, browse some pages, logout, reload homepage.


As said, if I run this scenario with the local client, it works just fine.
  

But for my needs, I need to have 8 machines running this simultaneous, so I
installed JMeter on a test machine, and ran jmeter-server.bat which launches
successfully. Then, I added its IP to jmeter.properties, and asked my GUI to
make the server run the test scenario. Server displays Starting the test on
host x.y.z.w @ ..


I then switch to my web server and tail -f the access log to see if
  

everything is fine, but each threads only run the first sampler of my
scenario... whatever I do, all following requests are not sent...


I really can't figure out what I did wrong, I hope someone help cause I'm
  

a bit lost^^


Thanks

  

 Romain Dorgueil
 Symfony developer
 http://www.symfony-project.com/
 http://www.sensiolabs.com/


-
 To unsubscribe, e-mail:
[EMAIL PROTECTED]
 For additional commands, e-mail:
[EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with remote testing, test scenario only running the first sampler

2008-04-22 Thread sebb
On 22/04/2008, Romain Dorgueil [EMAIL PROTECTED] wrote:
 The error in log looks like the following. It is shown before first request,
 which is sent, and many times after, but any other request is not sent. In
 apache access_log, only the first request of each thread shows up.

  2008/04/22 18:12:10 ERROR -
 jmeter.samplers.RemoteTestListenerWrapper:
 java.rmi.ConnectException: Connection refused to host: 127.0.1.1
 http://127.0.1.1; ne
  sted exception is:
java.net.ConnectException: Connection refused: connect^M
at
 sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown
 Source)^M
at
 sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown
 Source)^M
at

That's not a problem with the jmeter-server script; it's most likely a
network configuration problem.

As far as I can tell, nothing to do with JMeter.


 sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown
 Source)^M
at sun.rmi.server.UnicastRef.invoke(Unknown
 Source)^M
at
 org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted(Unknown
 Source)^M
at
 org.apache.jmeter.samplers.RemoteTestListenerWrapper.testStarted(RemoteTestListenerWrapper.java:65)^M
at
 org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:233)^M
at
 org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:364)^M
at java.lang.Thread.run(Unknown Source)^M
  Caused by: java.net.ConnectException: Connection refused: connect^M
at java.net.PlainSocketImpl.socketConnect(Native
 Method)^M
at java.net.PlainSocketImpl.doConnect(Unknown
 Source)^M
at java.net.PlainSocketImpl.connectToAddress(Unknown
 Source)^M
at java.net.PlainSocketImpl.connect(Unknown
 Source)^M
at java.net.SocksSocketImpl.connect(Unknown
 Source)^M
at java.net.Socket.connect(Unknown Source)^M
at java.net.Socket.connect(Unknown Source)^M
at java.net.Socket.init(Unknown Source)^M
at java.net.Socket.init(Unknown Source)^M
at
 sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
 Source)^M
at
 sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
 Source)^M
... 9 more^M

  sebb a écrit :

  On 22/04/2008, Romain Dorgueil [EMAIL PROTECTED] wrote:
 
 
   ok, just found the reason: JMeter server batch launch script does not
 like
   being launched under cygwin environment.
  
  
  
 
  The jmeter-server script works fine for me on Cygwin - what problem did
 you see?
 
  What does the jmeter-server.log file show?
 
 
 
  
sorry for the noise :)
  
Romain Dorgueil a écrit :
  
  
  
  
Hello
   
I'm new to this list, and to JMeter, so maybe (for sure?) I did
 something
   
   
   wrong, but I tryed tuning and hacking as much as I could and I still
 have
   the same problem.
  
  
Here it is
   
I wrote a test scenario, that works just as I wanted if ran locally
 (with
   
   
   or without the gui). Basically, it runs one request every seconds in
 each
   threads from this sampler list: fetch an homepage, try to login and
 fail,
   try to log and success, browse some pages, logout, reload homepage.
  
  
As said, if I run this scenario with the local client, it works just
 fine.
   
   
   But for my needs, I need to have 8 machines running this simultaneous,
 so I
   installed JMeter on a test machine, and ran jmeter-server.bat which
 launches
   successfully. Then, I added its IP to jmeter.properties, and asked my
 GUI to
   make the server run the test scenario. Server displays Starting the
 test on
   host x.y.z.w @ ..
  
  
I then switch to my web server and tail -f the access log to see if
   
   
   everything is fine, but each threads only run the first sampler of my
   scenario... whatever I do, all following requests are not sent...
  
  
I really can't figure out what I did wrong, I hope someone help cause
 I'm
   
   
   a bit lost^^
  
  
Thanks
   
   
   
Romain Dorgueil
Symfony developer
http://www.symfony-project.com/
http://www.sensiolabs.com/
  
  
  
 -
To unsubscribe, e-mail:
   [EMAIL PROTECTED]
For additional commands, e-mail:
   [EMAIL PROTECTED]
  
  
  
 
 
 -
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 



 -
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Jmeter remote testing

2008-03-17 Thread wicket0123

Thanks to everyone who tried to help here.  I was able to solved this issue. 
It turned out to be a firewall issue.  I started the slaves and was able to
telnet to 127.0.0.1 but wasn't able to telnet to the static IP. So, I asked
IT and they said they had a firewall.  Once that was turned off, everything
started working.




Ivan Rancati wrote:
 
 
 
 wicket0123 wrote:
 
 OK. I got a littler farther now after reading the Distributed Testing
 link on the JMeter site.  I'm going to list my system settings:
 
 1) I'm using jdk1.6 which resides in c:\program files\java\jdk1.6.xx
 2) I set windows environment variable JAVA_HOME to point to my jdk path
 3) I set windows environment variable JMETER_HOME to point to my jmeter
 path
 4) then, I double-click on the jmeter-server.bat file which shows 2
 consoles: 1) for the jdk...\rmiregistry, 2) for the echo of finding the
 ApacheJMeter_core.jar file
 
 5) i check jmeter.log, nothing.  check jmeter-server.log, nothing.
 6) On controller machine, i specify in jmeter.properties file
 remote_hosts=x.x.x.x
 7) start jmeter, select Run-RemoteStart-x.x.x.x.  I get connection
 refused error.
 
 8) I checked NETSTAT and it shows it is listening to 1099.  So, server
 must be up even though there's no indications in the log files.
 9) I stopped all anti virus software services through windows services. 
 stopped windows firewall on both server and client.
 
 
 Not sure but a couple of ideas
 
 - From the controller, can you telnet to port 1099 on the server?
 
 - On Linux, sometimes there is some problem with the rmiregistry
 resolution, and I can only get it to work if /etc/hosts contains the full
 ip address of the server instead of just 127.0.0.1
 Maybe you have a similar problem on Windows. If you run ifconfig on the
 server, do you see everything you expect?
 
 hth
 Ivan
 

-- 
View this message in context: 
http://www.nabble.com/Jmeter-remote-testing-tp15908003p16105002.html
Sent from the JMeter - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Jmeter remote testing

2008-03-10 Thread Ivan Rancati



wicket0123 wrote:
 
 OK. I got a littler farther now after reading the Distributed Testing
 link on the JMeter site.  I'm going to list my system settings:
 
 1) I'm using jdk1.6 which resides in c:\program files\java\jdk1.6.xx
 2) I set windows environment variable JAVA_HOME to point to my jdk path
 3) I set windows environment variable JMETER_HOME to point to my jmeter
 path
 4) then, I double-click on the jmeter-server.bat file which shows 2
 consoles: 1) for the jdk...\rmiregistry, 2) for the echo of finding the
 ApacheJMeter_core.jar file
 
 5) i check jmeter.log, nothing.  check jmeter-server.log, nothing.
 6) On controller machine, i specify in jmeter.properties file
 remote_hosts=x.x.x.x
 7) start jmeter, select Run-RemoteStart-x.x.x.x.  I get connection
 refused error.
 
 8) I checked NETSTAT and it shows it is listening to 1099.  So, server
 must be up even though there's no indications in the log files.
 9) I stopped all anti virus software services through windows services. 
 stopped windows firewall on both server and client.
 

Not sure but a couple of ideas

- From the controller, can you telnet to port 1099 on the server?

- On Linux, sometimes there is some problem with the rmiregistry resolution,
and I can only get it to work if /etc/hosts contains the full ip address of
the server instead of just 127.0.0.1
Maybe you have a similar problem on Windows. If you run ifconfig on the
server, do you see everything you expect?

hth
Ivan
-- 
View this message in context: 
http://www.nabble.com/Jmeter-remote-testing-tp15908003p15951026.html
Sent from the JMeter - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Jmeter remote testing

2008-03-08 Thread sebb
On 08/03/2008, wicket0123 [EMAIL PROTECTED] wrote:

  OK. I got a littler farther now after reading the Distributed Testing link
  on the JMeter site.  I'm going to list my system settings:

  1) I'm using jdk1.6 which resides in c:\program files\java\jdk1.6.xx
  2) I set windows environment variable JAVA_HOME to point to my jdk path
  3) I set windows environment variable JMETER_HOME to point to my jmeter path

Not strictly necessary.

  4) then, I double-click on the jmeter-server.bat file which shows 2
  consoles: 1) for the jdk...\rmiregistry, 2) for the echo of finding the
  ApacheJMeter_core.jar file

Then you are not using JMeter 2.3.1, or you have changed the properties.
There's only one window now by default.

  5) i check jmeter.log, nothing.  check jmeter-server.log, nothing.

Should only create jmeter-server.log.

Check directory and file protections.

  6) On controller machine, i specify in jmeter.properties file
  remote_hosts=x.x.x.x
  7) start jmeter, select Run-RemoteStart-x.x.x.x.  I get connection refused
  error.

  8) I checked NETSTAT and it shows it is listening to 1099.  So, server
  must be up even though there's no indications in the log files.
  9) I stopped all anti virus software services through windows services.
  stopped windows firewall on both server and client.

Are both machines using the same version of Java?

  Any help is appreciated.  thanks!   :working:


  jmeter.log shows this:

  2008/03/07 18:17:45 ERROR - jmeter.gui.action.RemoteStart: Failed to

 initialise remote engine java.rmi.ConnectException: Connection refused to
  host: 10.50.150.153; nested exception is:
 java.net.ConnectException: Connection refused: connect

 at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
 at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
 at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
 at sun.rmi.server.UnicastRef.newCall(Unknown Source)
 at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
 at java.rmi.Naming.lookup(Unknown Source)
 at
  
 org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:52)
 at
  
 org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:56)
 at
  org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:160)
 at 
 org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:73)
 at
  org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
 at
  org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
 at 
 org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
 at java.awt.event.InvocationEvent.dispatch(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown 
 Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
  Caused by: java.net.ConnectException: Connection refused: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(Unknown Source)
 at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
 at java.net.PlainSocketImpl.connect(Unknown Source)
 at java.net.SocksSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
  Source)
 at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
  Source)
 ... 20 more



 --
  View this message in context: 
 http://www.nabble.com/Jmeter-remote-testing-tp15908003p15910400.html

 Sent from the JMeter - User mailing list archive at Nabble.com.


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



request logging when remote testing without GUI

2008-03-07 Thread Tom Fernandes
Hello,

When running jmeter remote as

./jmeter -n -t foo.jmx -l mylog.jtl

it doesn't save the HTTP request. I would like to check those later when 
viewing the JTL file in the GUI.

How can I achive that?

And - how would I log other data like the Response Data as well (for 
verification purpose)?


thanks,


Tom


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: request logging when remote testing without GUI

2008-03-07 Thread sebb
On 07/03/2008, Tom Fernandes [EMAIL PROTECTED] wrote:
 Hello,

  When running jmeter remote as

  ./jmeter -n -t foo.jmx -l mylog.jtl

  it doesn't save the HTTP request. I would like to check those later when
  viewing the JTL file in the GUI.

  How can I achive that?

http://jakarta.apache.org/jmeter/usermanual/listeners.html#defaults

For other listeners see:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Sample_Result_Save_Configuration

  And - how would I log other data like the Response Data as well (for
  verification purpose)?

As above


  thanks,


  Tom


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Jmeter remote testing

2008-03-07 Thread wicket0123

Hi,
 So, I followed the steps described in this URL: 

http://jakarta.apache.org/jmeter/usermanual/remote-test.html

To recap of what I did:

1. Started jmeter-server on every machine that I want to act as load
generators
2. On the client machine, controller, edit jmeter.properties file and add
the load generators IP to the remote_hosts property.
3. On client machine, I open my test plan then select Run-Remote
Start-10.50.150.153

I am leaving port as default, 1099.  

NOTE:
   - The 2 machines are on same subnet.
   - They can ping each other
   - Windows firewall is turned off

Help is appreciated.  Thanks.


Then, I get the following error:

2008/03/07 14:27:56 ERROR - jmeter.gui.action.RemoteStart: Failed to
initialise remote engine java.rmi.ConnectException: Connection refused to
host: 10.50.150.153; nested exception is: 
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at
org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:52)
at
org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:56)
at
org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:160)
at 
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:73)
at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.init(Unknown Source)
at java.net.Socket.init(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
Source)
... 20 more



-- 
View this message in context: 
http://www.nabble.com/Jmeter-remote-testing-tp15908003p15908003.html
Sent from the JMeter - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Jmeter remote testing

2008-03-07 Thread sebb
On 07/03/2008, wicket0123 [EMAIL PROTECTED] wrote:

  Hi,
  So, I followed the steps described in this URL:

  http://jakarta.apache.org/jmeter/usermanual/remote-test.html

Which version of JMeter?

  To recap of what I did:

  1. Started jmeter-server on every machine that I want to act as load
  generators
  2. On the client machine, controller, edit jmeter.properties file and add
  the load generators IP to the remote_hosts property.
  3. On client machine, I open my test plan then select Run-Remote
  Start-10.50.150.153

  I am leaving port as default, 1099.

  NOTE:
- The 2 machines are on same subnet.
- They can ping each other

Can you telnet to port 1099 on the server system?

- Windows firewall is turned off

  Help is appreciated.  Thanks.


  Then, I get the following error:

  2008/03/07 14:27:56 ERROR - jmeter.gui.action.RemoteStart: Failed to
  initialise remote engine java.rmi.ConnectException: Connection refused to
  host: 10.50.150.153; nested exception is:
 java.net.ConnectException: Connection refused: connect

This suggests that the server is not running on the remote port.

 at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
 at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
 at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
 at sun.rmi.server.UnicastRef.newCall(Unknown Source)
 at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
 at java.rmi.Naming.lookup(Unknown Source)
 at
  
 org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:52)
 at
  
 org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:56)
 at
  org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:160)
 at 
 org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:73)
 at
  org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
 at
  org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
 at 
 org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
 at java.awt.event.InvocationEvent.dispatch(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown 
 Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
  Caused by: java.net.ConnectException: Connection refused: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(Unknown Source)
 at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
 at java.net.PlainSocketImpl.connect(Unknown Source)
 at java.net.SocksSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
  Source)
 at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
  Source)
 ... 20 more

What does the server log say?




  --
  View this message in context: 
 http://www.nabble.com/Jmeter-remote-testing-tp15908003p15908003.html
  Sent from the JMeter - User mailing list archive at Nabble.com.


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Jmeter remote testing

2008-03-07 Thread wicket0123

I am running JMeter 2.3.1.  The server log is empty.  



sebb-2-2 wrote:
 
 On 07/03/2008, wicket0123 [EMAIL PROTECTED] wrote:

  Hi,
  So, I followed the steps described in this URL:

  http://jakarta.apache.org/jmeter/usermanual/remote-test.html
 
 Which version of JMeter?
 
  To recap of what I did:

  1. Started jmeter-server on every machine that I want to act as load
  generators
  2. On the client machine, controller, edit jmeter.properties file and
 add
  the load generators IP to the remote_hosts property.
  3. On client machine, I open my test plan then select Run-Remote
  Start-10.50.150.153

  I am leaving port as default, 1099.

  NOTE:
- The 2 machines are on same subnet.
- They can ping each other
 
 Can you telnet to port 1099 on the server system?
 
- Windows firewall is turned off

  Help is appreciated.  Thanks.


  Then, I get the following error:

  2008/03/07 14:27:56 ERROR - jmeter.gui.action.RemoteStart: Failed to
  initialise remote engine java.rmi.ConnectException: Connection refused
 to
  host: 10.50.150.153; nested exception is:
 java.net.ConnectException: Connection refused: connect
 
 This suggests that the server is not running on the remote port.
 
 at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
 at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown
 Source)
 at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
 at sun.rmi.server.UnicastRef.newCall(Unknown Source)
 at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
 at java.rmi.Naming.lookup(Unknown Source)
 at
 
 org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:52)
 at
 
 org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:56)
 at
 
 org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:160)
 at
 org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:73)
 at
 
 org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
 at
 
 org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
 at
 org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
 at java.awt.event.InvocationEvent.dispatch(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
 Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
 Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
  Caused by: java.net.ConnectException: Connection refused: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(Unknown Source)
 at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
 at java.net.PlainSocketImpl.connect(Unknown Source)
 at java.net.SocksSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at
 sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
  Source)
 at
 sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
  Source)
 ... 20 more
 
 What does the server log say?
 



  --
  View this message in context:
 http://www.nabble.com/Jmeter-remote-testing-tp15908003p15908003.html
  Sent from the JMeter - User mailing list archive at Nabble.com.


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Jmeter-remote-testing-tp15908003p15909732.html
Sent from the JMeter - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Jmeter remote testing

2008-03-07 Thread sebb
On 08/03/2008, wicket0123 [EMAIL PROTECTED] wrote:

  I am running JMeter 2.3.1.  The server log is empty.


It should not be empty, unless you have changed the jmeter properties file.



  sebb-2-2 wrote:
  
   On 07/03/2008, wicket0123 [EMAIL PROTECTED] wrote:
  
Hi,
So, I followed the steps described in this URL:
  
http://jakarta.apache.org/jmeter/usermanual/remote-test.html
  
   Which version of JMeter?
  
To recap of what I did:
  
1. Started jmeter-server on every machine that I want to act as load
generators
2. On the client machine, controller, edit jmeter.properties file and
   add
the load generators IP to the remote_hosts property.
3. On client machine, I open my test plan then select Run-Remote
Start-10.50.150.153
  
I am leaving port as default, 1099.
  
NOTE:
  - The 2 machines are on same subnet.
  - They can ping each other
  
   Can you telnet to port 1099 on the server system?
  
  - Windows firewall is turned off
  
Help is appreciated.  Thanks.
  
  
Then, I get the following error:
  
2008/03/07 14:27:56 ERROR - jmeter.gui.action.RemoteStart: Failed to
initialise remote engine java.rmi.ConnectException: Connection refused
   to
host: 10.50.150.153; nested exception is:
   java.net.ConnectException: Connection refused: connect
  
   This suggests that the server is not running on the remote port.
  
   at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
   at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown
   Source)
   at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
   at sun.rmi.server.UnicastRef.newCall(Unknown Source)
   at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
   at java.rmi.Naming.lookup(Unknown Source)
   at
  
   
 org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:52)
   at
  
   
 org.apache.jmeter.engine.ClientJMeterEngine.init(ClientJMeterEngine.java:56)
   at
  
   
 org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:160)
   at
   org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:73)
   at
  
   
 org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
   at
  
   org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
   at
   org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
   Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
   Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(Unknown Source)
   at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
   at java.net.PlainSocketImpl.connect(Unknown Source)
   at java.net.SocksSocketImpl.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.init(Unknown Source)
   at java.net.Socket.init(Unknown Source)
   at
   sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
Source)
   at
   sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
Source)
   ... 20 more
  
   What does the server log say?
  
  
  
  
--
View this message in context:
   http://www.nabble.com/Jmeter-remote-testing-tp15908003p15908003.html
Sent from the JMeter - User mailing list archive at Nabble.com.
  
  
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  


 --
  View this message in context: 
 http://www.nabble.com/Jmeter-remote-testing-tp15908003p15909732.html

 Sent from the JMeter - User mailing list archive at Nabble.com.


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  1   2   3   >