<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 7.5.1 (Python 3.10.6 on linux)" generated="2026-11-07T13:28:11.027905" 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-07T13:28:11.185669" 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-07T13:28:11.185035" elapsed="0.000912"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:11.250366" 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-07T13:28:11.250518" 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-07T13:28:11.250798" level="INFO">/tmp/venv-ZF3C/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-07T13:28:11.251112" 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-07T13:28:11.186115" elapsed="0.065052"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:28:11.251367" elapsed="0.000095"/>
</return>
<msg time="2026-11-07T13:28:11.251699" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}</arg>
<arg>""</arg>
<status status="PASS" start="2026-11-07T13:28:11.182769" elapsed="0.068963"/>
</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-07T13:28:11.252043" elapsed="0.001111"/>
</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-07T13:28:11.253310" elapsed="0.000754"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:28:11.254424" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:28:11.254331" elapsed="0.000167"/>
</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-07T13:28:11.181704" elapsed="0.072850"/>
</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-07T13:28:11.256659" 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-07T13:28:11.257446" 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-07T13:28:11.256404" elapsed="0.001075"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-07T13:28:11.258236" 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-07T13:28:11.257652" elapsed="0.000619"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-07T13:28:11.258332" elapsed="0.000037"/>
</return>
<msg time="2026-11-07T13:28:11.258520" 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-07T13:28:11.255947" elapsed="0.002606"/>
</kw>
<kw name="PostSubscriptionCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:11.259400" 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-07T13:28:11.259160" elapsed="0.000463"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-07T13:28:11.260289" 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-07T13:28:11.259822" elapsed="0.000501"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:12.327063" 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-07T13:28:12.327264" 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-07T13:28:12.327903" level="INFO">/tmp/venv-ZF3C/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-07T13:28:12.328576" 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-07T13:28:11.260472" elapsed="1.068222"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:28:12.328987" elapsed="0.000149"/>
</return>
<msg time="2026-11-07T13:28:12.329581" 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-07T13:28:11.258752" elapsed="1.070902"/>
</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-07T13:28:12.330185" elapsed="0.001969"/>
</kw>
<kw name="GetSubsCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:12.334217" 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-07T13:28:12.333688" elapsed="0.004657"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:12.365011" 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-07T13:28:12.365143" 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-07T13:28:12.365427" level="INFO">/tmp/venv-ZF3C/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-07T13:28:12.365981" 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-07T13:28:12.338717" elapsed="0.027342"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:28:12.366268" elapsed="0.000115"/>
</return>
<msg time="2026-11-07T13:28:12.366780" 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-07T13:28:12.332685" elapsed="0.034168"/>
</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-07T13:28:12.367521" elapsed="0.001570"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:28:12.369840" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:28:12.369638" elapsed="0.000576"/>
</kw>
<doc>Verify Create Subscription API</doc>
<tag>PMSH_07</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-07T13:28:11.255119" elapsed="1.115219"/>
</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-07T13:28:12.374453" 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-07T13:28:12.373931" elapsed="0.001077"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:12.399231" 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-07T13:28:12.399322" 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-07T13:28:12.399669" level="INFO">/tmp/venv-ZF3C/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-07T13:28:12.400026" 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-07T13:28:12.375332" elapsed="0.024769"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:28:12.400256" elapsed="0.000078"/>
</return>
<msg time="2026-11-07T13:28:12.400663" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}</arg>
<arg>""</arg>
<status status="PASS" start="2026-11-07T13:28:12.373007" elapsed="0.027728"/>
</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-07T13:28:12.401077" elapsed="0.001286"/>
</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-07T13:28:12.402723" elapsed="0.001097"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:28:12.404483" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:28:12.404285" elapsed="0.000360"/>
</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-07T13:28:12.371186" elapsed="0.033572"/>
</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-07T13:28:12.408177" 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-07T13:28:12.407649" elapsed="0.000934"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:12.437460" 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-07T13:28:12.437583" 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-07T13:28:12.437797" level="INFO">/tmp/venv-ZF3C/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-07T13:28:12.438111" 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-07T13:28:12.408904" elapsed="0.029280"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:28:12.438323" elapsed="0.000082"/>
</return>
<msg time="2026-11-07T13:28:12.438731" 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-07T13:28:12.406863" elapsed="0.031937"/>
</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-07T13:28:12.439106" elapsed="0.001157"/>
</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-07T13:28:12.440605" elapsed="0.001055"/>
</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-07T13:28:12.441975" elapsed="0.026337"/>
</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-07T13:28:12.468640" elapsed="0.000702"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:28:12.469815" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:28:12.469688" elapsed="0.000218"/>
</kw>
<doc>Verify PNF detected when administrative state unlocked</doc>
<tag>PMSH_03</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-07T13:28:12.405471" elapsed="0.064598"/>
</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-07T13:28:12.472896" 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-07T13:28:12.473189" 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-07T13:28:12.472601" elapsed="0.000633"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-07T13:28:12.473316" elapsed="0.000060"/>
</return>
<msg time="2026-11-07T13:28:12.473582" 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-07T13:28:12.472103" elapsed="0.001524"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:12.474161" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.3: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-07T13:28:12.473839" elapsed="0.000587"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:12.506743" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:28:12.506848" level="INFO">PUT Response : url=http://172.17.0.3:3904/clear 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/clear" is deprecated use "/mockserver/clear" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-07T13:28:12.507175" 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-07T13:28:12.474644" elapsed="0.032602"/>
</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-07T13:28:12.507626" elapsed="0.001312"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-07T13:28:14.510326" level="INFO">Slept 2 seconds.</msg>
<msg time="2026-11-07T13:28:14.510428" 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-07T13:28:12.509268" elapsed="2.001483"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:14.548410" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:28:14.548562" level="INFO">PUT Response : url=http://172.17.0.3:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '1489'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : [ "{\"name\":\"ResponseEvent\",\"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\"source\":\"APEX\",\"target\":\"DCAE\",\"version\":\"0.0.1\",\"status\":{\"subscriptionName\":\"subs_01\",\"measurementGroupName\": \"msg_grp_01\",\"nfName\":\"pnf-existing\",\"changeType\":\"CREATE\",\"message\":\"success\"}}" ]
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-07T13:28:14.549083" 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-07T13:28:14.511199" elapsed="0.037960"/>
</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-07T13:28:14.549554" elapsed="0.001486"/>
</kw>
<status status="PASS" start="2026-11-07T13:28:12.471603" elapsed="2.079620"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-07T13:28:45.552652" level="INFO">Slept 31 seconds.</msg>
<msg time="2026-11-07T13:28:45.552772" 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-07T13:28:14.551501" elapsed="31.001637"/>
</kw>
<kw name="ResetMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-07T13:28:45.556132" 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-07T13:28:45.556550" 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-07T13:28:45.555573" elapsed="0.001050"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-07T13:28:45.556755" elapsed="0.000090"/>
</return>
<msg time="2026-11-07T13:28:45.557170" 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-07T13:28:45.554727" elapsed="0.002514"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:45.558120" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.3: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-07T13:28:45.557588" elapsed="0.000974"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:45.632743" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:28:45.632854" level="INFO">PUT Response : url=http://172.17.0.3:3904/reset 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/reset" is deprecated use "/mockserver/reset" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-07T13:28:45.633228" 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-07T13:28:45.558889" elapsed="0.074412"/>
</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-07T13:28:45.633683" elapsed="0.001422"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:45.648882" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:28:45.649026" level="INFO">PUT Response : url=http://172.17.0.3:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '1177'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-07T13:28:45.649478" 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-07T13:28:45.635432" elapsed="0.014119"/>
</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-07T13:28:45.649910" elapsed="0.001274"/>
</kw>
<status status="PASS" start="2026-11-07T13:28:45.553809" elapsed="0.097541"/>
</kw>
<kw name="GetMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:45.653070" 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-07T13:28:45.652552" elapsed="0.000905"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:45.680514" 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-07T13:28:45.680610" 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-07T13:28:45.680845" level="INFO">/tmp/venv-ZF3C/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-07T13:28:45.681248" 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-07T13:28:45.653784" elapsed="0.027539"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:28:45.681465" elapsed="0.000082"/>
</return>
<msg time="2026-11-07T13:28:45.681854" 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-07T13:28:45.651709" elapsed="0.030237"/>
</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-07T13:28:45.682261" elapsed="0.001259"/>
</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-07T13:28:45.683877" elapsed="0.001080"/>
</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-07T13:28:45.685283" elapsed="0.001062"/>
</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-07T13:28:45.686665" elapsed="0.001063"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:28:45.688515" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:28:45.688314" elapsed="0.000507"/>
</kw>
<doc>Verify policy response on MR is handled</doc>
<tag>PMSH_04</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-07T13:28:12.470734" elapsed="33.218229"/>
</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-07T13:28:45.693557" 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-07T13:28:45.693965" 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-07T13:28:45.693113" elapsed="0.000926"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-07T13:28:45.694164" elapsed="0.000072"/>
</return>
<msg time="2026-11-07T13:28:45.694532" 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-07T13:28:45.692332" elapsed="0.002269"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:45.695452" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.3: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-07T13:28:45.694959" elapsed="0.000909"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:45.710154" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:28:45.710256" level="INFO">PUT Response : url=http://172.17.0.3:3904/clear 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/clear" is deprecated use "/mockserver/clear" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-07T13:28:45.710581" 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-07T13:28:45.696217" elapsed="0.014436"/>
</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-07T13:28:45.711038" elapsed="0.001301"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-07T13:28:47.713675" level="INFO">Slept 2 seconds.</msg>
<msg time="2026-11-07T13:28:47.713790" 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-07T13:28:45.712643" elapsed="2.001503"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:28:47.735315" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:28:47.735446" level="INFO">PUT Response : url=http://172.17.0.3:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '2976'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : [ "{\"cambria.partition\":\"AAI\",\"event-header\":{\"severity\":\"NORMAL\",\"entity-type\":\"pnf\",\"top-entity-type\":\"pnf\",\"entity-link\":\"/aai/v21/network/pnfs/pnf/pnf_newly_discovered\",\"event-type\":\"AAI-EVENT\",\"domain\":\"dev\",\"action\":\"UPDATE\",\"sequence-number\":\"0\",\"id\":\"db09e090-196e-4f84-9645-e449b1cd3640\",\"source-name\":\"dcae-curl\",\"version\":\"v21\",\"timestamp\":\"20200203-15:14:08:807\"},\"entity\":{\"ipaddress-v4-oam\":\"10.10.10.37\",\"nf-role\":\"gNB\",\"equip-type\":\"val8\",\"relationship-list\":{\"relationship\":[{\"related-to\":\"service-instance\",\"relationship-data\":[{\"relationship-value\":\"Demonstration\",\"relationship-key\":\"customer.global-customer-id\"},{\"relationship-value\":\"vCPE\",\"relationship-key\":\"service-subscription.service-type\"},{\"relationship-value\":\"2c03b2a8-e31a-4749-9e99-3089ab441400\",\"relationship-key\":\"service-instance.service-instance-id\"}],\"related-link\":\"/aai/v16/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vCPE/service-instances/service-instance/2c03b2a8-e31a-4749-9e99-3089ab441400\",\"relationship-label\":\"org.onap.relationships.inventory.ComposedOf\",\"related-to-property\":[{\"property-key\":\"service-instance.service-instance-name\",\"property-value\":\"Svc6_1\"}]}]},\"equip-vendor\":\"Ericsson\",\"serial-number\":\"6061ZW3\",\"ipaddress-v6-oam\":\"2001:0db8:0:0:0:0:1428:57ab\",\"orchestration-status\":\"Active\",\"equip-model\":\"val6\",\"in-maint\":false,\"model-version-id\":\"e80a6ae3-cafd-4d24-850d-e14c084a5ca9\",\"resource-version\":\"1578668956804\",\"sw-version\":\"val7\",\"pnf-id\":\"eabcfaf7-b7f3-45fb-94e7-e6112fb3e8b8\",\"pnf-name\":\"pnf_newly_discovered\",\"model-invariant-id\":\"7129e420-d396-4efb-af02-6b83499b12f8\"}}" ]
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-07T13:28:47.736054" 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-07T13:28:47.714679" elapsed="0.021451"/>
</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-07T13:28:47.736508" elapsed="0.001462"/>
</kw>
<status status="PASS" start="2026-11-07T13:28:45.691546" elapsed="2.046613"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-07T13:29:12.739623" level="INFO">Slept 25 seconds.</msg>
<msg time="2026-11-07T13:29:12.739732" 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-07T13:28:47.738440" elapsed="25.001645"/>
</kw>
<kw name="ResetMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-07T13:29:12.743143" 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-07T13:29:12.743598" 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-07T13:29:12.742618" elapsed="0.001054"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-07T13:29:12.743844" elapsed="0.000095"/>
</return>
<msg time="2026-11-07T13:29:12.744257" 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-07T13:29:12.741771" elapsed="0.002556"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:12.745225" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.3: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-07T13:29:12.744701" elapsed="0.001521"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:12.761956" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:29:12.762126" level="INFO">PUT Response : url=http://172.17.0.3:3904/reset 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/reset" is deprecated use "/mockserver/reset" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-07T13:29:12.762717" 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-07T13:29:12.746586" elapsed="0.016211"/>
</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-07T13:29:12.763340" elapsed="0.001666"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:12.779377" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:29:12.779524" level="INFO">PUT Response : url=http://172.17.0.3:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '1177'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-07T13:29:12.779957" 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-07T13:29:12.765335" elapsed="0.014698"/>
</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-07T13:29:12.780425" elapsed="0.001292"/>
</kw>
<status status="PASS" start="2026-11-07T13:29:12.740856" elapsed="0.041048"/>
</kw>
<kw name="GetMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:12.783739" 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-07T13:29:12.783200" elapsed="0.001072"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:12.812261" 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-07T13:29:12.812355" 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-07T13:29:12.812607" level="INFO">/tmp/venv-ZF3C/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-07T13:29:12.812999" 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-07T13:29:12.784627" elapsed="0.028445"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:29:12.813217" elapsed="0.000103"/>
</return>
<msg time="2026-11-07T13:29:12.813659" 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-07T13:29:12.782338" elapsed="0.031391"/>
</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-07T13:29:12.814050" elapsed="0.001164"/>
</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-07T13:29:12.815564" elapsed="0.001105"/>
</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-07T13:29:12.816990" elapsed="0.001061"/>
</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-07T13:29:12.818371" elapsed="0.001075"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:29:12.820168" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:29:12.819973" elapsed="0.000549"/>
</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-07T13:28:45.689739" elapsed="27.130908"/>
</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-07T13:29:12.825202" 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-07T13:29:12.825635" 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-07T13:29:12.824712" elapsed="0.000994"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-07T13:29:12.825830" elapsed="0.000072"/>
</return>
<msg time="2026-11-07T13:29:12.826194" 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-07T13:29:12.823911" elapsed="0.002351"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:12.827124" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.3: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-07T13:29:12.826631" elapsed="0.000903"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:12.840464" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:29:12.840625" level="INFO">PUT Response : url=http://172.17.0.3:3904/clear 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/clear" is deprecated use "/mockserver/clear" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-07T13:29:12.841187" 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-07T13:29:12.827888" elapsed="0.013381"/>
</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-07T13:29:12.841775" elapsed="0.002134"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-07T13:29:14.845288" level="INFO">Slept 2 seconds.</msg>
<msg time="2026-11-07T13:29:14.845351" 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-07T13:29:12.844276" elapsed="2.001381"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:14.866601" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:29:14.866727" level="INFO">PUT Response : url=http://172.17.0.3:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '2976'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : [ "{\"cambria.partition\":\"AAI\",\"event-header\":{\"severity\":\"NORMAL\",\"entity-type\":\"pnf\",\"top-entity-type\":\"pnf\",\"entity-link\":\"/aai/v21/network/pnfs/pnf/pnf_newly_discovered\",\"event-type\":\"AAI-EVENT\",\"domain\":\"dev\",\"action\":\"DELETE\",\"sequence-number\":\"0\",\"id\":\"db09e090-196e-4f84-9645-e449b1cd3640\",\"source-name\":\"dcae-curl\",\"version\":\"v21\",\"timestamp\":\"20200203-15:14:08:807\"},\"entity\":{\"ipaddress-v4-oam\":\"10.10.10.37\",\"nf-role\":\"gNB\",\"equip-type\":\"val8\",\"relationship-list\":{\"relationship\":[{\"related-to\":\"service-instance\",\"relationship-data\":[{\"relationship-value\":\"Demonstration\",\"relationship-key\":\"customer.global-customer-id\"},{\"relationship-value\":\"vCPE\",\"relationship-key\":\"service-subscription.service-type\"},{\"relationship-value\":\"2c03b2a8-e31a-4749-9e99-3089ab441400\",\"relationship-key\":\"service-instance.service-instance-id\"}],\"related-link\":\"/aai/v16/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vCPE/service-instances/service-instance/2c03b2a8-e31a-4749-9e99-3089ab441400\",\"relationship-label\":\"org.onap.relationships.inventory.ComposedOf\",\"related-to-property\":[{\"property-key\":\"service-instance.service-instance-name\",\"property-value\":\"Svc6_1\"}]}]},\"equip-vendor\":\"Ericsson\",\"serial-number\":\"6061ZW3\",\"ipaddress-v6-oam\":\"2001:0db8:0:0:0:0:1428:57ab\",\"orchestration-status\":\"Active\",\"equip-model\":\"val6\",\"in-maint\":false,\"model-version-id\":\"e80a6ae3-cafd-4d24-850d-e14c084a5ca9\",\"resource-version\":\"1578668956804\",\"sw-version\":\"val7\",\"pnf-id\":\"eabcfaf7-b7f3-45fb-94e7-e6112fb3e8b8\",\"pnf-name\":\"pnf_newly_discovered\",\"model-invariant-id\":\"7129e420-d396-4efb-af02-6b83499b12f8\"}}" ]
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-07T13:29:14.867193" 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-07T13:29:14.846005" elapsed="0.021263"/>
</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-07T13:29:14.867662" elapsed="0.001302"/>
</kw>
<status status="PASS" start="2026-11-07T13:29:12.823108" elapsed="2.046032"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-07T13:29:35.870513" level="INFO">Slept 21 seconds.</msg>
<msg time="2026-11-07T13:29:35.870618" 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-07T13:29:14.869441" elapsed="21.001501"/>
</kw>
<kw name="ResetMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-07T13:29:35.873885" 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-07T13:29:35.874316" 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-07T13:29:35.873396" elapsed="0.000992"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-07T13:29:35.874519" elapsed="0.000088"/>
</return>
<msg time="2026-11-07T13:29:35.874908" 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-07T13:29:35.872556" elapsed="0.002441"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:35.875895" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.3: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-07T13:29:35.875345" elapsed="0.001009"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:35.894775" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:29:35.894881" level="INFO">PUT Response : url=http://172.17.0.3:3904/reset 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/reset" is deprecated use "/mockserver/reset" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-07T13:29:35.895248" 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-07T13:29:35.876700" elapsed="0.018621"/>
</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-07T13:29:35.895750" elapsed="0.001414"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:35.913278" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:29:35.913398" level="INFO">PUT Response : url=http://172.17.0.3:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '1177'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-07T13:29:35.913778" 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-07T13:29:35.897486" elapsed="0.016364"/>
</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-07T13:29:35.914247" elapsed="0.001287"/>
</kw>
<status status="PASS" start="2026-11-07T13:29:35.871607" elapsed="0.044099"/>
</kw>
<kw name="GetMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:35.917467" 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-07T13:29:35.916964" elapsed="0.000907"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:35.946834" 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-07T13:29:35.947015" 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-07T13:29:35.947354" level="INFO">/tmp/venv-ZF3C/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-07T13:29:35.947879" 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-07T13:29:35.918220" elapsed="0.029760"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:29:35.948184" elapsed="0.000120"/>
</return>
<msg time="2026-11-07T13:29:35.948670" 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-07T13:29:35.916164" elapsed="0.032574"/>
</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-07T13:29:35.949218" elapsed="0.001434"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:29:35.951401" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:29:35.951198" elapsed="0.000541"/>
</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-07T13:29:12.821482" elapsed="23.130487"/>
</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-07T13:29:35.955653" 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-07T13:29:35.956089" 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-07T13:29:35.955189" elapsed="0.000971"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-07T13:29:35.957772" 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-07T13:29:35.956508" elapsed="0.001339"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-07T13:29:35.958004" elapsed="0.000072"/>
</return>
<msg time="2026-11-07T13:29:35.958403" 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-07T13:29:35.954357" elapsed="0.004115"/>
</kw>
<kw name="PostSubscriptionCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:35.960342" 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-07T13:29:35.959751" elapsed="0.001014"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-07T13:29:35.962065" 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-07T13:29:35.961172" elapsed="0.000966"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:35.994343" 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-07T13:29:35.994491" 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-07T13:29:35.994792" level="INFO">/tmp/venv-ZF3C/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-07T13:29:35.995147" 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-07T13:29:35.962458" elapsed="0.032765"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:29:35.995442" elapsed="0.000114"/>
</return>
<msg time="2026-11-07T13:29:35.996003" 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-07T13:29:35.958860" elapsed="0.037239"/>
</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-07T13:29:35.996596" elapsed="0.001574"/>
</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-07T13:29:35.998509" elapsed="0.001122"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:29:36.000414" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:29:36.000213" elapsed="0.000348"/>
</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-07T13:29:35.952780" elapsed="0.047898"/>
</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-07T13:29:36.004693" 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-07T13:29:36.005115" 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-07T13:29:36.004190" elapsed="0.000995"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-07T13:29:36.006720" 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-07T13:29:36.005537" elapsed="0.001329"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-07T13:29:36.007032" elapsed="0.000074"/>
</return>
<msg time="2026-11-07T13:29:36.007429" 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-07T13:29:36.003253" elapsed="0.004246"/>
</kw>
<kw name="PostSubscriptionCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:36.009821" 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-07T13:29:36.008819" elapsed="0.001455"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-07T13:29:36.011609" 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-07T13:29:36.010664" elapsed="0.001018"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:36.030904" 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-07T13:29:36.032580" 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-07T13:29:36.033045" level="INFO">/tmp/venv-ZF3C/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-07T13:29:36.033453" 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-07T13:29:36.012066" elapsed="0.021461"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:29:36.033687" elapsed="0.000075"/>
</return>
<msg time="2026-11-07T13:29:36.034077" 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-07T13:29:36.007915" elapsed="0.026231"/>
</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-07T13:29:36.034481" elapsed="0.001243"/>
</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-07T13:29:36.036116" elapsed="0.001078"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:29:36.037851" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:29:36.037658" elapsed="0.000354"/>
</kw>
<doc>Verify Create Subscription API</doc>
<tag>PMSH_09</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-07T13:29:36.001557" elapsed="0.036568"/>
</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-07T13:29:36.041387" 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-07T13:29:36.041748" 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-07T13:29:36.040933" elapsed="0.000884"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-07T13:29:36.043345" 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-07T13:29:36.042182" elapsed="0.001237"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-07T13:29:36.043552" elapsed="0.000070"/>
</return>
<msg time="2026-11-07T13:29:36.043987" 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-07T13:29:36.040152" elapsed="0.003906"/>
</kw>
<kw name="PostSubscriptionCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:36.045809" 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-07T13:29:36.045318" elapsed="0.000957"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-07T13:29:36.047452" 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-07T13:29:36.046660" elapsed="0.000836"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:36.069608" 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-07T13:29:36.069699" 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-07T13:29:36.069906" level="INFO">/tmp/venv-ZF3C/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-07T13:29:36.070239" 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-07T13:29:36.047694" elapsed="0.022618"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:29:36.070476" elapsed="0.000075"/>
</return>
<msg time="2026-11-07T13:29:36.070853" 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-07T13:29:36.044435" elapsed="0.026485"/>
</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-07T13:29:36.071276" elapsed="0.001262"/>
</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-07T13:29:36.072864" elapsed="0.001032"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:29:36.074566" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:29:36.074373" elapsed="0.000323"/>
</kw>
<doc>Verify Create Subscription API</doc>
<tag>PMSH_10</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-07T13:29:36.038837" elapsed="0.035969"/>
</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-07T13:29:36.078605" 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-07T13:29:36.077735" elapsed="0.001263"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:36.104162" 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-07T13:29:36.104257" 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-07T13:29:36.104663" level="INFO">/tmp/venv-ZF3C/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-07T13:29:36.104998" 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-07T13:29:36.079325" elapsed="0.025747"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:29:36.105209" elapsed="0.000076"/>
</return>
<msg time="2026-11-07T13:29:36.105572" 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-07T13:29:36.076978" elapsed="0.028662"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-07T13:29:36.107211" level="INFO">Length is 1.</msg>
<msg time="2026-11-07T13:29:36.107463" 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-07T13:29:36.105972" elapsed="0.001557"/>
</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-07T13:29:36.107890" elapsed="0.001222"/>
</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-07T13:29:36.109429" elapsed="0.001058"/>
</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-07T13:29:36.110863" elapsed="0.001075"/>
</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-07T13:29:36.112285" elapsed="0.001056"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-07T13:29:36.114441" 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-07T13:29:36.113696" elapsed="0.000932"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:29:36.115285" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:29:36.115093" elapsed="0.000323"/>
</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-07T13:29:36.075531" elapsed="0.039995"/>
</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-07T13:29:36.119112" 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-07T13:29:36.118609" elapsed="0.000878"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:36.154767" 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-07T13:29:36.154860" 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-07T13:29:36.155099" level="INFO">/tmp/venv-ZF3C/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-07T13:29:36.155411" 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-07T13:29:36.119841" elapsed="0.035642"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:29:36.155636" elapsed="0.000085"/>
</return>
<msg time="2026-11-07T13:29:36.156076" 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-07T13:29:36.117719" elapsed="0.038425"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-07T13:29:36.157460" level="INFO">Length is 1.</msg>
<msg time="2026-11-07T13:29:36.157707" 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-07T13:29:36.156460" elapsed="0.001312"/>
</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-07T13:29:36.158124" elapsed="0.001185"/>
</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-07T13:29:36.159619" elapsed="0.001126"/>
</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-07T13:29:36.161084" elapsed="0.001052"/>
</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-07T13:29:36.162451" elapsed="0.001087"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-07T13:29:36.164657" 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-07T13:29:36.163918" elapsed="0.000919"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:29:36.165495" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:29:36.165301" elapsed="0.000330"/>
</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-07T13:29:36.116287" elapsed="0.049454"/>
</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-07T13:29:36.169672" 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-07T13:29:36.169183" elapsed="0.000882"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:36.196897" 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-07T13:29:36.197017" 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-07T13:29:36.197408" level="INFO">/tmp/venv-ZF3C/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-07T13:29:36.197725" 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-07T13:29:36.170447" elapsed="0.027351"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:29:36.197974" elapsed="0.000078"/>
</return>
<msg time="2026-11-07T13:29:36.198345" 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-07T13:29:36.168283" elapsed="0.030128"/>
</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-07T13:29:36.198739" 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-07T13:29:36.200331" elapsed="0.001018"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:29:36.202014" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:29:36.201802" elapsed="0.000344"/>
</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-07T13:29:36.166465" elapsed="0.035791"/>
</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-07T13:29:36.205072" 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-07T13:29:36.204216" elapsed="0.000928"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-07T13:29:36.206558" 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-07T13:29:36.205484" elapsed="0.001145"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:36.208418" 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-07T13:29:36.207907" elapsed="0.000881"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-07T13:29:36.210040" 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-07T13:29:36.209188" elapsed="0.000925"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:36.290047" 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-07T13:29:36.290177" 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-07T13:29:36.290426" level="INFO">/tmp/venv-ZF3C/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-07T13:29:36.290822" 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-07T13:29:36.210431" elapsed="0.080467"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:29:36.291121" elapsed="0.000099"/>
</return>
<msg time="2026-11-07T13:29:36.291549" 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-07T13:29:36.207049" elapsed="0.084568"/>
</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-07T13:29:36.292076" elapsed="0.001408"/>
</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-07T13:29:36.293814" elapsed="0.001071"/>
</kw>
<kw name="GetMeasGrpWithNFSCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:36.296664" 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-07T13:29:36.296171" elapsed="0.001313"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:36.322129" 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-07T13:29:36.322226" 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-07T13:29:36.322507" level="INFO">/tmp/venv-ZF3C/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-07T13:29:36.322839" 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-07T13:29:36.297809" elapsed="0.025103"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:29:36.323084" elapsed="0.000080"/>
</return>
<msg time="2026-11-07T13:29:36.323474" 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-07T13:29:36.295341" elapsed="0.028201"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-07T13:29:36.324893" level="INFO">Length is 1.</msg>
<msg time="2026-11-07T13:29:36.325179" 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-07T13:29:36.323883" elapsed="0.001362"/>
</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-07T13:29:36.325578" elapsed="0.001193"/>
</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-07T13:29:36.327108" elapsed="0.001081"/>
</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-07T13:29:36.328508" elapsed="0.001021"/>
</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-07T13:29:36.329844" elapsed="0.001015"/>
</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-07T13:29:36.331194" elapsed="0.001075"/>
</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-07T13:29:36.332587" elapsed="0.001031"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-07T13:29:36.334707" 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-07T13:29:36.333993" elapsed="0.000897"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:29:36.335580" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:29:36.335388" elapsed="0.000603"/>
</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-07T13:29:36.203086" elapsed="0.133030"/>
</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-07T13:29:36.338893" 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-07T13:29:36.338061" elapsed="0.000922"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-07T13:29:36.340442" 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-07T13:29:36.339328" elapsed="0.001185"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:36.342283" 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-07T13:29:36.341777" elapsed="0.000879"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-07T13:29:36.343964" 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-07T13:29:36.343065" elapsed="0.000971"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:36.365676" 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-07T13:29:36.365767" 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-07T13:29:36.365996" level="INFO">/tmp/venv-ZF3C/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-07T13:29:36.366361" 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-07T13:29:36.344350" elapsed="0.022082"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:29:36.366594" elapsed="0.000078"/>
</return>
<msg time="2026-11-07T13:29:36.366985" 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-07T13:29:36.340919" elapsed="0.026135"/>
</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-07T13:29:36.367387" elapsed="0.001256"/>
</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-07T13:29:36.368990" elapsed="0.001089"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:29:36.370731" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:29:36.370540" elapsed="0.000323"/>
</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-07T13:29:36.336887" elapsed="0.034105"/>
</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-07T13:29:36.375546" 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-07T13:29:36.375996" 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-07T13:29:36.374733" elapsed="0.001335"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-07T13:29:36.376194" elapsed="0.000071"/>
</return>
<msg time="2026-11-07T13:29:36.376556" 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-07T13:29:36.373973" elapsed="0.002650"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:36.377466" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.3: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-07T13:29:36.376979" elapsed="0.000847"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:36.388858" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:29:36.388982" level="INFO">PUT Response : url=http://172.17.0.3:3904/clear 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/clear" is deprecated use "/mockserver/clear" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-07T13:29:36.389506" 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-07T13:29:36.378170" elapsed="0.011404"/>
</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-07T13:29:36.389930" elapsed="0.001248"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-07T13:29:38.392505" level="INFO">Slept 2 seconds.</msg>
<msg time="2026-11-07T13:29:38.392605" 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-07T13:29:36.391477" elapsed="2.001441"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:29:38.409434" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:29:38.409560" level="INFO">PUT Response : url=http://172.17.0.3:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '1489'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : [ "{\"name\":\"ResponseEvent\",\"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\"source\":\"APEX\",\"target\":\"DCAE\",\"version\":\"0.0.1\",\"status\":{\"subscriptionName\":\"subs_01\",\"measurementGroupName\": \"msg_grp_01\",\"nfName\":\"pnf-existing\",\"changeType\":\"DELETE\",\"message\":\"success\"}}" ]
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-07T13:29:38.410080" 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-07T13:29:38.393406" elapsed="0.016746"/>
</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-07T13:29:38.410523" elapsed="0.001465"/>
</kw>
<status status="PASS" start="2026-11-07T13:29:36.373228" elapsed="2.038942"/>
</kw>
<kw name="Sleep" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.413548" level="INFO">Slept 31 seconds.</msg>
<msg time="2026-11-07T13:30:09.413654" 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-07T13:29:38.412446" elapsed="31.001529"/>
</kw>
<kw name="ResetMrSim">
<kw name="Get Data From File" owner="common">
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-11-07T13:30:09.416827" 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-07T13:30:09.417235" 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-07T13:30:09.416337" elapsed="0.000990"/>
</kw>
<return>
<value>${data}</value>
<status status="PASS" start="2026-11-07T13:30:09.417458" elapsed="0.000093"/>
</return>
<msg time="2026-11-07T13:30:09.417866" 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-07T13:30:09.415469" elapsed="0.002464"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.418797" level="INFO">Creating Session using : alias=mr_sim_session, url=http://172.17.0.3: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-07T13:30:09.418273" elapsed="0.000971"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.434591" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:30:09.434694" level="INFO">PUT Response : url=http://172.17.0.3:3904/reset 
 status=200, reason=OK 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/reset" is deprecated use "/mockserver/reset" instead', 'connection': 'keep-alive', 'content-length': '0'} 
 body=None 
 </msg>
<msg time="2026-11-07T13:30:09.435094" 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-07T13:30:09.419588" elapsed="0.015577"/>
</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-07T13:30:09.435536" elapsed="0.001396"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.450077" level="INFO">PUT Request : url=http://172.17.0.3: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-07T13:30:09.450189" level="INFO">PUT Response : url=http://172.17.0.3:3904/expectation 
 status=201, reason=Created 
 headers={'access-control-allow-origin': '*', 'access-control-allow-credentials': 'false', 'access-control-allow-methods': 'CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE', 'access-control-allow-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-expose-headers': 'Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization', 'access-control-max-age': '0', 'version': '9.2.0', 'deprecated': '"/expectation" is deprecated use "/mockserver/expectation" instead', 'connection': 'keep-alive', 'content-type': 'application/json; charset=utf-8', 'content-length': '1177'} 
 body=[ {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/AAI-EVENT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "mr_aai_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "GET",
    "path" : "/events/unauthenticated.PMSH_CL_INPUT/.*",
    "queryStringParameters" : {
      "timeout" : [ "5000" ]
    }
  },
  "httpResponse" : {
    "statusCode" : 200,
    "headers" : {
      "content-type" : [ "application/json" ]
    },
    "body" : { }
  },
  "id" : "pmsh_cl_input_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
}, {
  "httpRequest" : {
    "method" : "POST",
    "path" : "/events/unauthenticated.DCAE_CL_OUTPUT/.*"
  },
  "httpResponse" : {
    "statusCode" : 200
  },
  "id" : "dcae_cl_output_event",
  "priority" : 0,
  "timeToLive" : {
    "unlimited" : true
  },
  "times" : {
    "unlimited" : true
  }
} ] 
 </msg>
<msg time="2026-11-07T13:30:09.450580" 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-07T13:30:09.437245" elapsed="0.013405"/>
</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-07T13:30:09.451005" elapsed="0.001254"/>
</kw>
<status status="PASS" start="2026-11-07T13:30:09.414606" elapsed="0.037837"/>
</kw>
<kw name="GetMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.454368" 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-07T13:30:09.453558" elapsed="0.001197"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.480164" 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-07T13:30:09.480254" 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-07T13:30:09.480502" level="INFO">/tmp/venv-ZF3C/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-07T13:30:09.480881" 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-07T13:30:09.455081" elapsed="0.025869"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:30:09.481086" elapsed="0.000074"/>
</return>
<msg time="2026-11-07T13:30:09.481474" 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-07T13:30:09.452791" elapsed="0.028749"/>
</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-07T13:30:09.481898" elapsed="0.001130"/>
</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-07T13:30:09.483373" elapsed="0.001089"/>
</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-07T13:30:09.484781" elapsed="0.001026"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.487084" level="INFO">Length is 0.</msg>
<msg time="2026-11-07T13:30:09.487352" 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-07T13:30:09.486129" elapsed="0.001291"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.488552" 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-07T13:30:09.487770" elapsed="0.000965"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:30:09.489423" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:30:09.489210" elapsed="0.000512"/>
</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-07T13:29:36.371695" elapsed="33.118147"/>
</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-07T13:30:09.492968" 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-07T13:30:09.492103" elapsed="0.000935"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.494491" 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-07T13:30:09.493409" elapsed="0.001153"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.496456" 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-07T13:30:09.495904" elapsed="0.000927"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.498078" 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-07T13:30:09.497208" elapsed="0.000939"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.644501" 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-07T13:30:09.644616" 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-07T13:30:09.644856" level="INFO">/tmp/venv-ZF3C/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-07T13:30:09.645244" 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-07T13:30:09.498482" elapsed="0.146857"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:30:09.645524" elapsed="0.000092"/>
</return>
<msg time="2026-11-07T13:30:09.645933" 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-07T13:30:09.494965" elapsed="0.151034"/>
</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-07T13:30:09.646400" elapsed="0.001363"/>
</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-07T13:30:09.648127" elapsed="0.001123"/>
</kw>
<kw name="GetMeasGrpWithNFSCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.650986" 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-07T13:30:09.650483" elapsed="0.000937"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.676725" 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-07T13:30:09.676821" 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-07T13:30:09.677106" level="INFO">/tmp/venv-ZF3C/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-07T13:30:09.677463" 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-07T13:30:09.651738" elapsed="0.025796"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:30:09.677676" elapsed="0.000080"/>
</return>
<msg time="2026-11-07T13:30:09.678049" 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-07T13:30:09.649686" elapsed="0.028429"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.679463" level="INFO">Length is 1.</msg>
<msg time="2026-11-07T13:30:09.679712" 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-07T13:30:09.678446" elapsed="0.001332"/>
</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-07T13:30:09.680138" elapsed="0.006537"/>
</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-07T13:30:09.687000" elapsed="0.001111"/>
</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-07T13:30:09.688455" elapsed="0.001046"/>
</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-07T13:30:09.689817" 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-07T13:30:09.691170" elapsed="0.001074"/>
</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-07T13:30:09.692585" elapsed="0.001041"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.694736" 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-07T13:30:09.693974" elapsed="0.000944"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:30:09.695608" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:30:09.695413" elapsed="0.000549"/>
</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-07T13:30:09.490619" elapsed="0.205469"/>
</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-07T13:30:09.698460" 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-07T13:30:09.697924" elapsed="0.000579"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.699410" 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-07T13:30:09.698721" elapsed="0.000732"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.700575" 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-07T13:30:09.700256" elapsed="0.000553"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.701592" 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-07T13:30:09.701045" elapsed="0.000590"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.839044" 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-07T13:30:09.839135" 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-07T13:30:09.839366" level="INFO">/tmp/venv-ZF3C/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-07T13:30:09.839682" 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-07T13:30:09.701828" elapsed="0.138007"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:30:09.840003" elapsed="0.000078"/>
</return>
<msg time="2026-11-07T13:30:09.840396" 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-07T13:30:09.699709" elapsed="0.140754"/>
</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-07T13:30:09.840798" elapsed="0.001213"/>
</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-07T13:30:09.842356" elapsed="0.001028"/>
</kw>
<kw name="GetMeasGrpWithNFSCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.845065" 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-07T13:30:09.844585" elapsed="0.000870"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.870304" 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-07T13:30:09.870399" 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-07T13:30:09.870609" level="INFO">/tmp/venv-ZF3C/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-07T13:30:09.870921" 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-07T13:30:09.845770" elapsed="0.025222"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:30:09.871131" elapsed="0.000075"/>
</return>
<msg time="2026-11-07T13:30:09.871524" 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-07T13:30:09.843773" elapsed="0.027816"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.873049" level="INFO">Length is 1.</msg>
<msg time="2026-11-07T13:30:09.873330" 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-07T13:30:09.871931" elapsed="0.001465"/>
</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-07T13:30:09.873732" elapsed="0.001189"/>
</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-07T13:30:09.875233" elapsed="0.001098"/>
</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-07T13:30:09.876649" elapsed="0.001026"/>
</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-07T13:30:09.877990" elapsed="0.001414"/>
</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-07T13:30:09.879728" elapsed="0.001085"/>
</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-07T13:30:09.881130" elapsed="0.001052"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.883311" 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-07T13:30:09.882572" elapsed="0.000921"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:30:09.884166" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:30:09.883974" elapsed="0.000545"/>
</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-07T13:30:09.696885" elapsed="0.187764"/>
</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-07T13:30:09.887558" 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-07T13:30:09.886705" elapsed="0.000922"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.889075" 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-07T13:30:09.888005" elapsed="0.001138"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.890961" 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-07T13:30:09.890482" elapsed="0.000871"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.892622" 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-07T13:30:09.891730" elapsed="0.000961"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.915779" 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-07T13:30:09.915897" 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-07T13:30:09.916098" level="INFO">/tmp/venv-ZF3C/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-07T13:30:09.916426" 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-07T13:30:09.893004" elapsed="0.023491"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:30:09.916657" elapsed="0.000076"/>
</return>
<msg time="2026-11-07T13:30:09.917019" 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-07T13:30:09.889624" elapsed="0.027460"/>
</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-07T13:30:09.917441" elapsed="0.001215"/>
</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-07T13:30:09.918979" elapsed="0.001105"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:30:09.920764" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:30:09.920573" elapsed="0.000319"/>
</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-07T13:30:09.885394" elapsed="0.035607"/>
</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-07T13:30:09.923686" 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-07T13:30:09.922841" elapsed="0.000913"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.925202" 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-07T13:30:09.924131" elapsed="0.001140"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.927015" 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-07T13:30:09.926543" elapsed="0.000866"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.928657" 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-07T13:30:09.927781" elapsed="0.000945"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.951252" 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-07T13:30:09.951370" 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-07T13:30:09.951766" level="INFO">/tmp/venv-ZF3C/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-07T13:30:09.952113" 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-07T13:30:09.929038" elapsed="0.023145"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:30:09.952369" elapsed="0.000078"/>
</return>
<msg time="2026-11-07T13:30:09.952736" 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-07T13:30:09.925694" elapsed="0.027109"/>
</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-07T13:30:09.953194" elapsed="0.001242"/>
</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-07T13:30:09.954768" elapsed="0.001014"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:30:09.956492" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:30:09.956273" elapsed="0.000348"/>
</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-07T13:30:09.921716" elapsed="0.035016"/>
</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-07T13:30:09.960193" 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-07T13:30:09.960599" 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-07T13:30:09.959715" elapsed="0.000952"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.962178" 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-07T13:30:09.961009" elapsed="0.001240"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-07T13:30:09.962418" elapsed="0.000071"/>
</return>
<msg time="2026-11-07T13:30:09.962812" 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-07T13:30:09.958792" elapsed="0.004087"/>
</kw>
<kw name="PostSubscriptionCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:09.964675" 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-07T13:30:09.964164" elapsed="0.000875"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-07T13:30:09.966254" 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-07T13:30:09.965429" elapsed="0.000920"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:10.173039" 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-07T13:30:10.173135" 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-07T13:30:10.173396" level="INFO">/tmp/venv-ZF3C/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-07T13:30:10.173931" 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-07T13:30:09.966661" elapsed="0.207341"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:30:10.174186" elapsed="0.000111"/>
</return>
<msg time="2026-11-07T13:30:10.174620" 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-07T13:30:09.963251" elapsed="0.211434"/>
</kw>
<kw name="GetSubsCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:10.176947" 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-07T13:30:10.176415" elapsed="0.000948"/>
</kw>
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:10.205637" 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-07T13:30:10.205726" 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-07T13:30:10.206022" level="INFO">/tmp/venv-ZF3C/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-07T13:30:10.206419" 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-07T13:30:10.177683" elapsed="0.028808"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:30:10.206643" elapsed="0.000074"/>
</return>
<msg time="2026-11-07T13:30:10.207003" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<var>${resp}</var>
<arg>${SUBSCRIPTION_ENDPOINT}</arg>
<arg>""</arg>
<status status="PASS" start="2026-11-07T13:30:10.175116" elapsed="0.031951"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-07T13:30:10.208753" level="INFO">Length is 1.</msg>
<msg time="2026-11-07T13:30:10.209002" 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-07T13:30:10.207406" elapsed="0.001660"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-11-07T13:30:10.210380" level="INFO">Length is 1.</msg>
<msg time="2026-11-07T13:30:10.210624" 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-07T13:30:10.209406" elapsed="0.001280"/>
</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-07T13:30:10.211014" elapsed="0.001222"/>
</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-07T13:30:10.212580" elapsed="0.001081"/>
</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-07T13:30:10.213977" elapsed="0.001060"/>
</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-07T13:30:10.215370" elapsed="0.001141"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-07T13:30:10.217593" 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-07T13:30:10.216862" elapsed="0.000907"/>
</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-07T13:30:10.218077" elapsed="0.001060"/>
</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-07T13:30:10.219473" elapsed="0.001101"/>
</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-07T13:30:10.220893" elapsed="0.001089"/>
</kw>
<kw name="Should Be Equal As Numbers" owner="BuiltIn">
<msg time="2026-11-07T13:30:10.223070" 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-07T13:30:10.222361" elapsed="0.000888"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:30:10.223954" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:30:10.223732" elapsed="0.000354"/>
</kw>
<doc>Verify Get subscriptions with Network Functions</doc>
<tag>PMSH_21</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-07T13:30:09.957452" elapsed="0.266746"/>
</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-07T13:30:10.228093" 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-07T13:30:10.227028" elapsed="0.001148"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-07T13:30:10.229641" 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-07T13:30:10.228553" elapsed="0.001156"/>
</kw>
<kw name="PutMsgGrpStatusCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:10.231455" 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-07T13:30:10.230956" elapsed="0.000901"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-07T13:30:10.233101" 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-07T13:30:10.232239" elapsed="0.000930"/>
</kw>
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:10.257716" 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-07T13:30:10.257802" 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-07T13:30:10.257996" level="INFO">/tmp/venv-ZF3C/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-07T13:30:10.258391" 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-07T13:30:10.233507" elapsed="0.024955"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:30:10.258622" elapsed="0.000075"/>
</return>
<arg>/subscription/subs_01/measurementGroups/msg_grp_02/adminState</arg>
<arg>${json}</arg>
<status status="PASS" start="2026-11-07T13:30:10.230104" elapsed="0.028806"/>
</kw>
<kw name="DeleteMeasGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:10.260816" 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-07T13:30:10.260326" elapsed="0.000855"/>
</kw>
<kw name="DELETE On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:10.283686" 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-07T13:30:10.283774" 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-07T13:30:10.284010" level="INFO">/tmp/venv-ZF3C/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-07T13:30:10.284403" 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-07T13:30:10.261515" elapsed="0.022959"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:30:10.284617" elapsed="0.000073"/>
</return>
<msg time="2026-11-07T13:30:10.284973" 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-07T13:30:10.259313" elapsed="0.025724"/>
</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-07T13:30:10.285376" elapsed="0.001434"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:30:10.287474" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:30:10.287258" elapsed="0.000578"/>
</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-07T13:30:10.225183" elapsed="0.062773"/>
</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-07T13:30:10.291940" 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-07T13:30:10.291389" elapsed="0.000986"/>
</kw>
<kw name="DELETE On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:10.314710" 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-07T13:30:10.314797" 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-07T13:30:10.315048" level="INFO">/tmp/venv-ZF3C/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-07T13:30:10.315436" 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-07T13:30:10.292696" elapsed="0.022811"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:30:10.315652" elapsed="0.000077"/>
</return>
<msg time="2026-11-07T13:30:10.316055" level="INFO">${resp} = &lt;Response [500]&gt;</msg>
<var>${resp}</var>
<arg>/subscription/subs_01/measurementGroups/nonexistent</arg>
<status status="PASS" start="2026-11-07T13:30:10.290424" elapsed="0.025697"/>
</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-07T13:30:10.316465" elapsed="0.001465"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:30:10.318599" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:30:10.318407" elapsed="0.000320"/>
</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-07T13:30:10.288782" elapsed="0.030053"/>
</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-07T13:30:10.322862" 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-07T13:30:10.323234" 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-07T13:30:10.322398" elapsed="0.000925"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-07T13:30:10.324840" 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-07T13:30:10.323671" elapsed="0.001239"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-07T13:30:10.325044" elapsed="0.000072"/>
</return>
<msg time="2026-11-07T13:30:10.325445" 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-07T13:30:10.321419" elapsed="0.004093"/>
</kw>
<kw name="PostMsgGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:10.327192" 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-07T13:30:10.326717" elapsed="0.000871"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-07T13:30:10.328846" 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-07T13:30:10.327989" elapsed="0.000926"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:10.364830" 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-07T13:30:10.364910" 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-07T13:30:10.365323" level="INFO">/tmp/venv-ZF3C/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-07T13:30:10.365698" 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-07T13:30:10.329228" elapsed="0.036541"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:30:10.365928" elapsed="0.000073"/>
</return>
<msg time="2026-11-07T13:30:10.366312" 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-07T13:30:10.325881" elapsed="0.040498"/>
</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-07T13:30:10.366711" elapsed="0.001464"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:30:10.368901" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:30:10.368646" elapsed="0.000384"/>
</kw>
<doc>Verify Create Measurement Group successful</doc>
<tag>PMSH_24</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-07T13:30:10.319742" elapsed="0.049399"/>
</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-07T13:30:10.373013" 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-07T13:30:10.373373" 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-07T13:30:10.372581" elapsed="0.000860"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-11-07T13:30:10.374889" 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-07T13:30:10.373782" elapsed="0.001177"/>
</kw>
<return>
<value>${json_object}</value>
<status status="PASS" start="2026-11-07T13:30:10.375091" elapsed="0.000069"/>
</return>
<msg time="2026-11-07T13:30:10.375485" 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-07T13:30:10.371566" elapsed="0.003986"/>
</kw>
<kw name="PostMsgGrpCall">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:10.377261" 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-07T13:30:10.376789" elapsed="0.000860"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-11-07T13:30:10.378869" 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-07T13:30:10.378018" elapsed="0.000920"/>
</kw>
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:10.409070" 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-07T13:30:10.409156" 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-07T13:30:10.409382" level="INFO">/tmp/venv-ZF3C/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-07T13:30:10.409750" 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-07T13:30:10.379253" elapsed="0.030568"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:30:10.409979" elapsed="0.000073"/>
</return>
<msg time="2026-11-07T13:30:10.410360" 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-07T13:30:10.375953" elapsed="0.034474"/>
</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-07T13:30:10.410938" elapsed="0.001264"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:30:10.412861" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:30:10.412671" elapsed="0.000316"/>
</kw>
<doc>Verify Create Measurement Group successful</doc>
<tag>PMSH_25</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-07T13:30:10.369952" elapsed="0.043145"/>
</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-07T13:30:10.416964" 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-07T13:30:10.416480" elapsed="0.000872"/>
</kw>
<kw name="DELETE On Session" owner="RequestsLibrary">
<msg time="2026-11-07T13:30:10.447079" 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-07T13:30:10.447157" 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-07T13:30:10.447562" level="INFO">/tmp/venv-ZF3C/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-07T13:30:10.448037" 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-07T13:30:10.417667" elapsed="0.030441"/>
</kw>
<return>
<value>${resp}</value>
<status status="PASS" start="2026-11-07T13:30:10.448254" elapsed="0.000098"/>
</return>
<msg time="2026-11-07T13:30:10.448640" 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-07T13:30:10.415490" elapsed="0.033214"/>
</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-07T13:30:10.449206" elapsed="0.001273"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary" type="TEARDOWN">
<msg time="2026-11-07T13:30:10.451121" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects </doc>
<status status="PASS" start="2026-11-07T13:30:10.450927" elapsed="0.000322"/>
</kw>
<doc>Verify Delete Measurement Group successful</doc>
<tag>PMSH_26</tag>
<timeout value="1 minute"/>
<status status="PASS" start="2026-11-07T13:30:10.413903" elapsed="0.037476"/>
</test>
<doc>Testing PMSH functionality</doc>
<status status="PASS" start="2026-11-07T13:28:11.064514" elapsed="119.388701"/>
</suite>
<doc>PMSH Testcases</doc>
<status status="PASS" start="2026-11-07T13:28:11.029292" elapsed="119.426959"/>
</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-07T13:28:11.024620" 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-07T13:28:11.024832" 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-07T13:28:11.024979" 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-07T13:28:11.025126" 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-07T13:28:11.025319" 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-07T13:28:11.025490" 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-07T13:28:11.025673" 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-07T13:28:11.179324" 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-07T13:28:11.179528" 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-07T13:28:11.179672" 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-07T13:28:11.179825" 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>
