Sunday, 26 June 2011

JMETER run in GUI mode from putty on remote Linux machine.

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.)

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
Here is the ip address of Linux machine.
4. Start your SSH session
5. On your ssh remote session, put this :
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 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



No comments:

Post a Comment

Which one is right ?