Test duration : 10.129s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.117s |
2021-09-21 22:41:48 |
2021-09-21 22:41:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:41:48 | ------------------------------------ 2021-09-21 22:41:48 | [Mutex] waiting for: [configured:node:node-851a0232-cac1-4b33-b1c0-5a168576a7bf:node-e117dafe-eaa6-4e69-abd1-f817d5d4ec11] 2021-09-21 22:41:48 | [Mutex] received everything. 2021-09-21 22:41:48 | [Mutex] isItemNotified: configured:node:node-851a0232-cac1-4b33-b1c0-5a168576a7bf:node-e117dafe-eaa6-4e69-abd1-f817d5d4ec11 :: true 2021-09-21 22:41:49 | [Mutex] waiting for: [received:nodes:1061510f-33cc-4ddd-9050-82aa7c724c76:localhost] 2021-09-21 22:41:49 | [Mutex] received everything. 2021-09-21 22:41:49 | [Mutex] isItemNotified: received:node:1061510f-33cc-4ddd-9050-82aa7c724c76:localhost:node-851a0232-cac1-4b33-b1c0-5a168576a7bf:Node 851a0232-cac1-4b33-b1c0-5a168576a7bf :: true 2021-09-21 22:41:49 | [Mutex] waiting for: [received:nodes:dcc1b7c9-a20e-4098-94f4-19e1b2ebeaac:localhost] 2021-09-21 22:41:49 | [Mutex] waiting for: [received:nodes:dcc1b7c9-a20e-4098-94f4-19e1b2ebeaac:localhost] 2021-09-21 22:41:49 | [Mutex] received everything. 2021-09-21 22:41:49 | [Mutex] isItemNotified: received:node:dcc1b7c9-a20e-4098-94f4-19e1b2ebeaac:localhost:node-851a0232-cac1-4b33-b1c0-5a168576a7bf:Node 851a0232-cac1-4b33-b1c0-5a168576a7bf :: false |
createNodes | 1.471s |
2021-09-21 22:41:46 |
2021-09-21 22:41:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:41:46 | ------------------------------------ 2021-09-21 22:41:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-851a0232-cac1-4b33-b1c0-5a168576a7bf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 851a0232-cac1-4b33-b1c0-5a168576a7bf</title></pubsub></data> 2021-09-21 22:41:46 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-21 22:41:47 | [Mutex] waiting for: [received:nodes:312e7c49-f67e-40f8-a4c8-de99b8160d9f:localhost] 2021-09-21 22:41:47 | [Mutex] received everything. 2021-09-21 22:41:47 | [Mutex] isItemNotified: received:node:312e7c49-f67e-40f8-a4c8-de99b8160d9f:localhost:node-851a0232-cac1-4b33-b1c0-5a168576a7bf:Node 851a0232-cac1-4b33-b1c0-5a168576a7bf :: true |
createSubnodes | 1.032s |
2021-09-21 22:41:47 |
2021-09-21 22:41:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:41:47 | ------------------------------------ 2021-09-21 22:41:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e117dafe-eaa6-4e69-abd1-f817d5d4ec11</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e117dafe-eaa6-4e69-abd1-f817d5d4ec11</title></pubsub></data> 2021-09-21 22:41:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-21 22:41:48 | [Mutex] waiting for: [received:nodes:b0405a85-d565-460d-a70e-6393a9641573:localhost] 2021-09-21 22:41:48 | [Mutex] received everything. 2021-09-21 22:41:48 | [Mutex] isItemNotified: received:node:b0405a85-d565-460d-a70e-6393a9641573:localhost:node-e117dafe-eaa6-4e69-abd1-f817d5d4ec11:Node e117dafe-eaa6-4e69-abd1-f817d5d4ec11 :: true |
deleteNodes | 1.023s |
2021-09-21 22:41:54 |
2021-09-21 22:41:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:41:54 | ------------------------------------ 2021-09-21 22:41:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e117dafe-eaa6-4e69-abd1-f817d5d4ec11</node></data> 2021-09-21 22:41:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-21 22:41:55 | [Mutex] waiting for: [received:nodes:60aceed7-b47d-43fe-8cbf-22c95ea697e0:localhost] 2021-09-21 22:41:55 | [Mutex] received everything. 2021-09-21 22:41:55 | [Mutex] isItemNotified: received:node:60aceed7-b47d-43fe-8cbf-22c95ea697e0:localhost:node-e117dafe-eaa6-4e69-abd1-f817d5d4ec11:Node e117dafe-eaa6-4e69-abd1-f817d5d4ec11 :: false |
deleteSubnodes | 1.143s |
2021-09-21 22:41:53 |
2021-09-21 22:41:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:41:53 | ------------------------------------ 2021-09-21 22:41:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-851a0232-cac1-4b33-b1c0-5a168576a7bf</node></data> 2021-09-21 22:41:53 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-21 22:41:54 | [Mutex] waiting for: [received:nodes:0eed6f86-4538-41c3-ad92-6a840f155dae:localhost] 2021-09-21 22:41:54 | [Mutex] waiting for: [received:nodes:0eed6f86-4538-41c3-ad92-6a840f155dae:localhost] 2021-09-21 22:41:54 | [Mutex] received everything. 2021-09-21 22:41:54 | [Mutex] isItemNotified: received:node:0eed6f86-4538-41c3-ad92-6a840f155dae:localhost:node-851a0232-cac1-4b33-b1c0-5a168576a7bf:Node 851a0232-cac1-4b33-b1c0-5a168576a7bf :: false 2021-09-21 22:41:54 | [Mutex] waiting for: [received:nodes:dce69819-b58e-4d52-ba14-9d6a1fba8b52:localhost] 2021-09-21 22:41:54 | [Mutex] received everything. 2021-09-21 22:41:54 | [Mutex] isItemNotified: received:node:dce69819-b58e-4d52-ba14-9d6a1fba8b52:localhost:node-851a0232-cac1-4b33-b1c0-5a168576a7bf:Node 851a0232-cac1-4b33-b1c0-5a168576a7bf :: false |
publishItemsToNodes | 0.245s |
2021-09-21 22:41:50 |
2021-09-21 22:41:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:41:50 | ------------------------------------ 2021-09-21 22:41:50 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-851a0232-cac1-4b33-b1c0-5a168576a7bf</node><item-id>item-a61d4a1e-b3e8-4f1f-87a7-9a401125d290</item-id><entry><test>item-a61d4a1e-b3e8-4f1f-87a7-9a401125d290</test></entry></data> 2021-09-21 22:41:51 | 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-a61d4a1e-b3e8-4f1f-87a7-9a401125d290</value></item-id></result> 2021-09-21 22:41:51 | [Mutex] waiting for: [published:item:notifieditem-a61d4a1e-b3e8-4f1f-87a7-9a401125d290:admin@test-domain.com] 2021-09-21 22:41:51 | [Mutex] received everything. 2021-09-21 22:41:51 | [Mutex] isItemNotified: published:item:notifieditem-a61d4a1e-b3e8-4f1f-87a7-9a401125d290:admin@test-domain.com :: true |
retractItemsFromNodes | 0.371s |
2021-09-21 22:41:51 |
2021-09-21 22:41:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:41:51 | ------------------------------------ 2021-09-21 22:41:51 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-851a0232-cac1-4b33-b1c0-5a168576a7bf</node><item-id>item-a61d4a1e-b3e8-4f1f-87a7-9a401125d290</item-id></data> 2021-09-21 22:41:52 | 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-a61d4a1e-b3e8-4f1f-87a7-9a401125d290</value></item-id></result> 2021-09-21 22:41:52 | [Mutex] received everything. 2021-09-21 22:41:52 | [Mutex] isItemNotified: retracted:item:notifieditem-a61d4a1e-b3e8-4f1f-87a7-9a401125d290:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.329s |
2021-09-21 22:41:51 |
2021-09-21 22:41:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:41:51 | ------------------------------------ 2021-09-21 22:41:51 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-851a0232-cac1-4b33-b1c0-5a168576a7bf</node><item-id>item-a61d4a1e-b3e8-4f1f-87a7-9a401125d290</item-id></data> 2021-09-21 22:41:51 | 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-851a0232-cac1-4b33-b1c0-5a168576a7bf</value></node><item-id type="text-single" label="Item ID"><value>item-a61d4a1e-b3e8-4f1f-87a7-9a401125d290</value></item-id><item type="text-multi" label="Item"><value><item id="item-a61d4a1e-b3e8-4f1f-87a7-9a401125d290"><test>item-a61d4a1e-b3e8-4f1f-87a7-9a401125d290</test></item></value></item></result> 2021-09-21 22:41:51 | [Mutex] notify: [retrieved:item:item-a61d4a1e-b3e8-4f1f-87a7-9a401125d290:payload-matches:true:localhost] 2021-09-21 22:41:51 | [Mutex] received everything. 2021-09-21 22:41:51 | [Mutex] isItemNotified: retrieved:item:item-a61d4a1e-b3e8-4f1f-87a7-9a401125d290:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-09-21 22:41:51 |
2021-09-21 22:41:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:41:51 | ------------------------------------ 2021-09-21 22:41:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-09-21 22:41:51 | 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-851a0232-cac1-4b33-b1c0-5a168576a7bf</value><value>node-e117dafe-eaa6-4e69-abd1-f817d5d4ec11</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-09-21 22:41:51 |
2021-09-21 22:41:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:41:51 | ------------------------------------ 2021-09-21 22:41:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-851a0232-cac1-4b33-b1c0-5a168576a7bf)</node-pattern></data> 2021-09-21 22:41:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.236s |
2021-09-21 22:41:49 |
2021-09-21 22:41:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:41:49 | ------------------------------------ 2021-09-21 22:41:49 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-851a0232-cac1-4b33-b1c0-5a168576a7bf</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-21 22:41:49 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.239s |
2021-09-21 22:41:52 |
2021-09-21 22:41:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-21 22:41:52 | ------------------------------------ 2021-09-21 22:41:52 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-851a0232-cac1-4b33-b1c0-5a168576a7bf</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-21 22:41:52 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |