Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 68 by [email protected]: SSH 1.1 output buffers in report logs
http://code.google.com/p/robotframework-sshlibrary/issues/detail?id=68
I am in process of automating iperf tests as below:
============================================================
*** Test Cases ***
Execute single commmand on SERVER
Open connection and login to SERVER
${result}= Execute command ${LS}
${result}= Execute command ${DATE}
${result}= Execute command ${HOSTNAME}
Close Connection
Execute single commmand on CLIENT
Open connection and login to CLIENT
${result}= Execute command ${LS}
${result}= Execute command ${DATE}
${result}= Execute command ${HOSTNAME}
Close Connection
iperf tests in session
[Documentation] Start Client Server
Commands
${server}= Open Connection
${SERVER} prompt=${SERVERPROMPT}
Login ${SERVERUSERNAME}
${SERVERPASSWORD}
Start Command ${SERVERIPERFCMD}
${client}= Open Connection
${CLIENT} prompt=${CLIENTPROMPT}
Login ${CLIENTUSERNAME}
${CLIENTPASSWORD}
${clientout} ${clienterr} ${clientrc}= Execute Command ${CLIENTIPERFCMD}
return_stderr=yes return_rc=true
Switch Connection ${server}
Write ${SERVERKILLCMD}
${serverout} ${servererr} ${serverrc}= Read Command Output
return_stderr=yes return_rc=true
Close All Connections
*** Settings ***
Resource iperf_include.txt
===========================================================
but somehow the output of client/server is limited and i do not see more
numbers.
below is output I see:
=============================================================
KEYWORD: ${clientout}, ${clienterr}, ${clientrc} = SSHLibrary.Execute
Command ${CLIENTIPERFCMD}, return_stderr=yes, return_rc=true
Documentation: Executes command and returns combination of stdout, stderr
and return code.
Start / End / Elapsed: 20130516 19:01:22.213 / 20130516 19:01:52.345 /
00:00:30.132
19:01:52.345 INFO Executing command 'iperf -i 15 -c 192.168.77.63 -P 4 -t
30'
19:01:52.345 INFO ${clientout} =
------------------------------------------------------------
Client connecting to 192.168.77.63, TCP port 5001
TCP window size: 16.0 KByte (default)
---------------------------------------------------...
19:01:52.345 INFO ${clienterr} =
19:01:52.345 INFO ${clientrc} = 0
========================================================
I see similar "LIMITED" output on server side.
Does pybot truncate the OUTPUT ?
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.