<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 7.5.1 (Python 3.10.6 on linux)" generated="2026-11-14T13:27:56.617624" rpa="false" schemaversion="5">
<suite id="s1" name="plans/dcaegen2-services-pmsh/testsuite" source="/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases">
<suite id="s1-s1" name="Pmsh" source="/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/pmsh.robot">
<test id="s1-s1-t1" name="Verify Get subscriptions with Network Functions None" line="31">
<kw name="GetSubsCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:27:56.777631" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:27:56.777033" elapsed="0.000862"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:27:56.837572" level="INFO">GET Request : url=https://172.17.0.5:8443/subscription 
 path_url=/subscription 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '26'} 
 body={"path": {url_path_param}} 
 </msg>
<msg time="2026-11-14T13:27:56.837652" level="INFO">GET Response : url=https://172.17.0.5:8443/subscription 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '3', 'Server': 'TornadoServer/6.1'} 
 body=[]
 
 </msg>
<msg time="2026-11-14T13:27:56.837837" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:27:56.838124" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<arg>data={"path": {url_path_param}}</arg>
<arg>expected_status=any</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:27:56.778073" elapsed="0.060103"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:27:56.838302" elapsed="0.000102"/>
</return>
<msg time="2026-11-14T13:27:56.838639" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}</arg>
<arg>""</arg>
<status status="PASS" start="2026-11-14T13:27:56.775761" elapsed="0.062924"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:27:56.838971" elapsed="0.001074"/>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${resp.text}</arg>
<arg>[]</arg>
<doc>Fails if the `container` does not contain the `item` one or more times.</doc>
<status status="PASS" start="2026-11-14T13:27:56.840259" elapsed="0.000995"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:27:56.842688" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:27:56.842558" elapsed="0.000243"/>
</kw>
<doc>Verify Get all subscriptions when there are no defined subscriptions</doc>
<tag>PMSH_01</tag>
<timeout value="10 seconds"/>
<status status="PASS" start="2026-11-14T13:27:56.774475" elapsed="0.068401"/>
</test>
<test id="s1-s1-t2" name="Verify Create Subscriptions API" line="39">
<kw name="json_from_file" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-14T13:27:56.845281" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/create_subscription_request.json"&gt;/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/create_subscription_request.json&lt;/a&gt;'.</msg>
<msg time="2026-11-14T13:27:56.845790" level="INFO">${json_file} = {
  "subscription": {
    "subscriptionName": "subs_01",
    "operationalPolicyName":"pmsh-operational-policy",
    "controlLoopName":"pmsh-control-loop",
    "nfFilter": {
      "nfNames": [
        ...</msg>
<var>${json_file}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-11-14T13:27:56.844970" elapsed="0.000870"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-14T13:27:56.846895" level="INFO">${json_object} = {'subscription': {'subscriptionName': 'subs_01', 'operationalPolicyName': 'pmsh-operational-policy', 'controlLoopName': 'pmsh-control-loop', 'nfFilter': {'nfNames': ['^pnf.*', '^vnf.*'], 'modelInvaria...</msg>
<var>${json_object}</var>
<arg>json.loads('''${json_file}''')</arg>
<arg>json</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-11-14T13:27:56.846076" elapsed="0.000888"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-14T13:27:56.847055" elapsed="0.000046"/>
</return>
<msg time="2026-11-14T13:27:56.847309" level="INFO">${json_value} = {'subscription': {'subscriptionName': 'subs_01', 'operationalPolicyName': 'pmsh-operational-policy', 'controlLoopName': 'pmsh-control-loop', 'nfFilter': {'nfNames': ['^pnf.*', '^vnf.*'], 'modelInvaria...</msg>
<var>${json_value}</var>
<arg>${CREATE_SUBSCRIPTION_DATA}</arg>
<status status="PASS" start="2026-11-14T13:27:56.844418" elapsed="0.002937"/>
</kw>
<kw name="PostSubscriptionCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:27:56.848514" level="INFO">Creating Session using : alias=pmsh_sub_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_sub_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:27:56.848189" elapsed="0.000618"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-14T13:27:56.849745" level="INFO">${headers} = {'Accept': 'application/json', 'Content-Type': 'application/json'}</msg>
<var>${headers}</var>
<arg>Accept=application/json</arg>
<arg>Content-Type=application/json</arg>
<doc>Creates and returns a dictionary based on the given `items`.</doc>
<status status="PASS" start="2026-11-14T13:27:56.849066" elapsed="0.000728"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:27:57.875392" level="INFO">POST Request : url=https://172.17.0.5:8443/subscription 
 path_url=/subscription 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '761'} 
 body=b'{"subscription": {"subscriptionName": "subs_01", "operationalPolicyName": "pmsh-operational-policy", "controlLoopName": "pmsh-control-loop", "nfFilter": {"nfNames": ["^pnf.*", "^vnf.*"], "modelInvariantIDs": [], "modelVersionIDs": [], "modelNames": []}, "measurementGroups": [{"measurementGroup": {"measurementGroupName": "msg_grp_01", "fileBasedGP": 15, "fileLocation": "pm.xml", "administrativeState": "UNLOCKED", "measurementTypes": [{"measurementType": "counter_a"}], "managedObjectDNsBasic": [{"DN": "string"}]}}, {"measurementGroup": {"measurementGroupName": "msg_grp_02", "fileBasedGP": 15, "fileLocation": "pm.xml", "administrativeState": "LOCKED", "measurementTypes": [{"measurementType": "counter_a"}], "managedObjectDNsBasic": [{"DN": "string"}]}}]}}' 
 </msg>
<msg time="2026-11-14T13:27:57.875559" level="INFO">POST Response : url=https://172.17.0.5:8443/subscription 
 status=201, reason=CREATED 
 headers={'Content-Type': 'application/json', 'Content-Length': '0', 'Server': 'TornadoServer/6.1'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:27:57.877872" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:27:57.878625" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_sub_session</arg>
<arg>url=${url}</arg>
<arg>json=${data}</arg>
<arg>headers=${headers}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:27:56.850000" elapsed="1.028756"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:27:57.879046" elapsed="0.000137"/>
</return>
<msg time="2026-11-14T13:27:57.879586" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}</arg>
<arg>${json_value}</arg>
<status status="PASS" start="2026-11-14T13:27:56.847613" elapsed="1.032046"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 201</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:27:57.880771" elapsed="0.001654"/>
</kw>
<kw name="GetSubsCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:27:57.884437" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:27:57.883899" elapsed="0.003507"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:27:57.915185" level="INFO">GET Request : url=https://172.17.0.5:8443/subscription 
 path_url=/subscription 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '26'} 
 body={"path": {url_path_param}} 
 </msg>
<msg time="2026-11-14T13:27:57.915283" level="INFO">GET Response : url=https://172.17.0.5:8443/subscription 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '1401', 'Server': 'TornadoServer/6.1'} 
 body=[
  {
    "subscription": {
      "controlLoopName": "pmsh-control-loop",
      "measurementGroups": [
        {
          "measurementGroup": {
            "administrativeState": "LOCKED",
            "fileBasedGP": 15,
            "fileLocation": "pm.xml",
            "managedObjectDNsBasic": [
              {
                "DN": "string"
              }
            ],
            "measurementGroupName": "msg_grp_02",
            "measurementTypes": [
              {
                "measurementType": "counter_a"
              }
            ]
          }
        },
        {
          "measurementGroup": {
            "administrativeState": "UNLOCKED",
            "fileBasedGP": 15,
            "fileLocation": "pm.xml",
            "managedObjectDNsBasic": [
              {
                "DN": "string"
              }
            ],
            "measurementGroupName": "msg_grp_01",
            "measurementTypes": [
              {
                "measurementType": "counter_a"
              }
            ]
          }
        }
      ],
      "nfFilter": {
        "modelInvariantIDs": [],
        "modelNames": [],
        "modelVersionIDs": [],
        "nfNames": [
          "^pnf.*",
          "^vnf.*"
        ]
      },
      "nfs": [
        "pnf-existing"
      ],
      "operationalPolicyName": "pmsh-operational-policy",
      "subscriptionName": "subs_01"
    }
  }
]
 
 </msg>
<msg time="2026-11-14T13:27:57.915511" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:27:57.915961" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<arg>data={"path": {url_path_param}}</arg>
<arg>expected_status=any</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:27:57.887777" elapsed="0.028260"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:27:57.916197" elapsed="0.000100"/>
</return>
<msg time="2026-11-14T13:27:57.916626" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}</arg>
<arg>"/subs_01"</arg>
<status status="PASS" start="2026-11-14T13:27:57.882895" elapsed="0.033806"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()[0]['subscription']['subscriptionName']}</arg>
<arg>subs_01</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:27:57.917051" elapsed="0.001288"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:27:57.919152" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:27:57.918893" elapsed="0.000619"/>
</kw>
<doc>Verify Create Subscription API</doc>
<tag>PMSH_07</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:27:56.843455" elapsed="1.076184"/>
</test>
<test id="s1-s1-t3" name="Verify database tables exist and are empty" line="49">
<kw name="GetSubsCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:27:57.923589" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:27:57.923063" elapsed="0.000939"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:27:57.948730" level="INFO">GET Request : url=https://172.17.0.5:8443/subscription 
 path_url=/subscription 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '26'} 
 body={"path": {url_path_param}} 
 </msg>
<msg time="2026-11-14T13:27:57.948857" level="INFO">GET Response : url=https://172.17.0.5:8443/subscription 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '1401', 'Server': 'TornadoServer/6.1'} 
 body=[
  {
    "subscription": {
      "controlLoopName": "pmsh-control-loop",
      "measurementGroups": [
        {
          "measurementGroup": {
            "administrativeState": "LOCKED",
            "fileBasedGP": 15,
            "fileLocation": "pm.xml",
            "managedObjectDNsBasic": [
              {
                "DN": "string"
              }
            ],
            "measurementGroupName": "msg_grp_02",
            "measurementTypes": [
              {
                "measurementType": "counter_a"
              }
            ]
          }
        },
        {
          "measurementGroup": {
            "administrativeState": "UNLOCKED",
            "fileBasedGP": 15,
            "fileLocation": "pm.xml",
            "managedObjectDNsBasic": [
              {
                "DN": "string"
              }
            ],
            "measurementGroupName": "msg_grp_01",
            "measurementTypes": [
              {
                "measurementType": "counter_a"
              }
            ]
          }
        }
      ],
      "nfFilter": {
        "modelInvariantIDs": [],
        "modelNames": [],
        "modelVersionIDs": [],
        "nfNames": [
          "^pnf.*",
          "^vnf.*"
        ]
      },
      "nfs": [
        "pnf-existing"
      ],
      "operationalPolicyName": "pmsh-operational-policy",
      "subscriptionName": "subs_01"
    }
  }
]
 
 </msg>
<msg time="2026-11-14T13:27:57.949149" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:27:57.949538" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<arg>data={"path": {url_path_param}}</arg>
<arg>expected_status=any</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:27:57.924325" elapsed="0.025291"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:27:57.949796" elapsed="0.000080"/>
</return>
<msg time="2026-11-14T13:27:57.950174" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}</arg>
<arg>""</arg>
<status status="PASS" start="2026-11-14T13:27:57.921922" elapsed="0.028324"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:27:57.950583" elapsed="0.001363"/>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${resp.text}</arg>
<arg>[]</arg>
<doc>Fails if the `container` does not contain the `item` one or more times.</doc>
<status status="PASS" start="2026-11-14T13:27:57.952282" elapsed="0.001289"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:27:57.954265" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:27:57.954064" elapsed="0.000337"/>
</kw>
<doc>Verify database has been created and is empty</doc>
<tag>PMSH_02</tag>
<timeout value="10 seconds"/>
<status status="PASS" start="2026-11-14T13:27:57.920472" elapsed="0.034039"/>
</test>
<test id="s1-s1-t4" name="Verify PNF detected in AAI when administrative state unlocked" line="57">
<kw name="GetMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:27:57.958194" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:27:57.957649" elapsed="0.000951"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:27:57.988111" level="INFO">GET Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_01 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:27:57.988211" level="INFO">GET Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '736', 'Server': 'TornadoServer/6.1'} 
 body={
  "administrativeState": "UNLOCKED",
  "fileBasedGP": 15,
  "fileLocation": "pm.xml",
  "managedObjectDNsBasic": [
    {
      "DN": "string"
    }
  ],
  "measurementGroupName": "msg_grp_01",
  "measurementTypes": [
    {
      "measurementType": "counter_a"
    }
  ],
  "networkFunctions": [
    {
      "ipv4Address": "10.10.10.32",
      "ipv6Address": "2001:0db8:0:0:0:0:1428:57ab",
      "modelInvariantId": "7129e420-d396-4efb-af02-6b83499b12f8",
      "modelName": "PNF102",
      "modelVersionId": "77c1a3d9-422a-4f78-bd8f-f7a357685b25",
      "nfMgStatus": "PENDING_CREATE",
      "nfName": "pnf-existing",
      "sdncModelName": "pm_control",
      "sdncModelVersion": "1.0.0"
    }
  ],
  "subscriptionName": "subs_01"
}
 
 </msg>
<msg time="2026-11-14T13:27:57.988424" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:27:57.988828" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:27:57.958982" elapsed="0.029929"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:27:57.989051" elapsed="0.000076"/>
</return>
<msg time="2026-11-14T13:27:57.989431" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_01</arg>
<status status="PASS" start="2026-11-14T13:27:57.956679" elapsed="0.032822"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['subscriptionName']}</arg>
<arg>subs_01</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:27:57.989828" elapsed="0.001189"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['administrativeState']}</arg>
<arg>UNLOCKED</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:27:57.991346" elapsed="0.001070"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['networkFunctions'][0]['nfName']}</arg>
<arg>pnf-existing</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:27:57.992758" elapsed="0.038653"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['networkFunctions'][0]['nfMgStatus']}</arg>
<arg>PENDING_CREATE</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:27:58.031785" elapsed="0.000727"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:27:58.033012" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:27:58.032880" elapsed="0.000228"/>
</kw>
<doc>Verify PNF detected when administrative state unlocked</doc>
<tag>PMSH_03</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:27:57.955287" elapsed="0.078965"/>
</test>
<test id="s1-s1-t5" name="Verify Policy response on MR is handled" line="67">
<kw name="AddCreatePolicyResponeToMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-14T13:27:58.037354" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/policy-sub-created-pnf-existing.json"&gt;/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/policy-sub-created-pnf-existing.json&lt;/a&gt;'.</msg>
<msg time="2026-11-14T13:27:58.037687" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${file}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-11-14T13:27:58.037012" elapsed="0.000737"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-14T13:27:58.037840" elapsed="0.000075"/>
</return>
<msg time="2026-11-14T13:27:58.038116" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${MR_POLICY_RESPONSE_PNF_EXISTING}</arg>
<status status="PASS" start="2026-11-14T13:27:58.036482" elapsed="0.001683"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:27:58.038757" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.4:3904, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>mr_sim_session</arg>
<arg>${MR_SIM_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:27:58.038388" elapsed="0.000724"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:27:58.075719" level="INFO">PUT Request : url=http://172.17.0.4:3904/clear 
 path_url=/clear 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '30'} 
 body={"id" : "pmsh_cl_input_event"} 
 </msg>
<msg time="2026-11-14T13:27:58.075792" level="INFO">PUT Response : url=http://172.17.0.4:3904/clear 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/clear" is deprecated use "/mockserver/clear" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:27:58.075950" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/clear</arg>
<arg>data={"id" : "pmsh_cl_input_event"}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:27:58.039326" elapsed="0.036657"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:27:58.076147" elapsed="0.000677"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-14T13:28:00.077657" level="INFO">Slept 2 seconds.</msg>
<msg time="2026-11-14T13:28:00.077833" level="INFO">Allow MR_SIM time to set expectation</msg>
<arg>2</arg>
<arg>Allow MR_SIM time to set expectation</arg>
<doc>Pauses execution for the given time.</doc>
<status status="PASS" start="2026-11-14T13:27:58.076970" elapsed="2.001264"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:00.119866" level="INFO">PUT Request : url=http://172.17.0.4:3904/expectation 
 path_url=/expectation 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '1575'} 
 body=[
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "statusCode":200,
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "body":{
            "type":"JSON",
            "json":{

            }
         }
      }
   },
   {
      "id":"pmsh_cl_input_event",
      "httpRequest":{
         "path":"/events/unauthenticated.PMSH_CL_INPUT/.*",
         "method":"GET",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "statusCode":200,
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "body":{
            "type":"JSON",
            "json":[
               "{\"name\":\"ResponseEvent\",\"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\"source\":\"APEX\",\"target\":\"DCAE\",\"version\":\"0.0.1\",\"status\":{\"subscriptionName\":\"subs_01\",\"measurementGroupName\": \"msg_grp_01\",\"nfName\":\"pnf-existing\",\"changeType\":\"CREATE\",\"message\":\"success\"}}"
            ]
         }
      }
   },
   {
      "id":"dcae_cl_output_event",
      "httpRequest":{
         "path":"/events/unauthenticated.DCAE_CL_OUTPUT/.*",
         "method":"POST"
      },
      "httpResponse":{
         "statusCode":200
      }
   }
] 
 </msg>
<msg time="2026-11-14T13:28:00.119996" level="INFO">PUT Response : url=http://172.17.0.4:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '1489'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : [ "{\"name\":\"ResponseEvent\",\"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\"source\":\"APEX\",\"target\":\"DCAE\",\"version\":\"0.0.1\",\"status\":{\"subscriptionName\":\"subs_01\",\"measurementGroupName\": \"msg_grp_01\",\"nfName\":\"pnf-existing\",\"changeType\":\"CREATE\",\"message\":\"success\"}}" ]
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-14T13:28:00.120520" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/expectation</arg>
<arg>data=${data}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:28:00.078828" elapsed="0.041771"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 201</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:28:00.121007" elapsed="0.001513"/>
</kw>
<status status="PASS" start="2026-11-14T13:27:58.035956" elapsed="2.086748"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-14T13:28:31.124240" level="INFO">Slept 31 seconds.</msg>
<msg time="2026-11-14T13:28:31.124353" level="INFO">Ensure Policy response on MR is picked up</msg>
<arg>31 seconds</arg>
<arg>Ensure Policy response on MR is picked up</arg>
<doc>Pauses execution for the given time.</doc>
<status status="PASS" start="2026-11-14T13:28:00.123074" elapsed="31.001612"/>
</kw>
<kw name="ResetMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-14T13:28:31.127694" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/mr-sim-reset.json"&gt;/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/mr-sim-reset.json&lt;/a&gt;'.</msg>
<msg time="2026-11-14T13:28:31.128151" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${file}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-11-14T13:28:31.127184" elapsed="0.001043"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-14T13:28:31.128358" elapsed="0.000090"/>
</return>
<msg time="2026-11-14T13:28:31.128748" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${MR_SIM_RESET}</arg>
<status status="PASS" start="2026-11-14T13:28:31.126274" elapsed="0.002547"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:31.129703" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.4:3904, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>mr_sim_session</arg>
<arg>${MR_SIM_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:28:31.129185" elapsed="0.000962"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:31.196979" level="INFO">PUT Request : url=http://172.17.0.4:3904/reset 
 path_url=/reset 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:28:31.197158" level="INFO">PUT Response : url=http://172.17.0.4:3904/reset 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/reset" is deprecated use "/mockserver/reset" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:28:31.197641" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/reset</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:28:31.130477" elapsed="0.067245"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:28:31.198236" elapsed="0.001592"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:31.211973" level="INFO">PUT Request : url=http://172.17.0.4:3904/expectation 
 path_url=/expectation 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '1249'} 
 body=[
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "statusCode":200,
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "body":{
            "type":"JSON",
            "json":{

            }
         }
      }
   },
   {
      "id":"pmsh_cl_input_event",
      "httpRequest":{
         "path":"/events/unauthenticated.PMSH_CL_INPUT/.*",
         "method":"GET",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "statusCode":200,
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "body":{
            "type":"JSON",
            "json":{

            }
         }
      }
   },
   {
      "id":"dcae_cl_output_event",
      "httpRequest":{
         "path":"/events/unauthenticated.DCAE_CL_OUTPUT/.*",
         "method":"POST"
      },
      "httpResponse":{
         "statusCode":200
      }
   }
] 
 </msg>
<msg time="2026-11-14T13:28:31.212183" level="INFO">PUT Response : url=http://172.17.0.4:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '1177'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-14T13:28:31.212824" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/expectation</arg>
<arg>data=${data}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:28:31.200181" elapsed="0.012726"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 201</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:28:31.213298" elapsed="0.001266"/>
</kw>
<status status="PASS" start="2026-11-14T13:28:31.125362" elapsed="0.089386"/>
</kw>
<kw name="GetMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:31.216578" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:28:31.216044" elapsed="0.000936"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:31.244555" level="INFO">GET Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_01 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:28:31.244652" level="INFO">GET Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '729', 'Server': 'TornadoServer/6.1'} 
 body={
  "administrativeState": "UNLOCKED",
  "fileBasedGP": 15,
  "fileLocation": "pm.xml",
  "managedObjectDNsBasic": [
    {
      "DN": "string"
    }
  ],
  "measurementGroupName": "msg_grp_01",
  "measurementTypes": [
    {
      "measurementType": "counter_a"
    }
  ],
  "networkFunctions": [
    {
      "ipv4Address": "10.10.10.32",
      "ipv6Address": "2001:0db8:0:0:0:0:1428:57ab",
      "modelInvariantId": "7129e420-d396-4efb-af02-6b83499b12f8",
      "modelName": "PNF102",
      "modelVersionId": "77c1a3d9-422a-4f78-bd8f-f7a357685b25",
      "nfMgStatus": "CREATED",
      "nfName": "pnf-existing",
      "sdncModelName": "pm_control",
      "sdncModelVersion": "1.0.0"
    }
  ],
  "subscriptionName": "subs_01"
}
 
 </msg>
<msg time="2026-11-14T13:28:31.244885" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:28:31.245316" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:28:31.217329" elapsed="0.028064"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:28:31.245535" elapsed="0.000090"/>
</return>
<msg time="2026-11-14T13:28:31.245931" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_01</arg>
<status status="PASS" start="2026-11-14T13:28:31.215214" elapsed="0.030790"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['subscriptionName']}</arg>
<arg>subs_01</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:28:31.246336" elapsed="0.001201"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['administrativeState']}</arg>
<arg>UNLOCKED</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:28:31.247870" elapsed="0.001089"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['networkFunctions'][0]['nfName']}</arg>
<arg>pnf-existing</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:28:31.249313" elapsed="0.001093"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['networkFunctions'][0]['nfMgStatus']}</arg>
<arg>CREATED</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:28:31.250732" elapsed="0.001138"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:28:31.252670" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:28:31.252461" elapsed="0.000519"/>
</kw>
<doc>Verify policy response on MR is handled</doc>
<tag>PMSH_04</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:27:58.034967" elapsed="33.218154"/>
</test>
<test id="s1-s1-t6" name="Verify AAI event on MR detailing new PNF being detected is handled" line="80">
<kw name="AddNewPnfToMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-14T13:28:31.257456" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/aai-pnf-create.json"&gt;/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/aai-pnf-create.json&lt;/a&gt;'.</msg>
<msg time="2026-11-14T13:28:31.257863" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${file}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-11-14T13:28:31.256974" elapsed="0.000962"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-14T13:28:31.258059" elapsed="0.000096"/>
</return>
<msg time="2026-11-14T13:28:31.258455" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${MR_AAI_PNF_CREATED}</arg>
<status status="PASS" start="2026-11-14T13:28:31.256171" elapsed="0.002356"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:31.259418" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.4:3904, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>mr_sim_session</arg>
<arg>${MR_SIM_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:28:31.258870" elapsed="0.000938"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:31.272973" level="INFO">PUT Request : url=http://172.17.0.4:3904/clear 
 path_url=/clear 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '23'} 
 body={"id" : "mr_aai_event"} 
 </msg>
<msg time="2026-11-14T13:28:31.273077" level="INFO">PUT Response : url=http://172.17.0.4:3904/clear 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/clear" is deprecated use "/mockserver/clear" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:28:31.273429" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/clear</arg>
<arg>data={"id" : "mr_aai_event"}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:28:31.260155" elapsed="0.013348"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:28:31.273860" elapsed="0.001319"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-14T13:28:33.276531" level="INFO">Slept 2 seconds.</msg>
<msg time="2026-11-14T13:28:33.276641" level="INFO">Allow MR_SIM time to set expectation</msg>
<arg>2</arg>
<arg>Allow MR_SIM time to set expectation</arg>
<doc>Pauses execution for the given time.</doc>
<status status="PASS" start="2026-11-14T13:28:31.275485" elapsed="2.001472"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:33.298326" level="INFO">PUT Request : url=http://172.17.0.4:3904/expectation 
 path_url=/expectation 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '3062'} 
 body=[
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "statusCode":200,
         "body":{
            "type":"JSON",
            "json":[
               "{\"cambria.partition\":\"AAI\",\"event-header\":{\"severity\":\"NORMAL\",\"entity-type\":\"pnf\",\"top-entity-type\":\"pnf\",\"entity-link\":\"/aai/v21/network/pnfs/pnf/pnf_newly_discovered\",\"event-type\":\"AAI-EVENT\",\"domain\":\"dev\",\"action\":\"UPDATE\",\"sequence-number\":\"0\",\"id\":\"db09e090-196e-4f84-9645-e449b1cd3640\",\"source-name\":\"dcae-curl\",\"version\":\"v21\",\"timestamp\":\"20200203-15:14:08:807\"},\"entity\":{\"ipaddress-v4-oam\":\"10.10.10.37\",\"nf-role\":\"gNB\",\"equip-type\":\"val8\",\"relationship-list\":{\"relationship\":[{\"related-to\":\"service-instance\",\"relationship-data\":[{\"relationship-value\":\"Demonstration\",\"relationship-key\":\"customer.global-customer-id\"},{\"relationship-value\":\"vCPE\",\"relationship-key\":\"service-subscription.service-type\"},{\"relationship-value\":\"2c03b2a8-e31a-4749-9e99-3089ab441400\",\"relationship-key\":\"service-instance.service-instance-id\"}],\"related-link\":\"/aai/v16/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vCPE/service-instances/service-instance/2c03b2a8-e31a-4749-9e99-3089ab441400\",\"relationship-label\":\"org.onap.relationships.inventory.ComposedOf\",\"related-to-property\":[{\"property-key\":\"service-instance.service-instance-name\",\"property-value\":\"Svc6_1\"}]}]},\"equip-vendor\":\"Ericsson\",\"serial-number\":\"6061ZW3\",\"ipaddress-v6-oam\":\"2001:0db8:0:0:0:0:1428:57ab\",\"orchestration-status\":\"Active\",\"equip-model\":\"val6\",\"in-maint\":false,\"model-version-id\":\"e80a6ae3-cafd-4d24-850d-e14c084a5ca9\",\"resource-version\":\"1578668956804\",\"sw-version\":\"val7\",\"pnf-id\":\"eabcfaf7-b7f3-45fb-94e7-e6112fb3e8b8\",\"pnf-name\":\"pnf_newly_discovered\",\"model-invariant-id\":\"7129e420-d396-4efb-af02-6b83499b12f8\"}}"
            ]
         }
      }
   },
   {
      "id":"pmsh_cl_input_event",
      "httpRequest":{
         "path":"/events/unauthenticated.PMSH_CL_INPUT/.*",
         "method":"GET",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "statusCode":200,
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "body":{
            "type":"JSON",
            "json": {
            }
         }
      }
   },
   {
      "id":"dcae_cl_output_event",
      "httpRequest":{
         "path":"/events/unauthenticated.DCAE_CL_OUTPUT/.*",
         "method":"POST"
      },
      "httpResponse":{
         "statusCode":200
      }
   }
] 
 </msg>
<msg time="2026-11-14T13:28:33.298458" level="INFO">PUT Response : url=http://172.17.0.4:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '2976'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : [ "{\"cambria.partition\":\"AAI\",\"event-header\":{\"severity\":\"NORMAL\",\"entity-type\":\"pnf\",\"top-entity-type\":\"pnf\",\"entity-link\":\"/aai/v21/network/pnfs/pnf/pnf_newly_discovered\",\"event-type\":\"AAI-EVENT\",\"domain\":\"dev\",\"action\":\"UPDATE\",\"sequence-number\":\"0\",\"id\":\"db09e090-196e-4f84-9645-e449b1cd3640\",\"source-name\":\"dcae-curl\",\"version\":\"v21\",\"timestamp\":\"20200203-15:14:08:807\"},\"entity\":{\"ipaddress-v4-oam\":\"10.10.10.37\",\"nf-role\":\"gNB\",\"equip-type\":\"val8\",\"relationship-list\":{\"relationship\":[{\"related-to\":\"service-instance\",\"relationship-data\":[{\"relationship-value\":\"Demonstration\",\"relationship-key\":\"customer.global-customer-id\"},{\"relationship-value\":\"vCPE\",\"relationship-key\":\"service-subscription.service-type\"},{\"relationship-value\":\"2c03b2a8-e31a-4749-9e99-3089ab441400\",\"relationship-key\":\"service-instance.service-instance-id\"}],\"related-link\":\"/aai/v16/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vCPE/service-instances/service-instance/2c03b2a8-e31a-4749-9e99-3089ab441400\",\"relationship-label\":\"org.onap.relationships.inventory.ComposedOf\",\"related-to-property\":[{\"property-key\":\"service-instance.service-instance-name\",\"property-value\":\"Svc6_1\"}]}]},\"equip-vendor\":\"Ericsson\",\"serial-number\":\"6061ZW3\",\"ipaddress-v6-oam\":\"2001:0db8:0:0:0:0:1428:57ab\",\"orchestration-status\":\"Active\",\"equip-model\":\"val6\",\"in-maint\":false,\"model-version-id\":\"e80a6ae3-cafd-4d24-850d-e14c084a5ca9\",\"resource-version\":\"1578668956804\",\"sw-version\":\"val7\",\"pnf-id\":\"eabcfaf7-b7f3-45fb-94e7-e6112fb3e8b8\",\"pnf-name\":\"pnf_newly_discovered\",\"model-invariant-id\":\"7129e420-d396-4efb-af02-6b83499b12f8\"}}" ]
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-14T13:28:33.299034" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/expectation</arg>
<arg>data=${data}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:28:33.277457" elapsed="0.021678"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 201</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:28:33.299526" elapsed="0.001419"/>
</kw>
<status status="PASS" start="2026-11-14T13:28:31.255424" elapsed="2.045724"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-14T13:28:58.302513" level="INFO">Slept 25 seconds.</msg>
<msg time="2026-11-14T13:28:58.302623" level="INFO">Give sim time to set expectation</msg>
<arg>25 seconds</arg>
<arg>Give sim time to set expectation</arg>
<doc>Pauses execution for the given time.</doc>
<status status="PASS" start="2026-11-14T13:28:33.301430" elapsed="25.001544"/>
</kw>
<kw name="ResetMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-14T13:28:58.305897" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/mr-sim-reset.json"&gt;/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/mr-sim-reset.json&lt;/a&gt;'.</msg>
<msg time="2026-11-14T13:28:58.306317" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${file}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-11-14T13:28:58.305383" elapsed="0.001035"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-14T13:28:58.306548" elapsed="0.000088"/>
</return>
<msg time="2026-11-14T13:28:58.306979" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${MR_SIM_RESET}</arg>
<status status="PASS" start="2026-11-14T13:28:58.304543" elapsed="0.002513"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:58.307955" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.4:3904, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>mr_sim_session</arg>
<arg>${MR_SIM_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:28:58.307427" elapsed="0.001398"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:58.322764" level="INFO">PUT Request : url=http://172.17.0.4:3904/reset 
 path_url=/reset 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:28:58.322870" level="INFO">PUT Response : url=http://172.17.0.4:3904/reset 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/reset" is deprecated use "/mockserver/reset" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:28:58.323252" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/reset</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:28:58.309160" elapsed="0.014165"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:28:58.323705" elapsed="0.001365"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:58.339341" level="INFO">PUT Request : url=http://172.17.0.4:3904/expectation 
 path_url=/expectation 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '1249'} 
 body=[
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "statusCode":200,
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "body":{
            "type":"JSON",
            "json":{

            }
         }
      }
   },
   {
      "id":"pmsh_cl_input_event",
      "httpRequest":{
         "path":"/events/unauthenticated.PMSH_CL_INPUT/.*",
         "method":"GET",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "statusCode":200,
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "body":{
            "type":"JSON",
            "json":{

            }
         }
      }
   },
   {
      "id":"dcae_cl_output_event",
      "httpRequest":{
         "path":"/events/unauthenticated.DCAE_CL_OUTPUT/.*",
         "method":"POST"
      },
      "httpResponse":{
         "statusCode":200
      }
   }
] 
 </msg>
<msg time="2026-11-14T13:28:58.339539" level="INFO">PUT Response : url=http://172.17.0.4:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '1177'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-14T13:28:58.340094" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/expectation</arg>
<arg>data=${data}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:28:58.325411" elapsed="0.014765"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 201</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:28:58.340712" elapsed="0.001577"/>
</kw>
<status status="PASS" start="2026-11-14T13:28:58.303669" elapsed="0.038827"/>
</kw>
<kw name="GetMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:58.344330" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:28:58.343813" elapsed="0.001029"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:58.372615" level="INFO">GET Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_01 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:28:58.372722" level="INFO">GET Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '1138', 'Server': 'TornadoServer/6.1'} 
 body={
  "administrativeState": "UNLOCKED",
  "fileBasedGP": 15,
  "fileLocation": "pm.xml",
  "managedObjectDNsBasic": [
    {
      "DN": "string"
    }
  ],
  "measurementGroupName": "msg_grp_01",
  "measurementTypes": [
    {
      "measurementType": "counter_a"
    }
  ],
  "networkFunctions": [
    {
      "ipv4Address": "10.10.10.32",
      "ipv6Address": "2001:0db8:0:0:0:0:1428:57ab",
      "modelInvariantId": "7129e420-d396-4efb-af02-6b83499b12f8",
      "modelName": "PNF102",
      "modelVersionId": "77c1a3d9-422a-4f78-bd8f-f7a357685b25",
      "nfMgStatus": "CREATED",
      "nfName": "pnf-existing",
      "sdncModelName": "pm_control",
      "sdncModelVersion": "1.0.0"
    },
    {
      "ipv4Address": "10.10.10.37",
      "ipv6Address": "2001:0db8:0:0:0:0:1428:57ab",
      "modelInvariantId": "7129e420-d396-4efb-af02-6b83499b12f8",
      "modelName": "PNF102",
      "modelVersionId": "e80a6ae3-cafd-4d24-850d-e14c084a5ca9",
      "nfMgStatus": "PENDING_CREATE",
      "nfName": "pnf_newly_discovered",
      "sdncModelName": "pm_control",
      "sdncModelVersion": "1.0.0"
    }
  ],
  "subscriptionName": "subs_01"
}
 
 </msg>
<msg time="2026-11-14T13:28:58.372965" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:28:58.373414" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:28:58.345172" elapsed="0.028323"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:28:58.373648" elapsed="0.000102"/>
</return>
<msg time="2026-11-14T13:28:58.374071" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_01</arg>
<status status="PASS" start="2026-11-14T13:28:58.342951" elapsed="0.031193"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['subscriptionName']}</arg>
<arg>subs_01</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:28:58.374513" elapsed="0.001303"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['administrativeState']}</arg>
<arg>UNLOCKED</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:28:58.376147" elapsed="0.001176"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['networkFunctions'][1]['nfName']}</arg>
<arg>pnf_newly_discovered</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:28:58.377678" elapsed="0.001098"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['networkFunctions'][1]['nfMgStatus']}</arg>
<arg>PENDING_CREATE</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:28:58.379128" elapsed="0.001073"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:28:58.380915" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:28:58.380718" elapsed="0.001484"/>
</kw>
<doc>Verify PNF created AAI event on MR is handled</doc>
<tag>PMSH_05</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:28:31.253903" elapsed="27.128431"/>
</test>
<test id="s1-s1-t7" name="Verify AAI event on MR detailing PNF being deleted is handled" line="93">
<kw name="RemoveNewPnfFromMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-14T13:28:58.386838" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/aai-pnf-delete.json"&gt;/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/aai-pnf-delete.json&lt;/a&gt;'.</msg>
<msg time="2026-11-14T13:28:58.387302" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${file}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-11-14T13:28:58.386344" elapsed="0.001055"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-14T13:28:58.387527" elapsed="0.000082"/>
</return>
<msg time="2026-11-14T13:28:58.387910" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${MR_AAI_PNF_REMOVED}</arg>
<status status="PASS" start="2026-11-14T13:28:58.385556" elapsed="0.002424"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:58.388875" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.4:3904, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>mr_sim_session</arg>
<arg>${MR_SIM_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:28:58.388331" elapsed="0.000968"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:28:58.401769" level="INFO">PUT Request : url=http://172.17.0.4:3904/clear 
 path_url=/clear 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '23'} 
 body={"id" : "mr_aai_event"} 
 </msg>
<msg time="2026-11-14T13:28:58.401893" level="INFO">PUT Response : url=http://172.17.0.4:3904/clear 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/clear" is deprecated use "/mockserver/clear" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:28:58.402355" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/clear</arg>
<arg>data={"id" : "mr_aai_event"}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:28:58.389648" elapsed="0.012807"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:28:58.402872" elapsed="0.001985"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-14T13:29:00.406236" level="INFO">Slept 2 seconds.</msg>
<msg time="2026-11-14T13:29:00.406351" level="INFO">Allow MR_SIM time to set expectation</msg>
<arg>2</arg>
<arg>Allow MR_SIM time to set expectation</arg>
<doc>Pauses execution for the given time.</doc>
<status status="PASS" start="2026-11-14T13:28:58.405167" elapsed="2.001548"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:00.425368" level="INFO">PUT Request : url=http://172.17.0.4:3904/expectation 
 path_url=/expectation 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '3000'} 
 body=[
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "statusCode":200,
         "body":{
            "type":"JSON",
            "json":[
               "{\"cambria.partition\":\"AAI\",\"event-header\":{\"severity\":\"NORMAL\",\"entity-type\":\"pnf\",\"top-entity-type\":\"pnf\",\"entity-link\":\"/aai/v21/network/pnfs/pnf/pnf_newly_discovered\",\"event-type\":\"AAI-EVENT\",\"domain\":\"dev\",\"action\":\"DELETE\",\"sequence-number\":\"0\",\"id\":\"db09e090-196e-4f84-9645-e449b1cd3640\",\"source-name\":\"dcae-curl\",\"version\":\"v21\",\"timestamp\":\"20200203-15:14:08:807\"},\"entity\":{\"ipaddress-v4-oam\":\"10.10.10.37\",\"nf-role\":\"gNB\",\"equip-type\":\"val8\",\"relationship-list\":{\"relationship\":[{\"related-to\":\"service-instance\",\"relationship-data\":[{\"relationship-value\":\"Demonstration\",\"relationship-key\":\"customer.global-customer-id\"},{\"relationship-value\":\"vCPE\",\"relationship-key\":\"service-subscription.service-type\"},{\"relationship-value\":\"2c03b2a8-e31a-4749-9e99-3089ab441400\",\"relationship-key\":\"service-instance.service-instance-id\"}],\"related-link\":\"/aai/v16/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vCPE/service-instances/service-instance/2c03b2a8-e31a-4749-9e99-3089ab441400\",\"relationship-label\":\"org.onap.relationships.inventory.ComposedOf\",\"related-to-property\":[{\"property-key\":\"service-instance.service-instance-name\",\"property-value\":\"Svc6_1\"}]}]},\"equip-vendor\":\"Ericsson\",\"serial-number\":\"6061ZW3\",\"ipaddress-v6-oam\":\"2001:0db8:0:0:0:0:1428:57ab\",\"orchestration-status\":\"Active\",\"equip-model\":\"val6\",\"in-maint\":false,\"model-version-id\":\"e80a6ae3-cafd-4d24-850d-e14c084a5ca9\",\"resource-version\":\"1578668956804\",\"sw-version\":\"val7\",\"pnf-id\":\"eabcfaf7-b7f3-45fb-94e7-e6112fb3e8b8\",\"pnf-name\":\"pnf_newly_discovered\",\"model-invariant-id\":\"7129e420-d396-4efb-af02-6b83499b12f8\"}}"
            ]
         }
      }
   },
   {
      "id":"pmsh_cl_input_event",
      "httpRequest":{
         "path":"/events/unauthenticated.PMSH_CL_INPUT/.*",
         "method":"GET",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "statusCode":200,
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "body":{

         }
      }
   },
   {
      "id":"dcae_cl_output_event",
      "httpRequest":{
         "path":"/events/unauthenticated.DCAE_CL_OUTPUT/.*",
         "method":"POST"
      },
      "httpResponse":{
         "statusCode":200
      }
   }
] 
 </msg>
<msg time="2026-11-14T13:29:00.425530" level="INFO">PUT Response : url=http://172.17.0.4:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '2976'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : [ "{\"cambria.partition\":\"AAI\",\"event-header\":{\"severity\":\"NORMAL\",\"entity-type\":\"pnf\",\"top-entity-type\":\"pnf\",\"entity-link\":\"/aai/v21/network/pnfs/pnf/pnf_newly_discovered\",\"event-type\":\"AAI-EVENT\",\"domain\":\"dev\",\"action\":\"DELETE\",\"sequence-number\":\"0\",\"id\":\"db09e090-196e-4f84-9645-e449b1cd3640\",\"source-name\":\"dcae-curl\",\"version\":\"v21\",\"timestamp\":\"20200203-15:14:08:807\"},\"entity\":{\"ipaddress-v4-oam\":\"10.10.10.37\",\"nf-role\":\"gNB\",\"equip-type\":\"val8\",\"relationship-list\":{\"relationship\":[{\"related-to\":\"service-instance\",\"relationship-data\":[{\"relationship-value\":\"Demonstration\",\"relationship-key\":\"customer.global-customer-id\"},{\"relationship-value\":\"vCPE\",\"relationship-key\":\"service-subscription.service-type\"},{\"relationship-value\":\"2c03b2a8-e31a-4749-9e99-3089ab441400\",\"relationship-key\":\"service-instance.service-instance-id\"}],\"related-link\":\"/aai/v16/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vCPE/service-instances/service-instance/2c03b2a8-e31a-4749-9e99-3089ab441400\",\"relationship-label\":\"org.onap.relationships.inventory.ComposedOf\",\"related-to-property\":[{\"property-key\":\"service-instance.service-instance-name\",\"property-value\":\"Svc6_1\"}]}]},\"equip-vendor\":\"Ericsson\",\"serial-number\":\"6061ZW3\",\"ipaddress-v6-oam\":\"2001:0db8:0:0:0:0:1428:57ab\",\"orchestration-status\":\"Active\",\"equip-model\":\"val6\",\"in-maint\":false,\"model-version-id\":\"e80a6ae3-cafd-4d24-850d-e14c084a5ca9\",\"resource-version\":\"1578668956804\",\"sw-version\":\"val7\",\"pnf-id\":\"eabcfaf7-b7f3-45fb-94e7-e6112fb3e8b8\",\"pnf-name\":\"pnf_newly_discovered\",\"model-invariant-id\":\"7129e420-d396-4efb-af02-6b83499b12f8\"}}" ]
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-14T13:29:00.426092" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/expectation</arg>
<arg>data=${data}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:00.407239" elapsed="0.018932"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 201</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:00.426628" elapsed="0.001511"/>
</kw>
<status status="PASS" start="2026-11-14T13:28:58.384772" elapsed="2.043547"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.429752" level="INFO">Slept 21 seconds.</msg>
<msg time="2026-11-14T13:29:21.429861" level="INFO">Ensure AAI event on MR is picked up</msg>
<arg>21 seconds</arg>
<arg>Ensure AAI event on MR is picked up</arg>
<doc>Pauses execution for the given time.</doc>
<status status="PASS" start="2026-11-14T13:29:00.428620" elapsed="21.001565"/>
</kw>
<kw name="ResetMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-14T13:29:21.433151" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/mr-sim-reset.json"&gt;/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/mr-sim-reset.json&lt;/a&gt;'.</msg>
<msg time="2026-11-14T13:29:21.433571" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${file}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-11-14T13:29:21.432640" elapsed="0.001022"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-14T13:29:21.433793" elapsed="0.000095"/>
</return>
<msg time="2026-11-14T13:29:21.434187" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${MR_SIM_RESET}</arg>
<status status="PASS" start="2026-11-14T13:29:21.431798" elapsed="0.002459"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.435179" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.4:3904, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>mr_sim_session</arg>
<arg>${MR_SIM_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:21.434603" elapsed="0.001031"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.449631" level="INFO">PUT Request : url=http://172.17.0.4:3904/reset 
 path_url=/reset 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:21.449738" level="INFO">PUT Response : url=http://172.17.0.4:3904/reset 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/reset" is deprecated use "/mockserver/reset" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:21.450062" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/reset</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:21.435963" elapsed="0.014172"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:21.450561" elapsed="0.001416"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.467191" level="INFO">PUT Request : url=http://172.17.0.4:3904/expectation 
 path_url=/expectation 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '1249'} 
 body=[
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "statusCode":200,
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "body":{
            "type":"JSON",
            "json":{

            }
         }
      }
   },
   {
      "id":"pmsh_cl_input_event",
      "httpRequest":{
         "path":"/events/unauthenticated.PMSH_CL_INPUT/.*",
         "method":"GET",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "statusCode":200,
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "body":{
            "type":"JSON",
            "json":{

            }
         }
      }
   },
   {
      "id":"dcae_cl_output_event",
      "httpRequest":{
         "path":"/events/unauthenticated.DCAE_CL_OUTPUT/.*",
         "method":"POST"
      },
      "httpResponse":{
         "statusCode":200
      }
   }
] 
 </msg>
<msg time="2026-11-14T13:29:21.467304" level="INFO">PUT Response : url=http://172.17.0.4:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '1177'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-14T13:29:21.467687" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/expectation</arg>
<arg>data=${data}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:21.452301" elapsed="0.015462"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 201</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:21.468118" elapsed="0.001234"/>
</kw>
<status status="PASS" start="2026-11-14T13:29:21.430851" elapsed="0.038659"/>
</kw>
<kw name="GetMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.471190" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:21.470658" elapsed="0.000906"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.497917" level="INFO">GET Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_01 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:21.498011" level="INFO">GET Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '729', 'Server': 'TornadoServer/6.1'} 
 body={
  "administrativeState": "UNLOCKED",
  "fileBasedGP": 15,
  "fileLocation": "pm.xml",
  "managedObjectDNsBasic": [
    {
      "DN": "string"
    }
  ],
  "measurementGroupName": "msg_grp_01",
  "measurementTypes": [
    {
      "measurementType": "counter_a"
    }
  ],
  "networkFunctions": [
    {
      "ipv4Address": "10.10.10.32",
      "ipv6Address": "2001:0db8:0:0:0:0:1428:57ab",
      "modelInvariantId": "7129e420-d396-4efb-af02-6b83499b12f8",
      "modelName": "PNF102",
      "modelVersionId": "77c1a3d9-422a-4f78-bd8f-f7a357685b25",
      "nfMgStatus": "CREATED",
      "nfName": "pnf-existing",
      "sdncModelName": "pm_control",
      "sdncModelVersion": "1.0.0"
    }
  ],
  "subscriptionName": "subs_01"
}
 
 </msg>
<msg time="2026-11-14T13:29:21.498237" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:21.498658" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:21.471911" elapsed="0.026823"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:21.498869" elapsed="0.000103"/>
</return>
<msg time="2026-11-14T13:29:21.499269" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_01</arg>
<status status="PASS" start="2026-11-14T13:29:21.469881" elapsed="0.029458"/>
</kw>
<kw name="Should Not Contain" owner="BuiltIn">
<arg>${resp.text}</arg>
<arg>pnf_newly_discovered</arg>
<doc>Fails if the `container` contains the `item`.</doc>
<status status="PASS" start="2026-11-14T13:29:21.499688" elapsed="0.001104"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:21.501478" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:21.501278" elapsed="0.000517"/>
</kw>
<doc>Verify PNF deleted AAI event on MR is handled</doc>
<tag>PMSH_06</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:28:58.383230" elapsed="23.118730"/>
</test>
<test id="s1-s1-t8" name="Verify Create Subscription API for duplicate subscription Id" line="103">
<kw name="json_from_file" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-14T13:29:21.505948" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/create_subscription_request.json"&gt;/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/create_subscription_request.json&lt;/a&gt;'.</msg>
<msg time="2026-11-14T13:29:21.506308" level="INFO">${json_file} = {
  "subscription": {
    "subscriptionName": "subs_01",
    "operationalPolicyName":"pmsh-operational-policy",
    "controlLoopName":"pmsh-control-loop",
    "nfFilter": {
      "nfNames": [
        ...</msg>
<var>${json_file}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-11-14T13:29:21.505479" elapsed="0.000900"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.508023" level="INFO">${json_object} = {'subscription': {'subscriptionName': 'subs_01', 'operationalPolicyName': 'pmsh-operational-policy', 'controlLoopName': 'pmsh-control-loop', 'nfFilter': {'nfNames': ['^pnf.*', '^vnf.*'], 'modelInvaria...</msg>
<var>${json_object}</var>
<arg>json.loads('''${json_file}''')</arg>
<arg>json</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-11-14T13:29:21.506749" elapsed="0.001352"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-14T13:29:21.508232" elapsed="0.000070"/>
</return>
<msg time="2026-11-14T13:29:21.508647" level="INFO">${json_value} = {'subscription': {'subscriptionName': 'subs_01', 'operationalPolicyName': 'pmsh-operational-policy', 'controlLoopName': 'pmsh-control-loop', 'nfFilter': {'nfNames': ['^pnf.*', '^vnf.*'], 'modelInvaria...</msg>
<var>${json_value}</var>
<arg>${CREATE_SUBSCRIPTION_DATA}</arg>
<status status="PASS" start="2026-11-14T13:29:21.504696" elapsed="0.004026"/>
</kw>
<kw name="PostSubscriptionCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.510484" level="INFO">Creating Session using : alias=pmsh_sub_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_sub_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:21.509996" elapsed="0.000885"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.512201" level="INFO">${headers} = {'Accept': 'application/json', 'Content-Type': 'application/json'}</msg>
<var>${headers}</var>
<arg>Accept=application/json</arg>
<arg>Content-Type=application/json</arg>
<doc>Creates and returns a dictionary based on the given `items`.</doc>
<status status="PASS" start="2026-11-14T13:29:21.511297" elapsed="0.000977"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.535994" level="INFO">POST Request : url=https://172.17.0.5:8443/subscription 
 path_url=/subscription 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '761'} 
 body=b'{"subscription": {"subscriptionName": "subs_01", "operationalPolicyName": "pmsh-operational-policy", "controlLoopName": "pmsh-control-loop", "nfFilter": {"nfNames": ["^pnf.*", "^vnf.*"], "modelInvariantIDs": [], "modelVersionIDs": [], "modelNames": []}, "measurementGroups": [{"measurementGroup": {"measurementGroupName": "msg_grp_01", "fileBasedGP": 15, "fileLocation": "pm.xml", "administrativeState": "UNLOCKED", "measurementTypes": [{"measurementType": "counter_a"}], "managedObjectDNsBasic": [{"DN": "string"}]}}, {"measurementGroup": {"measurementGroupName": "msg_grp_02", "fileBasedGP": 15, "fileLocation": "pm.xml", "administrativeState": "LOCKED", "measurementTypes": [{"measurementType": "counter_a"}], "managedObjectDNsBasic": [{"DN": "string"}]}}]}}' 
 </msg>
<msg time="2026-11-14T13:29:21.536085" level="INFO">POST Response : url=https://172.17.0.5:8443/subscription 
 status=409, reason=CONFLICT 
 headers={'Content-Type': 'application/json', 'Content-Length': '45', 'Server': 'TornadoServer/6.1'} 
 body="subscription Name: subs_01 already exists."
 
 </msg>
<msg time="2026-11-14T13:29:21.536288" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:21.536598" level="INFO">${resp} = &lt;Response [409]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_sub_session</arg>
<arg>url=${url}</arg>
<arg>json=${data}</arg>
<arg>headers=${headers}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:21.512595" elapsed="0.024103"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:21.536858" elapsed="0.000073"/>
</return>
<msg time="2026-11-14T13:29:21.537220" level="INFO">${resp} = &lt;Response [409]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}</arg>
<arg>${json_value}</arg>
<status status="PASS" start="2026-11-14T13:29:21.509104" elapsed="0.028186"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 409</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:21.537650" elapsed="0.001250"/>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${resp.json()}</arg>
<arg>subscription Name: subs_01 already exists.</arg>
<doc>Fails if the `container` does not contain the `item` one or more times.</doc>
<status status="PASS" start="2026-11-14T13:29:21.539262" elapsed="0.001043"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:21.540979" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:21.540783" elapsed="0.000328"/>
</kw>
<doc>Verify Create Subscription API for duplicate subscription Id</doc>
<tag>PMSH_08</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:21.502803" elapsed="0.038417"/>
</test>
<test id="s1-s1-t9" name="Verify Create Subscription API for schema error" line="112">
<kw name="json_from_file" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-14T13:29:21.544673" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/create_subscription_schema_error_request.json"&gt;/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/create_subscription_schema_error_request.json&lt;/a&gt;'.</msg>
<msg time="2026-11-14T13:29:21.545053" level="INFO">${json_file} = {
  "subscription": {
    "subscriptionName": "subs_01",
    "operationalPolicyName":"pmsh-operational-policy",
    "controlLoopName":"pmsh-control-loop",
    "nfFilter": {
      "nfNames": [
        ...</msg>
<var>${json_file}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-11-14T13:29:21.544204" elapsed="0.000921"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.546688" level="INFO">${json_object} = {'subscription': {'subscriptionName': 'subs_01', 'operationalPolicyName': 'pmsh-operational-policy', 'controlLoopName': 'pmsh-control-loop', 'nfFilter': {'nfNames': ['^pnf.*', '^vnf.*'], 'modelInvaria...</msg>
<var>${json_object}</var>
<arg>json.loads('''${json_file}''')</arg>
<arg>json</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-11-14T13:29:21.545479" elapsed="0.001341"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-14T13:29:21.546989" elapsed="0.000073"/>
</return>
<msg time="2026-11-14T13:29:21.547386" level="INFO">${json_value} = {'subscription': {'subscriptionName': 'subs_01', 'operationalPolicyName': 'pmsh-operational-policy', 'controlLoopName': 'pmsh-control-loop', 'nfFilter': {'nfNames': ['^pnf.*', '^vnf.*'], 'modelInvaria...</msg>
<var>${json_value}</var>
<arg>${CREATE_SUBSCRIPTION_SCHEMA_ERROR_DATA}</arg>
<status status="PASS" start="2026-11-14T13:29:21.543208" elapsed="0.004249"/>
</kw>
<kw name="PostSubscriptionCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.549649" level="INFO">Creating Session using : alias=pmsh_sub_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_sub_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:21.548772" elapsed="0.001256"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.551321" level="INFO">${headers} = {'Accept': 'application/json', 'Content-Type': 'application/json'}</msg>
<var>${headers}</var>
<arg>Accept=application/json</arg>
<arg>Content-Type=application/json</arg>
<doc>Creates and returns a dictionary based on the given `items`.</doc>
<status status="PASS" start="2026-11-14T13:29:21.550417" elapsed="0.000978"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.570715" level="INFO">POST Request : url=https://172.17.0.5:8443/subscription 
 path_url=/subscription 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '611'} 
 body=b'{"subscription": {"subscriptionName": "subs_01", "operationalPolicyName": "pmsh-operational-policy", "controlLoopName": "pmsh-control-loop", "nfFilter": {"nfNames": ["^pnf.*", "^vnf.*"], "modelInvariantIDs": ["8lk4578-d396-4efb-af02-6b83499b12f8", "687kj45-d396-4efb-af02-6b83499b12f8"], "modelVersionIDs": ["e80a6ae3-cafd-4d24-850d-e14c084a5ca9"], "modelNames": ["PNF102"]}, "measurementGroups": [{"measurementGroup": {"measurementGroupName": "msrmt_grp_name", "fileBasedGP": 15, "fileLocation": "pm.xml", "measurementTypes": [{"measurementType": "counter_a"}], "managedObjectDNsBasic": [{"DN": "string"}]}}]}}' 
 </msg>
<msg time="2026-11-14T13:29:21.572312" level="INFO">POST Response : url=https://172.17.0.5:8443/subscription 
 status=400, reason=BAD REQUEST 
 headers={'Content-Type': 'application/problem+json', 'Content-Length': '185', 'Server': 'TornadoServer/6.1'} 
 body={
  "detail": "'administrativeState' is a required property - 'subscription.measurementGroups.0.measurementGroup'",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}
 
 </msg>
<msg time="2026-11-14T13:29:21.572756" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:21.573144" level="INFO">${resp} = &lt;Response [400]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_sub_session</arg>
<arg>url=${url}</arg>
<arg>json=${data}</arg>
<arg>headers=${headers}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:21.551748" elapsed="0.021472"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:21.573380" elapsed="0.000074"/>
</return>
<msg time="2026-11-14T13:29:21.573768" level="INFO">${resp} = &lt;Response [400]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}</arg>
<arg>${json_value}</arg>
<status status="PASS" start="2026-11-14T13:29:21.547866" elapsed="0.025973"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 400</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:21.574175" elapsed="0.001282"/>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${resp.json()['detail']}</arg>
<arg>'administrativeState' is a required property - 'subscription.measurementGroups.0.measurementGroup'</arg>
<doc>Fails if the `container` does not contain the `item` one or more times.</doc>
<status status="PASS" start="2026-11-14T13:29:21.575816" elapsed="0.001086"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:21.577561" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:21.577365" elapsed="0.000395"/>
</kw>
<doc>Verify Create Subscription API</doc>
<tag>PMSH_09</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:21.541952" elapsed="0.035928"/>
</test>
<test id="s1-s1-t10" name="Verify Create Subscription API for filter values missing" line="121">
<kw name="json_from_file" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-14T13:29:21.581163" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/create_subscription_bad_request.json"&gt;/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/create_subscription_bad_request.json&lt;/a&gt;'.</msg>
<msg time="2026-11-14T13:29:21.581521" level="INFO">${json_file} = {
  "subscription": {
    "subscriptionName": "subs_02",
    "operationalPolicyName":"pmsh-operational-policy",
    "controlLoopName":"pmsh-control-loop",
    "nfFilter": {
      "nfNames": [
      ],...</msg>
<var>${json_file}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-11-14T13:29:21.580720" elapsed="0.000872"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.583168" level="INFO">${json_object} = {'subscription': {'subscriptionName': 'subs_02', 'operationalPolicyName': 'pmsh-operational-policy', 'controlLoopName': 'pmsh-control-loop', 'nfFilter': {'nfNames': [], 'modelInvariantIDs': [], 'model...</msg>
<var>${json_object}</var>
<arg>json.loads('''${json_file}''')</arg>
<arg>json</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-11-14T13:29:21.581964" elapsed="0.001281"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-14T13:29:21.583376" elapsed="0.000071"/>
</return>
<msg time="2026-11-14T13:29:21.583787" level="INFO">${json_value} = {'subscription': {'subscriptionName': 'subs_02', 'operationalPolicyName': 'pmsh-operational-policy', 'controlLoopName': 'pmsh-control-loop', 'nfFilter': {'nfNames': [], 'modelInvariantIDs': [], 'model...</msg>
<var>${json_value}</var>
<arg>${CREATE_SUBSCRIPTION_BAD_DATA}</arg>
<status status="PASS" start="2026-11-14T13:29:21.579919" elapsed="0.003940"/>
</kw>
<kw name="PostSubscriptionCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.585641" level="INFO">Creating Session using : alias=pmsh_sub_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_sub_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:21.585129" elapsed="0.000957"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.587373" level="INFO">${headers} = {'Accept': 'application/json', 'Content-Type': 'application/json'}</msg>
<var>${headers}</var>
<arg>Accept=application/json</arg>
<arg>Content-Type=application/json</arg>
<doc>Creates and returns a dictionary based on the given `items`.</doc>
<status status="PASS" start="2026-11-14T13:29:21.586472" elapsed="0.000975"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.610565" level="INFO">POST Request : url=https://172.17.0.5:8443/subscription 
 path_url=/subscription 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '506'} 
 body=b'{"subscription": {"subscriptionName": "subs_02", "operationalPolicyName": "pmsh-operational-policy", "controlLoopName": "pmsh-control-loop", "nfFilter": {"nfNames": [], "modelInvariantIDs": [], "modelVersionIDs": [], "modelNames": []}, "measurementGroups": [{"measurementGroup": {"measurementGroupName": "msrmt_grp_name", "fileBasedGP": 15, "fileLocation": "pm.xml", "administrativeState": "UNLOCKED", "measurementTypes": [{"measurementType": "counter_a"}], "managedObjectDNsBasic": [{"DN": "string"}]}}]}}' 
 </msg>
<msg time="2026-11-14T13:29:21.610684" level="INFO">POST Response : url=https://172.17.0.5:8443/subscription 
 status=400, reason=BAD REQUEST 
 headers={'Content-Type': 'application/json', 'Content-Length': '56', 'Server': 'TornadoServer/6.1'} 
 body="At least one filter within nfFilter must not be empty"
 
 </msg>
<msg time="2026-11-14T13:29:21.610889" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:21.611232" level="INFO">${resp} = &lt;Response [400]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_sub_session</arg>
<arg>url=${url}</arg>
<arg>json=${data}</arg>
<arg>headers=${headers}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:21.587797" elapsed="0.023510"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:21.611469" elapsed="0.000074"/>
</return>
<msg time="2026-11-14T13:29:21.611866" level="INFO">${resp} = &lt;Response [400]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}</arg>
<arg>${json_value}</arg>
<status status="PASS" start="2026-11-14T13:29:21.584238" elapsed="0.027698"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 400</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:21.612269" elapsed="0.001433"/>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${resp.json()}</arg>
<arg>At least one filter within nfFilter must not be empty</arg>
<doc>Fails if the `container` does not contain the `item` one or more times.</doc>
<status status="PASS" start="2026-11-14T13:29:21.614037" elapsed="0.001078"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:21.615797" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:21.615576" elapsed="0.000354"/>
</kw>
<doc>Verify Create Subscription API</doc>
<tag>PMSH_10</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:21.578588" elapsed="0.037452"/>
</test>
<test id="s1-s1-t11" name="Verify Get Measurement Group with Network Functions" line="130">
<kw name="GetMeasGrpWithNFSCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.620002" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:21.619121" elapsed="0.001258"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.644574" level="INFO">GET Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_01 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:21.644701" level="INFO">GET Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '729', 'Server': 'TornadoServer/6.1'} 
 body={
  "administrativeState": "UNLOCKED",
  "fileBasedGP": 15,
  "fileLocation": "pm.xml",
  "managedObjectDNsBasic": [
    {
      "DN": "string"
    }
  ],
  "measurementGroupName": "msg_grp_01",
  "measurementTypes": [
    {
      "measurementType": "counter_a"
    }
  ],
  "networkFunctions": [
    {
      "ipv4Address": "10.10.10.32",
      "ipv6Address": "2001:0db8:0:0:0:0:1428:57ab",
      "modelInvariantId": "7129e420-d396-4efb-af02-6b83499b12f8",
      "modelName": "PNF102",
      "modelVersionId": "77c1a3d9-422a-4f78-bd8f-f7a357685b25",
      "nfMgStatus": "CREATED",
      "nfName": "pnf-existing",
      "sdncModelName": "pm_control",
      "sdncModelVersion": "1.0.0"
    }
  ],
  "subscriptionName": "subs_01"
}
 
 </msg>
<msg time="2026-11-14T13:29:21.645094" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:21.645407" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:21.620722" elapsed="0.024758"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:21.645636" elapsed="0.000077"/>
</return>
<msg time="2026-11-14T13:29:21.646000" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_01</arg>
<status status="PASS" start="2026-11-14T13:29:21.618303" elapsed="0.027765"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.647645" level="INFO">Length is 1.</msg>
<msg time="2026-11-14T13:29:21.647908" level="INFO">${nf_length} = 1</msg>
<var>${nf_length}</var>
<arg>${resp.json()['networkFunctions']}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-11-14T13:29:21.646376" elapsed="0.001600"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:21.648310" elapsed="0.001200"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['subscriptionName']}</arg>
<arg>subs_01</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:21.649846" elapsed="0.001065"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['measurementGroupName']}</arg>
<arg>msg_grp_01</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:21.651317" elapsed="0.001067"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['networkFunctions'][0]['nfName']}</arg>
<arg>pnf-existing</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:21.652727" elapsed="0.001110"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.654978" level="INFO">Argument types are:
&lt;class 'int'&gt;
&lt;class 'str'&gt;</msg>
<arg>${nf_length}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<status status="PASS" start="2026-11-14T13:29:21.654198" elapsed="0.000970"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:21.655833" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:21.655636" elapsed="0.000329"/>
</kw>
<doc>Verify Get Measurement Group with Network Functions by using MGName and SubName</doc>
<tag>PMSH_11</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:21.616880" elapsed="0.039193"/>
</test>
<test id="s1-s1-t12" name="Verify Get single subscription with Network Functions" line="142">
<kw name="GetSubsCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.659889" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:21.659376" elapsed="0.000900"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.694671" level="INFO">GET Request : url=https://172.17.0.5:8443/subscription/subs_01 
 path_url=/subscription/subs_01 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '26'} 
 body={"path": {url_path_param}} 
 </msg>
<msg time="2026-11-14T13:29:21.694766" level="INFO">GET Response : url=https://172.17.0.5:8443/subscription/subs_01 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '1283', 'Server': 'TornadoServer/6.1'} 
 body={
  "subscription": {
    "controlLoopName": "pmsh-control-loop",
    "measurementGroups": [
      {
        "measurementGroup": {
          "administrativeState": "LOCKED",
          "fileBasedGP": 15,
          "fileLocation": "pm.xml",
          "managedObjectDNsBasic": [
            {
              "DN": "string"
            }
          ],
          "measurementGroupName": "msg_grp_02",
          "measurementTypes": [
            {
              "measurementType": "counter_a"
            }
          ]
        }
      },
      {
        "measurementGroup": {
          "administrativeState": "UNLOCKED",
          "fileBasedGP": 15,
          "fileLocation": "pm.xml",
          "managedObjectDNsBasic": [
            {
              "DN": "string"
            }
          ],
          "measurementGroupName": "msg_grp_01",
          "measurementTypes": [
            {
              "measurementType": "counter_a"
            }
          ]
        }
      }
    ],
    "nfFilter": {
      "modelInvariantIDs": [],
      "modelNames": [],
      "modelVersionIDs": [],
      "nfNames": [
        "^pnf.*",
        "^vnf.*"
      ]
    },
    "nfs": [
      "pnf-existing"
    ],
    "operationalPolicyName": "pmsh-operational-policy",
    "subscriptionName": "subs_01"
  }
}
 
 </msg>
<msg time="2026-11-14T13:29:21.695007" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:21.695319" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<arg>data={"path": {url_path_param}}</arg>
<arg>expected_status=any</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:21.660594" elapsed="0.034799"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:21.695542" elapsed="0.000099"/>
</return>
<msg time="2026-11-14T13:29:21.695931" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}/subs_01</arg>
<arg>""</arg>
<status status="PASS" start="2026-11-14T13:29:21.658449" elapsed="0.037551"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.697319" level="INFO">Length is 1.</msg>
<msg time="2026-11-14T13:29:21.697570" level="INFO">${nf_length} = 1</msg>
<var>${nf_length}</var>
<arg>${resp.json()['subscription']['nfs']}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-11-14T13:29:21.696312" elapsed="0.001346"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:21.697990" elapsed="0.001230"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['subscription']['subscriptionName']}</arg>
<arg>subs_01</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:21.699532" elapsed="0.001115"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['subscription']['nfs'][0]}</arg>
<arg>pnf-existing</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:21.700966" elapsed="0.001064"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['subscription']['measurementGroups'][0]['measurementGroup']['measurementGroupName']}</arg>
<arg>msg_grp_02</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:21.702349" elapsed="0.001121"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.704571" level="INFO">Argument types are:
&lt;class 'int'&gt;
&lt;class 'str'&gt;</msg>
<arg>${nf_length}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<status status="PASS" start="2026-11-14T13:29:21.703847" elapsed="0.000930"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:21.705424" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:21.705223" elapsed="0.000338"/>
</kw>
<doc>Verify Get single subscription with Network Functions by using subscription name</doc>
<tag>PMSH_12</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:21.656803" elapsed="0.048886"/>
</test>
<test id="s1-s1-t13" name="Verify Get single subscription with Network Functions None" line="154">
<kw name="GetSubsCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.709822" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:21.709302" elapsed="0.000895"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.734021" level="INFO">GET Request : url=https://172.17.0.5:8443/subscription/sub_none 
 path_url=/subscription/sub_none 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '26'} 
 body={"path": {url_path_param}} 
 </msg>
<msg time="2026-11-14T13:29:21.734109" level="INFO">GET Response : url=https://172.17.0.5:8443/subscription/sub_none 
 status=404, reason=NOT FOUND 
 headers={'Content-Type': 'application/json', 'Content-Length': '71', 'Server': 'TornadoServer/6.1'} 
 body={
  "error": "Subscription was not defined with the name : sub_none"
}
 
 </msg>
<msg time="2026-11-14T13:29:21.734492" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:21.734903" level="INFO">${resp} = &lt;Response [404]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<arg>data={"path": {url_path_param}}</arg>
<arg>expected_status=any</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:21.710573" elapsed="0.024435"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:21.735161" elapsed="0.000077"/>
</return>
<msg time="2026-11-14T13:29:21.735525" level="INFO">${resp} = &lt;Response [404]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}/sub_none</arg>
<arg>""</arg>
<status status="PASS" start="2026-11-14T13:29:21.708233" elapsed="0.027362"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 404</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:21.735946" elapsed="0.001229"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['error']}</arg>
<arg>Subscription was not defined with the name : sub_none</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:21.737486" elapsed="0.001038"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:21.739231" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:21.739033" elapsed="0.000330"/>
</kw>
<doc>Verify Get single subscription with Network Functions when there is no defined subscription</doc>
<tag>PMSH_13</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:21.706391" elapsed="0.033081"/>
</test>
<test id="s1-s1-t14" name="Verify Update Measurement Group admin status from Unlocked to Locking" line="162">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.742166" level="INFO">${json_string} = {"administrativeState": "LOCKED"}</msg>
<var>${json_string}</var>
<arg>{"administrativeState": "LOCKED"}</arg>
<doc>Returns the given values which can then be assigned to a variable.</doc>
<status status="PASS" start="2026-11-14T13:29:21.741297" elapsed="0.000942"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.743713" level="INFO">${json} = {'administrativeState': 'LOCKED'}</msg>
<var>${json}</var>
<arg>json.loads('''${json_string}''')</arg>
<arg>json</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-11-14T13:29:21.742581" elapsed="0.001207"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.745519" level="INFO">Creating Session using : alias=pmsh_sub_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_sub_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:21.745035" elapsed="0.000881"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.747189" level="INFO">${headers} = {'Accept': 'application/json', 'Content-Type': 'application/json'}</msg>
<var>${headers}</var>
<arg>Accept=application/json</arg>
<arg>Content-Type=application/json</arg>
<doc>Creates and returns a dictionary based on the given `items`.</doc>
<status status="PASS" start="2026-11-14T13:29:21.746294" elapsed="0.000968"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.820040" level="INFO">PUT Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01/adminState 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_01/adminState 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '33'} 
 body=b'{"administrativeState": "LOCKED"}' 
 </msg>
<msg time="2026-11-14T13:29:21.820146" level="INFO">PUT Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01/adminState 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '35', 'Server': 'TornadoServer/6.1'} 
 body="Successfully updated admin state"
 
 </msg>
<msg time="2026-11-14T13:29:21.820361" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:21.820726" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_sub_session</arg>
<arg>url=${url}</arg>
<arg>json=${data}</arg>
<arg>headers=${headers}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:21.747578" elapsed="0.073226"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:21.820969" elapsed="0.000083"/>
</return>
<msg time="2026-11-14T13:29:21.821347" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_01/adminState</arg>
<arg>${json}</arg>
<status status="PASS" start="2026-11-14T13:29:21.744189" elapsed="0.077230"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:21.821795" elapsed="0.001506"/>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${resp.json()}</arg>
<arg>Successfully updated admin state</arg>
<doc>Fails if the `container` does not contain the `item` one or more times.</doc>
<status status="PASS" start="2026-11-14T13:29:21.823656" elapsed="0.001066"/>
</kw>
<kw name="GetMeasGrpWithNFSCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.826391" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:21.825902" elapsed="0.001237"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.851643" level="INFO">GET Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_01 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:21.851740" level="INFO">GET Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '735', 'Server': 'TornadoServer/6.1'} 
 body={
  "administrativeState": "LOCKING",
  "fileBasedGP": 15,
  "fileLocation": "pm.xml",
  "managedObjectDNsBasic": [
    {
      "DN": "string"
    }
  ],
  "measurementGroupName": "msg_grp_01",
  "measurementTypes": [
    {
      "measurementType": "counter_a"
    }
  ],
  "networkFunctions": [
    {
      "ipv4Address": "10.10.10.32",
      "ipv6Address": "2001:0db8:0:0:0:0:1428:57ab",
      "modelInvariantId": "7129e420-d396-4efb-af02-6b83499b12f8",
      "modelName": "PNF102",
      "modelVersionId": "77c1a3d9-422a-4f78-bd8f-f7a357685b25",
      "nfMgStatus": "PENDING_DELETE",
      "nfName": "pnf-existing",
      "sdncModelName": "pm_control",
      "sdncModelVersion": "1.0.0"
    }
  ],
  "subscriptionName": "subs_01"
}
 
 </msg>
<msg time="2026-11-14T13:29:21.852011" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:21.852393" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:21.827462" elapsed="0.025006"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:21.852612" elapsed="0.000094"/>
</return>
<msg time="2026-11-14T13:29:21.853011" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_01</arg>
<status status="PASS" start="2026-11-14T13:29:21.825120" elapsed="0.027962"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.854377" level="INFO">Length is 1.</msg>
<msg time="2026-11-14T13:29:21.854652" level="INFO">${nf_length} = 1</msg>
<var>${nf_length}</var>
<arg>${resp.json()['networkFunctions']}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-11-14T13:29:21.853391" elapsed="0.001330"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:21.855088" elapsed="0.001194"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['subscriptionName']}</arg>
<arg>subs_01</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:21.856596" elapsed="0.001066"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['measurementGroupName']}</arg>
<arg>msg_grp_01</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:21.857980" elapsed="0.001071"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['administrativeState']}</arg>
<arg>LOCKING</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:21.859368" elapsed="0.001032"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['networkFunctions'][0]['nfName']}</arg>
<arg>pnf-existing</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:21.860738" elapsed="0.001045"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['networkFunctions'][0]['nfMgStatus']}</arg>
<arg>PENDING_DELETE</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:21.862102" elapsed="0.001081"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.864283" level="INFO">Argument types are:
&lt;class 'int'&gt;
&lt;class 'str'&gt;</msg>
<arg>${nf_length}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<status status="PASS" start="2026-11-14T13:29:21.863537" elapsed="0.000931"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:21.865138" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:21.864943" elapsed="0.000525"/>
</kw>
<doc>Verify Update Measurement Group admin status from Unlocked to Locking</doc>
<tag>PMSH_14</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:21.740199" elapsed="0.125386"/>
</test>
<test id="s1-s1-t15" name="Verify Update Measurement Group admin status with locking in progress" line="181">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.868344" level="INFO">${json_string} = {"administrativeState": "LOCKED"}</msg>
<var>${json_string}</var>
<arg>{"administrativeState": "LOCKED"}</arg>
<doc>Returns the given values which can then be assigned to a variable.</doc>
<status status="PASS" start="2026-11-14T13:29:21.867480" elapsed="0.000937"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.869855" level="INFO">${json} = {'administrativeState': 'LOCKED'}</msg>
<var>${json}</var>
<arg>json.loads('''${json_string}''')</arg>
<arg>json</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-11-14T13:29:21.868784" elapsed="0.001144"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.871725" level="INFO">Creating Session using : alias=pmsh_sub_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_sub_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:21.871213" elapsed="0.000885"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-14T13:29:21.873344" level="INFO">${headers} = {'Accept': 'application/json', 'Content-Type': 'application/json'}</msg>
<var>${headers}</var>
<arg>Accept=application/json</arg>
<arg>Content-Type=application/json</arg>
<doc>Creates and returns a dictionary based on the given `items`.</doc>
<status status="PASS" start="2026-11-14T13:29:21.872480" elapsed="0.000937"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.895108" level="INFO">PUT Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01/adminState 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_01/adminState 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '33'} 
 body=b'{"administrativeState": "LOCKED"}' 
 </msg>
<msg time="2026-11-14T13:29:21.895199" level="INFO">PUT Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01/adminState 
 status=409, reason=CONFLICT 
 headers={'Content-Type': 'application/json', 'Content-Length': '117', 'Server': 'TornadoServer/6.1'} 
 body="Cannot update admin status as Locked request is in progress for sub name: subs_01  and meas group name: msg_grp_01"
 
 </msg>
<msg time="2026-11-14T13:29:21.895399" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:21.895782" level="INFO">${resp} = &lt;Response [409]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_sub_session</arg>
<arg>url=${url}</arg>
<arg>json=${data}</arg>
<arg>headers=${headers}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:21.873754" elapsed="0.022102"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:21.896016" elapsed="0.000076"/>
</return>
<msg time="2026-11-14T13:29:21.896377" level="INFO">${resp} = &lt;Response [409]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_01/adminState</arg>
<arg>${json}</arg>
<status status="PASS" start="2026-11-14T13:29:21.870326" elapsed="0.026121"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 409</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:21.896797" elapsed="0.001393"/>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${resp.json()}</arg>
<arg>Cannot update admin status as Locked request is in progress for sub name: subs_01</arg>
<arg>and meas group name: msg_grp_01</arg>
<doc>Fails if the `container` does not contain the `item` one or more times.</doc>
<status status="PASS" start="2026-11-14T13:29:21.898523" elapsed="0.001158"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:21.900341" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:21.900145" elapsed="0.000328"/>
</kw>
<doc>Verify Update Measurement Group admin status with locking in progress</doc>
<tag>PMSH_15</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:21.866333" elapsed="0.034247"/>
</test>
<test id="s1-s1-t16" name="Verify Measurement Group admin status update from Locking to Locked" line="191">
<kw name="AddDeletePolicyResponeToMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-14T13:29:21.905382" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/policy-sub-deleted-pnf-existing.json"&gt;/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/policy-sub-deleted-pnf-existing.json&lt;/a&gt;'.</msg>
<msg time="2026-11-14T13:29:21.905784" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${file}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-11-14T13:29:21.904512" elapsed="0.001345"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-14T13:29:21.905981" elapsed="0.000073"/>
</return>
<msg time="2026-11-14T13:29:21.906345" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${MR_POLICY_RESPONSE_PNF_DELETED}</arg>
<status status="PASS" start="2026-11-14T13:29:21.903743" elapsed="0.002672"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.907295" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.4:3904, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>mr_sim_session</arg>
<arg>${MR_SIM_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:21.906773" elapsed="0.000914"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:21.917486" level="INFO">PUT Request : url=http://172.17.0.4:3904/clear 
 path_url=/clear 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '30'} 
 body={"id" : "pmsh_cl_input_event"} 
 </msg>
<msg time="2026-11-14T13:29:21.917583" level="INFO">PUT Response : url=http://172.17.0.4:3904/clear 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/clear" is deprecated use "/mockserver/clear" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:21.918117" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/clear</arg>
<arg>data={"id" : "pmsh_cl_input_event"}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:21.908011" elapsed="0.010177"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:21.918536" elapsed="0.001287"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-14T13:29:23.921068" level="INFO">Slept 2 seconds.</msg>
<msg time="2026-11-14T13:29:23.921130" level="INFO">Allow MR_SIM time to set expectation</msg>
<arg>2</arg>
<arg>Allow MR_SIM time to set expectation</arg>
<doc>Pauses execution for the given time.</doc>
<status status="PASS" start="2026-11-14T13:29:21.920124" elapsed="2.001226"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:23.937194" level="INFO">PUT Request : url=http://172.17.0.4:3904/expectation 
 path_url=/expectation 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '1590'} 
 body=[
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "statusCode":200,
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "body":{
            "type":"JSON",
            "json":{
               
            }
         }
      }
   },
   {
      "id":"pmsh_cl_input_event",
      "httpRequest":{
         "path":"/events/unauthenticated.PMSH_CL_INPUT/.*",
         "method":"GET",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "statusCode":200,
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "body":{
            "type":"JSON",
            "json":[
               "{\"name\":\"ResponseEvent\",\"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\"source\":\"APEX\",\"target\":\"DCAE\",\"version\":\"0.0.1\",\"status\":{\"subscriptionName\":\"subs_01\",\"measurementGroupName\": \"msg_grp_01\",\"nfName\":\"pnf-existing\",\"changeType\":\"DELETE\",\"message\":\"success\"}}"
            ]
         }
      }
   },
   {
      "id":"dcae_cl_output_event",
      "httpRequest":{
         "path":"/events/unauthenticated.DCAE_CL_OUTPUT/.*",
         "method":"POST"
      },
      "httpResponse":{
         "statusCode":200
      }
   }
] 
 </msg>
<msg time="2026-11-14T13:29:23.937314" level="INFO">PUT Response : url=http://172.17.0.4:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '1489'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : [ "{\"name\":\"ResponseEvent\",\"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\"source\":\"APEX\",\"target\":\"DCAE\",\"version\":\"0.0.1\",\"status\":{\"subscriptionName\":\"subs_01\",\"measurementGroupName\": \"msg_grp_01\",\"nfName\":\"pnf-existing\",\"changeType\":\"DELETE\",\"message\":\"success\"}}" ]
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-14T13:29:23.937778" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/expectation</arg>
<arg>data=${data}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:23.921714" elapsed="0.016141"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 201</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:23.938218" elapsed="0.001298"/>
</kw>
<status status="PASS" start="2026-11-14T13:29:21.903003" elapsed="2.036698"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-14T13:29:54.941083" level="INFO">Slept 31 seconds.</msg>
<msg time="2026-11-14T13:29:54.941193" level="INFO">Ensure Policy response on MR is picked up</msg>
<arg>31 seconds</arg>
<arg>Ensure Policy response on MR is picked up</arg>
<doc>Pauses execution for the given time.</doc>
<status status="PASS" start="2026-11-14T13:29:23.939971" elapsed="31.001561"/>
</kw>
<kw name="ResetMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-14T13:29:54.944523" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/mr-sim-reset.json"&gt;/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/mr-sim-reset.json&lt;/a&gt;'.</msg>
<msg time="2026-11-14T13:29:54.944942" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${file}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-11-14T13:29:54.944015" elapsed="0.001018"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-14T13:29:54.945161" elapsed="0.000094"/>
</return>
<msg time="2026-11-14T13:29:54.945565" level="INFO">${data} = [
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000...</msg>
<var>${data}</var>
<arg>${MR_SIM_RESET}</arg>
<status status="PASS" start="2026-11-14T13:29:54.943173" elapsed="0.002460"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:54.946517" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.4:3904, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>mr_sim_session</arg>
<arg>${MR_SIM_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:54.945997" elapsed="0.001014"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:54.960525" level="INFO">PUT Request : url=http://172.17.0.4:3904/reset 
 path_url=/reset 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:54.960725" level="INFO">PUT Response : url=http://172.17.0.4:3904/reset 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/reset" is deprecated use "/mockserver/reset" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:54.961435" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/reset</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:54.947338" elapsed="0.014182"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:54.962118" elapsed="0.001877"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:54.976761" level="INFO">PUT Request : url=http://172.17.0.4:3904/expectation 
 path_url=/expectation 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '1249'} 
 body=[
   {
      "id":"mr_aai_event",
      "httpRequest":{
         "method":"GET",
         "path":"/events/AAI-EVENT/.*",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "statusCode":200,
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "body":{
            "type":"JSON",
            "json":{

            }
         }
      }
   },
   {
      "id":"pmsh_cl_input_event",
      "httpRequest":{
         "path":"/events/unauthenticated.PMSH_CL_INPUT/.*",
         "method":"GET",
         "queryStringParameters":{
            "timeout":[
               "5000"
            ]
         }
      },
      "httpResponse":{
         "statusCode":200,
         "headers":{
            "content-type":[
               "application/json"
            ]
         },
         "body":{
            "type":"JSON",
            "json":{

            }
         }
      }
   },
   {
      "id":"dcae_cl_output_event",
      "httpRequest":{
         "path":"/events/unauthenticated.DCAE_CL_OUTPUT/.*",
         "method":"POST"
      },
      "httpResponse":{
         "statusCode":200
      }
   }
] 
 </msg>
<msg time="2026-11-14T13:29:54.976877" level="INFO">PUT Response : url=http://172.17.0.4:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '1177'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-14T13:29:54.977275" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<var>${resp}</var>
<arg>mr_sim_session</arg>
<arg>url=/expectation</arg>
<arg>data=${data}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:54.964332" elapsed="0.013017"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 201</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:54.977709" elapsed="0.001328"/>
</kw>
<status status="PASS" start="2026-11-14T13:29:54.942204" elapsed="0.037026"/>
</kw>
<kw name="GetMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:54.981408" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:54.980517" elapsed="0.001311"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.007001" level="INFO">GET Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_01 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:55.007113" level="INFO">GET Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '331', 'Server': 'TornadoServer/6.1'} 
 body={
  "administrativeState": "LOCKED",
  "fileBasedGP": 15,
  "fileLocation": "pm.xml",
  "managedObjectDNsBasic": [
    {
      "DN": "string"
    }
  ],
  "measurementGroupName": "msg_grp_01",
  "measurementTypes": [
    {
      "measurementType": "counter_a"
    }
  ],
  "networkFunctions": [],
  "subscriptionName": "subs_01"
}
 
 </msg>
<msg time="2026-11-14T13:29:55.007364" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:55.007804" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:54.982177" elapsed="0.025706"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:55.008064" elapsed="0.000109"/>
</return>
<msg time="2026-11-14T13:29:55.008496" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_01</arg>
<status status="PASS" start="2026-11-14T13:29:54.979677" elapsed="0.028891"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['measurementGroupName']}</arg>
<arg>msg_grp_01</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.009008" elapsed="0.001291"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['subscriptionName']}</arg>
<arg>subs_01</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.010630" elapsed="0.001161"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['administrativeState']}</arg>
<arg>LOCKED</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.012149" elapsed="0.001096"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.014598" level="INFO">Length is 0.</msg>
<msg time="2026-11-14T13:29:55.014859" level="INFO">${nf_length} = 0</msg>
<var>${nf_length}</var>
<arg>${resp.json()['networkFunctions']}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-11-14T13:29:55.013579" elapsed="0.001384"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.016145" level="INFO">Argument types are:
&lt;class 'int'&gt;
&lt;class 'str'&gt;</msg>
<arg>${nf_length}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<status status="PASS" start="2026-11-14T13:29:55.015351" elapsed="0.000987"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:55.017068" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:55.016842" elapsed="0.000577"/>
</kw>
<doc>Verify Measurement Group admin status update from Locking to Locked</doc>
<tag>PMSH_16</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:21.901410" elapsed="33.116130"/>
</test>
<test id="s1-s1-t17" name="Verify Update Measurement Group admin status to unlocked" line="205">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.021305" level="INFO">${json_string} = {"administrativeState": "UNLOCKED"}</msg>
<var>${json_string}</var>
<arg>{"administrativeState": "UNLOCKED"}</arg>
<doc>Returns the given values which can then be assigned to a variable.</doc>
<status status="PASS" start="2026-11-14T13:29:55.020410" elapsed="0.000970"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.022860" level="INFO">${json} = {'administrativeState': 'UNLOCKED'}</msg>
<var>${json}</var>
<arg>json.loads('''${json_string}''')</arg>
<arg>json</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-11-14T13:29:55.021733" elapsed="0.001253"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.024862" level="INFO">Creating Session using : alias=pmsh_sub_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_sub_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:55.024356" elapsed="0.000940"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.026574" level="INFO">${headers} = {'Accept': 'application/json', 'Content-Type': 'application/json'}</msg>
<var>${headers}</var>
<arg>Accept=application/json</arg>
<arg>Content-Type=application/json</arg>
<doc>Creates and returns a dictionary based on the given `items`.</doc>
<status status="PASS" start="2026-11-14T13:29:55.025681" elapsed="0.000967"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.165406" level="INFO">PUT Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01/adminState 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_01/adminState 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '35'} 
 body=b'{"administrativeState": "UNLOCKED"}' 
 </msg>
<msg time="2026-11-14T13:29:55.165565" level="INFO">PUT Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01/adminState 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '35', 'Server': 'TornadoServer/6.1'} 
 body="Successfully updated admin state"
 
 </msg>
<msg time="2026-11-14T13:29:55.165868" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:55.166486" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_sub_session</arg>
<arg>url=${url}</arg>
<arg>json=${data}</arg>
<arg>headers=${headers}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:55.027035" elapsed="0.139512"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:55.166758" elapsed="0.000125"/>
</return>
<msg time="2026-11-14T13:29:55.167236" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_01/adminState</arg>
<arg>${json}</arg>
<status status="PASS" start="2026-11-14T13:29:55.023449" elapsed="0.143834"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:55.167727" elapsed="0.001460"/>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${resp.json()}</arg>
<arg>Successfully updated admin state</arg>
<doc>Fails if the `container` does not contain the `item` one or more times.</doc>
<status status="PASS" start="2026-11-14T13:29:55.169402" elapsed="0.000792"/>
</kw>
<kw name="GetMeasGrpWithNFSCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.171543" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:55.171189" elapsed="0.000684"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.194509" level="INFO">GET Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_01 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:55.194594" level="INFO">GET Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '736', 'Server': 'TornadoServer/6.1'} 
 body={
  "administrativeState": "UNLOCKED",
  "fileBasedGP": 15,
  "fileLocation": "pm.xml",
  "managedObjectDNsBasic": [
    {
      "DN": "string"
    }
  ],
  "measurementGroupName": "msg_grp_01",
  "measurementTypes": [
    {
      "measurementType": "counter_a"
    }
  ],
  "networkFunctions": [
    {
      "ipv4Address": "10.10.10.32",
      "ipv6Address": "2001:0db8:0:0:0:0:1428:57ab",
      "modelInvariantId": "7129e420-d396-4efb-af02-6b83499b12f8",
      "modelName": "PNF102",
      "modelVersionId": "77c1a3d9-422a-4f78-bd8f-f7a357685b25",
      "nfMgStatus": "PENDING_CREATE",
      "nfName": "pnf-existing",
      "sdncModelName": "pm_control",
      "sdncModelVersion": "1.0.0"
    }
  ],
  "subscriptionName": "subs_01"
}
 
 </msg>
<msg time="2026-11-14T13:29:55.194854" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:55.195234" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:55.172098" elapsed="0.023187"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:55.195399" elapsed="0.000088"/>
</return>
<msg time="2026-11-14T13:29:55.195712" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_01</arg>
<status status="PASS" start="2026-11-14T13:29:55.170556" elapsed="0.025200"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.196924" level="INFO">Length is 1.</msg>
<msg time="2026-11-14T13:29:55.197112" level="INFO">${nf_length} = 1</msg>
<var>${nf_length}</var>
<arg>${resp.json()['networkFunctions']}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-11-14T13:29:55.196022" elapsed="0.001133"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:55.197371" elapsed="0.004509"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['subscriptionName']}</arg>
<arg>subs_01</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.202101" elapsed="0.000713"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['measurementGroupName']}</arg>
<arg>msg_grp_01</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.203054" elapsed="0.000684"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['administrativeState']}</arg>
<arg>UNLOCKED</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.203946" elapsed="0.000692"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['networkFunctions'][0]['nfName']}</arg>
<arg>pnf-existing</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.204840" elapsed="0.000693"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['networkFunctions'][0]['nfMgStatus']}</arg>
<arg>PENDING_CREATE</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.205732" elapsed="0.000694"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.207152" level="INFO">Argument types are:
&lt;class 'int'&gt;
&lt;class 'str'&gt;</msg>
<arg>${nf_length}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<status status="PASS" start="2026-11-14T13:29:55.206650" elapsed="0.000623"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:55.207745" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:55.207619" elapsed="0.000382"/>
</kw>
<doc>Verify Update Measurement Group admin status to unlocked with no Network Functions in Subscription</doc>
<tag>PMSH_17</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:55.018469" elapsed="0.189614"/>
</test>
<test id="s1-s1-t18" name="Verify Update Measurement Group admin status from Locked to Unlocked with Network function present in subscription" line="224">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.210074" level="INFO">${json_string} = {"administrativeState": "UNLOCKED"}</msg>
<var>${json_string}</var>
<arg>{"administrativeState": "UNLOCKED"}</arg>
<doc>Returns the given values which can then be assigned to a variable.</doc>
<status status="PASS" start="2026-11-14T13:29:55.209674" elapsed="0.000433"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.210993" level="INFO">${json} = {'administrativeState': 'UNLOCKED'}</msg>
<var>${json}</var>
<arg>json.loads('''${json_string}''')</arg>
<arg>json</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-11-14T13:29:55.210266" elapsed="0.000762"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.211949" level="INFO">Creating Session using : alias=pmsh_sub_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_sub_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:55.211709" elapsed="0.000477"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.212805" level="INFO">${headers} = {'Accept': 'application/json', 'Content-Type': 'application/json'}</msg>
<var>${headers}</var>
<arg>Accept=application/json</arg>
<arg>Content-Type=application/json</arg>
<doc>Creates and returns a dictionary based on the given `items`.</doc>
<status status="PASS" start="2026-11-14T13:29:55.212376" elapsed="0.000461"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.356879" level="INFO">PUT Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_02/adminState 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_02/adminState 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '35'} 
 body=b'{"administrativeState": "UNLOCKED"}' 
 </msg>
<msg time="2026-11-14T13:29:55.357050" level="INFO">PUT Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_02/adminState 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '35', 'Server': 'TornadoServer/6.1'} 
 body="Successfully updated admin state"
 
 </msg>
<msg time="2026-11-14T13:29:55.357321" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:55.357842" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_sub_session</arg>
<arg>url=${url}</arg>
<arg>json=${data}</arg>
<arg>headers=${headers}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:55.212994" elapsed="0.145033"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:55.358246" elapsed="0.000126"/>
</return>
<msg time="2026-11-14T13:29:55.358723" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_02/adminState</arg>
<arg>${json}</arg>
<status status="PASS" start="2026-11-14T13:29:55.211290" elapsed="0.147504"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:55.359244" elapsed="0.001442"/>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${resp.json()}</arg>
<arg>Successfully updated admin state</arg>
<doc>Fails if the `container` does not contain the `item` one or more times.</doc>
<status status="PASS" start="2026-11-14T13:29:55.361055" elapsed="0.001133"/>
</kw>
<kw name="GetMeasGrpWithNFSCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.364045" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:55.363514" elapsed="0.000949"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.390055" level="INFO">GET Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_02 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_02 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:55.390152" level="INFO">GET Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_02 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '736', 'Server': 'TornadoServer/6.1'} 
 body={
  "administrativeState": "UNLOCKED",
  "fileBasedGP": 15,
  "fileLocation": "pm.xml",
  "managedObjectDNsBasic": [
    {
      "DN": "string"
    }
  ],
  "measurementGroupName": "msg_grp_02",
  "measurementTypes": [
    {
      "measurementType": "counter_a"
    }
  ],
  "networkFunctions": [
    {
      "ipv4Address": "10.10.10.32",
      "ipv6Address": "2001:0db8:0:0:0:0:1428:57ab",
      "modelInvariantId": "7129e420-d396-4efb-af02-6b83499b12f8",
      "modelName": "PNF102",
      "modelVersionId": "77c1a3d9-422a-4f78-bd8f-f7a357685b25",
      "nfMgStatus": "PENDING_CREATE",
      "nfName": "pnf-existing",
      "sdncModelName": "pm_control",
      "sdncModelVersion": "1.0.0"
    }
  ],
  "subscriptionName": "subs_01"
}
 
 </msg>
<msg time="2026-11-14T13:29:55.390366" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:55.390686" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:55.364786" elapsed="0.025984"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:55.390949" elapsed="0.000105"/>
</return>
<msg time="2026-11-14T13:29:55.391357" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_02</arg>
<status status="PASS" start="2026-11-14T13:29:55.362642" elapsed="0.028799"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.392820" level="INFO">Length is 1.</msg>
<msg time="2026-11-14T13:29:55.393103" level="INFO">${nf_length} = 1</msg>
<var>${nf_length}</var>
<arg>${resp.json()['networkFunctions']}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-11-14T13:29:55.391776" elapsed="0.001396"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:55.393511" elapsed="0.001233"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['subscriptionName']}</arg>
<arg>subs_01</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.395120" elapsed="0.001089"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['measurementGroupName']}</arg>
<arg>msg_grp_02</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.396534" elapsed="0.001062"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['administrativeState']}</arg>
<arg>UNLOCKED</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.397914" elapsed="0.001507"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['networkFunctions'][0]['nfName']}</arg>
<arg>pnf-existing</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.399762" elapsed="0.001194"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()['networkFunctions'][0]['nfMgStatus']}</arg>
<arg>PENDING_CREATE</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.401304" elapsed="0.001078"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.403538" level="INFO">Argument types are:
&lt;class 'int'&gt;
&lt;class 'str'&gt;</msg>
<arg>${nf_length}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<status status="PASS" start="2026-11-14T13:29:55.402741" elapsed="0.000982"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:55.404420" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:55.404225" elapsed="0.000555"/>
</kw>
<doc>Verify Update Measurement Group admin status from Locked to Unlocked with Network function present in subscription</doc>
<tag>PMSH_18</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:55.208731" elapsed="0.196181"/>
</test>
<test id="s1-s1-t19" name="Verify Update Measurement Group admin status with no change" line="243">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.408293" level="INFO">${json_string} = {"administrativeState": "UNLOCKED"}</msg>
<var>${json_string}</var>
<arg>{"administrativeState": "UNLOCKED"}</arg>
<doc>Returns the given values which can then be assigned to a variable.</doc>
<status status="PASS" start="2026-11-14T13:29:55.407254" elapsed="0.001111"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.409816" level="INFO">${json} = {'administrativeState': 'UNLOCKED'}</msg>
<var>${json}</var>
<arg>json.loads('''${json_string}''')</arg>
<arg>json</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-11-14T13:29:55.408713" elapsed="0.001173"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.411795" level="INFO">Creating Session using : alias=pmsh_sub_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_sub_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:55.411304" elapsed="0.000891"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.413496" level="INFO">${headers} = {'Accept': 'application/json', 'Content-Type': 'application/json'}</msg>
<var>${headers}</var>
<arg>Accept=application/json</arg>
<arg>Content-Type=application/json</arg>
<doc>Creates and returns a dictionary based on the given `items`.</doc>
<status status="PASS" start="2026-11-14T13:29:55.412581" elapsed="0.000986"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.435847" level="INFO">PUT Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01/adminState 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_01/adminState 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '35'} 
 body=b'{"administrativeState": "UNLOCKED"}' 
 </msg>
<msg time="2026-11-14T13:29:55.435936" level="INFO">PUT Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_01/adminState 
 status=400, reason=BAD REQUEST 
 headers={'Content-Type': 'application/json', 'Content-Length': '104', 'Server': 'TornadoServer/6.1'} 
 body="Measurement group is already in UNLOCKED state for sub name: subs_01  and meas group name: msg_grp_01"
 
 </msg>
<msg time="2026-11-14T13:29:55.436167" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:55.436547" level="INFO">${resp} = &lt;Response [400]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_sub_session</arg>
<arg>url=${url}</arg>
<arg>json=${data}</arg>
<arg>headers=${headers}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:55.413882" elapsed="0.022739"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:55.436779" elapsed="0.000078"/>
</return>
<msg time="2026-11-14T13:29:55.437169" level="INFO">${resp} = &lt;Response [400]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_01/adminState</arg>
<arg>${json}</arg>
<status status="PASS" start="2026-11-14T13:29:55.410402" elapsed="0.026834"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 400</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:55.437566" elapsed="0.001233"/>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${resp.json()}</arg>
<arg>Measurement group is already in UNLOCKED state for sub name: subs_01</arg>
<arg>and meas group name: msg_grp_01</arg>
<doc>Fails if the `container` does not contain the `item` one or more times.</doc>
<status status="PASS" start="2026-11-14T13:29:55.439185" elapsed="0.001111"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:55.440959" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:55.440764" elapsed="0.000346"/>
</kw>
<doc>Verify Update Measurement Group admin status with no change</doc>
<tag>PMSH_19</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:55.405744" elapsed="0.035474"/>
</test>
<test id="s1-s1-t20" name="Verify Update Measurement Group admin status for invalid measurement group" line="253">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.444154" level="INFO">${json_string} = {"administrativeState": "LOCKED"}</msg>
<var>${json_string}</var>
<arg>{"administrativeState": "LOCKED"}</arg>
<doc>Returns the given values which can then be assigned to a variable.</doc>
<status status="PASS" start="2026-11-14T13:29:55.443117" elapsed="0.001109"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.445773" level="INFO">${json} = {'administrativeState': 'LOCKED'}</msg>
<var>${json}</var>
<arg>json.loads('''${json_string}''')</arg>
<arg>json</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-11-14T13:29:55.444646" elapsed="0.001198"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.447657" level="INFO">Creating Session using : alias=pmsh_sub_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_sub_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:55.447162" elapsed="0.000971"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.449427" level="INFO">${headers} = {'Accept': 'application/json', 'Content-Type': 'application/json'}</msg>
<var>${headers}</var>
<arg>Accept=application/json</arg>
<arg>Content-Type=application/json</arg>
<doc>Creates and returns a dictionary based on the given `items`.</doc>
<status status="PASS" start="2026-11-14T13:29:55.448554" elapsed="0.000943"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.471903" level="INFO">PUT Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_11/adminState 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_11/adminState 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '33'} 
 body=b'{"administrativeState": "LOCKED"}' 
 </msg>
<msg time="2026-11-14T13:29:55.472015" level="INFO">PUT Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_11/adminState 
 status=400, reason=BAD REQUEST 
 headers={'Content-Type': 'application/json', 'Content-Length': '68', 'Server': 'TornadoServer/6.1'} 
 body="Requested measurement group not available for admin status update"
 
 </msg>
<msg time="2026-11-14T13:29:55.472424" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:55.472807" level="INFO">${resp} = &lt;Response [400]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_sub_session</arg>
<arg>url=${url}</arg>
<arg>json=${data}</arg>
<arg>headers=${headers}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:55.449811" elapsed="0.023070"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:55.473063" elapsed="0.000077"/>
</return>
<msg time="2026-11-14T13:29:55.473428" level="INFO">${resp} = &lt;Response [400]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_11/adminState</arg>
<arg>${json}</arg>
<status status="PASS" start="2026-11-14T13:29:55.446274" elapsed="0.027222"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 400</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:55.473890" elapsed="0.001304"/>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${resp.json()}</arg>
<arg>Requested measurement group not available for admin status update</arg>
<doc>Fails if the `container` does not contain the `item` one or more times.</doc>
<status status="PASS" start="2026-11-14T13:29:55.475525" elapsed="0.001051"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:55.477283" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:55.477082" elapsed="0.000333"/>
</kw>
<doc>Verify Update Measurement Group admin status for invalid measurement group</doc>
<tag>PMSH_20</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:55.441924" elapsed="0.035600"/>
</test>
<test id="s1-s1-t21" name="Verify Get subscriptions with Network Functions" line="263">
<kw name="json_from_file" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-14T13:29:55.481090" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/create_second_subscription_request.json"&gt;/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/create_second_subscription_request.json&lt;/a&gt;'.</msg>
<msg time="2026-11-14T13:29:55.481503" level="INFO">${json_file} = {
  "subscription": {
    "subscriptionName": "subs_02",
    "operationalPolicyName":"pmsh-operational-policy",
    "controlLoopName":"pmsh-control-loop",
    "nfFilter": {
      "nfNames": [
        ...</msg>
<var>${json_file}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-11-14T13:29:55.480580" elapsed="0.000992"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.483155" level="INFO">${json_object} = {'subscription': {'subscriptionName': 'subs_02', 'operationalPolicyName': 'pmsh-operational-policy', 'controlLoopName': 'pmsh-control-loop', 'nfFilter': {'nfNames': ['^pnf.*', '^vnf.*'], 'modelInvaria...</msg>
<var>${json_object}</var>
<arg>json.loads('''${json_file}''')</arg>
<arg>json</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-11-14T13:29:55.481915" elapsed="0.001314"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-14T13:29:55.483361" elapsed="0.000072"/>
</return>
<msg time="2026-11-14T13:29:55.483757" level="INFO">${json_value} = {'subscription': {'subscriptionName': 'subs_02', 'operationalPolicyName': 'pmsh-operational-policy', 'controlLoopName': 'pmsh-control-loop', 'nfFilter': {'nfNames': ['^pnf.*', '^vnf.*'], 'modelInvaria...</msg>
<var>${json_value}</var>
<arg>${CREATE_SECOND_SUBSCRIPTION_DATA}</arg>
<status status="PASS" start="2026-11-14T13:29:55.479579" elapsed="0.004247"/>
</kw>
<kw name="PostSubscriptionCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.485618" level="INFO">Creating Session using : alias=pmsh_sub_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_sub_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:55.485128" elapsed="0.000879"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.487288" level="INFO">${headers} = {'Accept': 'application/json', 'Content-Type': 'application/json'}</msg>
<var>${headers}</var>
<arg>Accept=application/json</arg>
<arg>Content-Type=application/json</arg>
<doc>Creates and returns a dictionary based on the given `items`.</doc>
<status status="PASS" start="2026-11-14T13:29:55.486386" elapsed="0.000980"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.698123" level="INFO">POST Request : url=https://172.17.0.5:8443/subscription 
 path_url=/subscription 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '763'} 
 body=b'{"subscription": {"subscriptionName": "subs_02", "operationalPolicyName": "pmsh-operational-policy", "controlLoopName": "pmsh-control-loop", "nfFilter": {"nfNames": ["^pnf.*", "^vnf.*"], "modelInvariantIDs": [], "modelVersionIDs": [], "modelNames": []}, "measurementGroups": [{"measurementGroup": {"measurementGroupName": "msg_grp_03", "fileBasedGP": 15, "fileLocation": "pm.xml", "administrativeState": "UNLOCKED", "measurementTypes": [{"measurementType": "counter_a"}], "managedObjectDNsBasic": [{"DN": "string"}]}}, {"measurementGroup": {"measurementGroupName": "msg_grp_04", "fileBasedGP": 15, "fileLocation": "pm.xml", "administrativeState": "UNLOCKED", "measurementTypes": [{"measurementType": "counter_a"}], "managedObjectDNsBasic": [{"DN": "string"}]}}]}}' 
 </msg>
<msg time="2026-11-14T13:29:55.698311" level="INFO">POST Response : url=https://172.17.0.5:8443/subscription 
 status=201, reason=CREATED 
 headers={'Content-Type': 'application/json', 'Content-Length': '0', 'Server': 'TornadoServer/6.1'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:55.698696" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:55.699534" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_sub_session</arg>
<arg>url=${url}</arg>
<arg>json=${data}</arg>
<arg>headers=${headers}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:55.487701" elapsed="0.211919"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:55.699900" elapsed="0.000170"/>
</return>
<msg time="2026-11-14T13:29:55.700498" level="INFO">${resp_post} = &lt;Response [201]&gt;</msg>
<var>${resp_post}</var>
<arg>${SUBSCRIPTION_ENDPOINT}</arg>
<arg>${json_value}</arg>
<status status="PASS" start="2026-11-14T13:29:55.484237" elapsed="0.216333"/>
</kw>
<kw name="GetSubsCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.703154" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:55.702428" elapsed="0.001191"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.738132" level="INFO">GET Request : url=https://172.17.0.5:8443/subscription 
 path_url=/subscription 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '26'} 
 body={"path": {url_path_param}} 
 </msg>
<msg time="2026-11-14T13:29:55.738228" level="INFO">GET Response : url=https://172.17.0.5:8443/subscription 
 status=200, reason=OK 
 headers={'Content-Type': 'application/json', 'Content-Length': '2803', 'Server': 'TornadoServer/6.1'} 
 body=[
  {
    "subscription": {
      "controlLoopName": "pmsh-control-loop",
      "measurementGroups": [
        {
          "measurementGroup": {
            "administrativeState": "UNLOCKED",
            "fileBasedGP": 15,
            "fileLocation": "pm.xml",
            "managedObjectDNsBasic": [
              {
                "DN": "string"
              }
            ],
            "measurementGroupName": "msg_grp_02",
            "measurementTypes": [
              {
                "measurementType": "counter_a"
              }
            ]
          }
        },
        {
          "measurementGroup": {
            "administrativeState": "UNLOCKED",
            "fileBasedGP": 15,
            "fileLocation": "pm.xml",
            "managedObjectDNsBasic": [
              {
                "DN": "string"
              }
            ],
            "measurementGroupName": "msg_grp_01",
            "measurementTypes": [
              {
                "measurementType": "counter_a"
              }
            ]
          }
        }
      ],
      "nfFilter": {
        "modelInvariantIDs": [],
        "modelNames": [],
        "modelVersionIDs": [],
        "nfNames": [
          "^pnf.*",
          "^vnf.*"
        ]
      },
      "nfs": [
        "pnf-existing"
      ],
      "operationalPolicyName": "pmsh-operational-policy",
      "subscriptionName": "subs_01"
    }
  },
  {
    "subscription": {
      "controlLoopName": "pmsh-control-loop",
      "measurementGroups": [
        {
          "measurementGroup": {
            "administrativeState": "UNLOCKED",
            "fileBasedGP": 15,
            "fileLocation": "pm.xml",
            "managedObjectDNsBasic": [
              {
                "DN": "string"
              }
            ],
            "measurementGroupName": "msg_grp_04",
            "measurementTypes": [
              {
                "measurementType": "counter_a"
              }
            ]
          }
        },
        {
          "measurementGroup": {
            "administrativeState": "UNLOCKED",
            "fileBasedGP": 15,
            "fileLocation": "pm.xml",
            "managedObjectDNsBasic": [
              {
                "DN": "string"
              }
            ],
            "measurementGroupName": "msg_grp_03",
            "measurementTypes": [
              {
                "measurementType": "counter_a"
              }
            ]
          }
        }
      ],
      "nfFilter": {
        "modelInvariantIDs": [],
        "modelNames": [],
        "modelVersionIDs": [],
        "nfNames": [
          "^pnf.*",
          "^vnf.*"
        ]
      },
      "nfs": [
        "pnf-existing"
      ],
      "operationalPolicyName": "pmsh-operational-policy",
      "subscriptionName": "subs_02"
    }
  }
]
 
 </msg>
<msg time="2026-11-14T13:29:55.738560" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:55.738899" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<arg>data={"path": {url_path_param}}</arg>
<arg>expected_status=any</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:55.703941" elapsed="0.035092"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:55.739193" elapsed="0.000084"/>
</return>
<msg time="2026-11-14T13:29:55.739571" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}</arg>
<arg>""</arg>
<status status="PASS" start="2026-11-14T13:29:55.701259" elapsed="0.038379"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.741323" level="INFO">Length is 1.</msg>
<msg time="2026-11-14T13:29:55.741580" level="INFO">${nf_length_first} = 1</msg>
<var>${nf_length_first}</var>
<arg>${resp.json()[0]['subscription']['nfs']}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-11-14T13:29:55.739961" elapsed="0.001684"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.743201" level="INFO">Length is 1.</msg>
<msg time="2026-11-14T13:29:55.743469" level="INFO">${nf_length_second} = 1</msg>
<var>${nf_length_second}</var>
<arg>${resp.json()[1]['subscription']['nfs']}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-11-14T13:29:55.742024" elapsed="0.001509"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 200</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:55.743869" elapsed="0.001284"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()[0]['subscription']['subscriptionName']}</arg>
<arg>subs_01</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.745471" elapsed="0.001133"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()[0]['subscription']['nfs'][0]}</arg>
<arg>pnf-existing</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.746955" elapsed="0.001117"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()[0]['subscription']['measurementGroups'][0]['measurementGroup']['measurementGroupName']}</arg>
<arg>msg_grp_02</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.748390" elapsed="0.001114"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.750621" level="INFO">Argument types are:
&lt;class 'int'&gt;
&lt;class 'str'&gt;</msg>
<arg>${nf_length_first}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<status status="PASS" start="2026-11-14T13:29:55.749863" elapsed="0.000942"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()[1]['subscription']['subscriptionName']}</arg>
<arg>subs_02</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.751166" elapsed="0.001087"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()[1]['subscription']['nfs'][0]}</arg>
<arg>pnf-existing</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.752569" elapsed="0.001083"/>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${resp.json()[1]['subscription']['measurementGroups'][0]['measurementGroup']['measurementGroupName']}</arg>
<arg>msg_grp_04</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="PASS" start="2026-11-14T13:29:55.753970" elapsed="0.001177"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.756248" level="INFO">Argument types are:
&lt;class 'int'&gt;
&lt;class 'str'&gt;</msg>
<arg>${nf_length_second}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<status status="PASS" start="2026-11-14T13:29:55.755501" elapsed="0.000929"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:55.757155" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:55.756935" elapsed="0.000360"/>
</kw>
<doc>Verify Get subscriptions with Network Functions</doc>
<tag>PMSH_21</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:55.478252" elapsed="0.279161"/>
</test>
<test id="s1-s1-t22" name="Verify Delete Measurement Group with Administrative State unlocked" line="282">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.761001" level="INFO">${json_string} = {"administrativeState": "UNLOCKED"}</msg>
<var>${json_string}</var>
<arg>{"administrativeState": "UNLOCKED"}</arg>
<doc>Returns the given values which can then be assigned to a variable.</doc>
<status status="PASS" start="2026-11-14T13:29:55.759908" elapsed="0.001169"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.762544" level="INFO">${json} = {'administrativeState': 'UNLOCKED'}</msg>
<var>${json}</var>
<arg>json.loads('''${json_string}''')</arg>
<arg>json</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-11-14T13:29:55.761428" elapsed="0.001186"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.764084" level="INFO">Creating Session using : alias=pmsh_sub_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_sub_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:55.763751" elapsed="0.000593"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.765191" level="INFO">${headers} = {'Accept': 'application/json', 'Content-Type': 'application/json'}</msg>
<var>${headers}</var>
<arg>Accept=application/json</arg>
<arg>Content-Type=application/json</arg>
<doc>Creates and returns a dictionary based on the given `items`.</doc>
<status status="PASS" start="2026-11-14T13:29:55.764594" elapsed="0.000642"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.786412" level="INFO">PUT Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_02/adminState 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_02/adminState 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '35'} 
 body=b'{"administrativeState": "UNLOCKED"}' 
 </msg>
<msg time="2026-11-14T13:29:55.786504" level="INFO">PUT Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_02/adminState 
 status=400, reason=BAD REQUEST 
 headers={'Content-Type': 'application/json', 'Content-Length': '104', 'Server': 'TornadoServer/6.1'} 
 body="Measurement group is already in UNLOCKED state for sub name: subs_01  and meas group name: msg_grp_02"
 
 </msg>
<msg time="2026-11-14T13:29:55.786734" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:55.787177" level="INFO">${resp} = &lt;Response [400]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_sub_session</arg>
<arg>url=${url}</arg>
<arg>json=${data}</arg>
<arg>headers=${headers}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:55.765439" elapsed="0.021812"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:55.787412" elapsed="0.000078"/>
</return>
<arg>/subscription/subs_01/measurementGroups/msg_grp_02/adminState</arg>
<arg>${json}</arg>
<status status="PASS" start="2026-11-14T13:29:55.763092" elapsed="0.024615"/>
</kw>
<kw name="DeleteMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.789385" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:55.788872" elapsed="0.000877"/>
</kw>
<kw name="DELETE On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.811369" level="INFO">DELETE Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_02 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_02 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:55.811460" level="INFO">DELETE Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_02 
 status=409, reason=CONFLICT 
 headers={'Content-Type': 'application/json', 'Content-Length': '130', 'Server': 'TornadoServer/6.1'} 
 body={
  "error": "Measurement Group was not deleted because the Administrative State was {measurement_group_administrative_status}"
}
 
 </msg>
<msg time="2026-11-14T13:29:55.811668" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:55.811975" level="INFO">${resp} = &lt;Response [409]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a DELETE request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:55.790086" elapsed="0.021986"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:55.812216" elapsed="0.000075"/>
</return>
<msg time="2026-11-14T13:29:55.812578" level="INFO">${resp} = &lt;Response [409]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_02</arg>
<status status="PASS" start="2026-11-14T13:29:55.788112" elapsed="0.024534"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 409</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:55.812969" elapsed="0.001264"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:55.814875" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:55.814680" elapsed="0.000594"/>
</kw>
<doc>Verify Delete Measurement Group with Administrative State unlocked</doc>
<tag>PMSH_22</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:55.758330" elapsed="0.057063"/>
</test>
<test id="s1-s1-t23" name="Verify Delete Measurement Group with incorrect Measurement Group name server error" line="292">
<kw name="DeleteMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.818840" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:55.818164" elapsed="0.001113"/>
</kw>
<kw name="DELETE On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.840383" level="INFO">DELETE Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/nonexistent 
 path_url=/subscription/subs_01/measurementGroups/nonexistent 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:55.840473" level="INFO">DELETE Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/nonexistent 
 status=500, reason=INTERNAL SERVER ERROR 
 headers={'Content-Type': 'application/json', 'Content-Length': '150', 'Server': 'TornadoServer/6.1'} 
 body={
  "error": "Try again, measurement group nonexistent was not deleted due to exception: 'NoneType' object has no attribute 'administrative_state'"
}
 
 </msg>
<msg time="2026-11-14T13:29:55.840732" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:55.841130" level="INFO">${resp} = &lt;Response [500]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a DELETE request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:55.819593" elapsed="0.021611"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:55.841348" elapsed="0.000076"/>
</return>
<msg time="2026-11-14T13:29:55.841709" level="INFO">${resp} = &lt;Response [500]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/nonexistent</arg>
<status status="PASS" start="2026-11-14T13:29:55.817385" elapsed="0.024391"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 500</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:55.842115" elapsed="0.001285"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:55.844072" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:55.843847" elapsed="0.000354"/>
</kw>
<doc>Verify Delete Measurement Group with incorrect Measurement Group Name</doc>
<tag>PMSH_23</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:55.816133" elapsed="0.028177"/>
</test>
<test id="s1-s1-t24" name="Verify Create Measurement Group successful" line="299">
<kw name="json_from_file" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-14T13:29:55.847572" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/create_msg_grp.json"&gt;/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/create_msg_grp.json&lt;/a&gt;'.</msg>
<msg time="2026-11-14T13:29:55.847965" level="INFO">${json_file} = {
  "measurementGroup": {
    "measurementGroupName": "msg_grp_05",
    "fileBasedGP": 15,
    "fileLocation": "pm.xml",
    "administrativeState": "LOCKED",
    "measurementTypes": [{
      "measurem...</msg>
<var>${json_file}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-11-14T13:29:55.847104" elapsed="0.000955"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.849536" level="INFO">${json_object} = {'measurementGroup': {'measurementGroupName': 'msg_grp_05', 'fileBasedGP': 15, 'fileLocation': 'pm.xml', 'administrativeState': 'LOCKED', 'measurementTypes': [{'measurementType': 'counter_a'}], 'manag...</msg>
<var>${json_object}</var>
<arg>json.loads('''${json_file}''')</arg>
<arg>json</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-11-14T13:29:55.848406" elapsed="0.001202"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-14T13:29:55.849741" elapsed="0.000073"/>
</return>
<msg time="2026-11-14T13:29:55.850136" level="INFO">${json_value} = {'measurementGroup': {'measurementGroupName': 'msg_grp_05', 'fileBasedGP': 15, 'fileLocation': 'pm.xml', 'administrativeState': 'LOCKED', 'measurementTypes': [{'measurementType': 'counter_a'}], 'manag...</msg>
<var>${json_value}</var>
<arg>${CREATE_MSG_GRP_DATA}</arg>
<status status="PASS" start="2026-11-14T13:29:55.846275" elapsed="0.003930"/>
</kw>
<kw name="PostMsgGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.851973" level="INFO">Creating Session using : alias=pmsh_sub_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_sub_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:55.851484" elapsed="0.000892"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.853626" level="INFO">${headers} = {'Accept': 'application/json', 'Content-Type': 'application/json'}</msg>
<var>${headers}</var>
<arg>Accept=application/json</arg>
<arg>Content-Type=application/json</arg>
<doc>Creates and returns a dictionary based on the given `items`.</doc>
<status status="PASS" start="2026-11-14T13:29:55.852755" elapsed="0.000942"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.886657" level="INFO">POST Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_05 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_05 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '239'} 
 body=b'{"measurementGroup": {"measurementGroupName": "msg_grp_05", "fileBasedGP": 15, "fileLocation": "pm.xml", "administrativeState": "LOCKED", "measurementTypes": [{"measurementType": "counter_a"}], "managedObjectDNsBasic": [{"DN": "string"}]}}' 
 </msg>
<msg time="2026-11-14T13:29:55.886743" level="INFO">POST Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_05 
 status=201, reason=CREATED 
 headers={'Content-Type': 'application/json', 'Content-Length': '0', 'Server': 'TornadoServer/6.1'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:55.887204" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:55.887528" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_sub_session</arg>
<arg>url=${url}</arg>
<arg>json=${data}</arg>
<arg>headers=${headers}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:55.854039" elapsed="0.033562"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:55.887762" elapsed="0.000076"/>
</return>
<msg time="2026-11-14T13:29:55.888153" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_05</arg>
<arg>${json_value}</arg>
<status status="PASS" start="2026-11-14T13:29:55.850593" elapsed="0.037632"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 201</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:55.888572" elapsed="0.001476"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:55.890764" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:55.890506" elapsed="0.000391"/>
</kw>
<doc>Verify Create Measurement Group successful</doc>
<tag>PMSH_24</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:55.845031" elapsed="0.046043"/>
</test>
<test id="s1-s1-t25" name="Verify Create Measurement Group unsuccessful" line="307">
<kw name="json_from_file" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-14T13:29:55.894600" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/create_msg_grp.json"&gt;/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/assets/create_msg_grp.json&lt;/a&gt;'.</msg>
<msg time="2026-11-14T13:29:55.894999" level="INFO">${json_file} = {
  "measurementGroup": {
    "measurementGroupName": "msg_grp_05",
    "fileBasedGP": 15,
    "fileLocation": "pm.xml",
    "administrativeState": "LOCKED",
    "measurementTypes": [{
      "measurem...</msg>
<var>${json_file}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-11-14T13:29:55.894155" elapsed="0.000917"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.896552" level="INFO">${json_object} = {'measurementGroup': {'measurementGroupName': 'msg_grp_05', 'fileBasedGP': 15, 'fileLocation': 'pm.xml', 'administrativeState': 'LOCKED', 'measurementTypes': [{'measurementType': 'counter_a'}], 'manag...</msg>
<var>${json_object}</var>
<arg>json.loads('''${json_file}''')</arg>
<arg>json</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-11-14T13:29:55.895416" elapsed="0.001208"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-14T13:29:55.896754" elapsed="0.000070"/>
</return>
<msg time="2026-11-14T13:29:55.897148" level="INFO">${json_value} = {'measurementGroup': {'measurementGroupName': 'msg_grp_05', 'fileBasedGP': 15, 'fileLocation': 'pm.xml', 'administrativeState': 'LOCKED', 'measurementTypes': [{'measurementType': 'counter_a'}], 'manag...</msg>
<var>${json_value}</var>
<arg>${CREATE_MSG_GRP_DATA}</arg>
<status status="PASS" start="2026-11-14T13:29:55.893355" elapsed="0.003862"/>
</kw>
<kw name="PostMsgGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.898971" level="INFO">Creating Session using : alias=pmsh_sub_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_sub_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:55.898453" elapsed="0.000930"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-14T13:29:55.900646" level="INFO">${headers} = {'Accept': 'application/json', 'Content-Type': 'application/json'}</msg>
<var>${headers}</var>
<arg>Accept=application/json</arg>
<arg>Content-Type=application/json</arg>
<doc>Creates and returns a dictionary based on the given `items`.</doc>
<status status="PASS" start="2026-11-14T13:29:55.899762" elapsed="0.000955"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.928606" level="INFO">POST Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_05 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_05 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '239'} 
 body=b'{"measurementGroup": {"measurementGroupName": "msg_grp_05", "fileBasedGP": 15, "fileLocation": "pm.xml", "administrativeState": "LOCKED", "measurementTypes": [{"measurementType": "counter_a"}], "managedObjectDNsBasic": [{"DN": "string"}]}}' 
 </msg>
<msg time="2026-11-14T13:29:55.928696" level="INFO">POST Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_05 
 status=409, reason=CONFLICT 
 headers={'Content-Type': 'application/json', 'Content-Length': '53', 'Server': 'TornadoServer/6.1'} 
 body="Measurement Group Name: msg_grp_05 already exists."
 
 </msg>
<msg time="2026-11-14T13:29:55.928897" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:55.929236" level="INFO">${resp} = &lt;Response [409]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_sub_session</arg>
<arg>url=${url}</arg>
<arg>json=${data}</arg>
<arg>headers=${headers}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:55.901058" elapsed="0.028250"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:55.929465" elapsed="0.000074"/>
</return>
<msg time="2026-11-14T13:29:55.929826" level="INFO">${resp} = &lt;Response [409]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_05</arg>
<arg>${json_value}</arg>
<status status="PASS" start="2026-11-14T13:29:55.897606" elapsed="0.032287"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 409</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:55.930251" elapsed="0.001469"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:55.932397" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:55.932200" elapsed="0.000327"/>
</kw>
<doc>Verify Create Measurement Group successful</doc>
<tag>PMSH_25</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:55.891914" elapsed="0.040723"/>
</test>
<test id="s1-s1-t26" name="Verify Delete Measurement Group successful" line="315">
<kw name="DeleteMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.936040" level="INFO">Creating Session using : alias=pmsh_session, url=https://172.17.0.5:8443, headers={},                     cookies={}, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>pmsh_session</arg>
<arg>${PMSH_BASE_URL}</arg>
<arg>verify=false</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-11-14T13:29:55.935523" elapsed="0.000901"/>
</kw>
<kw name="DELETE On Session" owner="RequestsLibrary">
<msg time="2026-11-14T13:29:55.964880" level="INFO">DELETE Request : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_05 
 path_url=/subscription/subs_01/measurementGroups/msg_grp_05 
 headers={'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:55.964962" level="INFO">DELETE Response : url=https://172.17.0.5:8443/subscription/subs_01/measurementGroups/msg_grp_05 
 status=204, reason=NO CONTENT 
 headers={'Content-Type': 'application/json', 'Content-Length': '0', 'Server': 'TornadoServer/6.1'} 
 body=None 
 </msg>
<msg time="2026-11-14T13:29:55.965399" level="INFO">/tmp/venv-NlNi/lib/python3.10/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.17.0.5'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(</msg>
<msg time="2026-11-14T13:29:55.965777" level="INFO">${resp} = &lt;Response [204]&gt;</msg>
<var>${resp}</var>
<arg>pmsh_session</arg>
<arg>url=${url}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a DELETE request on a previously created HTTP Session.</doc>
<status status="PASS" start="2026-11-14T13:29:55.936736" elapsed="0.029114"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-14T13:29:55.966017" elapsed="0.000082"/>
</return>
<msg time="2026-11-14T13:29:55.966392" level="INFO">${resp} = &lt;Response [204]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/msg_grp_05</arg>
<status status="PASS" start="2026-11-14T13:29:55.934714" elapsed="0.031745"/>
</kw>
<kw name="Should Be True" owner="BuiltIn">
<arg>${resp.status_code} == 204</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="PASS" start="2026-11-14T13:29:55.966786" elapsed="0.001362"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-14T13:29:55.968799" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-14T13:29:55.968605" elapsed="0.000324"/>
</kw>
<doc>Verify Delete Measurement Group successful</doc>
<tag>PMSH_26</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-14T13:29:55.933482" elapsed="0.035576"/>
</test>
<doc>Testing PMSH functionality</doc>
<status status="PASS" start="2026-11-14T13:27:56.656313" elapsed="119.314471"/>
</suite>
<doc>PMSH Testcases</doc>
<status status="PASS" start="2026-11-14T13:27:56.619043" elapsed="119.354133"/>
</suite>
<statistics>
<total>
<stat pass="26" fail="0" skip="0">All Tests</stat>
</total>
<tag>
<stat pass="1" fail="0" skip="0">PMSH_01</stat>
<stat pass="1" fail="0" skip="0">PMSH_02</stat>
<stat pass="1" fail="0" skip="0">PMSH_03</stat>
<stat pass="1" fail="0" skip="0">PMSH_04</stat>
<stat pass="1" fail="0" skip="0">PMSH_05</stat>
<stat pass="1" fail="0" skip="0">PMSH_06</stat>
<stat pass="1" fail="0" skip="0">PMSH_07</stat>
<stat pass="1" fail="0" skip="0">PMSH_08</stat>
<stat pass="1" fail="0" skip="0">PMSH_09</stat>
<stat pass="1" fail="0" skip="0">PMSH_10</stat>
<stat pass="1" fail="0" skip="0">PMSH_11</stat>
<stat pass="1" fail="0" skip="0">PMSH_12</stat>
<stat pass="1" fail="0" skip="0">PMSH_13</stat>
<stat pass="1" fail="0" skip="0">PMSH_14</stat>
<stat pass="1" fail="0" skip="0">PMSH_15</stat>
<stat pass="1" fail="0" skip="0">PMSH_16</stat>
<stat pass="1" fail="0" skip="0">PMSH_17</stat>
<stat pass="1" fail="0" skip="0">PMSH_18</stat>
<stat pass="1" fail="0" skip="0">PMSH_19</stat>
<stat pass="1" fail="0" skip="0">PMSH_20</stat>
<stat pass="1" fail="0" skip="0">PMSH_21</stat>
<stat pass="1" fail="0" skip="0">PMSH_22</stat>
<stat pass="1" fail="0" skip="0">PMSH_23</stat>
<stat pass="1" fail="0" skip="0">PMSH_24</stat>
<stat pass="1" fail="0" skip="0">PMSH_25</stat>
<stat pass="1" fail="0" skip="0">PMSH_26</stat>
</tag>
<suite>
<stat name="plans/dcaegen2-services-pmsh/testsuite" id="s1" pass="26" fail="0" skip="0">plans/dcaegen2-services-pmsh/testsuite</stat>
<stat name="Pmsh" id="s1-s1" pass="26" fail="0" skip="0">plans/dcaegen2-services-pmsh/testsuite.Pmsh</stat>
</suite>
</statistics>
<errors>
<msg time="2026-11-14T13:27:56.613976" level="WARN">Error in file '/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/pmsh.robot' on line 372: The '[Return]' setting is deprecated. Use the 'RETURN' statement instead.</msg>
<msg time="2026-11-14T13:27:56.614331" level="WARN">Error in file '/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/pmsh.robot' on line 378: The '[Return]' setting is deprecated. Use the 'RETURN' statement instead.</msg>
<msg time="2026-11-14T13:27:56.614520" level="WARN">Error in file '/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/pmsh.robot' on line 384: The '[Return]' setting is deprecated. Use the 'RETURN' statement instead.</msg>
<msg time="2026-11-14T13:27:56.614704" level="WARN">Error in file '/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/pmsh.robot' on line 390: The '[Return]' setting is deprecated. Use the 'RETURN' statement instead.</msg>
<msg time="2026-11-14T13:27:56.614933" level="WARN">Error in file '/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/pmsh.robot' on line 397: The '[Return]' setting is deprecated. Use the 'RETURN' statement instead.</msg>
<msg time="2026-11-14T13:27:56.615141" level="WARN">Error in file '/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/pmsh.robot' on line 404: The '[Return]' setting is deprecated. Use the 'RETURN' statement instead.</msg>
<msg time="2026-11-14T13:27:56.615347" level="WARN">Error in file '/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/dcaegen2-services-pmsh/testcases/pmsh.robot' on line 411: The '[Return]' setting is deprecated. Use the 'RETURN' statement instead.</msg>
<msg time="2026-11-14T13:27:56.771633" level="WARN">Error in file '/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/common.robot' on line 11: The '[Return]' setting is deprecated. Use the 'RETURN' statement instead.</msg>
<msg time="2026-11-14T13:27:56.771961" level="WARN">Error in file '/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/common.robot' on line 17: The '[Return]' setting is deprecated. Use the 'RETURN' statement instead.</msg>
<msg time="2026-11-14T13:27:56.772129" level="WARN">Error in file '/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/common.robot' on line 24: The '[Return]' setting is deprecated. Use the 'RETURN' statement instead.</msg>
<msg time="2026-11-14T13:27:56.772301" level="WARN">Error in file '/w/workspace/dcaegen2-services-pmsh-master-csit-testsuite/tests/common.robot' on line 29: The '[Return]' setting is deprecated. Use the 'RETURN' statement instead.</msg>
</errors>
</robot>
