Test duration : 10.165s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.117s |
2021-06-21 22:41:21 |
2021-06-21 22:41:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:41:21 | ------------------------------------ 2021-06-21 22:41:21 | [Mutex] waiting for: [configured:node:node-4c9b1926-85bf-451a-a8d8-775b954ffe6e:node-11ab705b-c8a3-493c-a83c-2bc7e0c63bd3] 2021-06-21 22:41:21 | [Mutex] received everything. 2021-06-21 22:41:21 | [Mutex] isItemNotified: configured:node:node-4c9b1926-85bf-451a-a8d8-775b954ffe6e:node-11ab705b-c8a3-493c-a83c-2bc7e0c63bd3 :: true 2021-06-21 22:41:22 | [Mutex] waiting for: [received:nodes:33e2d4dd-6d51-4ac0-b99c-56ab10b6d69a:localhost] 2021-06-21 22:41:22 | [Mutex] received everything. 2021-06-21 22:41:22 | [Mutex] isItemNotified: received:node:33e2d4dd-6d51-4ac0-b99c-56ab10b6d69a:localhost:node-4c9b1926-85bf-451a-a8d8-775b954ffe6e:Node 4c9b1926-85bf-451a-a8d8-775b954ffe6e :: true 2021-06-21 22:41:22 | [Mutex] waiting for: [received:nodes:aea12164-79c0-4057-a0cf-fe70c0f24e8c:localhost] 2021-06-21 22:41:22 | [Mutex] waiting for: [received:nodes:aea12164-79c0-4057-a0cf-fe70c0f24e8c:localhost] 2021-06-21 22:41:22 | [Mutex] waiting for: [received:nodes:aea12164-79c0-4057-a0cf-fe70c0f24e8c:localhost] 2021-06-21 22:41:22 | [Mutex] waiting for: [received:nodes:aea12164-79c0-4057-a0cf-fe70c0f24e8c:localhost] 2021-06-21 22:41:22 | [Mutex] received everything. 2021-06-21 22:41:22 | [Mutex] isItemNotified: received:node:aea12164-79c0-4057-a0cf-fe70c0f24e8c:localhost:node-4c9b1926-85bf-451a-a8d8-775b954ffe6e:Node 4c9b1926-85bf-451a-a8d8-775b954ffe6e :: false |
createNodes | 1.471s |
2021-06-21 22:41:19 |
2021-06-21 22:41:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:41:19 | ------------------------------------ 2021-06-21 22:41:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4c9b1926-85bf-451a-a8d8-775b954ffe6e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4c9b1926-85bf-451a-a8d8-775b954ffe6e</title></pubsub></data> 2021-06-21 22:41:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-21 22:41:20 | [Mutex] waiting for: [received:nodes:d2ed147e-40ea-4542-9007-ff0d77b1e6d9:localhost] 2021-06-21 22:41:20 | [Mutex] received everything. 2021-06-21 22:41:20 | [Mutex] isItemNotified: received:node:d2ed147e-40ea-4542-9007-ff0d77b1e6d9:localhost:node-4c9b1926-85bf-451a-a8d8-775b954ffe6e:Node 4c9b1926-85bf-451a-a8d8-775b954ffe6e :: true |
createSubnodes | 1.031s |
2021-06-21 22:41:20 |
2021-06-21 22:41:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:41:20 | ------------------------------------ 2021-06-21 22:41:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-11ab705b-c8a3-493c-a83c-2bc7e0c63bd3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 11ab705b-c8a3-493c-a83c-2bc7e0c63bd3</title></pubsub></data> 2021-06-21 22:41:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-21 22:41:21 | [Mutex] waiting for: [received:nodes:2f6db4ef-c1e5-415c-a539-e53c757ed436:localhost] 2021-06-21 22:41:21 | [Mutex] received everything. 2021-06-21 22:41:21 | [Mutex] isItemNotified: received:node:2f6db4ef-c1e5-415c-a539-e53c757ed436:localhost:node-11ab705b-c8a3-493c-a83c-2bc7e0c63bd3:Node 11ab705b-c8a3-493c-a83c-2bc7e0c63bd3 :: true |
deleteNodes | 1.023s |
2021-06-21 22:41:27 |
2021-06-21 22:41:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:41:27 | ------------------------------------ 2021-06-21 22:41:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-11ab705b-c8a3-493c-a83c-2bc7e0c63bd3</node></data> 2021-06-21 22:41:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-21 22:41:28 | [Mutex] waiting for: [received:nodes:f814df9b-4293-4657-a811-507a25179d1e:localhost] 2021-06-21 22:41:28 | [Mutex] received everything. 2021-06-21 22:41:28 | [Mutex] isItemNotified: received:node:f814df9b-4293-4657-a811-507a25179d1e:localhost:node-11ab705b-c8a3-493c-a83c-2bc7e0c63bd3:Node 11ab705b-c8a3-493c-a83c-2bc7e0c63bd3 :: false |
deleteSubnodes | 1.207s |
2021-06-21 22:41:26 |
2021-06-21 22:41:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:41:26 | ------------------------------------ 2021-06-21 22:41:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4c9b1926-85bf-451a-a8d8-775b954ffe6e</node></data> 2021-06-21 22:41:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-21 22:41:27 | [Mutex] waiting for: [received:nodes:9bcba6d3-0b33-430b-819a-359a1a2fe9aa:localhost] 2021-06-21 22:41:27 | [Mutex] received everything. 2021-06-21 22:41:27 | [Mutex] isItemNotified: received:node:9bcba6d3-0b33-430b-819a-359a1a2fe9aa:localhost:node-4c9b1926-85bf-451a-a8d8-775b954ffe6e:Node 4c9b1926-85bf-451a-a8d8-775b954ffe6e :: false 2021-06-21 22:41:27 | [Mutex] waiting for: [received:nodes:689b760e-166c-48fa-b625-60f074c63231:localhost] 2021-06-21 22:41:27 | [Mutex] received everything. 2021-06-21 22:41:27 | [Mutex] isItemNotified: received:node:689b760e-166c-48fa-b625-60f074c63231:localhost:node-4c9b1926-85bf-451a-a8d8-775b954ffe6e:Node 4c9b1926-85bf-451a-a8d8-775b954ffe6e :: false |
publishItemsToNodes | 0.230s |
2021-06-21 22:41:23 |
2021-06-21 22:41:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:41:23 | ------------------------------------ 2021-06-21 22:41:23 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4c9b1926-85bf-451a-a8d8-775b954ffe6e</node><item-id>item-98f957d6-7140-4d2d-b3dd-40ae8079a7b3</item-id><entry><test>item-98f957d6-7140-4d2d-b3dd-40ae8079a7b3</test></entry></data> 2021-06-21 22:41:24 | 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-98f957d6-7140-4d2d-b3dd-40ae8079a7b3</value></item-id></result> 2021-06-21 22:41:24 | [Mutex] received everything. 2021-06-21 22:41:24 | [Mutex] isItemNotified: published:item:notifieditem-98f957d6-7140-4d2d-b3dd-40ae8079a7b3:admin@test-domain.com :: true |
retractItemsFromNodes | 0.287s |
2021-06-21 22:41:24 |
2021-06-21 22:41:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:41:24 | ------------------------------------ 2021-06-21 22:41:24 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4c9b1926-85bf-451a-a8d8-775b954ffe6e</node><item-id>item-98f957d6-7140-4d2d-b3dd-40ae8079a7b3</item-id></data> 2021-06-21 22:41:24 | 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-98f957d6-7140-4d2d-b3dd-40ae8079a7b3</value></item-id></result> 2021-06-21 22:41:24 | [Mutex] received everything. 2021-06-21 22:41:24 | [Mutex] isItemNotified: retracted:item:notifieditem-98f957d6-7140-4d2d-b3dd-40ae8079a7b3:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.327s |
2021-06-21 22:41:24 |
2021-06-21 22:41:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:41:24 | ------------------------------------ 2021-06-21 22:41:24 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4c9b1926-85bf-451a-a8d8-775b954ffe6e</node><item-id>item-98f957d6-7140-4d2d-b3dd-40ae8079a7b3</item-id></data> 2021-06-21 22:41:24 | 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-4c9b1926-85bf-451a-a8d8-775b954ffe6e</value></node><item-id type="text-single" label="Item ID"><value>item-98f957d6-7140-4d2d-b3dd-40ae8079a7b3</value></item-id><item type="text-multi" label="Item"><value><item id="item-98f957d6-7140-4d2d-b3dd-40ae8079a7b3"><test>item-98f957d6-7140-4d2d-b3dd-40ae8079a7b3</test></item></value></item></result> 2021-06-21 22:41:24 | [Mutex] notify: [retrieved:item:item-98f957d6-7140-4d2d-b3dd-40ae8079a7b3:payload-matches:true:localhost] 2021-06-21 22:41:24 | [Mutex] received everything. 2021-06-21 22:41:24 | [Mutex] isItemNotified: retrieved:item:item-98f957d6-7140-4d2d-b3dd-40ae8079a7b3:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-06-21 22:41:24 |
2021-06-21 22:41:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:41:24 | ------------------------------------ 2021-06-21 22:41:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-06-21 22:41:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-4c9b1926-85bf-451a-a8d8-775b954ffe6e</value><value>test</value><value>node-11ab705b-c8a3-493c-a83c-2bc7e0c63bd3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-06-21 22:41:24 |
2021-06-21 22:41:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:41:24 | ------------------------------------ 2021-06-21 22:41:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4c9b1926-85bf-451a-a8d8-775b954ffe6e)</node-pattern></data> 2021-06-21 22:41:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.154s |
2021-06-21 22:41:22 |
2021-06-21 22:41:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:41:22 | ------------------------------------ 2021-06-21 22:41:22 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4c9b1926-85bf-451a-a8d8-775b954ffe6e</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-21 22:41:22 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.247s |
2021-06-21 22:41:24 |
2021-06-21 22:41:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 22:41:24 | ------------------------------------ 2021-06-21 22:41:24 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4c9b1926-85bf-451a-a8d8-775b954ffe6e</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-21 22:41:25 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |