Test duration : 9.568s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.110s |
2022-12-16 05:01:14 |
2022-12-16 05:01:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 05:01:14 | ------------------------------------ 2022-12-16 05:01:14 | [Mutex] waiting for: [configured:node:node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1:node-2a6bf4a6-7887-4d70-9711-997ca9848e7e] 2022-12-16 05:01:14 | [Mutex] received everything. 2022-12-16 05:01:14 | [Mutex] isItemNotified: configured:node:node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1:node-2a6bf4a6-7887-4d70-9711-997ca9848e7e :: true 2022-12-16 05:01:15 | [Mutex] waiting for: [received:nodes:276e384d-1d29-4187-8412-3979173eabac:localhost] 2022-12-16 05:01:15 | [Mutex] received everything. 2022-12-16 05:01:15 | [Mutex] isItemNotified: received:node:276e384d-1d29-4187-8412-3979173eabac:localhost:node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1:Node 4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1 :: true 2022-12-16 05:01:15 | [Mutex] waiting for: [received:nodes:77baba8f-b6e9-4a96-8413-6f26b2567b66:localhost] 2022-12-16 05:01:15 | [Mutex] waiting for: [received:nodes:77baba8f-b6e9-4a96-8413-6f26b2567b66:localhost] 2022-12-16 05:01:15 | [Mutex] received everything. 2022-12-16 05:01:15 | [Mutex] isItemNotified: received:node:77baba8f-b6e9-4a96-8413-6f26b2567b66:localhost:node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1:Node 4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1 :: false |
createNodes | 1.468s |
2022-12-16 05:01:12 |
2022-12-16 05:01:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 05:01:12 | ------------------------------------ 2022-12-16 05:01:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1</title></pubsub></data> 2022-12-16 05:01:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 05:01:13 | [Mutex] waiting for: [received:nodes:be9a4705-1236-4339-9fb6-c6a56ec29388:localhost] 2022-12-16 05:01:13 | [Mutex] waiting for: [received:nodes:be9a4705-1236-4339-9fb6-c6a56ec29388:localhost] 2022-12-16 05:01:13 | [Mutex] waiting for: [received:nodes:be9a4705-1236-4339-9fb6-c6a56ec29388:localhost] 2022-12-16 05:01:13 | [Mutex] received everything. 2022-12-16 05:01:13 | [Mutex] isItemNotified: received:node:be9a4705-1236-4339-9fb6-c6a56ec29388:localhost:node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1:Node 4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1 :: true |
createSubnodes | 1.025s |
2022-12-16 05:01:13 |
2022-12-16 05:01:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 05:01:13 | ------------------------------------ 2022-12-16 05:01:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2a6bf4a6-7887-4d70-9711-997ca9848e7e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2a6bf4a6-7887-4d70-9711-997ca9848e7e</title></pubsub></data> 2022-12-16 05:01:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 05:01:14 | [Mutex] waiting for: [received:nodes:be1fb52b-b15d-4974-b89e-d42cd462f8f2:localhost] 2022-12-16 05:01:14 | [Mutex] waiting for: [received:nodes:be1fb52b-b15d-4974-b89e-d42cd462f8f2:localhost] 2022-12-16 05:01:14 | [Mutex] waiting for: [received:nodes:be1fb52b-b15d-4974-b89e-d42cd462f8f2:localhost] 2022-12-16 05:01:14 | [Mutex] waiting for: [received:nodes:be1fb52b-b15d-4974-b89e-d42cd462f8f2:localhost] 2022-12-16 05:01:14 | [Mutex] waiting for: [received:nodes:be1fb52b-b15d-4974-b89e-d42cd462f8f2:localhost] 2022-12-16 05:01:14 | [Mutex] received everything. 2022-12-16 05:01:14 | [Mutex] isItemNotified: received:node:be1fb52b-b15d-4974-b89e-d42cd462f8f2:localhost:node-2a6bf4a6-7887-4d70-9711-997ca9848e7e:Node 2a6bf4a6-7887-4d70-9711-997ca9848e7e :: true |
deleteNodes | 1.020s |
2022-12-16 05:01:20 |
2022-12-16 05:01:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 05:01:20 | ------------------------------------ 2022-12-16 05:01:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2a6bf4a6-7887-4d70-9711-997ca9848e7e</node></data> 2022-12-16 05:01:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 05:01:21 | [Mutex] waiting for: [received:nodes:4b0726f6-0119-4f8b-8503-ac3a5a3219b2:localhost] 2022-12-16 05:01:21 | [Mutex] waiting for: [received:nodes:4b0726f6-0119-4f8b-8503-ac3a5a3219b2:localhost] 2022-12-16 05:01:21 | [Mutex] waiting for: [received:nodes:4b0726f6-0119-4f8b-8503-ac3a5a3219b2:localhost] 2022-12-16 05:01:21 | [Mutex] received everything. 2022-12-16 05:01:21 | [Mutex] isItemNotified: received:node:4b0726f6-0119-4f8b-8503-ac3a5a3219b2:localhost:node-2a6bf4a6-7887-4d70-9711-997ca9848e7e:Node 2a6bf4a6-7887-4d70-9711-997ca9848e7e :: false |
deleteSubnodes | 1.116s |
2022-12-16 05:01:18 |
2022-12-16 05:01:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 05:01:18 | ------------------------------------ 2022-12-16 05:01:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1</node></data> 2022-12-16 05:01:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 05:01:20 | [Mutex] waiting for: [received:nodes:31ce4e69-bd81-425e-84f1-9e0fb2fd0707:localhost] 2022-12-16 05:01:20 | [Mutex] waiting for: [received:nodes:31ce4e69-bd81-425e-84f1-9e0fb2fd0707:localhost] 2022-12-16 05:01:20 | [Mutex] waiting for: [received:nodes:31ce4e69-bd81-425e-84f1-9e0fb2fd0707:localhost] 2022-12-16 05:01:20 | [Mutex] received everything. 2022-12-16 05:01:20 | [Mutex] isItemNotified: received:node:31ce4e69-bd81-425e-84f1-9e0fb2fd0707:localhost:node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1:Node 4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1 :: false 2022-12-16 05:01:20 | [Mutex] waiting for: [received:nodes:8bc6a779-0128-48f3-bb4b-7f3a7f16053b:localhost] 2022-12-16 05:01:20 | [Mutex] received everything. 2022-12-16 05:01:20 | [Mutex] isItemNotified: received:node:8bc6a779-0128-48f3-bb4b-7f3a7f16053b:localhost:node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1:Node 4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1 :: false |
publishItemsToNodes | 0.287s |
2022-12-16 05:01:16 |
2022-12-16 05:01:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 05:01:16 | ------------------------------------ 2022-12-16 05:01:16 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1</node><item-id>item-19e21e8b-8c7b-4fb7-a35b-479d33c85560</item-id><entry><test>item-19e21e8b-8c7b-4fb7-a35b-479d33c85560</test></entry></data> 2022-12-16 05:01:17 | 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-19e21e8b-8c7b-4fb7-a35b-479d33c85560</value></item-id></result> 2022-12-16 05:01:17 | [Mutex] received everything. 2022-12-16 05:01:17 | [Mutex] isItemNotified: published:item:notifieditem-19e21e8b-8c7b-4fb7-a35b-479d33c85560:admin@test-domain.com :: true |
retractItemsFromNodes | 0.239s |
2022-12-16 05:01:17 |
2022-12-16 05:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 05:01:17 | ------------------------------------ 2022-12-16 05:01:17 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1</node><item-id>item-19e21e8b-8c7b-4fb7-a35b-479d33c85560</item-id></data> 2022-12-16 05:01:17 | 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-19e21e8b-8c7b-4fb7-a35b-479d33c85560</value></item-id></result> 2022-12-16 05:01:17 | [Mutex] received everything. 2022-12-16 05:01:17 | [Mutex] isItemNotified: retracted:item:notifieditem-19e21e8b-8c7b-4fb7-a35b-479d33c85560:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.187s |
2022-12-16 05:01:17 |
2022-12-16 05:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 05:01:17 | ------------------------------------ 2022-12-16 05:01:17 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1</node><item-id>item-19e21e8b-8c7b-4fb7-a35b-479d33c85560</item-id></data> 2022-12-16 05:01:17 | 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-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1</value></node><item-id type="text-single" label="Item ID"><value>item-19e21e8b-8c7b-4fb7-a35b-479d33c85560</value></item-id><item type="text-multi" label="Item"><value><item id="item-19e21e8b-8c7b-4fb7-a35b-479d33c85560"><test>item-19e21e8b-8c7b-4fb7-a35b-479d33c85560</test></item></value></item></result> 2022-12-16 05:01:17 | [Mutex] notify: [retrieved:item:item-19e21e8b-8c7b-4fb7-a35b-479d33c85560:payload-matches:true:localhost] 2022-12-16 05:01:17 | [Mutex] received everything. 2022-12-16 05:01:17 | [Mutex] isItemNotified: retrieved:item:item-19e21e8b-8c7b-4fb7-a35b-479d33c85560:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-12-16 05:01:17 |
2022-12-16 05:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 05:01:17 | ------------------------------------ 2022-12-16 05:01:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-16 05:01:17 | 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-2a6bf4a6-7887-4d70-9711-997ca9848e7e</value><value>node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-12-16 05:01:17 |
2022-12-16 05:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 05:01:17 | ------------------------------------ 2022-12-16 05:01:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1)</node-pattern></data> 2022-12-16 05:01:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.112s |
2022-12-16 05:01:15 |
2022-12-16 05:01:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 05:01:15 | ------------------------------------ 2022-12-16 05:01:15 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-16 05:01:15 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.214s |
2022-12-16 05:01:17 |
2022-12-16 05:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 05:01:17 | ------------------------------------ 2022-12-16 05:01:17 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4e2135d4-7b2e-47bc-a1b6-ecd38671c1a1</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-16 05:01:17 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |