Test duration : 9.594s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.106s |
2022-04-13 23:09:07 |
2022-04-13 23:09:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 23:09:07 | ------------------------------------ 2022-04-13 23:09:07 | [Mutex] waiting for: [configured:node:node-7805157d-12bf-4fbe-8cef-7c15aca34ea6:node-5e993e42-4cc1-4efd-950b-513d544dfe03] 2022-04-13 23:09:07 | [Mutex] received everything. 2022-04-13 23:09:07 | [Mutex] isItemNotified: configured:node:node-7805157d-12bf-4fbe-8cef-7c15aca34ea6:node-5e993e42-4cc1-4efd-950b-513d544dfe03 :: true 2022-04-13 23:09:08 | [Mutex] waiting for: [received:nodes:bcf90e1b-df92-49bf-bf4c-baced68a0417:localhost] 2022-04-13 23:09:08 | [Mutex] received everything. 2022-04-13 23:09:08 | [Mutex] isItemNotified: received:node:bcf90e1b-df92-49bf-bf4c-baced68a0417:localhost:node-7805157d-12bf-4fbe-8cef-7c15aca34ea6:Node 7805157d-12bf-4fbe-8cef-7c15aca34ea6 :: true 2022-04-13 23:09:08 | [Mutex] waiting for: [received:nodes:1503bec6-c658-4095-8d70-5310d352bc3a:localhost] 2022-04-13 23:09:08 | [Mutex] received everything. 2022-04-13 23:09:08 | [Mutex] isItemNotified: received:node:1503bec6-c658-4095-8d70-5310d352bc3a:localhost:node-7805157d-12bf-4fbe-8cef-7c15aca34ea6:Node 7805157d-12bf-4fbe-8cef-7c15aca34ea6 :: false |
createNodes | 1.503s |
2022-04-13 23:09:05 |
2022-04-13 23:09:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 23:09:05 | ------------------------------------ 2022-04-13 23:09:05 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7805157d-12bf-4fbe-8cef-7c15aca34ea6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7805157d-12bf-4fbe-8cef-7c15aca34ea6</title></pubsub></data> 2022-04-13 23:09:05 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-13 23:09:06 | [Mutex] waiting for: [received:nodes:d242978d-3b1c-41c5-9012-15888b087ac9:localhost] 2022-04-13 23:09:06 | [Mutex] waiting for: [received:nodes:d242978d-3b1c-41c5-9012-15888b087ac9:localhost] 2022-04-13 23:09:06 | [Mutex] received everything. 2022-04-13 23:09:06 | [Mutex] isItemNotified: received:node:d242978d-3b1c-41c5-9012-15888b087ac9:localhost:node-7805157d-12bf-4fbe-8cef-7c15aca34ea6:Node 7805157d-12bf-4fbe-8cef-7c15aca34ea6 :: true |
createSubnodes | 1.024s |
2022-04-13 23:09:06 |
2022-04-13 23:09:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 23:09:06 | ------------------------------------ 2022-04-13 23:09:06 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5e993e42-4cc1-4efd-950b-513d544dfe03</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5e993e42-4cc1-4efd-950b-513d544dfe03</title></pubsub></data> 2022-04-13 23:09:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-13 23:09:07 | [Mutex] waiting for: [received:nodes:8e317fd3-811e-4854-b393-cfc6305f64d3:localhost] 2022-04-13 23:09:07 | [Mutex] received everything. 2022-04-13 23:09:07 | [Mutex] isItemNotified: received:node:8e317fd3-811e-4854-b393-cfc6305f64d3:localhost:node-5e993e42-4cc1-4efd-950b-513d544dfe03:Node 5e993e42-4cc1-4efd-950b-513d544dfe03 :: true |
deleteNodes | 1.018s |
2022-04-13 23:09:13 |
2022-04-13 23:09:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 23:09:13 | ------------------------------------ 2022-04-13 23:09:13 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5e993e42-4cc1-4efd-950b-513d544dfe03</node></data> 2022-04-13 23:09:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-13 23:09:14 | [Mutex] waiting for: [received:nodes:4db651b4-c551-4aa4-838b-dde95d93f646:localhost] 2022-04-13 23:09:14 | [Mutex] waiting for: [received:nodes:4db651b4-c551-4aa4-838b-dde95d93f646:localhost] 2022-04-13 23:09:14 | [Mutex] received everything. 2022-04-13 23:09:14 | [Mutex] isItemNotified: received:node:4db651b4-c551-4aa4-838b-dde95d93f646:localhost:node-5e993e42-4cc1-4efd-950b-513d544dfe03:Node 5e993e42-4cc1-4efd-950b-513d544dfe03 :: false |
deleteSubnodes | 1.158s |
2022-04-13 23:09:11 |
2022-04-13 23:09:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 23:09:11 | ------------------------------------ 2022-04-13 23:09:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7805157d-12bf-4fbe-8cef-7c15aca34ea6</node></data> 2022-04-13 23:09:12 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-13 23:09:13 | [Mutex] waiting for: [received:nodes:148fa130-f21a-42c9-93fd-916d5cc26ec7:localhost] 2022-04-13 23:09:13 | [Mutex] received everything. 2022-04-13 23:09:13 | [Mutex] isItemNotified: received:node:148fa130-f21a-42c9-93fd-916d5cc26ec7:localhost:node-7805157d-12bf-4fbe-8cef-7c15aca34ea6:Node 7805157d-12bf-4fbe-8cef-7c15aca34ea6 :: false 2022-04-13 23:09:13 | [Mutex] waiting for: [received:nodes:ccc8b72c-120b-4585-8a86-80201223e352:localhost] 2022-04-13 23:09:13 | [Mutex] received everything. 2022-04-13 23:09:13 | [Mutex] isItemNotified: received:node:ccc8b72c-120b-4585-8a86-80201223e352:localhost:node-7805157d-12bf-4fbe-8cef-7c15aca34ea6:Node 7805157d-12bf-4fbe-8cef-7c15aca34ea6 :: false |
publishItemsToNodes | 0.213s |
2022-04-13 23:09:09 |
2022-04-13 23:09:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 23:09:09 | ------------------------------------ 2022-04-13 23:09:09 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7805157d-12bf-4fbe-8cef-7c15aca34ea6</node><item-id>item-8e7f37dc-85e4-49cb-a3ae-44fcd8262028</item-id><entry><test>item-8e7f37dc-85e4-49cb-a3ae-44fcd8262028</test></entry></data> 2022-04-13 23:09:10 | 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-8e7f37dc-85e4-49cb-a3ae-44fcd8262028</value></item-id></result> 2022-04-13 23:09:10 | [Mutex] waiting for: [published:item:notifieditem-8e7f37dc-85e4-49cb-a3ae-44fcd8262028:admin@test-domain.com] 2022-04-13 23:09:10 | [Mutex] received everything. 2022-04-13 23:09:10 | [Mutex] isItemNotified: published:item:notifieditem-8e7f37dc-85e4-49cb-a3ae-44fcd8262028:admin@test-domain.com :: true |
retractItemsFromNodes | 0.271s |
2022-04-13 23:09:10 |
2022-04-13 23:09:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 23:09:10 | ------------------------------------ 2022-04-13 23:09:10 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7805157d-12bf-4fbe-8cef-7c15aca34ea6</node><item-id>item-8e7f37dc-85e4-49cb-a3ae-44fcd8262028</item-id></data> 2022-04-13 23:09:10 | 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-8e7f37dc-85e4-49cb-a3ae-44fcd8262028</value></item-id></result> 2022-04-13 23:09:10 | [Mutex] received everything. 2022-04-13 23:09:10 | [Mutex] isItemNotified: retracted:item:notifieditem-8e7f37dc-85e4-49cb-a3ae-44fcd8262028:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.195s |
2022-04-13 23:09:10 |
2022-04-13 23:09:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 23:09:10 | ------------------------------------ 2022-04-13 23:09:10 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7805157d-12bf-4fbe-8cef-7c15aca34ea6</node><item-id>item-8e7f37dc-85e4-49cb-a3ae-44fcd8262028</item-id></data> 2022-04-13 23:09:10 | 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-7805157d-12bf-4fbe-8cef-7c15aca34ea6</value></node><item-id type="text-single" label="Item ID"><value>item-8e7f37dc-85e4-49cb-a3ae-44fcd8262028</value></item-id><item type="text-multi" label="Item"><value><item id="item-8e7f37dc-85e4-49cb-a3ae-44fcd8262028"><test>item-8e7f37dc-85e4-49cb-a3ae-44fcd8262028</test></item></value></item></result> 2022-04-13 23:09:10 | [Mutex] notify: [retrieved:item:item-8e7f37dc-85e4-49cb-a3ae-44fcd8262028:payload-matches:true:localhost] 2022-04-13 23:09:10 | [Mutex] received everything. 2022-04-13 23:09:10 | [Mutex] isItemNotified: retrieved:item:item-8e7f37dc-85e4-49cb-a3ae-44fcd8262028:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2022-04-13 23:09:10 |
2022-04-13 23:09:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 23:09:10 | ------------------------------------ 2022-04-13 23:09:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-04-13 23:09:10 | 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-7805157d-12bf-4fbe-8cef-7c15aca34ea6</value><value>node-5e993e42-4cc1-4efd-950b-513d544dfe03</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-04-13 23:09:10 |
2022-04-13 23:09:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 23:09:10 | ------------------------------------ 2022-04-13 23:09:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7805157d-12bf-4fbe-8cef-7c15aca34ea6)</node-pattern></data> 2022-04-13 23:09:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.151s |
2022-04-13 23:09:08 |
2022-04-13 23:09:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 23:09:08 | ------------------------------------ 2022-04-13 23:09:08 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7805157d-12bf-4fbe-8cef-7c15aca34ea6</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-13 23:09:08 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.191s |
2022-04-13 23:09:10 |
2022-04-13 23:09:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-13 23:09:10 | ------------------------------------ 2022-04-13 23:09:10 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7805157d-12bf-4fbe-8cef-7c15aca34ea6</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-13 23:09:10 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |