Generated by TestNG with ReportNG at 22:45 PDT on Sunday 09 July 2023
root@cc7d7fbb25f7 / Java 17.0.6 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.411s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2023-07-09 23:00:03 |

2023-07-09 23:00:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 23:00:03 | ------------------------------------

2023-07-09 23:00:03 | [Mutex] waiting for: [configured:node:node-8b4b09bf-a4ea-45d0-9785-2911867f9c38:node-8bffa6a9-6801-429b-82d8-1647431d11a0]

2023-07-09 23:00:03 | [Mutex] received everything.

2023-07-09 23:00:03 | [Mutex] isItemNotified: configured:node:node-8b4b09bf-a4ea-45d0-9785-2911867f9c38:node-8bffa6a9-6801-429b-82d8-1647431d11a0 :: true

2023-07-09 23:00:04 | [Mutex] waiting for: [received:nodes:f760e02b-02cb-40b1-80c2-c3a4f43fd201:localhost]

2023-07-09 23:00:04 | [Mutex] received everything.

2023-07-09 23:00:04 | [Mutex] isItemNotified: received:node:f760e02b-02cb-40b1-80c2-c3a4f43fd201:localhost:node-8b4b09bf-a4ea-45d0-9785-2911867f9c38:Node 8b4b09bf-a4ea-45d0-9785-2911867f9c38 :: true

2023-07-09 23:00:04 | [Mutex] waiting for: [received:nodes:a3fec728-db05-446d-91f2-a8d2110bbe43:localhost]

2023-07-09 23:00:04 | [Mutex] waiting for: [received:nodes:a3fec728-db05-446d-91f2-a8d2110bbe43:localhost]

2023-07-09 23:00:04 | [Mutex] waiting for: [received:nodes:a3fec728-db05-446d-91f2-a8d2110bbe43:localhost]

2023-07-09 23:00:04 | [Mutex] waiting for: [received:nodes:a3fec728-db05-446d-91f2-a8d2110bbe43:localhost]

2023-07-09 23:00:04 | [Mutex] received everything.

2023-07-09 23:00:04 | [Mutex] isItemNotified: received:node:a3fec728-db05-446d-91f2-a8d2110bbe43:localhost:node-8b4b09bf-a4ea-45d0-9785-2911867f9c38:Node 8b4b09bf-a4ea-45d0-9785-2911867f9c38 :: false

createNodes 1.382s
2023-07-09 23:00:01 |

2023-07-09 23:00:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 23:00:01 | ------------------------------------

2023-07-09 23:00:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8b4b09bf-a4ea-45d0-9785-2911867f9c38</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8b4b09bf-a4ea-45d0-9785-2911867f9c38</title></pubsub></data>

2023-07-09 23:00:01 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-09 23:00:02 | [Mutex] waiting for: [received:nodes:99d5a9ce-d81d-4905-ab71-4921593743a5:localhost]

2023-07-09 23:00:02 | [Mutex] waiting for: [received:nodes:99d5a9ce-d81d-4905-ab71-4921593743a5:localhost]

2023-07-09 23:00:02 | [Mutex] waiting for: [received:nodes:99d5a9ce-d81d-4905-ab71-4921593743a5:localhost]

2023-07-09 23:00:02 | [Mutex] received everything.

2023-07-09 23:00:02 | [Mutex] isItemNotified: received:node:99d5a9ce-d81d-4905-ab71-4921593743a5:localhost:node-8b4b09bf-a4ea-45d0-9785-2911867f9c38:Node 8b4b09bf-a4ea-45d0-9785-2911867f9c38 :: true

createSubnodes 1.019s
2023-07-09 23:00:02 |

2023-07-09 23:00:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 23:00:02 | ------------------------------------

2023-07-09 23:00:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8bffa6a9-6801-429b-82d8-1647431d11a0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8bffa6a9-6801-429b-82d8-1647431d11a0</title></pubsub></data>

2023-07-09 23:00:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-09 23:00:03 | [Mutex] waiting for: [received:nodes:0ac1f3f5-375e-451e-bade-5e79aa9468b3:localhost]

2023-07-09 23:00:03 | [Mutex] waiting for: [received:nodes:0ac1f3f5-375e-451e-bade-5e79aa9468b3:localhost]

2023-07-09 23:00:03 | [Mutex] waiting for: [received:nodes:0ac1f3f5-375e-451e-bade-5e79aa9468b3:localhost]

2023-07-09 23:00:03 | [Mutex] waiting for: [received:nodes:0ac1f3f5-375e-451e-bade-5e79aa9468b3:localhost]

2023-07-09 23:00:03 | [Mutex] received everything.

2023-07-09 23:00:03 | [Mutex] isItemNotified: received:node:0ac1f3f5-375e-451e-bade-5e79aa9468b3:localhost:node-8bffa6a9-6801-429b-82d8-1647431d11a0:Node 8bffa6a9-6801-429b-82d8-1647431d11a0 :: true

deleteNodes 1.017s
2023-07-09 23:00:09 |

2023-07-09 23:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 23:00:09 | ------------------------------------

2023-07-09 23:00:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8bffa6a9-6801-429b-82d8-1647431d11a0</node></data>

2023-07-09 23:00:09 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-09 23:00:10 | [Mutex] waiting for: [received:nodes:1337e6e2-18f1-42be-96c0-0ce4a2bfe07c:localhost]

2023-07-09 23:00:10 | [Mutex] waiting for: [received:nodes:1337e6e2-18f1-42be-96c0-0ce4a2bfe07c:localhost]

2023-07-09 23:00:10 | [Mutex] waiting for: [received:nodes:1337e6e2-18f1-42be-96c0-0ce4a2bfe07c:localhost]

2023-07-09 23:00:10 | [Mutex] received everything.

2023-07-09 23:00:10 | [Mutex] isItemNotified: received:node:1337e6e2-18f1-42be-96c0-0ce4a2bfe07c:localhost:node-8bffa6a9-6801-429b-82d8-1647431d11a0:Node 8bffa6a9-6801-429b-82d8-1647431d11a0 :: false

deleteSubnodes 1.115s
2023-07-09 23:00:08 |

2023-07-09 23:00:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 23:00:08 | ------------------------------------

2023-07-09 23:00:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8b4b09bf-a4ea-45d0-9785-2911867f9c38</node></data>

2023-07-09 23:00:08 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-09 23:00:09 | [Mutex] waiting for: [received:nodes:4b0ffac5-ec23-4f11-8542-34faa63cebdf:localhost]

2023-07-09 23:00:09 | [Mutex] waiting for: [received:nodes:4b0ffac5-ec23-4f11-8542-34faa63cebdf:localhost]

2023-07-09 23:00:09 | [Mutex] waiting for: [received:nodes:4b0ffac5-ec23-4f11-8542-34faa63cebdf:localhost]

2023-07-09 23:00:09 | [Mutex] waiting for: [received:nodes:4b0ffac5-ec23-4f11-8542-34faa63cebdf:localhost]

2023-07-09 23:00:09 | [Mutex] received everything.

2023-07-09 23:00:09 | [Mutex] isItemNotified: received:node:4b0ffac5-ec23-4f11-8542-34faa63cebdf:localhost:node-8b4b09bf-a4ea-45d0-9785-2911867f9c38:Node 8b4b09bf-a4ea-45d0-9785-2911867f9c38 :: false

2023-07-09 23:00:09 | [Mutex] waiting for: [received:nodes:d92287fd-09ac-415d-8d7d-994082a645a3:localhost]

2023-07-09 23:00:09 | [Mutex] received everything.

2023-07-09 23:00:09 | [Mutex] isItemNotified: received:node:d92287fd-09ac-415d-8d7d-994082a645a3:localhost:node-8b4b09bf-a4ea-45d0-9785-2911867f9c38:Node 8b4b09bf-a4ea-45d0-9785-2911867f9c38 :: false

publishItemsToNodes 0.210s
2023-07-09 23:00:05 |

2023-07-09 23:00:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 23:00:05 | ------------------------------------

2023-07-09 23:00:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8b4b09bf-a4ea-45d0-9785-2911867f9c38</node><item-id>item-3dda1690-6173-4fe1-acd8-585dc237666f</item-id><entry><test>item-3dda1690-6173-4fe1-acd8-585dc237666f</test></entry></data>

2023-07-09 23:00:06 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-3dda1690-6173-4fe1-acd8-585dc237666f</value></item-id></result>

2023-07-09 23:00:06 | [Mutex] received everything.

2023-07-09 23:00:06 | [Mutex] isItemNotified: published:item:notifieditem-3dda1690-6173-4fe1-acd8-585dc237666f:admin@test-domain.com :: true

retractItemsFromNodes 0.268s
2023-07-09 23:00:06 |

2023-07-09 23:00:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 23:00:06 | ------------------------------------

2023-07-09 23:00:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8b4b09bf-a4ea-45d0-9785-2911867f9c38</node><item-id>item-3dda1690-6173-4fe1-acd8-585dc237666f</item-id></data>

2023-07-09 23:00:06 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-3dda1690-6173-4fe1-acd8-585dc237666f</value></item-id></result>

2023-07-09 23:00:06 | [Mutex] waiting for: [retracted:item:notifieditem-3dda1690-6173-4fe1-acd8-585dc237666f:admin@test-domain.com]

2023-07-09 23:00:06 | [Mutex] received everything.

2023-07-09 23:00:06 | [Mutex] isItemNotified: retracted:item:notifieditem-3dda1690-6173-4fe1-acd8-585dc237666f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.267s
2023-07-09 23:00:06 |

2023-07-09 23:00:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 23:00:06 | ------------------------------------

2023-07-09 23:00:06 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8b4b09bf-a4ea-45d0-9785-2911867f9c38</node><item-id>item-3dda1690-6173-4fe1-acd8-585dc237666f</item-id></data>

2023-07-09 23:00:06 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-8b4b09bf-a4ea-45d0-9785-2911867f9c38</value></node><item-id type="text-single" label="Item ID"><value>item-3dda1690-6173-4fe1-acd8-585dc237666f</value></item-id><item type="text-multi" label="Item"><value><item id="item-3dda1690-6173-4fe1-acd8-585dc237666f"><test>item-3dda1690-6173-4fe1-acd8-585dc237666f</test></item></value></item></result>

2023-07-09 23:00:06 | [Mutex] notify: [retrieved:item:item-3dda1690-6173-4fe1-acd8-585dc237666f:payload-matches:true:localhost]

2023-07-09 23:00:06 | [Mutex] received everything.

2023-07-09 23:00:06 | [Mutex] isItemNotified: retrieved:item:item-3dda1690-6173-4fe1-acd8-585dc237666f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-07-09 23:00:06 |

2023-07-09 23:00:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 23:00:06 | ------------------------------------

2023-07-09 23:00:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-09 23:00:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-8bffa6a9-6801-429b-82d8-1647431d11a0</value><value>node-8b4b09bf-a4ea-45d0-9785-2911867f9c38</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2023-07-09 23:00:06 |

2023-07-09 23:00:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 23:00:06 | ------------------------------------

2023-07-09 23:00:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8b4b09bf-a4ea-45d0-9785-2911867f9c38)</node-pattern></data>

2023-07-09 23:00:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.116s
2023-07-09 23:00:04 |

2023-07-09 23:00:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 23:00:04 | ------------------------------------

2023-07-09 23:00:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8b4b09bf-a4ea-45d0-9785-2911867f9c38</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-09 23:00:04 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.218s
2023-07-09 23:00:06 |

2023-07-09 23:00:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 23:00:06 | ------------------------------------

2023-07-09 23:00:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8b4b09bf-a4ea-45d0-9785-2911867f9c38</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-09 23:00:07 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>