Jmeter run in GUI mode from putty on remote Linux machine.
Please do the following steps to see the Jmeter window.
1. Install Xming ( http://www.straightrunning.com/XmingNotes/ ) on windows.
Download Source (install with portable putty enabled option.)
http://sourceforge.net/projects/xming/
2. Enable the X11 forwarding in putty.
3. Xming installation directory there is a host file C:\Program Files\Xming\X0.hosts
Edit: X0.hosts (lay in the installation directory)
add the ip you want to allow. my X0.hosts
“localhost
10.6.9.21″
Here 10.6.9.21 is the ip address of Linux machine.
4. Start your SSH session
5. On your ssh remote session, put this :
DISPLAY=YOUR_IP_WINDOWS:0.0
export DISPLAY
(Replace YOUR_IP by the IP of your windows)
Verify display is set or not
Type echo $DISPLAY
Still if you are not able to set Display variable value
Then update in profile file
Note: Here 10.193.68.125 is the ip address of windows machine
6. set up to permit X forwarding on Linux machine
Configure the /etc/ssh/sshd_config file
Your sshd_config file should have something like:
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
7. Start the Xming server on Windows machine.
8. Run the putty
9. Now navigate to jmeter bin folder and run jmeter.sh file
Reference links
http://jmeter.512774.n5.nabble.com/Jmeter-run-on-Linux-using-putty-tp4364104p4364687.html
http://en.gentoo-wiki.com/wiki/X-Forwarding
No comments:
Post a Comment