Test duration : 9.693s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.080s |
2022-08-25 23:14:59 |
2022-08-25 23:14:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 23:14:59 | ------------------------------------ 2022-08-25 23:14:59 | [Mutex] waiting for: [configured:node:node-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e:node-bbbca918-e4a3-49d1-9071-db440016c831] 2022-08-25 23:14:59 | [Mutex] received everything. 2022-08-25 23:14:59 | [Mutex] isItemNotified: configured:node:node-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e:node-bbbca918-e4a3-49d1-9071-db440016c831 :: true 2022-08-25 23:15:00 | [Mutex] waiting for: [received:nodes:05b9d96e-ba3d-4c3a-bc7f-73ce1a71d68c:localhost] 2022-08-25 23:15:00 | [Mutex] received everything. 2022-08-25 23:15:00 | [Mutex] isItemNotified: received:node:05b9d96e-ba3d-4c3a-bc7f-73ce1a71d68c:localhost:node-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e:Node c8030ef5-9944-4acd-a3f4-a8d6366c7d2e :: true 2022-08-25 23:15:00 | [Mutex] waiting for: [received:nodes:1ce3ab0d-eb1f-40f9-a276-edd6dceed2be:localhost] 2022-08-25 23:15:00 | [Mutex] waiting for: [received:nodes:1ce3ab0d-eb1f-40f9-a276-edd6dceed2be:localhost] 2022-08-25 23:15:00 | [Mutex] received everything. 2022-08-25 23:15:00 | [Mutex] isItemNotified: received:node:1ce3ab0d-eb1f-40f9-a276-edd6dceed2be:localhost:node-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e:Node c8030ef5-9944-4acd-a3f4-a8d6366c7d2e :: false |
createNodes | 1.548s |
2022-08-25 23:14:56 |
2022-08-25 23:14:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 23:14:56 | ------------------------------------ 2022-08-25 23:14:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c8030ef5-9944-4acd-a3f4-a8d6366c7d2e</title></pubsub></data> 2022-08-25 23:14:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-25 23:14:58 | [Mutex] waiting for: [received:nodes:4e4ee291-434d-4f3a-bb11-9b31e3331b86:localhost] 2022-08-25 23:14:58 | [Mutex] waiting for: [received:nodes:4e4ee291-434d-4f3a-bb11-9b31e3331b86:localhost] 2022-08-25 23:14:58 | [Mutex] received everything. 2022-08-25 23:14:58 | [Mutex] isItemNotified: received:node:4e4ee291-434d-4f3a-bb11-9b31e3331b86:localhost:node-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e:Node c8030ef5-9944-4acd-a3f4-a8d6366c7d2e :: true |
createSubnodes | 1.021s |
2022-08-25 23:14:58 |
2022-08-25 23:14:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 23:14:58 | ------------------------------------ 2022-08-25 23:14:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bbbca918-e4a3-49d1-9071-db440016c831</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bbbca918-e4a3-49d1-9071-db440016c831</title></pubsub></data> 2022-08-25 23:14:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-25 23:14:59 | [Mutex] waiting for: [received:nodes:040c2ff1-6857-4fc9-ae47-0dca00af0113:localhost] 2022-08-25 23:14:59 | [Mutex] waiting for: [received:nodes:040c2ff1-6857-4fc9-ae47-0dca00af0113:localhost] 2022-08-25 23:14:59 | [Mutex] received everything. 2022-08-25 23:14:59 | [Mutex] isItemNotified: received:node:040c2ff1-6857-4fc9-ae47-0dca00af0113:localhost:node-bbbca918-e4a3-49d1-9071-db440016c831:Node bbbca918-e4a3-49d1-9071-db440016c831 :: true |
deleteNodes | 1.070s |
2022-08-25 23:15:04 |
2022-08-25 23:15:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 23:15:04 | ------------------------------------ 2022-08-25 23:15:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bbbca918-e4a3-49d1-9071-db440016c831</node></data> 2022-08-25 23:15:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-25 23:15:05 | [Mutex] waiting for: [received:nodes:5c2481af-332e-43ae-928f-0a940b421955:localhost] 2022-08-25 23:15:05 | [Mutex] received everything. 2022-08-25 23:15:05 | [Mutex] isItemNotified: received:node:5c2481af-332e-43ae-928f-0a940b421955:localhost:node-bbbca918-e4a3-49d1-9071-db440016c831:Node bbbca918-e4a3-49d1-9071-db440016c831 :: false |
deleteSubnodes | 1.122s |
2022-08-25 23:15:03 |
2022-08-25 23:15:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 23:15:03 | ------------------------------------ 2022-08-25 23:15:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e</node></data> 2022-08-25 23:15:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-25 23:15:04 | [Mutex] waiting for: [received:nodes:5e635c12-8c55-4182-ba3a-982590c7f30a:localhost] 2022-08-25 23:15:04 | [Mutex] waiting for: [received:nodes:5e635c12-8c55-4182-ba3a-982590c7f30a:localhost] 2022-08-25 23:15:04 | [Mutex] received everything. 2022-08-25 23:15:04 | [Mutex] isItemNotified: received:node:5e635c12-8c55-4182-ba3a-982590c7f30a:localhost:node-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e:Node c8030ef5-9944-4acd-a3f4-a8d6366c7d2e :: false 2022-08-25 23:15:04 | [Mutex] waiting for: [received:nodes:41b622ec-c1d7-4fe0-ace6-952c14014ce6:localhost] 2022-08-25 23:15:04 | [Mutex] received everything. 2022-08-25 23:15:04 | [Mutex] isItemNotified: received:node:41b622ec-c1d7-4fe0-ace6-952c14014ce6:localhost:node-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e:Node c8030ef5-9944-4acd-a3f4-a8d6366c7d2e :: false |
publishItemsToNodes | 0.191s |
2022-08-25 23:15:01 |
2022-08-25 23:15:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 23:15:01 | ------------------------------------ 2022-08-25 23:15:01 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e</node><item-id>item-c0eb2a50-0e32-413f-880f-75ce83199bf6</item-id><entry><test>item-c0eb2a50-0e32-413f-880f-75ce83199bf6</test></entry></data> 2022-08-25 23:15:01 | 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-c0eb2a50-0e32-413f-880f-75ce83199bf6</value></item-id></result> 2022-08-25 23:15:01 | [Mutex] waiting for: [published:item:notifieditem-c0eb2a50-0e32-413f-880f-75ce83199bf6:admin@test-domain.com] 2022-08-25 23:15:01 | [Mutex] received everything. 2022-08-25 23:15:01 | [Mutex] isItemNotified: published:item:notifieditem-c0eb2a50-0e32-413f-880f-75ce83199bf6:admin@test-domain.com :: true |
retractItemsFromNodes | 0.299s |
2022-08-25 23:15:01 |
2022-08-25 23:15:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 23:15:01 | ------------------------------------ 2022-08-25 23:15:01 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e</node><item-id>item-c0eb2a50-0e32-413f-880f-75ce83199bf6</item-id></data> 2022-08-25 23:15:02 | 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-c0eb2a50-0e32-413f-880f-75ce83199bf6</value></item-id></result> 2022-08-25 23:15:02 | [Mutex] received everything. 2022-08-25 23:15:02 | [Mutex] isItemNotified: retracted:item:notifieditem-c0eb2a50-0e32-413f-880f-75ce83199bf6:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.236s |
2022-08-25 23:15:01 |
2022-08-25 23:15:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 23:15:01 | ------------------------------------ 2022-08-25 23:15:01 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e</node><item-id>item-c0eb2a50-0e32-413f-880f-75ce83199bf6</item-id></data> 2022-08-25 23:15:01 | 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-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e</value></node><item-id type="text-single" label="Item ID"><value>item-c0eb2a50-0e32-413f-880f-75ce83199bf6</value></item-id><item type="text-multi" label="Item"><value><item id="item-c0eb2a50-0e32-413f-880f-75ce83199bf6"><test>item-c0eb2a50-0e32-413f-880f-75ce83199bf6</test></item></value></item></result> 2022-08-25 23:15:01 | [Mutex] notify: [retrieved:item:item-c0eb2a50-0e32-413f-880f-75ce83199bf6:payload-matches:true:localhost] 2022-08-25 23:15:01 | [Mutex] received everything. 2022-08-25 23:15:01 | [Mutex] isItemNotified: retrieved:item:item-c0eb2a50-0e32-413f-880f-75ce83199bf6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-25 23:15:01 |
2022-08-25 23:15:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 23:15:01 | ------------------------------------ 2022-08-25 23:15:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-25 23:15:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e</value><value>test</value><value>node-bbbca918-e4a3-49d1-9071-db440016c831</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-08-25 23:15:01 |
2022-08-25 23:15:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 23:15:01 | ------------------------------------ 2022-08-25 23:15: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-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e)</node-pattern></data> 2022-08-25 23:15:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.115s |
2022-08-25 23:15:00 |
2022-08-25 23:15:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 23:15:00 | ------------------------------------ 2022-08-25 23:15:00 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-25 23:15: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.227s |
2022-08-25 23:15:02 |
2022-08-25 23:15:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 23:15:02 | ------------------------------------ 2022-08-25 23:15:02 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c8030ef5-9944-4acd-a3f4-a8d6366c7d2e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-25 23:15:02 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |