You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Flik Shen <Fl...@infosys.com> on 2010/07/14 10:18:39 UTC

Re: Is it possible connect remote server via SSH

Hi,

Now I could successfully visit remote web server via SSH tunnel.
In other words, I could run JMeter to probe remote server’s performance.
I have tunnel the local 59999 to remote server’s port 9999 then I set the server name to 127.0.0.1 and port to 59999 in JMeter HTTP request.
After triggering testing, I get correct response from remote server.

However, I have another concern that response time might not precision since network speed.
Then I try to distribution testing.
I start server on remote and keep all thing by default. (Server port and server local port to 1099, not sure about this)
I SSH tunnel local 51099 to remote server’s port 1099 and add 127.0.0.1:51099 into remote hosts list in jmeter properties file.
After restarting JMeter GUI, I could see 127.0.0.1:51099 under Run->Remote Start.
I click on item “127.0.0.1:51099” to start test and nothing happened.

What happened? Do I do anything wrong?
Please help.

Thanks and best regards,
Flik

On 5/27/10 2:49 PM, "Andrey Pohilko" <ap...@fininfor.ru> wrote:

The best tutorial I know is a hour of reading:
http://www.google.ru/search?hl=ru=1=SSH+Tunneling=f=g10 <http://www.google.ru/search?hl=ru&newwindow=1&q=SSH+Tunneling&aq=f&aqi=g10&a><http://www.google.ru/search?hl=ru&newwindow=1&q=SSH+Tunneling&aq=f&aqi=g10&a>
ql=&oq=&gs_rfai=

Simply I newbie to SSH tunneling too...

С уважением,
Андрей Похилько

-----Original Message-----
From: Flik Shen [mailto:Flik_Shen@infosys.com]
Sent: Thursday, May 27, 2010 10:42 AM
To: JMeter Users List; apc@fininfor.ru
Subject: Re: Is it possible connect remote server via SSH

Hi,

Thanks for your suggestion.

I am fresher to SSH Tunneling.
I search and get some hits about Max OS X SSH Tunneling.
However they just give some brief.
So could you please provide me some reference or guideline for this aspect?

Thanks and best regards,
Flik

On 5/26/10 4:29 PM, "Andrey Pohilko" <ap...@fininfor.ru> wrote:

Tried SSH Tunneling?


С уважением,
Андрей Похилько

-----Original Message-----
From: Flik Shen [mailto:Flik_Shen@infosys.com]
Sent: Wednesday, May 26, 2010 11:40 AM
To: JMeter Users List
Subject: Is it possible connect remote server via SSH

Hi,

My remote test environment only allows remote access via SSH connection.
I hope run Jmeter GUI from my PC and trigger remote jmeter server via SSH.
Is it possible?

Best regards,
Flik

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely

for the use of the addressee(s). If you are not the intended recipient,
please
notify the sender by e-mail and delete the original message. Further, you
are not
to copy, disclose, or distribute this e-mail or its contents to any other
person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has
taken
every reasonable precaution to minimize this risk, but is not liable for any
damage
you may sustain as a result of any virus in this e-mail. You should carry
out your
own virus checks before opening the e-mail or attachment. Infosys reserves
the
right to monitor and review the content of all messages sent to or from this
e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

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



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



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



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



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


Re: Is it possible connect remote server via SSH

Posted by Felix Frank <ff...@mpexnet.de>.
The jmeter Server actually opens two ports, one being somewhat random.
You will need to tunnel the same port on your local host to that port on
the jmeter server after it has been startet. Upon every restart of the
jmeter-server, a new tunnel will be required.

Speaking from experience only, please anyone correct me if I'm wrong.

HTH
Felix

On 07/14/2010 10:56 AM, Flik Shen wrote:
> One thing to add on.
> I checked log file “jmeter.log” and found timeout exception occurred.
> What might be the root cause?
> 
> Thanks and best regards,
> Flik


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


Re: Is it possible connect remote server via SSH

Posted by Flik Shen <Fl...@infosys.com>.
One thing to add on.
I checked log file “jmeter.log” and found timeout exception occurred.
What might be the root cause?

Thanks and best regards,
Flik

On 7/14/10 4:18 PM, "Flik Shen" <Fl...@infosys.com> wrote:

Hi,

Now I could successfully visit remote web server via SSH tunnel.
In other words, I could run JMeter to probe remote server’s performance.
I have tunnel the local 59999 to remote server’s port 9999 then I set the server name to 127.0.0.1 and port to 59999 in JMeter HTTP request.
After triggering testing, I get correct response from remote server.

However, I have another concern that response time might not precision since network speed.
Then I try to distribution testing.
I start server on remote and keep all thing by default. (Server port and server local port to 1099, not sure about this)
I SSH tunnel local 51099 to remote server’s port 1099 and add 127.0.0.1:51099 into remote hosts list in jmeter properties file.
After restarting JMeter GUI, I could see 127.0.0.1:51099 under Run->Remote Start.
I click on item “127.0.0.1:51099” to start test and nothing happened.

What happened? Do I do anything wrong?
Please help.

Thanks and best regards,
Flik

On 5/27/10 2:49 PM, "Andrey Pohilko" <ap...@fininfor.ru> wrote:

The best tutorial I know is a hour of reading:
http://www.google.ru/search?hl=ru=1=SSH+Tunneling=f=g10 <http://www.google.ru/search?hl=ru&newwindow=1&q=SSH+Tunneling&aq=f&aqi=g10&a><http://www.google.ru/search?hl=ru&newwindow=1&q=SSH+Tunneling&aq=f&aqi=g10&a> <http://www.google.ru/search?hl=ru&amp;newwindow=1&amp;q=SSH+Tunneling&amp;aq=f&amp;aqi=g10&amp;a><http://www.google.ru/search?hl=ru&amp;newwindow=1&amp;q=SSH+Tunneling&amp;aq=f&amp;aqi=g10&amp;a>
ql=&oq=&gs_rfai=

Simply I newbie to SSH tunneling too...

С уважением,
Андрей Похилько

-----Original Message-----
From: Flik Shen [mailto:Flik_Shen@infosys.com]
Sent: Thursday, May 27, 2010 10:42 AM
To: JMeter Users List; apc@fininfor.ru
Subject: Re: Is it possible connect remote server via SSH

Hi,

Thanks for your suggestion.

I am fresher to SSH Tunneling.
I search and get some hits about Max OS X SSH Tunneling.
However they just give some brief.
So could you please provide me some reference or guideline for this aspect?

Thanks and best regards,
Flik

On 5/26/10 4:29 PM, "Andrey Pohilko" <ap...@fininfor.ru> wrote:

Tried SSH Tunneling?


С уважением,
Андрей Похилько

-----Original Message-----
From: Flik Shen [mailto:Flik_Shen@infosys.com]
Sent: Wednesday, May 26, 2010 11:40 AM
To: JMeter Users List
Subject: Is it possible connect remote server via SSH

Hi,

My remote test environment only allows remote access via SSH connection.
I hope run Jmeter GUI from my PC and trigger remote jmeter server via SSH.
Is it possible?

Best regards,
Flik

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely

for the use of the addressee(s). If you are not the intended recipient,
please
notify the sender by e-mail and delete the original message. Further, you
are not
to copy, disclose, or distribute this e-mail or its contents to any other
person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has
taken
every reasonable precaution to minimize this risk, but is not liable for any
damage
you may sustain as a result of any virus in this e-mail. You should carry
out your
own virus checks before opening the e-mail or attachment. Infosys reserves
the
right to monitor and review the content of all messages sent to or from this
e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

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



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



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



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



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