Test duration : 9.460s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.107s |
2022-08-09 22:34:16 |
2022-08-09 22:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:16 | ------------------------------------ 2022-08-09 22:34:16 | [Mutex] waiting for: [configured:node:node-da5c4809-f9c7-49bf-aea7-f740cfd2403f:node-0a996c46-04a6-4d28-b385-e6d2ca334982] 2022-08-09 22:34:16 | [Mutex] received everything. 2022-08-09 22:34:16 | [Mutex] isItemNotified: configured:node:node-da5c4809-f9c7-49bf-aea7-f740cfd2403f:node-0a996c46-04a6-4d28-b385-e6d2ca334982 :: true 2022-08-09 22:34:17 | [Mutex] waiting for: [received:nodes:71ce5896-8e12-47bb-95c2-c609f5704ebd:localhost] 2022-08-09 22:34:17 | [Mutex] received everything. 2022-08-09 22:34:17 | [Mutex] isItemNotified: received:node:71ce5896-8e12-47bb-95c2-c609f5704ebd:localhost:node-da5c4809-f9c7-49bf-aea7-f740cfd2403f:Node da5c4809-f9c7-49bf-aea7-f740cfd2403f :: true 2022-08-09 22:34:17 | [Mutex] waiting for: [received:nodes:da78919d-35b8-4fa7-80b6-ca83c4ed99a7:localhost] 2022-08-09 22:34:17 | [Mutex] received everything. 2022-08-09 22:34:17 | [Mutex] isItemNotified: received:node:da78919d-35b8-4fa7-80b6-ca83c4ed99a7:localhost:node-da5c4809-f9c7-49bf-aea7-f740cfd2403f:Node da5c4809-f9c7-49bf-aea7-f740cfd2403f :: false |
createNodes | 1.420s |
2022-08-09 22:34:13 |
2022-08-09 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:13 | ------------------------------------ 2022-08-09 22:34:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-da5c4809-f9c7-49bf-aea7-f740cfd2403f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node da5c4809-f9c7-49bf-aea7-f740cfd2403f</title></pubsub></data> 2022-08-09 22:34:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 22:34:15 | [Mutex] waiting for: [received:nodes:e684880e-8d93-431b-89fa-3ddd00bf67ef:localhost] 2022-08-09 22:34:15 | [Mutex] waiting for: [received:nodes:e684880e-8d93-431b-89fa-3ddd00bf67ef:localhost] 2022-08-09 22:34:15 | [Mutex] received everything. 2022-08-09 22:34:15 | [Mutex] isItemNotified: received:node:e684880e-8d93-431b-89fa-3ddd00bf67ef:localhost:node-da5c4809-f9c7-49bf-aea7-f740cfd2403f:Node da5c4809-f9c7-49bf-aea7-f740cfd2403f :: true |
createSubnodes | 1.031s |
2022-08-09 22:34:15 |
2022-08-09 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:15 | ------------------------------------ 2022-08-09 22:34:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0a996c46-04a6-4d28-b385-e6d2ca334982</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0a996c46-04a6-4d28-b385-e6d2ca334982</title></pubsub></data> 2022-08-09 22:34:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 22:34:16 | [Mutex] waiting for: [received:nodes:7db2e841-c031-4b68-9ac0-c6422e5a82ce:localhost] 2022-08-09 22:34:16 | [Mutex] waiting for: [received:nodes:7db2e841-c031-4b68-9ac0-c6422e5a82ce:localhost] 2022-08-09 22:34:16 | [Mutex] received everything. 2022-08-09 22:34:16 | [Mutex] isItemNotified: received:node:7db2e841-c031-4b68-9ac0-c6422e5a82ce:localhost:node-0a996c46-04a6-4d28-b385-e6d2ca334982:Node 0a996c46-04a6-4d28-b385-e6d2ca334982 :: true |
deleteNodes | 1.018s |
2022-08-09 22:34:21 |
2022-08-09 22:34:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:21 | ------------------------------------ 2022-08-09 22:34:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0a996c46-04a6-4d28-b385-e6d2ca334982</node></data> 2022-08-09 22:34:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 22:34:22 | [Mutex] waiting for: [received:nodes:65d263a9-fe9d-46df-ac3d-bc81f6b26fd3:localhost] 2022-08-09 22:34:22 | [Mutex] waiting for: [received:nodes:65d263a9-fe9d-46df-ac3d-bc81f6b26fd3:localhost] 2022-08-09 22:34:22 | [Mutex] received everything. 2022-08-09 22:34:22 | [Mutex] isItemNotified: received:node:65d263a9-fe9d-46df-ac3d-bc81f6b26fd3:localhost:node-0a996c46-04a6-4d28-b385-e6d2ca334982:Node 0a996c46-04a6-4d28-b385-e6d2ca334982 :: false |
deleteSubnodes | 1.143s |
2022-08-09 22:34:20 |
2022-08-09 22:34:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:20 | ------------------------------------ 2022-08-09 22:34:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-da5c4809-f9c7-49bf-aea7-f740cfd2403f</node></data> 2022-08-09 22:34:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 22:34:21 | [Mutex] waiting for: [received:nodes:4c4e9c55-02f5-4e97-8e7f-e8f600a89191:localhost] 2022-08-09 22:34:21 | [Mutex] received everything. 2022-08-09 22:34:21 | [Mutex] isItemNotified: received:node:4c4e9c55-02f5-4e97-8e7f-e8f600a89191:localhost:node-da5c4809-f9c7-49bf-aea7-f740cfd2403f:Node da5c4809-f9c7-49bf-aea7-f740cfd2403f :: false 2022-08-09 22:34:21 | [Mutex] waiting for: [received:nodes:6c8c1580-c21b-4293-9dc9-4004d6552630:localhost] 2022-08-09 22:34:21 | [Mutex] received everything. 2022-08-09 22:34:21 | [Mutex] isItemNotified: received:node:6c8c1580-c21b-4293-9dc9-4004d6552630:localhost:node-da5c4809-f9c7-49bf-aea7-f740cfd2403f:Node da5c4809-f9c7-49bf-aea7-f740cfd2403f :: false |
publishItemsToNodes | 0.245s |
2022-08-09 22:34:18 |
2022-08-09 22:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:18 | ------------------------------------ 2022-08-09 22:34:18 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-da5c4809-f9c7-49bf-aea7-f740cfd2403f</node><item-id>item-664a9a95-5d35-4cad-a704-f8e4c5dbe430</item-id><entry><test>item-664a9a95-5d35-4cad-a704-f8e4c5dbe430</test></entry></data> 2022-08-09 22:34:18 | 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-664a9a95-5d35-4cad-a704-f8e4c5dbe430</value></item-id></result> 2022-08-09 22:34:18 | [Mutex] waiting for: [published:item:notifieditem-664a9a95-5d35-4cad-a704-f8e4c5dbe430:admin@test-domain.com] 2022-08-09 22:34:18 | [Mutex] received everything. 2022-08-09 22:34:18 | [Mutex] isItemNotified: published:item:notifieditem-664a9a95-5d35-4cad-a704-f8e4c5dbe430:admin@test-domain.com :: true |
retractItemsFromNodes | 0.236s |
2022-08-09 22:34:18 |
2022-08-09 22:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:18 | ------------------------------------ 2022-08-09 22:34:18 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-da5c4809-f9c7-49bf-aea7-f740cfd2403f</node><item-id>item-664a9a95-5d35-4cad-a704-f8e4c5dbe430</item-id></data> 2022-08-09 22:34: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-664a9a95-5d35-4cad-a704-f8e4c5dbe430</value></item-id></result> 2022-08-09 22:34:19 | [Mutex] received everything. 2022-08-09 22:34:19 | [Mutex] isItemNotified: retracted:item:notifieditem-664a9a95-5d35-4cad-a704-f8e4c5dbe430:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.217s |
2022-08-09 22:34:18 |
2022-08-09 22:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:18 | ------------------------------------ 2022-08-09 22:34:18 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-da5c4809-f9c7-49bf-aea7-f740cfd2403f</node><item-id>item-664a9a95-5d35-4cad-a704-f8e4c5dbe430</item-id></data> 2022-08-09 22:34:18 | 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-da5c4809-f9c7-49bf-aea7-f740cfd2403f</value></node><item-id type="text-single" label="Item ID"><value>item-664a9a95-5d35-4cad-a704-f8e4c5dbe430</value></item-id><item type="text-multi" label="Item"><value><item id="item-664a9a95-5d35-4cad-a704-f8e4c5dbe430"><test>item-664a9a95-5d35-4cad-a704-f8e4c5dbe430</test></item></value></item></result> 2022-08-09 22:34:18 | [Mutex] notify: [retrieved:item:item-664a9a95-5d35-4cad-a704-f8e4c5dbe430:payload-matches:true:localhost] 2022-08-09 22:34:18 | [Mutex] received everything. 2022-08-09 22:34:18 | [Mutex] isItemNotified: retrieved:item:item-664a9a95-5d35-4cad-a704-f8e4c5dbe430:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2022-08-09 22:34:18 |
2022-08-09 22:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:18 | ------------------------------------ 2022-08-09 22:34:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-09 22:34:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-0a996c46-04a6-4d28-b385-e6d2ca334982</value><value>test</value><value>node-da5c4809-f9c7-49bf-aea7-f740cfd2403f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-08-09 22:34:18 |
2022-08-09 22:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:18 | ------------------------------------ 2022-08-09 22:34:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-da5c4809-f9c7-49bf-aea7-f740cfd2403f)</node-pattern></data> 2022-08-09 22:34:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.133s |
2022-08-09 22:34:17 |
2022-08-09 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:17 | ------------------------------------ 2022-08-09 22:34:17 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-da5c4809-f9c7-49bf-aea7-f740cfd2403f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-09 22:34: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.216s |
2022-08-09 22:34:19 |
2022-08-09 22:34:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:19 | ------------------------------------ 2022-08-09 22:34:19 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-da5c4809-f9c7-49bf-aea7-f740cfd2403f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-09 22:34:19 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |