stans2k / jmeter-ssh-sampler

Automatically exported from code.google.com/p/jmeter-ssh-sampler
0 stars 0 forks source link

When using jmeter CLI and SSH sampler, jmeter does not exit properly (ETMHRIE) #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use 0.1.0 version of SSH Sampler
2. Create test case with SSH sampler
3. Run jmeter with non-gui mode

What is the expected output? 
Test case run and jmeter exits.

What do you see instead?
Jmeter just hangs and ctrl-c is needed to stop it. So it is not possible to
run multiple .jmx testcases.

What version of the product are you using? On what operating system?
0.1.0 Windows and Unix

Please provide any additional information below.
It seems the bug is that only a channel is disconnected and not the
session. I updated the method SampleResult sample(Entry e) so that at the
end the session is nicely disconnected as well; this seems to solve the
problem.

Original issue reported on code.google.com by h.riet...@gmail.com on 22 Apr 2010 at 2:15

Attachments:

GoogleCodeExporter commented 8 years ago
Updated the SSH sampler to now also include the name entered for the sampler so 
it is more clear in the result window which sampler was run:

Old output: <User Name:>@<Hostname:>:<Port:> 

New output: <Name:> (<User Name:>@<Hostname:>:<Port:>)

Original comment by h.riet...@gmail.com on 27 Aug 2010 at 2:48

Attachments: