You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team, I am using K6 SSH extension to simulate SSH load. Created a small script where connectivity is happening but getting below error while running 'ls' command. How can avoid below issue?
` execution: local
script: sshlauncher.js
output: -
scenarios: (100.00%) 1 scenario, 1 max VUs, 10m30s max duration (incl. graceful stop):
* default: 1 iterations for each of 1 VUs (maxDuration: 10m0s, gracefulStop: 30s)
ERRO[0003] GoError: wait: remote command exited without exit status or exit signal
running at reflect.methodValueCall (native)
default at file:///C:/k6scripts/sshlauncher/sshlauncher.js:12:11(19) executor=per-vu-iterations scenario=default source=stacktrace
Hi Team, I am using K6 SSH extension to simulate SSH load. Created a small script where connectivity is happening but getting below error while running 'ls' command. How can avoid below issue?
` execution: local
script: sshlauncher.js
output: -
scenarios: (100.00%) 1 scenario, 1 max VUs, 10m30s max duration (incl. graceful stop):
* default: 1 iterations for each of 1 VUs (maxDuration: 10m0s, gracefulStop: 30s)
ERRO[0003] GoError: wait: remote command exited without exit status or exit signal
running at reflect.methodValueCall (native)
default at file:///C:/k6scripts/sshlauncher/sshlauncher.js:12:11(19) executor=per-vu-iterations scenario=default source=stacktrace
running (00m02.2s), 0/1 VUs, 1 complete and 0 interrupted iterations
default ✓ [======================================] 1 VUs 00m02.2s/10m0s 1/1 iters, 1 per VU`
Script:
`import ssh from 'k6/x/ssh';
import { sleep } from 'k6';
export default function () {
ssh.connect({
username: 'user1',
password: 'password1',
host: '10.10.10.10',
port: 22
})
console.log(ssh.run('ls'))
sleep(10);
//console.log(ssh.run('ls -lrt'))
}`
The text was updated successfully, but these errors were encountered: