... manually before initializing this resource.
Library SSHLibrary
Resource ${CURDIR}/NexusKeywords.robot
+Resource ${CURDIR}/SetupUtils.robot
Resource ${CURDIR}/SSHKeywords.robot
Resource ${CURDIR}/Utils.robot
${options}= BuiltIn.Set_Variable --ip ${ip} --port ${port} --edits ${count}
${options}= BuiltIn.Set_Variable ${options} --edit-content request1.json --async-requests ${async}
${options}= BuiltIn.Set_Variable ${options} --auth ${user} ${password}
- ${options}= BuiltIn.Set_Variable ${options} --destination ${url}
+ ${timeout_in_minutes}= Utils.Convert_To_Minutes ${timeout}
+ ${options}= BuiltIn.Set_Variable ${options} --timeout ${timeout_in_minutes} --destination ${url}
${command}= BuiltIn.Set_Variable ${RestPerfClient__restperfclient_invocation_command_prefix} ${options}
BuiltIn.Log Running restperfclient: ${command}
SSHLibrary.Switch_Connection ${RestPerfClient__restperfclient}
SSHLibrary.Set_Client_Configuration timeout=${timeout}
- Set_Known_Bug_Id 5413
+ SetupUtils.Set_Known_Bug_Id 5413
Execute_Command_Passes ${command} >${RestPerfClient__restperfclientlog} 2>&1
- Set_Unknown_Bug_Id
+ SetupUtils.Set_Unknown_Bug_Id
${result}= Grep_Restperfclient_Log FINISHED. Execution time:
BuiltIn.Should_Not_Be_Equal '${result}' ''
Grep_Restperfclient_Log
- [Documentation] Search for the specified string in the log file produced by latest invocation of RestPerfClient
[Arguments] ${pattern}
+ [Documentation] Search for the specified string in the log file produced by latest invocation of RestPerfClient
BuiltIn.Should_Not_Be_Equal '${RestPerfClient__restperfclientlog}' ''
${result}= SSHLibrary.Execute_Command grep '${pattern}' ${RestPerfClient__restperfclientlog}
[Return] ${result}