From 620c5238265db3ab439440a8d3af0a59bab9955c Mon Sep 17 00:00:00 2001 From: FrancescoFioraEst Date: Fri, 18 Apr 2025 15:27:05 +0100 Subject: [PATCH] Add test in CSIT for the OutProperties messages Add test in CSIT to verify the correct order of execution of OutProperties messages in ACM. Issue-ID: POLICY-5343 Change-Id: I9423f3e67942160e66e90c92a9dbaff45576f1ae Signed-off-by: FrancescoFioraEst --- csit/resources/tests/policy-clamp-test.robot | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/csit/resources/tests/policy-clamp-test.robot b/csit/resources/tests/policy-clamp-test.robot index 806c1364..082b8ef6 100644 --- a/csit/resources/tests/policy-clamp-test.robot +++ b/csit/resources/tests/policy-clamp-test.robot @@ -240,6 +240,12 @@ SendOutPropertiesToRuntime ${auth}= ParticipantAuth ${postjson}= Get file ${CURDIR}/data/OutProperties.json ${updatedpostjson}= Replace String ${postjson} INSTACEIDPLACEHOLDER ${instanceMigrationId} + ${updatedpostjson}= Replace String ${updatedpostjson} TEXTPLACEHOLDER DumpTest + ${resp}= MakeJsonPutRequest participant ${POLICY_PARTICIPANT_SIM_IP} /onap/policy/simparticipant/v2/datas ${updatedpostjson} ${auth} + Should Be Equal As Strings ${resp.status_code} 200 + ${resp}= MakeJsonPutRequest participant ${POLICY_PARTICIPANT_SIM_IP} /onap/policy/simparticipant/v2/datas ${updatedpostjson} ${auth} + Should Be Equal As Strings ${resp.status_code} 200 + ${updatedpostjson}= Replace String ${postjson} INSTACEIDPLACEHOLDER ${instanceMigrationId} ${updatedpostjson}= Replace String ${updatedpostjson} TEXTPLACEHOLDER MyTextToSend ${resp}= MakeJsonPutRequest participant ${POLICY_PARTICIPANT_SIM_IP} /onap/policy/simparticipant/v2/datas ${updatedpostjson} ${auth} Should Be Equal As Strings ${resp.status_code} 200 -- 2.16.6