Commit 972c0a03 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

updated interconnected test cases 11.3.1.11 and 11.3.1.12 to add missing GET VNF instance step

parent c1acc065
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -735,9 +735,9 @@ Check Postcondition VNF Status
    Check VNF Instance    ${vnfid}
    Should Not Be Empty    ${response}
    Check HTTP Response Status Code Is    200
    Should Be Equal    ${response['body']['id']}    ${vnfInstanceId}    
    Should Be Equal    ${response['body']['id']}    ${vnfid}    
    Check HTTP Response Header Contains    Content-Type
    Check HTTP Response Body Json Schema Is    vnfInstance.schema.json
    Check HTTP Response Body Json Schema Is    schemas/vnfInstance.schema.json
    Check VNF Status    ${response['body']['instantiationState']}    ${status}

Check VNF Instance
+1 −0
Original line number Diff line number Diff line
@@ -18,4 +18,5 @@ VNF instance Change External Connectivity
    GET Individual VNF Package
    POST Create a new vnfInstance
    VNF Instantiation
    Get Information about an individual VNF Instance
    VNF Change External Connectivity
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -18,4 +18,5 @@ Heal a VNF instance
    GET Individual VNF Package
    POST Create a new vnfInstance
    VNF Instantiation
    Get Information about an individual VNF Instance
    VNF Instance Heal
+2196 −0

File added.

Preview size limit exceeded, changes collapsed.

+62 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 6.0.2 (Python 3.12.0 on win32)" generated="20250102 16:33:32.123" rpa="false" schemaversion="3">
<suite id="s1" name="Test" source="C:\Users\gbern\Workspace\ETSI_STF_NFV_APIs\public\api-tests\interconnectedTestCases\SOL003\test.robot">
<test id="s1-t1" name="Test" line="7">
<kw name="Test run keyword">
<arg>STARTING</arg>
<kw name="Log" library="BuiltIn">
<arg>Test run keyword</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20250102 16:33:32.594" level="INFO">Test run keyword</msg>
<status status="PASS" starttime="20250102 16:33:32.594" endtime="20250102 16:33:32.594"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${SKIP_INTERMEDIATE_NOTIFICATION_CHECKS} == 0 or (${SKIP_INTERMEDIATE_NOTIFICATION_CHECKS} == 1 and '${status}' == 'COMPLETED')</arg>
<arg>Operation Test</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<status status="PASS" starttime="20250102 16:33:32.594" endtime="20250102 16:33:32.595"/>
</kw>
<status status="PASS" starttime="20250102 16:33:32.594" endtime="20250102 16:33:32.595"/>
</kw>
<kw name="Test run keyword">
<arg>COMPLETED</arg>
<kw name="Log" library="BuiltIn">
<arg>Test run keyword</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20250102 16:33:32.595" level="INFO">Test run keyword</msg>
<status status="PASS" starttime="20250102 16:33:32.595" endtime="20250102 16:33:32.595"/>
</kw>
<kw name="Run Keyword If" library="BuiltIn">
<arg>${SKIP_INTERMEDIATE_NOTIFICATION_CHECKS} == 0 or (${SKIP_INTERMEDIATE_NOTIFICATION_CHECKS} == 1 and '${status}' == 'COMPLETED')</arg>
<arg>Operation Test</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<kw name="Operation Test">
<kw name="Log" library="BuiltIn">
<arg>Executing Operation Tests</arg>
<doc>Logs the given message with the given level.</doc>
<msg timestamp="20250102 16:33:32.595" level="INFO">Executing Operation Tests</msg>
<status status="PASS" starttime="20250102 16:33:32.595" endtime="20250102 16:33:32.595"/>
</kw>
<status status="PASS" starttime="20250102 16:33:32.595" endtime="20250102 16:33:32.595"/>
</kw>
<status status="PASS" starttime="20250102 16:33:32.595" endtime="20250102 16:33:32.596"/>
</kw>
<status status="PASS" starttime="20250102 16:33:32.595" endtime="20250102 16:33:32.596"/>
</kw>
<status status="PASS" starttime="20250102 16:33:32.593" endtime="20250102 16:33:32.596"/>
</test>
<status status="PASS" starttime="20250102 16:33:32.125" endtime="20250102 16:33:32.596"/>
</suite>
<statistics>
<total>
<stat pass="1" fail="0" skip="0">All Tests</stat>
</total>
<tag>
</tag>
<suite>
<stat pass="1" fail="0" skip="0" id="s1" name="Test">Test</stat>
</suite>
</statistics>
<errors>
</errors>
</robot>
Loading