X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FRestPerfClient.robot;h=5be9901fea79ff877f7df7c91efb1208828d454e;hb=79f3bf38cc28eff345ddd025ff509abbcf0336f8;hp=14dbbb9e9d753ae0dc0da4fb319b8bed46883020;hpb=a4146ace2b5aa902ef60efe10e6557d98f257943;p=integration%2Ftest.git diff --git a/csit/libraries/RestPerfClient.robot b/csit/libraries/RestPerfClient.robot index 14dbbb9e9d..5be9901fea 100644 --- a/csit/libraries/RestPerfClient.robot +++ b/csit/libraries/RestPerfClient.robot @@ -39,6 +39,7 @@ ${RestPerfClient__restperfclientlog} ${EMPTY} *** Keywords *** Setup_Restperfclient + [Arguments] ${build_version}=${EMPTY} ${build_location}=${EMPTY} [Documentation] Deploy RestPerfClient and determine the Java command to use to call it. ... Open a SSH connection through which the RestPerfClient will be ... invoked, deploy RestPerfClient and the data files it needs to do @@ -47,8 +48,9 @@ Setup_Restperfclient ${connection}= SSHKeywords.Open_Connection_To_Tools_System BuiltIn.Set_Suite_Variable ${RestPerfClient__restperfclient} ${connection} SSHLibrary.Put_File ${CURDIR}/../variables/netconf/RestPerfClient/request1.json - ${filename}= NexusKeywords.Deploy_Test_Tool netconf netconf-testtool rest-perf-client - ${prefix}= NexusKeywords.Compose_Full_Java_Command -Xmx1G -jar ${filename} + ${filename}= Run Keyword If '${IS_KARAF_APPL}' == 'False' Set Variable ${RESTPERF_FILENAME} + ... ELSE NexusKeywords.Deploy_Test_Tool netconf netconf-testtool rest-perf-client + ${prefix}= NexusKeywords.Compose_Full_Java_Command -Xmx4G -jar ${filename} BuiltIn.Set_Suite_Variable ${RestPerfClient__restperfclient_invocation_command_prefix} ${prefix} RestPerfClient__Kill