<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 7.5.1 (Python 3.10.6 on linux)" generated="2026-11-21T13:27:57.627515" 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-21T13:27:57.776326" 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-21T13:27:57.775797" elapsed="0.000756"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:27:57.840417" 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-21T13:27:57.840485" 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-21T13:27:57.840629" level="INFO">/tmp/venv-rGJQ/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-21T13:27:57.840965" 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-21T13:27:57.776727" elapsed="0.064286"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:27:57.841124" elapsed="0.000071"/>
</return>
<msg time="2026-11-21T13:27:57.841402" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}</arg>
<arg>""</arg>
<status status="PASS" start="2026-11-21T13:27:57.774639" elapsed="0.066808"/>
</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-21T13:27:57.841691" elapsed="0.001004"/>
</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-21T13:27:57.842906" elapsed="0.000849"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:27:57.844194" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:27:57.844064" elapsed="0.000221"/>
</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-21T13:27:57.773522" elapsed="0.070842"/>
</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-21T13:27:57.846657" 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-21T13:27:57.846927" 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-21T13:27:57.846214" elapsed="0.000764"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-21T13:27:57.848012" 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-21T13:27:57.847221" elapsed="0.000840"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-21T13:27:57.848150" elapsed="0.000046"/>
</return>
<msg time="2026-11-21T13:27:57.848403" 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-21T13:27:57.845613" elapsed="0.002836"/>
</kw>
<kw name="PostSubscriptionCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:27:57.849584" 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-21T13:27:57.849266" elapsed="0.000585"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-21T13:27:57.850763" 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-21T13:27:57.850115" elapsed="0.000695"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:27:58.967889" 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-21T13:27:58.968022" 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-21T13:27:58.968462" level="INFO">/tmp/venv-rGJQ/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-21T13:27:58.968843" 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-21T13:27:57.851018" elapsed="1.117906"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:27:58.969131" elapsed="0.000107"/>
</return>
<msg time="2026-11-21T13:27:58.969595" 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-21T13:27:57.848706" elapsed="1.120984"/>
</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-21T13:27:58.970143" elapsed="0.001480"/>
</kw>
<kw name="GetSubsCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:27:58.973792" 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-21T13:27:58.973252" elapsed="0.003119"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:27:59.000693" 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-21T13:27:59.000795" 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-21T13:27:59.001027" level="INFO">/tmp/venv-rGJQ/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-21T13:27:59.001453" 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-21T13:27:58.976761" elapsed="0.024771"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:27:59.001721" elapsed="0.000093"/>
</return>
<msg time="2026-11-21T13:27:59.002180" 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-21T13:27:58.972079" elapsed="0.030177"/>
</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-21T13:27:59.002588" elapsed="0.001292"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:27:59.004578" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:27:59.004374" elapsed="0.000575"/>
</kw>
<doc>Verify Create Subscription API</doc>
<tag>PMSH_07</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-21T13:27:57.844799" elapsed="1.160273"/>
</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-21T13:27:59.008746" 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-21T13:27:59.008210" elapsed="0.000933"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:27:59.032214" 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-21T13:27:59.032310" 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-21T13:27:59.032600" level="INFO">/tmp/venv-rGJQ/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-21T13:27:59.032950" 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-21T13:27:59.009472" elapsed="0.023555"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:27:59.033184" elapsed="0.000080"/>
</return>
<msg time="2026-11-21T13:27:59.033562" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}</arg>
<arg>""</arg>
<status status="PASS" start="2026-11-21T13:27:59.007283" elapsed="0.026354"/>
</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-21T13:27:59.034004" elapsed="0.001329"/>
</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-21T13:27:59.035688" elapsed="0.001067"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:27:59.037422" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:27:59.037220" elapsed="0.000339"/>
</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-21T13:27:59.005881" elapsed="0.031813"/>
</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-21T13:27:59.041239" 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-21T13:27:59.040734" elapsed="0.000904"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:27:59.070837" 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-21T13:27:59.070934" 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-21T13:27:59.071146" level="INFO">/tmp/venv-rGJQ/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-21T13:27:59.071472" 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-21T13:27:59.042043" elapsed="0.029510"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:27:59.071714" elapsed="0.000078"/>
</return>
<msg time="2026-11-21T13:27:59.072089" 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-21T13:27:59.039926" elapsed="0.032234"/>
</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-21T13:27:59.072476" elapsed="0.001269"/>
</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-21T13:27:59.074095" elapsed="0.001079"/>
</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-21T13:27:59.075493" elapsed="0.019128"/>
</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-21T13:27:59.095030" elapsed="0.001135"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:27:59.096843" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:27:59.096691" elapsed="0.000242"/>
</kw>
<doc>Verify PNF detected when administrative state unlocked</doc>
<tag>PMSH_03</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-21T13:27:59.038460" elapsed="0.058631"/>
</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-21T13:27:59.099814" 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-21T13:27:59.100094" 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-21T13:27:59.099511" elapsed="0.000629"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-21T13:27:59.100221" elapsed="0.000054"/>
</return>
<msg time="2026-11-21T13:27:59.100462" 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-21T13:27:59.099023" elapsed="0.001484"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:27:59.101056" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.2: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-21T13:27:59.100736" elapsed="0.000585"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:27:59.138101" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:27:59.138244" level="INFO">PUT Response : url=http://172.17.0.2: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.4.0', 'deprecated': '"/clear" is deprecated use "/mockserver/clear" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-21T13:27:59.138833" 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-21T13:27:59.101525" elapsed="0.037386"/>
</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-21T13:27:59.139350" elapsed="0.001425"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-21T13:28:01.142159" level="INFO">Slept 2 seconds.</msg>
<msg time="2026-11-21T13:28:01.142279" 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-21T13:27:59.141079" elapsed="2.001523"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:01.185396" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:28:01.185558" level="INFO">PUT Response : url=http://172.17.0.2: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.4.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-21T13:28:01.186227" 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-21T13:28:01.143104" elapsed="0.043206"/>
</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-21T13:28:01.186775" elapsed="0.001423"/>
</kw>
<status status="PASS" start="2026-11-21T13:27:59.098539" elapsed="2.089838"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-21T13:28:32.189782" level="INFO">Slept 31 seconds.</msg>
<msg time="2026-11-21T13:28:32.189890" 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-21T13:28:01.188680" elapsed="31.001571"/>
</kw>
<kw name="ResetMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-21T13:28:32.193061" 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-21T13:28:32.193513" 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-21T13:28:32.192576" elapsed="0.001011"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-21T13:28:32.193716" elapsed="0.000088"/>
</return>
<msg time="2026-11-21T13:28:32.194141" 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-21T13:28:32.191735" elapsed="0.002481"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:32.195100" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.2: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-21T13:28:32.194587" elapsed="0.000961"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:32.265405" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:28:32.265487" level="INFO">PUT Response : url=http://172.17.0.2: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.4.0', 'deprecated': '"/reset" is deprecated use "/mockserver/reset" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-21T13:28:32.265729" 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-21T13:28:32.195876" elapsed="0.069900"/>
</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-21T13:28:32.266056" elapsed="0.000962"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:32.281515" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:28:32.281588" level="INFO">PUT Response : url=http://172.17.0.2: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.4.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-21T13:28:32.281893" 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-21T13:28:32.267236" elapsed="0.014705"/>
</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-21T13:28:32.282194" elapsed="0.000795"/>
</kw>
<status status="PASS" start="2026-11-21T13:28:32.190863" elapsed="0.092234"/>
</kw>
<kw name="GetMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:32.284159" 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-21T13:28:32.283844" elapsed="0.000577"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:32.308938" 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-21T13:28:32.309001" 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-21T13:28:32.309149" level="INFO">/tmp/venv-rGJQ/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-21T13:28:32.309530" 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-21T13:28:32.284625" elapsed="0.024982"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:28:32.309749" elapsed="0.000089"/>
</return>
<msg time="2026-11-21T13:28:32.310179" 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-21T13:28:32.283349" elapsed="0.026924"/>
</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-21T13:28:32.310591" elapsed="0.001154"/>
</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-21T13:28:32.312073" elapsed="0.001088"/>
</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-21T13:28:32.313510" elapsed="0.001134"/>
</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-21T13:28:32.314973" elapsed="0.001088"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:28:32.316832" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:28:32.316626" elapsed="0.000525"/>
</kw>
<doc>Verify policy response on MR is handled</doc>
<tag>PMSH_04</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-21T13:27:59.097694" elapsed="33.219610"/>
</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-21T13:28:32.321620" 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-21T13:28:32.322057" 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-21T13:28:32.321142" elapsed="0.000992"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-21T13:28:32.322281" elapsed="0.000075"/>
</return>
<msg time="2026-11-21T13:28:32.322657" 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-21T13:28:32.320365" elapsed="0.002364"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:32.323589" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.2: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-21T13:28:32.323071" elapsed="0.000921"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:32.334485" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:28:32.334586" level="INFO">PUT Response : url=http://172.17.0.2: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.4.0', 'deprecated': '"/clear" is deprecated use "/mockserver/clear" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-21T13:28:32.334911" 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-21T13:28:32.324358" elapsed="0.010624"/>
</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-21T13:28:32.335366" elapsed="0.001206"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-21T13:28:34.337528" level="INFO">Slept 2 seconds.</msg>
<msg time="2026-11-21T13:28:34.337641" 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-21T13:28:32.336766" elapsed="2.001205"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:34.360285" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:28:34.360413" level="INFO">PUT Response : url=http://172.17.0.2: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.4.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-21T13:28:34.360947" 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-21T13:28:34.338528" elapsed="0.022494"/>
</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-21T13:28:34.361432" elapsed="0.001434"/>
</kw>
<status status="PASS" start="2026-11-21T13:28:32.319614" elapsed="2.043428"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-21T13:28:59.364379" level="INFO">Slept 25 seconds.</msg>
<msg time="2026-11-21T13:28:59.364489" 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-21T13:28:34.363352" elapsed="25.001462"/>
</kw>
<kw name="ResetMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-21T13:28:59.367964" 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-21T13:28:59.368446" 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-21T13:28:59.367435" elapsed="0.001094"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-21T13:28:59.368659" elapsed="0.000089"/>
</return>
<msg time="2026-11-21T13:28:59.369082" 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-21T13:28:59.366592" elapsed="0.002564"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:59.370072" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.2: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-21T13:28:59.369507" elapsed="0.001450"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:59.389327" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:28:59.389486" level="INFO">PUT Response : url=http://172.17.0.2: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.4.0', 'deprecated': '"/reset" is deprecated use "/mockserver/reset" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-21T13:28:59.390046" 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-21T13:28:59.371292" elapsed="0.018835"/>
</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-21T13:28:59.390627" elapsed="0.001572"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:59.407794" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:28:59.407934" level="INFO">PUT Response : url=http://172.17.0.2: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.4.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-21T13:28:59.408305" 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-21T13:28:59.392525" elapsed="0.015853"/>
</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-21T13:28:59.408735" elapsed="0.001253"/>
</kw>
<status status="PASS" start="2026-11-21T13:28:59.365624" elapsed="0.044578"/>
</kw>
<kw name="GetMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:59.412008" 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-21T13:28:59.411482" elapsed="0.001001"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:59.440947" 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-21T13:28:59.441044" 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-21T13:28:59.441267" level="INFO">/tmp/venv-rGJQ/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-21T13:28:59.441842" 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-21T13:28:59.412809" elapsed="0.029132"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:28:59.442144" elapsed="0.000101"/>
</return>
<msg time="2026-11-21T13:28:59.442558" 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-21T13:28:59.410622" elapsed="0.032007"/>
</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-21T13:28:59.442973" elapsed="0.001181"/>
</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-21T13:28:59.444479" elapsed="0.001058"/>
</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-21T13:28:59.445857" elapsed="0.001266"/>
</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-21T13:28:59.447447" elapsed="0.001065"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:28:59.449222" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:28:59.449023" elapsed="0.000522"/>
</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-21T13:28:32.318136" elapsed="27.131532"/>
</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-21T13:28:59.454619" 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-21T13:28:59.455061" 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-21T13:28:59.454143" elapsed="0.000992"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-21T13:28:59.455261" elapsed="0.000071"/>
</return>
<msg time="2026-11-21T13:28:59.455628" 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-21T13:28:59.453302" elapsed="0.002397"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:59.456596" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.2: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-21T13:28:59.456056" elapsed="0.001006"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:28:59.469760" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:28:59.469966" level="INFO">PUT Response : url=http://172.17.0.2: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.4.0', 'deprecated': '"/clear" is deprecated use "/mockserver/clear" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-21T13:28:59.470617" 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-21T13:28:59.457390" elapsed="0.013342"/>
</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-21T13:28:59.471319" elapsed="0.002514"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-21T13:29:01.475632" level="INFO">Slept 2 seconds.</msg>
<msg time="2026-11-21T13:29:01.475754" 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-21T13:28:59.474237" elapsed="2.001870"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:01.494298" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:29:01.494428" level="INFO">PUT Response : url=http://172.17.0.2: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.4.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-21T13:29:01.494994" 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-21T13:29:01.476605" elapsed="0.018467"/>
</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-21T13:29:01.495458" elapsed="0.001374"/>
</kw>
<status status="PASS" start="2026-11-21T13:28:59.452487" elapsed="2.044553"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.498451" level="INFO">Slept 21 seconds.</msg>
<msg time="2026-11-21T13:29:22.498595" 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-21T13:29:01.497317" elapsed="21.001604"/>
</kw>
<kw name="ResetMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-21T13:29:22.501893" 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-21T13:29:22.502343" 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-21T13:29:22.501383" elapsed="0.001033"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-21T13:29:22.502544" elapsed="0.000113"/>
</return>
<msg time="2026-11-21T13:29:22.502957" 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-21T13:29:22.500541" elapsed="0.002489"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.503915" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.2: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-21T13:29:22.503383" elapsed="0.000954"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.518221" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:29:22.518329" level="INFO">PUT Response : url=http://172.17.0.2: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.4.0', 'deprecated': '"/reset" is deprecated use "/mockserver/reset" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-21T13:29:22.518698" 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-21T13:29:22.504685" elapsed="0.014089"/>
</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-21T13:29:22.519207" elapsed="0.001404"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.533746" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:29:22.533865" level="INFO">PUT Response : url=http://172.17.0.2: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.4.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-21T13:29:22.534299" 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-21T13:29:22.520939" elapsed="0.013438"/>
</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-21T13:29:22.534765" elapsed="0.001274"/>
</kw>
<status status="PASS" start="2026-11-21T13:29:22.499619" elapsed="0.036588"/>
</kw>
<kw name="GetMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.537924" 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-21T13:29:22.537367" elapsed="0.000983"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.564746" 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-21T13:29:22.564868" 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-21T13:29:22.565130" level="INFO">/tmp/venv-rGJQ/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-21T13:29:22.572036" 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-21T13:29:22.538699" elapsed="0.033449"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:22.572331" elapsed="0.000104"/>
</return>
<msg time="2026-11-21T13:29:22.572970" 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-21T13:29:22.536591" elapsed="0.036451"/>
</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-21T13:29:22.573447" elapsed="0.001326"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:22.575478" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:22.575259" elapsed="0.000620"/>
</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-21T13:28:59.450936" elapsed="23.125147"/>
</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-21T13:29:22.579767" 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-21T13:29:22.580177" 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-21T13:29:22.579286" elapsed="0.000964"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.581849" 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-21T13:29:22.580616" elapsed="0.001311"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-21T13:29:22.582087" elapsed="0.000073"/>
</return>
<msg time="2026-11-21T13:29:22.582490" 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-21T13:29:22.578447" elapsed="0.004116"/>
</kw>
<kw name="PostSubscriptionCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.584376" 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-21T13:29:22.583879" elapsed="0.000932"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.586120" 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-21T13:29:22.585194" elapsed="0.001002"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.612451" 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-21T13:29:22.612593" 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-21T13:29:22.612837" level="INFO">/tmp/venv-rGJQ/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-21T13:29:22.613236" 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-21T13:29:22.586517" elapsed="0.026797"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:22.613500" elapsed="0.000113"/>
</return>
<msg time="2026-11-21T13:29:22.613937" 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-21T13:29:22.582970" elapsed="0.031040"/>
</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-21T13:29:22.614419" elapsed="0.001416"/>
</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-21T13:29:22.616166" elapsed="0.001111"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:22.617989" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:22.617784" elapsed="0.000373"/>
</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-21T13:29:22.576890" elapsed="0.041380"/>
</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-21T13:29:22.621681" 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-21T13:29:22.622115" 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-21T13:29:22.621207" elapsed="0.000982"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.623745" 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-21T13:29:22.622535" elapsed="0.001354"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-21T13:29:22.624026" elapsed="0.000072"/>
</return>
<msg time="2026-11-21T13:29:22.624419" 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-21T13:29:22.620369" elapsed="0.004121"/>
</kw>
<kw name="PostSubscriptionCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.626750" 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-21T13:29:22.625793" elapsed="0.001358"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.628417" 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-21T13:29:22.627537" elapsed="0.000953"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.648825" 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-21T13:29:22.650395" 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-21T13:29:22.650859" level="INFO">/tmp/venv-rGJQ/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-21T13:29:22.651222" 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-21T13:29:22.628833" elapsed="0.022465"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:22.651474" elapsed="0.000084"/>
</return>
<msg time="2026-11-21T13:29:22.651888" 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-21T13:29:22.624896" elapsed="0.027065"/>
</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-21T13:29:22.652325" elapsed="0.001328"/>
</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-21T13:29:22.653981" elapsed="0.001168"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:22.655862" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:22.655661" elapsed="0.000341"/>
</kw>
<doc>Verify Create Subscription API</doc>
<tag>PMSH_09</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-21T13:29:22.619066" elapsed="0.037046"/>
</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-21T13:29:22.659514" 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-21T13:29:22.659915" 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-21T13:29:22.659064" elapsed="0.000921"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.661504" 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-21T13:29:22.660332" elapsed="0.001268"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-21T13:29:22.661732" elapsed="0.000070"/>
</return>
<msg time="2026-11-21T13:29:22.662144" 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-21T13:29:22.658242" elapsed="0.003975"/>
</kw>
<kw name="PostSubscriptionCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.664026" 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-21T13:29:22.663503" elapsed="0.000994"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.665790" 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-21T13:29:22.664908" elapsed="0.000956"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.690762" 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-21T13:29:22.690862" 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-21T13:29:22.691086" level="INFO">/tmp/venv-rGJQ/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-21T13:29:22.691434" 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-21T13:29:22.666213" elapsed="0.025299"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:22.691703" elapsed="0.000084"/>
</return>
<msg time="2026-11-21T13:29:22.692093" 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-21T13:29:22.662624" elapsed="0.029540"/>
</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-21T13:29:22.692520" elapsed="0.001334"/>
</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-21T13:29:22.694283" elapsed="0.001096"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:22.696069" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:22.695872" elapsed="0.000340"/>
</kw>
<doc>Verify Create Subscription API</doc>
<tag>PMSH_10</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-21T13:29:22.656894" elapsed="0.039428"/>
</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-21T13:29:22.700284" 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-21T13:29:22.699364" elapsed="0.001331"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.726339" 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-21T13:29:22.726448" 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-21T13:29:22.726910" level="INFO">/tmp/venv-rGJQ/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-21T13:29:22.727277" 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-21T13:29:22.701023" elapsed="0.026331"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:22.727506" elapsed="0.000142"/>
</return>
<msg time="2026-11-21T13:29:22.727968" 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-21T13:29:22.698557" elapsed="0.029489"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.729740" level="INFO">Length is 1.</msg>
<msg time="2026-11-21T13:29:22.729996" 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-21T13:29:22.728388" elapsed="0.001706"/>
</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-21T13:29:22.730430" elapsed="0.001240"/>
</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-21T13:29:22.731983" elapsed="0.001080"/>
</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-21T13:29:22.733456" elapsed="0.001088"/>
</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-21T13:29:22.734888" elapsed="0.001050"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.737043" 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-21T13:29:22.736292" elapsed="0.000940"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:22.737913" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:22.737718" elapsed="0.000361"/>
</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-21T13:29:22.697084" elapsed="0.041118"/>
</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-21T13:29:22.741881" 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-21T13:29:22.741367" elapsed="0.000947"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.779503" 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-21T13:29:22.779687" 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-21T13:29:22.779997" level="INFO">/tmp/venv-rGJQ/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-21T13:29:22.780443" 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-21T13:29:22.742669" elapsed="0.037853"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:22.780752" elapsed="0.000112"/>
</return>
<msg time="2026-11-21T13:29:22.781212" 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-21T13:29:22.740460" elapsed="0.040822"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.783104" level="INFO">Length is 1.</msg>
<msg time="2026-11-21T13:29:22.783367" 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-21T13:29:22.781740" elapsed="0.001694"/>
</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-21T13:29:22.783794" elapsed="0.001262"/>
</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-21T13:29:22.785372" elapsed="0.001152"/>
</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-21T13:29:22.786868" elapsed="0.001083"/>
</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-21T13:29:22.788268" elapsed="0.001081"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.790495" 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-21T13:29:22.789727" elapsed="0.000981"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:22.791412" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:22.791216" elapsed="0.000343"/>
</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-21T13:29:22.738994" elapsed="0.052701"/>
</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-21T13:29:22.796141" 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-21T13:29:22.795634" elapsed="0.000924"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.821376" 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-21T13:29:22.821467" 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-21T13:29:22.821919" level="INFO">/tmp/venv-rGJQ/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-21T13:29:22.822325" 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-21T13:29:22.796980" elapsed="0.025421"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:22.822559" elapsed="0.000110"/>
</return>
<msg time="2026-11-21T13:29:22.822970" 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-21T13:29:22.794689" elapsed="0.028351"/>
</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-21T13:29:22.823374" elapsed="0.001282"/>
</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-21T13:29:22.824970" elapsed="0.001030"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:22.826706" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:22.826489" elapsed="0.000352"/>
</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-21T13:29:22.792587" elapsed="0.034366"/>
</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-21T13:29:22.829949" 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-21T13:29:22.829077" elapsed="0.000975"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.831515" 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-21T13:29:22.830404" elapsed="0.001205"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.833371" 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-21T13:29:22.832885" elapsed="0.000900"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.835087" 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-21T13:29:22.834192" elapsed="0.000968"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.912063" 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-21T13:29:22.912202" 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-21T13:29:22.912471" level="INFO">/tmp/venv-rGJQ/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-21T13:29:22.912929" 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-21T13:29:22.835481" elapsed="0.077529"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:22.913210" elapsed="0.000107"/>
</return>
<msg time="2026-11-21T13:29:22.913678" 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-21T13:29:22.832018" elapsed="0.081734"/>
</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-21T13:29:22.914203" elapsed="0.001459"/>
</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-21T13:29:22.915994" elapsed="0.001090"/>
</kw>
<kw name="GetMeasGrpWithNFSCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.918941" 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-21T13:29:22.918408" elapsed="0.001345"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.945145" 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-21T13:29:22.945283" 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-21T13:29:22.945705" level="INFO">/tmp/venv-rGJQ/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-21T13:29:22.946227" 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-21T13:29:22.920076" elapsed="0.026234"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:22.946518" elapsed="0.000140"/>
</return>
<msg time="2026-11-21T13:29:22.947045" 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-21T13:29:22.917514" elapsed="0.029603"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.948876" level="INFO">Length is 1.</msg>
<msg time="2026-11-21T13:29:22.949134" 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-21T13:29:22.947548" elapsed="0.001653"/>
</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-21T13:29:22.949540" elapsed="0.001318"/>
</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-21T13:29:22.951271" elapsed="0.001118"/>
</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-21T13:29:22.952736" elapsed="0.001044"/>
</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-21T13:29:22.954122" elapsed="0.001039"/>
</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-21T13:29:22.955478" elapsed="0.001042"/>
</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-21T13:29:22.956862" elapsed="0.001039"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.959047" 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-21T13:29:22.958291" elapsed="0.000946"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:22.959941" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:22.959744" elapsed="0.000580"/>
</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-21T13:29:22.827942" elapsed="0.132505"/>
</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-21T13:29:22.963506" 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-21T13:29:22.962655" elapsed="0.000947"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.965045" 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-21T13:29:22.963949" elapsed="0.001176"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.967054" 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-21T13:29:22.966529" elapsed="0.000940"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-21T13:29:22.968761" 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-21T13:29:22.967876" elapsed="0.000958"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:22.990758" 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-21T13:29:22.990852" 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-21T13:29:22.991057" level="INFO">/tmp/venv-rGJQ/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-21T13:29:22.991504" 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-21T13:29:22.969148" elapsed="0.022459"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:22.991772" elapsed="0.000079"/>
</return>
<msg time="2026-11-21T13:29:22.992142" 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-21T13:29:22.965624" elapsed="0.026588"/>
</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-21T13:29:22.992540" elapsed="0.001253"/>
</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-21T13:29:22.994154" elapsed="0.001214"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:22.996056" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:22.995857" elapsed="0.000334"/>
</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-21T13:29:22.961389" elapsed="0.034910"/>
</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-21T13:29:23.000946" 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-21T13:29:23.001411" 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-21T13:29:23.000102" elapsed="0.001412"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-21T13:29:23.001673" elapsed="0.000076"/>
</return>
<msg time="2026-11-21T13:29:23.002083" 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-21T13:29:22.999309" elapsed="0.002847"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:23.003010" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.2: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-21T13:29:23.002497" elapsed="0.000882"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:23.015384" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:29:23.015527" level="INFO">PUT Response : url=http://172.17.0.2: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.4.0', 'deprecated': '"/clear" is deprecated use "/mockserver/clear" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-21T13:29:23.016261" 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-21T13:29:23.003719" elapsed="0.012616"/>
</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-21T13:29:23.016807" elapsed="0.001490"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-21T13:29:25.019696" level="INFO">Slept 2 seconds.</msg>
<msg time="2026-11-21T13:29:25.019807" 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-21T13:29:23.018640" elapsed="2.001502"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:25.037074" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:29:25.037198" level="INFO">PUT Response : url=http://172.17.0.2: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.4.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-21T13:29:25.037705" 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-21T13:29:25.020674" elapsed="0.017105"/>
</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-21T13:29:25.038193" elapsed="0.001442"/>
</kw>
<status status="PASS" start="2026-11-21T13:29:22.998586" elapsed="2.041228"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.041153" level="INFO">Slept 31 seconds.</msg>
<msg time="2026-11-21T13:29:56.041259" 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-21T13:29:25.040090" elapsed="31.001475"/>
</kw>
<kw name="ResetMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-21T13:29:56.044476" 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-21T13:29:56.044882" 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-21T13:29:56.043959" elapsed="0.000997"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-21T13:29:56.045086" elapsed="0.000111"/>
</return>
<msg time="2026-11-21T13:29:56.045500" 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-21T13:29:56.043151" elapsed="0.002419"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.046481" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.2: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-21T13:29:56.045912" elapsed="0.000989"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.061039" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:29:56.061221" level="INFO">PUT Response : url=http://172.17.0.2: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.4.0', 'deprecated': '"/reset" is deprecated use "/mockserver/reset" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-21T13:29:56.061795" 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-21T13:29:56.047247" elapsed="0.014625"/>
</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-21T13:29:56.062499" elapsed="0.001580"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.077187" level="INFO">PUT Request : url=http://172.17.0.2: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-21T13:29:56.077358" level="INFO">PUT Response : url=http://172.17.0.2: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.4.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-21T13:29:56.077922" 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-21T13:29:56.064471" elapsed="0.013612"/>
</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-21T13:29:56.078688" elapsed="0.001352"/>
</kw>
<status status="PASS" start="2026-11-21T13:29:56.042254" elapsed="0.038001"/>
</kw>
<kw name="GetMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.082467" 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-21T13:29:56.081523" elapsed="0.001381"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.107322" 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-21T13:29:56.107424" 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-21T13:29:56.107661" level="INFO">/tmp/venv-rGJQ/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-21T13:29:56.107923" 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-21T13:29:56.083258" elapsed="0.024736"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:56.108176" elapsed="0.000108"/>
</return>
<msg time="2026-11-21T13:29:56.108610" 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-21T13:29:56.080677" elapsed="0.028003"/>
</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-21T13:29:56.109091" elapsed="0.001336"/>
</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-21T13:29:56.110753" elapsed="0.001112"/>
</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-21T13:29:56.112211" elapsed="0.001054"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.114700" level="INFO">Length is 0.</msg>
<msg time="2026-11-21T13:29:56.114959" 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-21T13:29:56.113590" elapsed="0.001435"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.116150" 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-21T13:29:56.115398" elapsed="0.000943"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:56.117023" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:56.116827" elapsed="0.000560"/>
</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-21T13:29:22.997044" elapsed="33.120464"/>
</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-21T13:29:56.120614" 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-21T13:29:56.119759" elapsed="0.000942"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.123960" 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-21T13:29:56.122289" elapsed="0.001760"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.126055" 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-21T13:29:56.125506" elapsed="0.001089"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.127907" 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-21T13:29:56.126988" elapsed="0.000992"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.269672" 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-21T13:29:56.269800" 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-21T13:29:56.270102" level="INFO">/tmp/venv-rGJQ/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-21T13:29:56.270565" 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-21T13:29:56.128320" elapsed="0.142330"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:56.270857" elapsed="0.000121"/>
</return>
<msg time="2026-11-21T13:29:56.271391" 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-21T13:29:56.124574" elapsed="0.146887"/>
</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-21T13:29:56.271885" elapsed="0.001819"/>
</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-21T13:29:56.274066" elapsed="0.001141"/>
</kw>
<kw name="GetMeasGrpWithNFSCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.276970" 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-21T13:29:56.276453" elapsed="0.000970"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.302092" 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-21T13:29:56.302211" 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-21T13:29:56.302513" level="INFO">/tmp/venv-rGJQ/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-21T13:29:56.302859" 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-21T13:29:56.277743" elapsed="0.025200"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:56.303083" elapsed="0.000101"/>
</return>
<msg time="2026-11-21T13:29:56.303478" 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-21T13:29:56.275639" elapsed="0.027908"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.305070" level="INFO">Length is 1.</msg>
<msg time="2026-11-21T13:29:56.305352" 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-21T13:29:56.303858" elapsed="0.001560"/>
</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-21T13:29:56.305751" elapsed="0.006241"/>
</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-21T13:29:56.312331" elapsed="0.001094"/>
</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-21T13:29:56.313793" elapsed="0.001101"/>
</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-21T13:29:56.315234" elapsed="0.001046"/>
</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-21T13:29:56.316596" elapsed="0.001088"/>
</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-21T13:29:56.317996" elapsed="0.001085"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.320228" 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-21T13:29:56.319484" elapsed="0.000931"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:56.321080" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:56.320885" elapsed="0.000545"/>
</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-21T13:29:56.118300" elapsed="0.203250"/>
</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-21T13:29:56.325078" 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-21T13:29:56.323945" elapsed="0.001243"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.326841" 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-21T13:29:56.325659" elapsed="0.001266"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.328727" 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-21T13:29:56.328240" elapsed="0.000923"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.330479" 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-21T13:29:56.329553" elapsed="0.000999"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.473683" 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-21T13:29:56.473772" 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-21T13:29:56.473973" level="INFO">/tmp/venv-rGJQ/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-21T13:29:56.474400" 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-21T13:29:56.330868" elapsed="0.143680"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:56.474713" elapsed="0.000080"/>
</return>
<msg time="2026-11-21T13:29:56.475082" 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-21T13:29:56.327377" elapsed="0.147791"/>
</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-21T13:29:56.475501" elapsed="0.001406"/>
</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-21T13:29:56.477256" elapsed="0.001067"/>
</kw>
<kw name="GetMeasGrpWithNFSCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.479966" 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-21T13:29:56.479481" elapsed="0.000876"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.504922" 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-21T13:29:56.505013" 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-21T13:29:56.505245" level="INFO">/tmp/venv-rGJQ/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-21T13:29:56.505584" 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-21T13:29:56.480673" elapsed="0.024993"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:56.505804" elapsed="0.000078"/>
</return>
<msg time="2026-11-21T13:29:56.506226" 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-21T13:29:56.478710" elapsed="0.027585"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.507768" level="INFO">Length is 1.</msg>
<msg time="2026-11-21T13:29:56.508021" 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-21T13:29:56.506601" elapsed="0.001485"/>
</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-21T13:29:56.508446" elapsed="0.001206"/>
</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-21T13:29:56.509967" elapsed="0.001091"/>
</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-21T13:29:56.511405" elapsed="0.001047"/>
</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-21T13:29:56.512767" elapsed="0.001458"/>
</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-21T13:29:56.514549" elapsed="0.001073"/>
</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-21T13:29:56.515941" elapsed="0.001062"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.518196" 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-21T13:29:56.517379" elapsed="0.001002"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:56.519022" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:56.518825" elapsed="0.000647"/>
</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-21T13:29:56.322373" elapsed="0.197226"/>
</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-21T13:29:56.522901" 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-21T13:29:56.521823" elapsed="0.001149"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.524414" 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-21T13:29:56.523342" elapsed="0.001142"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.526342" 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-21T13:29:56.525811" elapsed="0.000909"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.527956" 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-21T13:29:56.527096" elapsed="0.000931"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.549754" 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-21T13:29:56.549842" 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-21T13:29:56.550070" level="INFO">/tmp/venv-rGJQ/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-21T13:29:56.550428" 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-21T13:29:56.528358" elapsed="0.022150"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:56.550670" elapsed="0.000078"/>
</return>
<msg time="2026-11-21T13:29:56.551032" 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-21T13:29:56.524946" elapsed="0.026152"/>
</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-21T13:29:56.551448" elapsed="0.001409"/>
</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-21T13:29:56.553212" elapsed="0.001127"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:56.554998" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:56.554802" elapsed="0.000345"/>
</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-21T13:29:56.520336" elapsed="0.034921"/>
</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-21T13:29:56.558418" 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-21T13:29:56.557313" elapsed="0.001178"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.559911" 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-21T13:29:56.558838" elapsed="0.001143"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.561733" 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-21T13:29:56.561253" elapsed="0.000901"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.563379" 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-21T13:29:56.562531" elapsed="0.000917"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.585069" 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-21T13:29:56.585185" 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-21T13:29:56.585575" level="INFO">/tmp/venv-rGJQ/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-21T13:29:56.585911" 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-21T13:29:56.563760" elapsed="0.022231"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:56.586203" elapsed="0.000078"/>
</return>
<msg time="2026-11-21T13:29:56.586569" 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-21T13:29:56.560406" elapsed="0.026230"/>
</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-21T13:29:56.587206" elapsed="0.001251"/>
</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-21T13:29:56.588786" elapsed="0.001030"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:56.590516" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:56.590319" elapsed="0.000327"/>
</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-21T13:29:56.555955" elapsed="0.034800"/>
</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-21T13:29:56.594416" 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-21T13:29:56.594809" 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-21T13:29:56.593908" elapsed="0.000969"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.596431" 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-21T13:29:56.595239" elapsed="0.001267"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-21T13:29:56.596639" elapsed="0.000069"/>
</return>
<msg time="2026-11-21T13:29:56.597033" 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-21T13:29:56.592932" elapsed="0.004168"/>
</kw>
<kw name="PostSubscriptionCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.598898" 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-21T13:29:56.598415" elapsed="0.000886"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.600538" 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-21T13:29:56.599671" elapsed="0.000937"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.804140" 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-21T13:29:56.804271" 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-21T13:29:56.804540" level="INFO">/tmp/venv-rGJQ/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-21T13:29:56.805003" 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-21T13:29:56.600921" elapsed="0.204166"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:56.805319" elapsed="0.000106"/>
</return>
<msg time="2026-11-21T13:29:56.805765" 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-21T13:29:56.597495" elapsed="0.208339"/>
</kw>
<kw name="GetSubsCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.808179" 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-21T13:29:56.807613" elapsed="0.000969"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.835391" 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-21T13:29:56.835482" 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-21T13:29:56.835795" level="INFO">/tmp/venv-rGJQ/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-21T13:29:56.836224" 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-21T13:29:56.808901" elapsed="0.027405"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:56.836460" elapsed="0.000077"/>
</return>
<msg time="2026-11-21T13:29:56.836826" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}</arg>
<arg>""</arg>
<status status="PASS" start="2026-11-21T13:29:56.806603" elapsed="0.030291"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.838564" level="INFO">Length is 1.</msg>
<msg time="2026-11-21T13:29:56.838820" 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-21T13:29:56.837226" elapsed="0.001659"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.840207" level="INFO">Length is 1.</msg>
<msg time="2026-11-21T13:29:56.840458" 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-21T13:29:56.839221" elapsed="0.001301"/>
</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-21T13:29:56.840849" elapsed="0.001239"/>
</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-21T13:29:56.842427" elapsed="0.001107"/>
</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-21T13:29:56.843849" elapsed="0.001080"/>
</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-21T13:29:56.845267" elapsed="0.001146"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.847550" 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-21T13:29:56.846764" elapsed="0.000968"/>
</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-21T13:29:56.848040" elapsed="0.001097"/>
</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-21T13:29:56.849454" elapsed="0.001105"/>
</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-21T13:29:56.850874" elapsed="0.001125"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.853142" 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-21T13:29:56.852377" elapsed="0.000951"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:56.853987" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:56.853794" elapsed="0.000378"/>
</kw>
<doc>Verify Get subscriptions with Network Functions</doc>
<tag>PMSH_21</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-21T13:29:56.591477" elapsed="0.262808"/>
</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-21T13:29:56.857723" 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-21T13:29:56.856693" elapsed="0.001103"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.859320" 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-21T13:29:56.858223" elapsed="0.001169"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.861213" 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-21T13:29:56.860677" elapsed="0.000914"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.862882" 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-21T13:29:56.861971" elapsed="0.000983"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.886805" 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-21T13:29:56.886894" 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-21T13:29:56.887088" level="INFO">/tmp/venv-rGJQ/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-21T13:29:56.887442" 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-21T13:29:56.863288" elapsed="0.024233"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:56.887682" elapsed="0.000078"/>
</return>
<arg>/subscription/subs_01/measurementGroups/msg_grp_02/adminState</arg>
<arg>${json}</arg>
<status status="PASS" start="2026-11-21T13:29:56.859790" elapsed="0.028183"/>
</kw>
<kw name="DeleteMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.889812" 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-21T13:29:56.889322" elapsed="0.000912"/>
</kw>
<kw name="DELETE On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.911773" 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-21T13:29:56.911862" 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-21T13:29:56.912068" level="INFO">/tmp/venv-rGJQ/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-21T13:29:56.912430" 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-21T13:29:56.890546" elapsed="0.021963"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:56.912653" elapsed="0.000075"/>
</return>
<msg time="2026-11-21T13:29:56.913014" 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-21T13:29:56.888365" elapsed="0.024715"/>
</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-21T13:29:56.913433" elapsed="0.001468"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:56.915576" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:56.915378" elapsed="0.000535"/>
</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-21T13:29:56.855086" elapsed="0.060945"/>
</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-21T13:29:56.919742" 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-21T13:29:56.919235" elapsed="0.000896"/>
</kw>
<kw name="DELETE On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.940869" 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-21T13:29:56.940958" 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-21T13:29:56.941242" level="INFO">/tmp/venv-rGJQ/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-21T13:29:56.941576" 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-21T13:29:56.920447" elapsed="0.021210"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:56.941804" elapsed="0.000078"/>
</return>
<msg time="2026-11-21T13:29:56.942223" level="INFO">${resp} = &lt;Response [500]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/nonexistent</arg>
<status status="PASS" start="2026-11-21T13:29:56.918290" elapsed="0.024002"/>
</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-21T13:29:56.942613" elapsed="0.001418"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:56.944698" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:56.944502" elapsed="0.000327"/>
</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-21T13:29:56.916751" elapsed="0.028186"/>
</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-21T13:29:56.948362" 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-21T13:29:56.948740" 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-21T13:29:56.947891" elapsed="0.000917"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.950649" 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-21T13:29:56.949174" elapsed="0.001549"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-21T13:29:56.950854" elapsed="0.000071"/>
</return>
<msg time="2026-11-21T13:29:56.951256" 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-21T13:29:56.947045" elapsed="0.004281"/>
</kw>
<kw name="PostMsgGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.953036" 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-21T13:29:56.952557" elapsed="0.000873"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.954692" 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-21T13:29:56.953798" elapsed="0.000965"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.986271" 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-21T13:29:56.986351" 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-21T13:29:56.986735" level="INFO">/tmp/venv-rGJQ/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-21T13:29:56.987073" 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-21T13:29:56.955081" elapsed="0.032091"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:56.987333" elapsed="0.000076"/>
</return>
<msg time="2026-11-21T13:29:56.987697" 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-21T13:29:56.951705" elapsed="0.036058"/>
</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-21T13:29:56.988091" elapsed="0.001246"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:56.990274" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:56.989965" elapsed="0.000445"/>
</kw>
<doc>Verify Create Measurement Group successful</doc>
<tag>PMSH_24</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-21T13:29:56.945655" elapsed="0.044867"/>
</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-21T13:29:56.993940" 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-21T13:29:56.994342" 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-21T13:29:56.993507" elapsed="0.000903"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-21T13:29:56.996155" 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-21T13:29:56.994750" elapsed="0.001480"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-21T13:29:56.996364" elapsed="0.000070"/>
</return>
<msg time="2026-11-21T13:29:56.996736" 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-21T13:29:56.992704" elapsed="0.004100"/>
</kw>
<kw name="PostMsgGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:56.998564" 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-21T13:29:56.998058" elapsed="0.000877"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-21T13:29:57.000194" 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-21T13:29:56.999333" elapsed="0.000933"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:57.027379" 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-21T13:29:57.027468" 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-21T13:29:57.027663" level="INFO">/tmp/venv-rGJQ/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-21T13:29:57.027994" 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-21T13:29:57.000581" elapsed="0.027495"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:57.028257" elapsed="0.000078"/>
</return>
<msg time="2026-11-21T13:29:57.028622" 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-21T13:29:56.997196" elapsed="0.031493"/>
</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-21T13:29:57.029018" elapsed="0.001453"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:57.031111" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:57.030918" elapsed="0.000371"/>
</kw>
<doc>Verify Create Measurement Group successful</doc>
<tag>PMSH_25</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-21T13:29:56.991275" elapsed="0.040125"/>
</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-21T13:29:57.034835" 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-21T13:29:57.034345" elapsed="0.000927"/>
</kw>
<kw name="DELETE On Session" owner="RequestsLibrary">
<msg time="2026-11-21T13:29:57.063104" 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-21T13:29:57.063214" 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-21T13:29:57.063599" level="INFO">/tmp/venv-rGJQ/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-21T13:29:57.063989" 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-21T13:29:57.035588" elapsed="0.028484"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-21T13:29:57.064239" elapsed="0.000079"/>
</return>
<msg time="2026-11-21T13:29:57.064610" 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-21T13:29:57.033365" elapsed="0.031312"/>
</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-21T13:29:57.064997" elapsed="0.001456"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-21T13:29:57.067099" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-21T13:29:57.066904" elapsed="0.000350"/>
</kw>
<doc>Verify Delete Measurement Group successful</doc>
<tag>PMSH_26</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-21T13:29:57.032093" elapsed="0.035268"/>
</test>
<doc>Testing PMSH functionality</doc>
<status status="PASS" start="2026-11-21T13:27:57.663872" elapsed="119.404778"/>
</suite>
<doc>PMSH Testcases</doc>
<status status="PASS" start="2026-11-21T13:27:57.628844" elapsed="119.442205"/>
</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-21T13:27:57.624007" 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-21T13:27:57.624214" 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-21T13:27:57.624366" 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-21T13:27:57.624518" 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-21T13:27:57.624697" 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-21T13:27:57.624867" 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-21T13:27:57.625035" 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-21T13:27:57.771393" 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-21T13:27:57.771580" 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-21T13:27:57.771729" 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-21T13:27:57.771876" 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>
