Generated by TestNG with ReportNG at 07:30 PST on Friday 30 December 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (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.662s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2022-12-30 07:46:16 |

2022-12-30 07:46:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 07:46:16 | ------------------------------------

2022-12-30 07:46:16 | [Mutex] waiting for: [configured:node:node-f7c2ad70-d70d-419a-affa-9cc79a839b17:node-b8568b35-c483-4d03-a137-97c02cd537b8]

2022-12-30 07:46:16 | [Mutex] received everything.

2022-12-30 07:46:16 | [Mutex] isItemNotified: configured:node:node-f7c2ad70-d70d-419a-affa-9cc79a839b17:node-b8568b35-c483-4d03-a137-97c02cd537b8 :: true

2022-12-30 07:46:17 | [Mutex] waiting for: [received:nodes:43fd351a-55a7-4ac4-a748-602154406111:localhost]

2022-12-30 07:46:17 | [Mutex] received everything.

2022-12-30 07:46:17 | [Mutex] isItemNotified: received:node:43fd351a-55a7-4ac4-a748-602154406111:localhost:node-f7c2ad70-d70d-419a-affa-9cc79a839b17:Node f7c2ad70-d70d-419a-affa-9cc79a839b17 :: true

2022-12-30 07:46:17 | [Mutex] waiting for: [received:nodes:32e7f085-962a-4461-addb-98eab8b74797:localhost]

2022-12-30 07:46:17 | [Mutex] waiting for: [received:nodes:32e7f085-962a-4461-addb-98eab8b74797:localhost]

2022-12-30 07:46:17 | [Mutex] waiting for: [received:nodes:32e7f085-962a-4461-addb-98eab8b74797:localhost]

2022-12-30 07:46:17 | [Mutex] waiting for: [received:nodes:32e7f085-962a-4461-addb-98eab8b74797:localhost]

2022-12-30 07:46:17 | [Mutex] received everything.

2022-12-30 07:46:17 | [Mutex] isItemNotified: received:node:32e7f085-962a-4461-addb-98eab8b74797:localhost:node-f7c2ad70-d70d-419a-affa-9cc79a839b17:Node f7c2ad70-d70d-419a-affa-9cc79a839b17 :: false

createNodes 1.449s
2022-12-30 07:46:14 |

2022-12-30 07:46:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 07:46:14 | ------------------------------------

2022-12-30 07:46:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f7c2ad70-d70d-419a-affa-9cc79a839b17</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f7c2ad70-d70d-419a-affa-9cc79a839b17</title></pubsub></data>

2022-12-30 07:46:14 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-30 07:46:15 | [Mutex] waiting for: [received:nodes:3731f638-4424-43b5-9fd7-52a113c0727e:localhost]

2022-12-30 07:46:15 | [Mutex] waiting for: [received:nodes:3731f638-4424-43b5-9fd7-52a113c0727e:localhost]

2022-12-30 07:46:15 | [Mutex] waiting for: [received:nodes:3731f638-4424-43b5-9fd7-52a113c0727e:localhost]

2022-12-30 07:46:15 | [Mutex] waiting for: [received:nodes:3731f638-4424-43b5-9fd7-52a113c0727e:localhost]

2022-12-30 07:46:15 | [Mutex] received everything.

2022-12-30 07:46:15 | [Mutex] isItemNotified: received:node:3731f638-4424-43b5-9fd7-52a113c0727e:localhost:node-f7c2ad70-d70d-419a-affa-9cc79a839b17:Node f7c2ad70-d70d-419a-affa-9cc79a839b17 :: true

createSubnodes 1.030s
2022-12-30 07:46:15 |

2022-12-30 07:46:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 07:46:15 | ------------------------------------

2022-12-30 07:46:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b8568b35-c483-4d03-a137-97c02cd537b8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b8568b35-c483-4d03-a137-97c02cd537b8</title></pubsub></data>

2022-12-30 07:46:15 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-30 07:46:16 | [Mutex] waiting for: [received:nodes:6ba277d5-2cb4-4db8-a894-13f54d8e4552:localhost]

2022-12-30 07:46:16 | [Mutex] waiting for: [received:nodes:6ba277d5-2cb4-4db8-a894-13f54d8e4552:localhost]

2022-12-30 07:46:16 | [Mutex] waiting for: [received:nodes:6ba277d5-2cb4-4db8-a894-13f54d8e4552:localhost]

2022-12-30 07:46:16 | [Mutex] waiting for: [received:nodes:6ba277d5-2cb4-4db8-a894-13f54d8e4552:localhost]

2022-12-30 07:46:16 | [Mutex] waiting for: [received:nodes:6ba277d5-2cb4-4db8-a894-13f54d8e4552:localhost]

2022-12-30 07:46:16 | [Mutex] received everything.

2022-12-30 07:46:16 | [Mutex] isItemNotified: received:node:6ba277d5-2cb4-4db8-a894-13f54d8e4552:localhost:node-b8568b35-c483-4d03-a137-97c02cd537b8:Node b8568b35-c483-4d03-a137-97c02cd537b8 :: true

deleteNodes 1.020s
2022-12-30 07:46:22 |

2022-12-30 07:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 07:46:22 | ------------------------------------

2022-12-30 07:46:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b8568b35-c483-4d03-a137-97c02cd537b8</node></data>

2022-12-30 07:46:22 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-30 07:46:23 | [Mutex] waiting for: [received:nodes:5501fd04-d291-4a60-8022-f793c63b5d05:localhost]

2022-12-30 07:46:23 | [Mutex] waiting for: [received:nodes:5501fd04-d291-4a60-8022-f793c63b5d05:localhost]

2022-12-30 07:46:23 | [Mutex] waiting for: [received:nodes:5501fd04-d291-4a60-8022-f793c63b5d05:localhost]

2022-12-30 07:46:23 | [Mutex] received everything.

2022-12-30 07:46:23 | [Mutex] isItemNotified: received:node:5501fd04-d291-4a60-8022-f793c63b5d05:localhost:node-b8568b35-c483-4d03-a137-97c02cd537b8:Node b8568b35-c483-4d03-a137-97c02cd537b8 :: false

deleteSubnodes 1.151s
2022-12-30 07:46:21 |

2022-12-30 07:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 07:46:21 | ------------------------------------

2022-12-30 07:46:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f7c2ad70-d70d-419a-affa-9cc79a839b17</node></data>

2022-12-30 07:46:21 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-30 07:46:22 | [Mutex] waiting for: [received:nodes:c25296fd-2f4b-4ef2-9031-4b211d746e8c:localhost]

2022-12-30 07:46:22 | [Mutex] waiting for: [received:nodes:c25296fd-2f4b-4ef2-9031-4b211d746e8c:localhost]

2022-12-30 07:46:22 | [Mutex] waiting for: [received:nodes:c25296fd-2f4b-4ef2-9031-4b211d746e8c:localhost]

2022-12-30 07:46:22 | [Mutex] waiting for: [received:nodes:c25296fd-2f4b-4ef2-9031-4b211d746e8c:localhost]

2022-12-30 07:46:22 | [Mutex] received everything.

2022-12-30 07:46:22 | [Mutex] isItemNotified: received:node:c25296fd-2f4b-4ef2-9031-4b211d746e8c:localhost:node-f7c2ad70-d70d-419a-affa-9cc79a839b17:Node f7c2ad70-d70d-419a-affa-9cc79a839b17 :: false

2022-12-30 07:46:22 | [Mutex] waiting for: [received:nodes:659976bb-523f-4d9b-bbd1-c567b6aa8c67:localhost]

2022-12-30 07:46:22 | [Mutex] received everything.

2022-12-30 07:46:22 | [Mutex] isItemNotified: received:node:659976bb-523f-4d9b-bbd1-c567b6aa8c67:localhost:node-f7c2ad70-d70d-419a-affa-9cc79a839b17:Node f7c2ad70-d70d-419a-affa-9cc79a839b17 :: false

publishItemsToNodes 0.201s
2022-12-30 07:46:18 |

2022-12-30 07:46:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 07:46:18 | ------------------------------------

2022-12-30 07:46:18 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f7c2ad70-d70d-419a-affa-9cc79a839b17</node><item-id>item-75508e14-4e55-4062-ab33-d3d14de847cf</item-id><entry><test>item-75508e14-4e55-4062-ab33-d3d14de847cf</test></entry></data>

2022-12-30 07:46:19 | 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-75508e14-4e55-4062-ab33-d3d14de847cf</value></item-id></result>

2022-12-30 07:46:19 | [Mutex] waiting for: [published:item:notifieditem-75508e14-4e55-4062-ab33-d3d14de847cf:admin@test-domain.com]

2022-12-30 07:46:19 | [Mutex] received everything.

2022-12-30 07:46:19 | [Mutex] isItemNotified: published:item:notifieditem-75508e14-4e55-4062-ab33-d3d14de847cf:admin@test-domain.com :: true

retractItemsFromNodes 0.294s
2022-12-30 07:46:19 |

2022-12-30 07:46:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 07:46:19 | ------------------------------------

2022-12-30 07:46:19 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f7c2ad70-d70d-419a-affa-9cc79a839b17</node><item-id>item-75508e14-4e55-4062-ab33-d3d14de847cf</item-id></data>

2022-12-30 07:46:19 | 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-75508e14-4e55-4062-ab33-d3d14de847cf</value></item-id></result>

2022-12-30 07:46:19 | [Mutex] waiting for: [retracted:item:notifieditem-75508e14-4e55-4062-ab33-d3d14de847cf:admin@test-domain.com]

2022-12-30 07:46:19 | [Mutex] received everything.

2022-12-30 07:46:19 | [Mutex] isItemNotified: retracted:item:notifieditem-75508e14-4e55-4062-ab33-d3d14de847cf:admin@test-domain.com :: true

retrieveItemsFromNodes 0.244s
2022-12-30 07:46:19 |

2022-12-30 07:46:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 07:46:19 | ------------------------------------

2022-12-30 07:46:19 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f7c2ad70-d70d-419a-affa-9cc79a839b17</node><item-id>item-75508e14-4e55-4062-ab33-d3d14de847cf</item-id></data>

2022-12-30 07:46:19 | 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-f7c2ad70-d70d-419a-affa-9cc79a839b17</value></node><item-id type="text-single" label="Item ID"><value>item-75508e14-4e55-4062-ab33-d3d14de847cf</value></item-id><item type="text-multi" label="Item"><value><item id="item-75508e14-4e55-4062-ab33-d3d14de847cf"><test>item-75508e14-4e55-4062-ab33-d3d14de847cf</test></item></value></item></result>

2022-12-30 07:46:19 | [Mutex] notify: [retrieved:item:item-75508e14-4e55-4062-ab33-d3d14de847cf:payload-matches:true:localhost]

2022-12-30 07:46:19 | [Mutex] received everything.

2022-12-30 07:46:19 | [Mutex] isItemNotified: retrieved:item:item-75508e14-4e55-4062-ab33-d3d14de847cf:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.196s
2022-12-30 07:46:19 |

2022-12-30 07:46:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 07:46:19 | ------------------------------------

2022-12-30 07:46:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-12-30 07:46:19 | 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-f7c2ad70-d70d-419a-affa-9cc79a839b17</value><value>node-b8568b35-c483-4d03-a137-97c02cd537b8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-12-30 07:46:19 |

2022-12-30 07:46:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 07:46:19 | ------------------------------------

2022-12-30 07:46:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f7c2ad70-d70d-419a-affa-9cc79a839b17)</node-pattern></data>

2022-12-30 07:46:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.108s
2022-12-30 07:46:17 |

2022-12-30 07:46:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 07:46:17 | ------------------------------------

2022-12-30 07:46:17 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f7c2ad70-d70d-419a-affa-9cc79a839b17</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-30 07:46:17 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.227s
2022-12-30 07:46:19 |

2022-12-30 07:46:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 07:46:19 | ------------------------------------

2022-12-30 07:46:19 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f7c2ad70-d70d-419a-affa-9cc79a839b17</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-30 07:46:20 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>