Test duration : 9.551s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2023-10-26 00:28:42 |
2023-10-26 00:28:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-26 00:28:42 | ------------------------------------ 2023-10-26 00:28:42 | [Mutex] waiting for: [configured:node:node-f1f8744e-a336-4804-ba7a-c26dc8a00acf:node-b1cfa6ab-4c22-4b81-9d5c-176992e7fb62] 2023-10-26 00:28:42 | [Mutex] received everything. 2023-10-26 00:28:42 | [Mutex] isItemNotified: configured:node:node-f1f8744e-a336-4804-ba7a-c26dc8a00acf:node-b1cfa6ab-4c22-4b81-9d5c-176992e7fb62 :: true 2023-10-26 00:28:43 | [Mutex] waiting for: [received:nodes:d4684181-b01f-4395-8ae9-4eb06dbc983c:localhost] 2023-10-26 00:28:43 | [Mutex] received everything. 2023-10-26 00:28:43 | [Mutex] isItemNotified: received:node:d4684181-b01f-4395-8ae9-4eb06dbc983c:localhost:node-f1f8744e-a336-4804-ba7a-c26dc8a00acf:Node f1f8744e-a336-4804-ba7a-c26dc8a00acf :: true 2023-10-26 00:28:43 | [Mutex] waiting for: [received:nodes:6facd645-c196-49d0-9102-29d21ba6d87c:localhost] 2023-10-26 00:28:43 | [Mutex] waiting for: [received:nodes:6facd645-c196-49d0-9102-29d21ba6d87c:localhost] 2023-10-26 00:28:43 | [Mutex] waiting for: [received:nodes:6facd645-c196-49d0-9102-29d21ba6d87c:localhost] 2023-10-26 00:28:43 | [Mutex] waiting for: [received:nodes:6facd645-c196-49d0-9102-29d21ba6d87c:localhost] 2023-10-26 00:28:43 | [Mutex] received everything. 2023-10-26 00:28:43 | [Mutex] isItemNotified: received:node:6facd645-c196-49d0-9102-29d21ba6d87c:localhost:node-f1f8744e-a336-4804-ba7a-c26dc8a00acf:Node f1f8744e-a336-4804-ba7a-c26dc8a00acf :: false |
createNodes | 1.488s |
2023-10-26 00:28:39 |
2023-10-26 00:28:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-26 00:28:39 | ------------------------------------ 2023-10-26 00:28:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f1f8744e-a336-4804-ba7a-c26dc8a00acf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f1f8744e-a336-4804-ba7a-c26dc8a00acf</title></pubsub></data> 2023-10-26 00:28:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-10-26 00:28:41 | [Mutex] waiting for: [received:nodes:f683036c-b17b-4836-ba57-fe89efda5347:localhost] 2023-10-26 00:28:41 | [Mutex] waiting for: [received:nodes:f683036c-b17b-4836-ba57-fe89efda5347:localhost] 2023-10-26 00:28:41 | [Mutex] waiting for: [received:nodes:f683036c-b17b-4836-ba57-fe89efda5347:localhost] 2023-10-26 00:28:41 | [Mutex] received everything. 2023-10-26 00:28:41 | [Mutex] isItemNotified: received:node:f683036c-b17b-4836-ba57-fe89efda5347:localhost:node-f1f8744e-a336-4804-ba7a-c26dc8a00acf:Node f1f8744e-a336-4804-ba7a-c26dc8a00acf :: true |
createSubnodes | 1.020s |
2023-10-26 00:28:41 |
2023-10-26 00:28:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-26 00:28:41 | ------------------------------------ 2023-10-26 00:28:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b1cfa6ab-4c22-4b81-9d5c-176992e7fb62</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b1cfa6ab-4c22-4b81-9d5c-176992e7fb62</title></pubsub></data> 2023-10-26 00:28:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-10-26 00:28:42 | [Mutex] waiting for: [received:nodes:a890146f-beea-4618-8cee-b8e203b47077:localhost] 2023-10-26 00:28:42 | [Mutex] waiting for: [received:nodes:a890146f-beea-4618-8cee-b8e203b47077:localhost] 2023-10-26 00:28:42 | [Mutex] waiting for: [received:nodes:a890146f-beea-4618-8cee-b8e203b47077:localhost] 2023-10-26 00:28:42 | [Mutex] waiting for: [received:nodes:a890146f-beea-4618-8cee-b8e203b47077:localhost] 2023-10-26 00:28:42 | [Mutex] waiting for: [received:nodes:a890146f-beea-4618-8cee-b8e203b47077:localhost] 2023-10-26 00:28:42 | [Mutex] received everything. 2023-10-26 00:28:42 | [Mutex] isItemNotified: received:node:a890146f-beea-4618-8cee-b8e203b47077:localhost:node-b1cfa6ab-4c22-4b81-9d5c-176992e7fb62:Node b1cfa6ab-4c22-4b81-9d5c-176992e7fb62 :: true |
deleteNodes | 1.018s |
2023-10-26 00:28:47 |
2023-10-26 00:28:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-26 00:28:47 | ------------------------------------ 2023-10-26 00:28:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b1cfa6ab-4c22-4b81-9d5c-176992e7fb62</node></data> 2023-10-26 00:28:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-10-26 00:28:48 | [Mutex] waiting for: [received:nodes:887ec41a-dd4c-4626-8243-bd5639a07e58:localhost] 2023-10-26 00:28:48 | [Mutex] received everything. 2023-10-26 00:28:48 | [Mutex] isItemNotified: received:node:887ec41a-dd4c-4626-8243-bd5639a07e58:localhost:node-b1cfa6ab-4c22-4b81-9d5c-176992e7fb62:Node b1cfa6ab-4c22-4b81-9d5c-176992e7fb62 :: false |
deleteSubnodes | 1.151s |
2023-10-26 00:28:46 |
2023-10-26 00:28:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-26 00:28:46 | ------------------------------------ 2023-10-26 00:28:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f1f8744e-a336-4804-ba7a-c26dc8a00acf</node></data> 2023-10-26 00:28:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-10-26 00:28:47 | [Mutex] waiting for: [received:nodes:2091dfd1-88a0-46e0-ad97-03b1ea3f984f:localhost] 2023-10-26 00:28:47 | [Mutex] waiting for: [received:nodes:2091dfd1-88a0-46e0-ad97-03b1ea3f984f:localhost] 2023-10-26 00:28:47 | [Mutex] waiting for: [received:nodes:2091dfd1-88a0-46e0-ad97-03b1ea3f984f:localhost] 2023-10-26 00:28:47 | [Mutex] received everything. 2023-10-26 00:28:47 | [Mutex] isItemNotified: received:node:2091dfd1-88a0-46e0-ad97-03b1ea3f984f:localhost:node-f1f8744e-a336-4804-ba7a-c26dc8a00acf:Node f1f8744e-a336-4804-ba7a-c26dc8a00acf :: false 2023-10-26 00:28:47 | [Mutex] waiting for: [received:nodes:1b68f4a3-1c78-48f2-b21e-e5376ed79f50:localhost] 2023-10-26 00:28:47 | [Mutex] received everything. 2023-10-26 00:28:47 | [Mutex] isItemNotified: received:node:1b68f4a3-1c78-48f2-b21e-e5376ed79f50:localhost:node-f1f8744e-a336-4804-ba7a-c26dc8a00acf:Node f1f8744e-a336-4804-ba7a-c26dc8a00acf :: false |
publishItemsToNodes | 0.274s |
2023-10-26 00:28:44 |
2023-10-26 00:28:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-26 00:28:44 | ------------------------------------ 2023-10-26 00:28:44 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-f1f8744e-a336-4804-ba7a-c26dc8a00acf</node><item-id>item-5bdab31d-114e-45ae-8b89-c5927c8e9be4</item-id><entry><test>item-5bdab31d-114e-45ae-8b89-c5927c8e9be4</test></entry></data> 2023-10-26 00:28:44 | 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-5bdab31d-114e-45ae-8b89-c5927c8e9be4</value></item-id></result> 2023-10-26 00:28:44 | [Mutex] waiting for: [published:item:notifieditem-5bdab31d-114e-45ae-8b89-c5927c8e9be4:admin@test-domain.com] 2023-10-26 00:28:44 | [Mutex] received everything. 2023-10-26 00:28:44 | [Mutex] isItemNotified: published:item:notifieditem-5bdab31d-114e-45ae-8b89-c5927c8e9be4:admin@test-domain.com :: true |
retractItemsFromNodes | 0.287s |
2023-10-26 00:28:44 |
2023-10-26 00:28:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-26 00:28:44 | ------------------------------------ 2023-10-26 00:28:44 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-f1f8744e-a336-4804-ba7a-c26dc8a00acf</node><item-id>item-5bdab31d-114e-45ae-8b89-c5927c8e9be4</item-id></data> 2023-10-26 00:28:45 | 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-5bdab31d-114e-45ae-8b89-c5927c8e9be4</value></item-id></result> 2023-10-26 00:28:45 | [Mutex] received everything. 2023-10-26 00:28:45 | [Mutex] isItemNotified: retracted:item:notifieditem-5bdab31d-114e-45ae-8b89-c5927c8e9be4:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.190s |
2023-10-26 00:28:44 |
2023-10-26 00:28:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-26 00:28:44 | ------------------------------------ 2023-10-26 00:28:44 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-f1f8744e-a336-4804-ba7a-c26dc8a00acf</node><item-id>item-5bdab31d-114e-45ae-8b89-c5927c8e9be4</item-id></data> 2023-10-26 00:28:44 | 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-f1f8744e-a336-4804-ba7a-c26dc8a00acf</value></node><item-id type="text-single" label="Item ID"><value>item-5bdab31d-114e-45ae-8b89-c5927c8e9be4</value></item-id><item type="text-multi" label="Item"><value><item id="item-5bdab31d-114e-45ae-8b89-c5927c8e9be4"><test>item-5bdab31d-114e-45ae-8b89-c5927c8e9be4</test></item></value></item></result> 2023-10-26 00:28:44 | [Mutex] notify: [retrieved:item:item-5bdab31d-114e-45ae-8b89-c5927c8e9be4:payload-matches:true:localhost] 2023-10-26 00:28:44 | [Mutex] received everything. 2023-10-26 00:28:44 | [Mutex] isItemNotified: retrieved:item:item-5bdab31d-114e-45ae-8b89-c5927c8e9be4:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2023-10-26 00:28:44 |
2023-10-26 00:28:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-26 00:28:44 | ------------------------------------ 2023-10-26 00:28:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-10-26 00:28:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-b1cfa6ab-4c22-4b81-9d5c-176992e7fb62</value><value>test</value><value>node-f1f8744e-a336-4804-ba7a-c26dc8a00acf</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-10-26 00:28:44 |
2023-10-26 00:28:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-26 00:28:44 | ------------------------------------ 2023-10-26 00:28:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f1f8744e-a336-4804-ba7a-c26dc8a00acf)</node-pattern></data> 2023-10-26 00:28:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.150s |
2023-10-26 00:28:43 |
2023-10-26 00:28:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-26 00:28:43 | ------------------------------------ 2023-10-26 00:28:43 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-f1f8744e-a336-4804-ba7a-c26dc8a00acf</node><jids><value>admin@test-domain.com</value></jids></data> 2023-10-26 00:28:43 | 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 |
2023-10-26 00:28:45 |
2023-10-26 00:28:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-26 00:28:45 | ------------------------------------ 2023-10-26 00:28:45 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-f1f8744e-a336-4804-ba7a-c26dc8a00acf</node><jids><value>admin@test-domain.com</value></jids></data> 2023-10-26 00:28:45 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |