Test duration : 10.315s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.114s |
2021-09-22 23:53:54 |
2021-09-22 23:53:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:53:54 | ------------------------------------ 2021-09-22 23:53:54 | [Mutex] waiting for: [configured:node:node-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8:node-990f4659-b607-45ce-a5d8-4460819f71fe] 2021-09-22 23:53:54 | [Mutex] received everything. 2021-09-22 23:53:54 | [Mutex] isItemNotified: configured:node:node-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8:node-990f4659-b607-45ce-a5d8-4460819f71fe :: true 2021-09-22 23:53:55 | [Mutex] waiting for: [received:nodes:056c6b8f-b4a9-4342-8e06-238d605e8e8b:localhost] 2021-09-22 23:53:55 | [Mutex] received everything. 2021-09-22 23:53:55 | [Mutex] isItemNotified: received:node:056c6b8f-b4a9-4342-8e06-238d605e8e8b:localhost:node-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8:Node 8ad8a65b-9ccb-4fdd-94e7-365d11177dc8 :: true 2021-09-22 23:53:55 | [Mutex] waiting for: [received:nodes:db41d479-28ef-4af6-a7e1-05d67bded06e:localhost] 2021-09-22 23:53:55 | [Mutex] waiting for: [received:nodes:db41d479-28ef-4af6-a7e1-05d67bded06e:localhost] 2021-09-22 23:53:55 | [Mutex] waiting for: [received:nodes:db41d479-28ef-4af6-a7e1-05d67bded06e:localhost] 2021-09-22 23:53:55 | [Mutex] received everything. 2021-09-22 23:53:55 | [Mutex] isItemNotified: received:node:db41d479-28ef-4af6-a7e1-05d67bded06e:localhost:node-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8:Node 8ad8a65b-9ccb-4fdd-94e7-365d11177dc8 :: false |
createNodes | 1.702s |
2021-09-22 23:53:51 |
2021-09-22 23:53:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:53:51 | ------------------------------------ 2021-09-22 23:53:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8ad8a65b-9ccb-4fdd-94e7-365d11177dc8</title></pubsub></data> 2021-09-22 23:53:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 23:53:53 | [Mutex] waiting for: [received:nodes:1dd35ca4-cb1b-45dc-aaa9-9e2ed3cb4a40:localhost] 2021-09-22 23:53:53 | [Mutex] waiting for: [received:nodes:1dd35ca4-cb1b-45dc-aaa9-9e2ed3cb4a40:localhost] 2021-09-22 23:53:53 | [Mutex] waiting for: [received:nodes:1dd35ca4-cb1b-45dc-aaa9-9e2ed3cb4a40:localhost] 2021-09-22 23:53:53 | [Mutex] received everything. 2021-09-22 23:53:53 | [Mutex] isItemNotified: received:node:1dd35ca4-cb1b-45dc-aaa9-9e2ed3cb4a40:localhost:node-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8:Node 8ad8a65b-9ccb-4fdd-94e7-365d11177dc8 :: true |
createSubnodes | 1.023s |
2021-09-22 23:53:53 |
2021-09-22 23:53:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:53:53 | ------------------------------------ 2021-09-22 23:53:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-990f4659-b607-45ce-a5d8-4460819f71fe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 990f4659-b607-45ce-a5d8-4460819f71fe</title></pubsub></data> 2021-09-22 23:53:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 23:53:54 | [Mutex] waiting for: [received:nodes:aed4397c-745f-4b28-9c87-6f799e4a0d46:localhost] 2021-09-22 23:53:54 | [Mutex] received everything. 2021-09-22 23:53:54 | [Mutex] isItemNotified: received:node:aed4397c-745f-4b28-9c87-6f799e4a0d46:localhost:node-990f4659-b607-45ce-a5d8-4460819f71fe:Node 990f4659-b607-45ce-a5d8-4460819f71fe :: true |
deleteNodes | 1.018s |
2021-09-22 23:53:59 |
2021-09-22 23:53:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:53:59 | ------------------------------------ 2021-09-22 23:53:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-990f4659-b607-45ce-a5d8-4460819f71fe</node></data> 2021-09-22 23:53:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 23:54:00 | [Mutex] waiting for: [received:nodes:d97ca3ea-0dcb-4194-af6b-8a7d545f613a:localhost] 2021-09-22 23:54:00 | [Mutex] waiting for: [received:nodes:d97ca3ea-0dcb-4194-af6b-8a7d545f613a:localhost] 2021-09-22 23:54:00 | [Mutex] received everything. 2021-09-22 23:54:00 | [Mutex] isItemNotified: received:node:d97ca3ea-0dcb-4194-af6b-8a7d545f613a:localhost:node-990f4659-b607-45ce-a5d8-4460819f71fe:Node 990f4659-b607-45ce-a5d8-4460819f71fe :: false |
deleteSubnodes | 1.142s |
2021-09-22 23:53:58 |
2021-09-22 23:53:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:53:58 | ------------------------------------ 2021-09-22 23:53:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8</node></data> 2021-09-22 23:53:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 23:53:59 | [Mutex] waiting for: [received:nodes:cb4f48db-67e0-4416-a0b3-951e5edcc114:localhost] 2021-09-22 23:53:59 | [Mutex] received everything. 2021-09-22 23:53:59 | [Mutex] isItemNotified: received:node:cb4f48db-67e0-4416-a0b3-951e5edcc114:localhost:node-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8:Node 8ad8a65b-9ccb-4fdd-94e7-365d11177dc8 :: false 2021-09-22 23:53:59 | [Mutex] waiting for: [received:nodes:221c0c5f-e765-4d83-b581-00b3518d529a:localhost] 2021-09-22 23:53:59 | [Mutex] received everything. 2021-09-22 23:53:59 | [Mutex] isItemNotified: received:node:221c0c5f-e765-4d83-b581-00b3518d529a:localhost:node-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8:Node 8ad8a65b-9ccb-4fdd-94e7-365d11177dc8 :: false |
publishItemsToNodes | 0.192s |
2021-09-22 23:53:56 |
2021-09-22 23:53:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:53:56 | ------------------------------------ 2021-09-22 23:53:56 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8</node><item-id>item-a7825b5e-90db-4936-983c-774327dd7cc8</item-id><entry><test>item-a7825b5e-90db-4936-983c-774327dd7cc8</test></entry></data> 2021-09-22 23:53:56 | 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-a7825b5e-90db-4936-983c-774327dd7cc8</value></item-id></result> 2021-09-22 23:53:56 | [Mutex] waiting for: [published:item:notifieditem-a7825b5e-90db-4936-983c-774327dd7cc8:admin@test-domain.com] 2021-09-22 23:53:56 | [Mutex] received everything. 2021-09-22 23:53:56 | [Mutex] isItemNotified: published:item:notifieditem-a7825b5e-90db-4936-983c-774327dd7cc8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.271s |
2021-09-22 23:53:57 |
2021-09-22 23:53:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:53:57 | ------------------------------------ 2021-09-22 23:53:57 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8</node><item-id>item-a7825b5e-90db-4936-983c-774327dd7cc8</item-id></data> 2021-09-22 23:53:57 | 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-a7825b5e-90db-4936-983c-774327dd7cc8</value></item-id></result> 2021-09-22 23:53:57 | [Mutex] received everything. 2021-09-22 23:53:57 | [Mutex] isItemNotified: retracted:item:notifieditem-a7825b5e-90db-4936-983c-774327dd7cc8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.367s |
2021-09-22 23:53:56 |
2021-09-22 23:53:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:53:56 | ------------------------------------ 2021-09-22 23:53:56 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8</node><item-id>item-a7825b5e-90db-4936-983c-774327dd7cc8</item-id></data> 2021-09-22 23:53:57 | 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-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8</value></node><item-id type="text-single" label="Item ID"><value>item-a7825b5e-90db-4936-983c-774327dd7cc8</value></item-id><item type="text-multi" label="Item"><value><item id="item-a7825b5e-90db-4936-983c-774327dd7cc8"><test>item-a7825b5e-90db-4936-983c-774327dd7cc8</test></item></value></item></result> 2021-09-22 23:53:57 | [Mutex] notify: [retrieved:item:item-a7825b5e-90db-4936-983c-774327dd7cc8:payload-matches:true:localhost] 2021-09-22 23:53:57 | [Mutex] received everything. 2021-09-22 23:53:57 | [Mutex] isItemNotified: retrieved:item:item-a7825b5e-90db-4936-983c-774327dd7cc8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-09-22 23:53:57 |
2021-09-22 23:53:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:53:57 | ------------------------------------ 2021-09-22 23:53:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-09-22 23:53:57 | 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-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8</value><value>node-990f4659-b607-45ce-a5d8-4460819f71fe</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-09-22 23:53:57 |
2021-09-22 23:53:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:53:57 | ------------------------------------ 2021-09-22 23:53:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8)</node-pattern></data> 2021-09-22 23:53:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.215s |
2021-09-22 23:53:55 |
2021-09-22 23:53:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:53:55 | ------------------------------------ 2021-09-22 23:53:55 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-22 23:53:55 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.271s |
2021-09-22 23:53:57 |
2021-09-22 23:53:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:53:57 | ------------------------------------ 2021-09-22 23:53:57 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-8ad8a65b-9ccb-4fdd-94e7-365d11177dc8</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-22 23:53:57 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |