yanne / api-test

0 stars 0 forks source link

SSH library 1.1 #67

Closed yanne closed 10 years ago

yanne commented 10 years ago

I am in process of automating iperf tests whose flows is as follows session 1 -

session 2 -

session 3 -

switch to session 1 - collect logs of server ... do some server log processing for errors. if the log contails killed ... then it was a pass case else if any failure message mark the entire test failed.

I am tried to create 3 connections but Login API failed as below: ============= log ===================================== Start / End / Elapsed: 20130516 17:12:32.409 / 20130516 17:12:32.410 / 00:00:00.001 17:12:32.409 INFO Logging into '3:22' as 'root'. 17:12:32.410 FAIL TypeError: getaddrinfo() argument 1 must be string or None ============== test case ===================== [Documentation] Write and Read keywords operate on CS session, so state between keyword calls is preserved.

${server}=                      Open Connection   ${SERVER}     prompt=${SERVERPROMPT}
Login                           ${SERVERUSERNAME}    ${SERVERPASSWORD}

${client}=                      Open Connection   ${CLIENT}     prompt=${CLIENTPROMPT}
Login                           ${CLIENTUSERNAME}    ${CLIENTPASSWORD}

${serverkill}=                  Open Connection   ${SERVER}     prompt=${SERVERPROMPT}
Login                           ${SERVERUSERNAME}    ${SERVERPASSWORD}

This issue was originally opened at Google Code on May 16, 2013.

yanne commented 10 years ago

Original comment by reachpar...@gmail.com on May 28, 2013.

please close this defect