Test duration : 10.509s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.140s |
2022-02-16 08:25:08 |
2022-02-16 08:25:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 08:25:08 | ------------------------------------ 2022-02-16 08:25:08 | [Mutex] waiting for: [configured:node:node-721d7a64-5164-4fef-819c-68e720918740:node-776a6eb5-3012-48c5-ae14-cebf1a5b080b] 2022-02-16 08:25:08 | [Mutex] received everything. 2022-02-16 08:25:08 | [Mutex] isItemNotified: configured:node:node-721d7a64-5164-4fef-819c-68e720918740:node-776a6eb5-3012-48c5-ae14-cebf1a5b080b :: true 2022-02-16 08:25:09 | [Mutex] waiting for: [received:nodes:8f596539-ff3d-4869-963a-adb4ac210781:localhost] 2022-02-16 08:25:09 | [Mutex] received everything. 2022-02-16 08:25:09 | [Mutex] isItemNotified: received:node:8f596539-ff3d-4869-963a-adb4ac210781:localhost:node-721d7a64-5164-4fef-819c-68e720918740:Node 721d7a64-5164-4fef-819c-68e720918740 :: true 2022-02-16 08:25:09 | [Mutex] waiting for: [received:nodes:46b7f205-eb4a-49ab-bd2f-eec8427589f5:localhost] 2022-02-16 08:25:09 | [Mutex] waiting for: [received:nodes:46b7f205-eb4a-49ab-bd2f-eec8427589f5:localhost] 2022-02-16 08:25:09 | [Mutex] waiting for: [received:nodes:46b7f205-eb4a-49ab-bd2f-eec8427589f5:localhost] 2022-02-16 08:25:09 | [Mutex] received everything. 2022-02-16 08:25:09 | [Mutex] isItemNotified: received:node:46b7f205-eb4a-49ab-bd2f-eec8427589f5:localhost:node-721d7a64-5164-4fef-819c-68e720918740:Node 721d7a64-5164-4fef-819c-68e720918740 :: false |
createNodes | 1.949s |
2022-02-16 08:25:05 |
2022-02-16 08:25:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 08:25:05 | ------------------------------------ 2022-02-16 08:25:05 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-721d7a64-5164-4fef-819c-68e720918740</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 721d7a64-5164-4fef-819c-68e720918740</title></pubsub></data> 2022-02-16 08:25:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-16 08:25:07 | [Mutex] waiting for: [received:nodes:0813a603-bae7-4821-af65-e90f1b4ea15f:localhost] 2022-02-16 08:25:07 | [Mutex] received everything. 2022-02-16 08:25:07 | [Mutex] isItemNotified: received:node:0813a603-bae7-4821-af65-e90f1b4ea15f:localhost:node-721d7a64-5164-4fef-819c-68e720918740:Node 721d7a64-5164-4fef-819c-68e720918740 :: true |
createSubnodes | 1.024s |
2022-02-16 08:25:07 |
2022-02-16 08:25:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 08:25:07 | ------------------------------------ 2022-02-16 08:25:07 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-776a6eb5-3012-48c5-ae14-cebf1a5b080b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 776a6eb5-3012-48c5-ae14-cebf1a5b080b</title></pubsub></data> 2022-02-16 08:25:07 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-16 08:25:08 | [Mutex] waiting for: [received:nodes:d2d21302-958f-4b26-a356-7a130ebad18e:localhost] 2022-02-16 08:25:08 | [Mutex] received everything. 2022-02-16 08:25:08 | [Mutex] isItemNotified: received:node:d2d21302-958f-4b26-a356-7a130ebad18e:localhost:node-776a6eb5-3012-48c5-ae14-cebf1a5b080b:Node 776a6eb5-3012-48c5-ae14-cebf1a5b080b :: true |
deleteNodes | 1.020s |
2022-02-16 08:25:14 |
2022-02-16 08:25:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 08:25:14 | ------------------------------------ 2022-02-16 08:25:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-776a6eb5-3012-48c5-ae14-cebf1a5b080b</node></data> 2022-02-16 08:25:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-16 08:25:15 | [Mutex] waiting for: [received:nodes:837cb293-dda8-48e4-aeca-4b6aaef3f856:localhost] 2022-02-16 08:25:15 | [Mutex] waiting for: [received:nodes:837cb293-dda8-48e4-aeca-4b6aaef3f856:localhost] 2022-02-16 08:25:15 | [Mutex] received everything. 2022-02-16 08:25:15 | [Mutex] isItemNotified: received:node:837cb293-dda8-48e4-aeca-4b6aaef3f856:localhost:node-776a6eb5-3012-48c5-ae14-cebf1a5b080b:Node 776a6eb5-3012-48c5-ae14-cebf1a5b080b :: false |
deleteSubnodes | 1.145s |
2022-02-16 08:25:13 |
2022-02-16 08:25:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 08:25:13 | ------------------------------------ 2022-02-16 08:25:13 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-721d7a64-5164-4fef-819c-68e720918740</node></data> 2022-02-16 08:25:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-16 08:25:14 | [Mutex] waiting for: [received:nodes:a8ef2fec-30ac-40c6-a800-900d10be9744:localhost] 2022-02-16 08:25:14 | [Mutex] received everything. 2022-02-16 08:25:14 | [Mutex] isItemNotified: received:node:a8ef2fec-30ac-40c6-a800-900d10be9744:localhost:node-721d7a64-5164-4fef-819c-68e720918740:Node 721d7a64-5164-4fef-819c-68e720918740 :: false 2022-02-16 08:25:14 | [Mutex] waiting for: [received:nodes:b1829756-200e-4a55-a204-348e69834e7b:localhost] 2022-02-16 08:25:14 | [Mutex] received everything. 2022-02-16 08:25:14 | [Mutex] isItemNotified: received:node:b1829756-200e-4a55-a204-348e69834e7b:localhost:node-721d7a64-5164-4fef-819c-68e720918740:Node 721d7a64-5164-4fef-819c-68e720918740 :: false |
publishItemsToNodes | 0.221s |
2022-02-16 08:25:10 |
2022-02-16 08:25:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 08:25:10 | ------------------------------------ 2022-02-16 08:25:10 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-721d7a64-5164-4fef-819c-68e720918740</node><item-id>item-8e30099c-c917-4585-a7b2-06ffee5fe7d8</item-id><entry><test>item-8e30099c-c917-4585-a7b2-06ffee5fe7d8</test></entry></data> 2022-02-16 08:25:11 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-8e30099c-c917-4585-a7b2-06ffee5fe7d8</value></item-id></result> 2022-02-16 08:25:11 | [Mutex] waiting for: [published:item:notifieditem-8e30099c-c917-4585-a7b2-06ffee5fe7d8:admin@test-domain.com] 2022-02-16 08:25:11 | [Mutex] received everything. 2022-02-16 08:25:11 | [Mutex] isItemNotified: published:item:notifieditem-8e30099c-c917-4585-a7b2-06ffee5fe7d8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.355s |
2022-02-16 08:25:11 |
2022-02-16 08:25:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 08:25:11 | ------------------------------------ 2022-02-16 08:25:11 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-721d7a64-5164-4fef-819c-68e720918740</node><item-id>item-8e30099c-c917-4585-a7b2-06ffee5fe7d8</item-id></data> 2022-02-16 08:25:11 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-8e30099c-c917-4585-a7b2-06ffee5fe7d8</value></item-id></result> 2022-02-16 08:25:11 | [Mutex] waiting for: [retracted:item:notifieditem-8e30099c-c917-4585-a7b2-06ffee5fe7d8:admin@test-domain.com] 2022-02-16 08:25:11 | [Mutex] received everything. 2022-02-16 08:25:11 | [Mutex] isItemNotified: retracted:item:notifieditem-8e30099c-c917-4585-a7b2-06ffee5fe7d8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.337s |
2022-02-16 08:25:11 |
2022-02-16 08:25:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 08:25:11 | ------------------------------------ 2022-02-16 08:25:11 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-721d7a64-5164-4fef-819c-68e720918740</node><item-id>item-8e30099c-c917-4585-a7b2-06ffee5fe7d8</item-id></data> 2022-02-16 08:25:11 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-721d7a64-5164-4fef-819c-68e720918740</value></node><item-id label="Item ID" type="text-single"><value>item-8e30099c-c917-4585-a7b2-06ffee5fe7d8</value></item-id><item label="Item" type="text-multi"><value><item id="item-8e30099c-c917-4585-a7b2-06ffee5fe7d8"><test>item-8e30099c-c917-4585-a7b2-06ffee5fe7d8</test></item></value></item></result> 2022-02-16 08:25:11 | [Mutex] notify: [retrieved:item:item-8e30099c-c917-4585-a7b2-06ffee5fe7d8:payload-matches:true:localhost] 2022-02-16 08:25:11 | [Mutex] received everything. 2022-02-16 08:25:11 | [Mutex] isItemNotified: retrieved:item:item-8e30099c-c917-4585-a7b2-06ffee5fe7d8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-02-16 08:25:11 |
2022-02-16 08:25:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 08:25:11 | ------------------------------------ 2022-02-16 08:25:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-16 08:25:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-721d7a64-5164-4fef-819c-68e720918740</value><value>node-776a6eb5-3012-48c5-ae14-cebf1a5b080b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-02-16 08:25:11 |
2022-02-16 08:25:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 08:25:11 | ------------------------------------ 2022-02-16 08:25:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-721d7a64-5164-4fef-819c-68e720918740)</node-pattern></data> 2022-02-16 08:25:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.150s |
2022-02-16 08:25:09 |
2022-02-16 08:25:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 08:25:09 | ------------------------------------ 2022-02-16 08:25:09 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-721d7a64-5164-4fef-819c-68e720918740</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-16 08:25:09 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.259s |
2022-02-16 08:25:11 |
2022-02-16 08:25:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-16 08:25:11 | ------------------------------------ 2022-02-16 08:25:11 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-721d7a64-5164-4fef-819c-68e720918740</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-16 08:25:12 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |