aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources
diff options
context:
space:
mode:
authorSylwia Jakubek <sylwia.jakubek@nokia.com>2021-07-27 13:56:26 +0200
committerSylwia Jakubek <sylwia.jakubek@nokia.com>2021-07-27 13:56:26 +0200
commit4fa69b4d9ad2faeb137ce390a5f09824fd3f797d (patch)
treea855068b2985d82bd5b461f27e890bf44f52fb99 /robot/resources
parent3434a5a3018770bbe1c95bd32762aed3545516d8 (diff)
Cmpv2 robot testcase fails when using proxy
Issue-ID: TEST-353 Signed-off-by: Sylwia Jakubek <sylwia.jakubek@nokia.com> Change-Id: I5bcaccaffcf4c8c07d15c1cc3cf48a1b5906ef85
Diffstat (limited to 'robot/resources')
-rw-r--r--robot/resources/test_templates/cmpv2.robot3
1 files changed, 1 insertions, 2 deletions
diff --git a/robot/resources/test_templates/cmpv2.robot b/robot/resources/test_templates/cmpv2.robot
index e1fd30f7..43570f25 100644
--- a/robot/resources/test_templates/cmpv2.robot
+++ b/robot/resources/test_templates/cmpv2.robot
@@ -23,12 +23,11 @@ ${users} ${EXECDIR}/robot/assets/cmpv2/mongo-users.json
*** Keywords ***
VES Client send single VES event
[Arguments] ${event} ${ves_host} ${ves_port} ${pnf_sim_host} ${pnf_sim_port} ${http_reposnse_code}=202
- ${pnf_sim_endpoint}= Set Variable http://${pnf_sim_host}:${pnf_sim_port}
+ ${pnf_sim_endpoint}= Set Variable http://${pnf_sim_host}.onap:${pnf_sim_port}
${ves_url}= Set Variable ${GLOBAL_DCAE_VES_HTTPS_PROTOCOL}://${ves_host}:${ves_port}/${VES_data_path}
${single_event}= Create Dictionary event=${event} ves_url=${ves_url}
Templating.Create Environment pnf ${GLOBAL_TEMPLATE_FOLDER}
${data}= Templating.Apply Template pnf ${pnf_simulator_single_event} ${single_event}
- ${pnf_sim_endpoint}= Set Variable http://${pnf_sim_host}:${pnf_sim_port}
${session}= Create Session pnf_sim ${pnf_sim_endpoint}
${headers}= Create Dictionary Accept=application/json Content-Type=application/json
${post_resp}= Post Request pnf_sim ${single_event_data_path} data=${data} headers=${headers}