Operating System - Linux
1753977 Members
7489 Online
108811 Solutions
New Discussion юеВ

jmeter through ssh tunneling

 
JM9
New Member

jmeter through ssh tunneling

I am trying to use hpjmeter console on my PC tunneling through ssh connection. I can see the jvm instance but when I try to connect to it all I see is a message "Waiting for JVM Agent communication" and then nothing.

I can use the console on the server with Xserver but this is very slow. Has anyone done this before?
10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: jmeter through ssh tunneling

shalom,

Consider checking tcpdump, but I think this software is not compatible with being tunnelled like that.

Either that or the tunnelling is slowing down your already very slow xserver.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
JM9
New Member

Re: jmeter through ssh tunneling

Shalom!

The documentation refers to the fact that this tool can tunnel through ssh. The agent listens on a single port 9505. when the ssh is connected with -L9505:localhost:9505 I can see the tunnel established and it is confirmed by the fact that I can see the JVM instance in the console.
JZ2
Advisor

Re: jmeter through ssh tunneling

At the moment, HPjmeter doesn't make it easy to send the session data through the tunnel. When you open a session with a particular JVM, the console opens a socket on a new port for this communication.

With the current behavior of the console, I suggest that you consider running the console on the server. You can use vnc to forward the display to your pc. This results in better responsiveness than forwarding the X display directly.
JM9
New Member

Re: jmeter through ssh tunneling

This is exactly what I am doing. Using ssh to forward X traffic to my PC but this is very^n slow.

Is there a bug open to fix this in some upcoming release? - Sunit
Univer_1
Valued Contributor

Re: jmeter through ssh tunneling

Hi

Maybe a jre version problem I met before.

Some new version jre like jre-1_5_0_11 will hang on starting program.

Try use older jre like j2re-1_4_2_13.

Regards

Univer
JZ2
Advisor

Re: jmeter through ssh tunneling

Yes, remote X displays can be slow, depending on the network. It sounds like you are sending the X display over the network. I have seen much better response when running a vnc server on the same system as the console, and using a vnc client on the pc to view the display on the pc. Vnc tends to be more efficient than the X protocol over slow network links.

Yes, there is a task to improve how HPjmeter works in this situation, in a future release.
JM9
New Member

Re: jmeter through ssh tunneling

Hi Univer,

Where should 1.4.2 be used? For console?

Sunit
Univer_1
Valued Contributor

Re: jmeter through ssh tunneling

Yes, If you run the HPjmeter console on Windows systems, try to install a old jre (java runtime env).

regards

Univer
JZ2
Advisor

Re: jmeter through ssh tunneling

Univer,

I do not agree with your suggestion to run the console with an old version of Java. I run the console with 1.5.0_11 on a regular basis, and I have not experienced a problem like the one you described.

If you can reproduce this, please report it to HP. The best way to report an issue with HPjmeter is to use the form at http://www.hp.com/products1/unix/java/tools-support.html