Test duration : 10.387s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2022-02-20 22:01:58 |
2022-02-20 22:01:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 22:01:58 | ------------------------------------ 2022-02-20 22:01:58 | [Mutex] waiting for: [configured:node:node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7:node-bfb28774-60c5-4653-a386-1130350dd4c9] 2022-02-20 22:01:59 | [Mutex] received everything. 2022-02-20 22:01:59 | [Mutex] isItemNotified: configured:node:node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7:node-bfb28774-60c5-4653-a386-1130350dd4c9 :: true 2022-02-20 22:02:00 | [Mutex] waiting for: [received:nodes:b9f2f48f-b8aa-4333-8257-e8ed9541983e:localhost] 2022-02-20 22:02:00 | [Mutex] received everything. 2022-02-20 22:02:00 | [Mutex] isItemNotified: received:node:b9f2f48f-b8aa-4333-8257-e8ed9541983e:localhost:node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7:Node 8a17c93f-e98c-4a79-91cf-f30e48f8f2d7 :: true 2022-02-20 22:02:00 | [Mutex] waiting for: [received:nodes:5b441d9f-392b-49e4-91bf-6a42d296711a:localhost] 2022-02-20 22:02:00 | [Mutex] received everything. 2022-02-20 22:02:00 | [Mutex] isItemNotified: received:node:5b441d9f-392b-49e4-91bf-6a42d296711a:localhost:node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7:Node 8a17c93f-e98c-4a79-91cf-f30e48f8f2d7 :: false |
createNodes | 1.603s |
2022-02-20 22:01:56 |
2022-02-20 22:01:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 22:01:56 | ------------------------------------ 2022-02-20 22:01:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8a17c93f-e98c-4a79-91cf-f30e48f8f2d7</title></pubsub></data> 2022-02-20 22:01:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-20 22:01:57 | [Mutex] waiting for: [received:nodes:d93c729d-ca81-4207-b3b1-e8de9243c66c:localhost] 2022-02-20 22:01:57 | [Mutex] received everything. 2022-02-20 22:01:57 | [Mutex] isItemNotified: received:node:d93c729d-ca81-4207-b3b1-e8de9243c66c:localhost:node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7:Node 8a17c93f-e98c-4a79-91cf-f30e48f8f2d7 :: true |
createSubnodes | 1.029s |
2022-02-20 22:01:57 |
2022-02-20 22:01:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 22:01:57 | ------------------------------------ 2022-02-20 22:01:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bfb28774-60c5-4653-a386-1130350dd4c9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bfb28774-60c5-4653-a386-1130350dd4c9</title></pubsub></data> 2022-02-20 22:01:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-20 22:01:58 | [Mutex] waiting for: [received:nodes:a91102f6-2703-43c7-8a54-05b97f405238:localhost] 2022-02-20 22:01:58 | [Mutex] waiting for: [received:nodes:a91102f6-2703-43c7-8a54-05b97f405238:localhost] 2022-02-20 22:01:58 | [Mutex] received everything. 2022-02-20 22:01:58 | [Mutex] isItemNotified: received:node:a91102f6-2703-43c7-8a54-05b97f405238:localhost:node-bfb28774-60c5-4653-a386-1130350dd4c9:Node bfb28774-60c5-4653-a386-1130350dd4c9 :: true |
deleteNodes | 1.021s |
2022-02-20 22:02:04 |
2022-02-20 22:02:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 22:02:04 | ------------------------------------ 2022-02-20 22:02:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bfb28774-60c5-4653-a386-1130350dd4c9</node></data> 2022-02-20 22:02:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-20 22:02:05 | [Mutex] waiting for: [received:nodes:b727d2b2-b742-43b9-88c0-0dfe8a365d8e:localhost] 2022-02-20 22:02:05 | [Mutex] received everything. 2022-02-20 22:02:05 | [Mutex] isItemNotified: received:node:b727d2b2-b742-43b9-88c0-0dfe8a365d8e:localhost:node-bfb28774-60c5-4653-a386-1130350dd4c9:Node bfb28774-60c5-4653-a386-1130350dd4c9 :: false |
deleteSubnodes | 1.139s |
2022-02-20 22:02:03 |
2022-02-20 22:02:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 22:02:03 | ------------------------------------ 2022-02-20 22:02:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7</node></data> 2022-02-20 22:02:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-20 22:02:04 | [Mutex] waiting for: [received:nodes:4b096b20-9829-49de-aba9-cee6a33f8227:localhost] 2022-02-20 22:02:04 | [Mutex] received everything. 2022-02-20 22:02:04 | [Mutex] isItemNotified: received:node:4b096b20-9829-49de-aba9-cee6a33f8227:localhost:node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7:Node 8a17c93f-e98c-4a79-91cf-f30e48f8f2d7 :: false 2022-02-20 22:02:04 | [Mutex] waiting for: [received:nodes:17f94c21-ffd5-417c-bc6f-7771e459f019:localhost] 2022-02-20 22:02:04 | [Mutex] received everything. 2022-02-20 22:02:04 | [Mutex] isItemNotified: received:node:17f94c21-ffd5-417c-bc6f-7771e459f019:localhost:node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7:Node 8a17c93f-e98c-4a79-91cf-f30e48f8f2d7 :: false |
publishItemsToNodes | 0.347s |
2022-02-20 22:02:01 |
2022-02-20 22:02:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 22:02:01 | ------------------------------------ 2022-02-20 22:02:01 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7</node><item-id>item-b221f512-bef5-41e1-8dad-e1f50144f971</item-id><entry><test>item-b221f512-bef5-41e1-8dad-e1f50144f971</test></entry></data> 2022-02-20 22:02:01 | 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-b221f512-bef5-41e1-8dad-e1f50144f971</value></item-id></result> 2022-02-20 22:02:01 | [Mutex] waiting for: [published:item:notifieditem-b221f512-bef5-41e1-8dad-e1f50144f971:admin@test-domain.com] 2022-02-20 22:02:01 | [Mutex] received everything. 2022-02-20 22:02:01 | [Mutex] isItemNotified: published:item:notifieditem-b221f512-bef5-41e1-8dad-e1f50144f971:admin@test-domain.com :: true |
retractItemsFromNodes | 0.351s |
2022-02-20 22:02:01 |
2022-02-20 22:02:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 22:02:01 | ------------------------------------ 2022-02-20 22:02:01 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7</node><item-id>item-b221f512-bef5-41e1-8dad-e1f50144f971</item-id></data> 2022-02-20 22:02:02 | 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-b221f512-bef5-41e1-8dad-e1f50144f971</value></item-id></result> 2022-02-20 22:02:02 | [Mutex] waiting for: [retracted:item:notifieditem-b221f512-bef5-41e1-8dad-e1f50144f971:admin@test-domain.com] 2022-02-20 22:02:02 | [Mutex] received everything. 2022-02-20 22:02:02 | [Mutex] isItemNotified: retracted:item:notifieditem-b221f512-bef5-41e1-8dad-e1f50144f971:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.230s |
2022-02-20 22:02:01 |
2022-02-20 22:02:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 22:02:01 | ------------------------------------ 2022-02-20 22:02:01 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7</node><item-id>item-b221f512-bef5-41e1-8dad-e1f50144f971</item-id></data> 2022-02-20 22:02:01 | 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-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7</value></node><item-id label="Item ID" type="text-single"><value>item-b221f512-bef5-41e1-8dad-e1f50144f971</value></item-id><item label="Item" type="text-multi"><value><item id="item-b221f512-bef5-41e1-8dad-e1f50144f971"><test>item-b221f512-bef5-41e1-8dad-e1f50144f971</test></item></value></item></result> 2022-02-20 22:02:01 | [Mutex] notify: [retrieved:item:item-b221f512-bef5-41e1-8dad-e1f50144f971:payload-matches:true:localhost] 2022-02-20 22:02:01 | [Mutex] received everything. 2022-02-20 22:02:01 | [Mutex] isItemNotified: retrieved:item:item-b221f512-bef5-41e1-8dad-e1f50144f971:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2022-02-20 22:02:01 |
2022-02-20 22:02:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 22:02:01 | ------------------------------------ 2022-02-20 22:02:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-20 22:02:01 | 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-bfb28774-60c5-4653-a386-1130350dd4c9</value><value>node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-02-20 22:02:01 |
2022-02-20 22:02:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 22:02:01 | ------------------------------------ 2022-02-20 22:02:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7)</node-pattern></data> 2022-02-20 22:02:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.209s |
2022-02-20 22:02:00 |
2022-02-20 22:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 22:02:00 | ------------------------------------ 2022-02-20 22:02:00 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-20 22:02:00 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.315s |
2022-02-20 22:02:02 |
2022-02-20 22:02:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-20 22:02:02 | ------------------------------------ 2022-02-20 22:02:02 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-8a17c93f-e98c-4a79-91cf-f30e48f8f2d7</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-20 22:02:02 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |