Test duration : 9.434s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.100s |
2022-12-18 21:30:39 |
2022-12-18 21:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-18 21:30:39 | ------------------------------------ 2022-12-18 21:30:39 | [Mutex] waiting for: [configured:node:node-b6c886c2-517d-4486-8b9d-3fffb9810063:node-24c9ae9b-434d-4e99-8e25-da1adb8a874b] 2022-12-18 21:30:39 | [Mutex] received everything. 2022-12-18 21:30:39 | [Mutex] isItemNotified: configured:node:node-b6c886c2-517d-4486-8b9d-3fffb9810063:node-24c9ae9b-434d-4e99-8e25-da1adb8a874b :: true 2022-12-18 21:30:40 | [Mutex] waiting for: [received:nodes:67195b8c-429a-4178-bfb6-6551b2ff247d:localhost] 2022-12-18 21:30:40 | [Mutex] received everything. 2022-12-18 21:30:40 | [Mutex] isItemNotified: received:node:67195b8c-429a-4178-bfb6-6551b2ff247d:localhost:node-b6c886c2-517d-4486-8b9d-3fffb9810063:Node b6c886c2-517d-4486-8b9d-3fffb9810063 :: true 2022-12-18 21:30:41 | [Mutex] waiting for: [received:nodes:dd3642bc-5dba-4fd0-925c-03dabedde553:localhost] 2022-12-18 21:30:41 | [Mutex] waiting for: [received:nodes:dd3642bc-5dba-4fd0-925c-03dabedde553:localhost] 2022-12-18 21:30:41 | [Mutex] waiting for: [received:nodes:dd3642bc-5dba-4fd0-925c-03dabedde553:localhost] 2022-12-18 21:30:41 | [Mutex] waiting for: [received:nodes:dd3642bc-5dba-4fd0-925c-03dabedde553:localhost] 2022-12-18 21:30:41 | [Mutex] received everything. 2022-12-18 21:30:41 | [Mutex] isItemNotified: received:node:dd3642bc-5dba-4fd0-925c-03dabedde553:localhost:node-b6c886c2-517d-4486-8b9d-3fffb9810063:Node b6c886c2-517d-4486-8b9d-3fffb9810063 :: false |
createNodes | 1.397s |
2022-12-18 21:30:37 |
2022-12-18 21:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-18 21:30:37 | ------------------------------------ 2022-12-18 21:30:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b6c886c2-517d-4486-8b9d-3fffb9810063</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b6c886c2-517d-4486-8b9d-3fffb9810063</title></pubsub></data> 2022-12-18 21:30:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-18 21:30:38 | [Mutex] waiting for: [received:nodes:c2e15256-fee5-4efc-a39b-5f1878c6d77c:localhost] 2022-12-18 21:30:38 | [Mutex] waiting for: [received:nodes:c2e15256-fee5-4efc-a39b-5f1878c6d77c:localhost] 2022-12-18 21:30:38 | [Mutex] waiting for: [received:nodes:c2e15256-fee5-4efc-a39b-5f1878c6d77c:localhost] 2022-12-18 21:30:38 | [Mutex] received everything. 2022-12-18 21:30:38 | [Mutex] isItemNotified: received:node:c2e15256-fee5-4efc-a39b-5f1878c6d77c:localhost:node-b6c886c2-517d-4486-8b9d-3fffb9810063:Node b6c886c2-517d-4486-8b9d-3fffb9810063 :: true |
createSubnodes | 1.023s |
2022-12-18 21:30:38 |
2022-12-18 21:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-18 21:30:38 | ------------------------------------ 2022-12-18 21:30:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-24c9ae9b-434d-4e99-8e25-da1adb8a874b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 24c9ae9b-434d-4e99-8e25-da1adb8a874b</title></pubsub></data> 2022-12-18 21:30:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-18 21:30:39 | [Mutex] waiting for: [received:nodes:a8850341-97ed-4ea4-afb2-8bef13f4bc5a:localhost] 2022-12-18 21:30:39 | [Mutex] waiting for: [received:nodes:a8850341-97ed-4ea4-afb2-8bef13f4bc5a:localhost] 2022-12-18 21:30:39 | [Mutex] waiting for: [received:nodes:a8850341-97ed-4ea4-afb2-8bef13f4bc5a:localhost] 2022-12-18 21:30:39 | [Mutex] waiting for: [received:nodes:a8850341-97ed-4ea4-afb2-8bef13f4bc5a:localhost] 2022-12-18 21:30:39 | [Mutex] waiting for: [received:nodes:a8850341-97ed-4ea4-afb2-8bef13f4bc5a:localhost] 2022-12-18 21:30:39 | [Mutex] received everything. 2022-12-18 21:30:39 | [Mutex] isItemNotified: received:node:a8850341-97ed-4ea4-afb2-8bef13f4bc5a:localhost:node-24c9ae9b-434d-4e99-8e25-da1adb8a874b:Node 24c9ae9b-434d-4e99-8e25-da1adb8a874b :: true |
deleteNodes | 1.019s |
2022-12-18 21:30:45 |
2022-12-18 21:30:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-18 21:30:45 | ------------------------------------ 2022-12-18 21:30:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-24c9ae9b-434d-4e99-8e25-da1adb8a874b</node></data> 2022-12-18 21:30:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-18 21:30:46 | [Mutex] waiting for: [received:nodes:7d98d50e-194d-4713-a9e3-0a5fb15a635b:localhost] 2022-12-18 21:30:46 | [Mutex] waiting for: [received:nodes:7d98d50e-194d-4713-a9e3-0a5fb15a635b:localhost] 2022-12-18 21:30:46 | [Mutex] waiting for: [received:nodes:7d98d50e-194d-4713-a9e3-0a5fb15a635b:localhost] 2022-12-18 21:30:46 | [Mutex] received everything. 2022-12-18 21:30:46 | [Mutex] isItemNotified: received:node:7d98d50e-194d-4713-a9e3-0a5fb15a635b:localhost:node-24c9ae9b-434d-4e99-8e25-da1adb8a874b:Node 24c9ae9b-434d-4e99-8e25-da1adb8a874b :: false |
deleteSubnodes | 1.207s |
2022-12-18 21:30:44 |
2022-12-18 21:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-18 21:30:44 | ------------------------------------ 2022-12-18 21:30:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b6c886c2-517d-4486-8b9d-3fffb9810063</node></data> 2022-12-18 21:30:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-18 21:30:45 | [Mutex] waiting for: [received:nodes:7208c169-5586-4a96-a55b-7e8f778fb30a:localhost] 2022-12-18 21:30:45 | [Mutex] waiting for: [received:nodes:7208c169-5586-4a96-a55b-7e8f778fb30a:localhost] 2022-12-18 21:30:45 | [Mutex] waiting for: [received:nodes:7208c169-5586-4a96-a55b-7e8f778fb30a:localhost] 2022-12-18 21:30:45 | [Mutex] received everything. 2022-12-18 21:30:45 | [Mutex] isItemNotified: received:node:7208c169-5586-4a96-a55b-7e8f778fb30a:localhost:node-b6c886c2-517d-4486-8b9d-3fffb9810063:Node b6c886c2-517d-4486-8b9d-3fffb9810063 :: false 2022-12-18 21:30:45 | [Mutex] waiting for: [received:nodes:45ce86fd-397e-41f9-9998-fdda30050375:localhost] 2022-12-18 21:30:45 | [Mutex] received everything. 2022-12-18 21:30:45 | [Mutex] isItemNotified: received:node:45ce86fd-397e-41f9-9998-fdda30050375:localhost:node-b6c886c2-517d-4486-8b9d-3fffb9810063:Node b6c886c2-517d-4486-8b9d-3fffb9810063 :: false |
publishItemsToNodes | 0.213s |
2022-12-18 21:30:42 |
2022-12-18 21:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-18 21:30:42 | ------------------------------------ 2022-12-18 21:30:42 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b6c886c2-517d-4486-8b9d-3fffb9810063</node><item-id>item-5702864b-c82c-4397-9159-6403a08a7f98</item-id><entry><test>item-5702864b-c82c-4397-9159-6403a08a7f98</test></entry></data> 2022-12-18 21:30:42 | 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-5702864b-c82c-4397-9159-6403a08a7f98</value></item-id></result> 2022-12-18 21:30:42 | [Mutex] received everything. 2022-12-18 21:30:42 | [Mutex] isItemNotified: published:item:notifieditem-5702864b-c82c-4397-9159-6403a08a7f98:admin@test-domain.com :: true |
retractItemsFromNodes | 0.231s |
2022-12-18 21:30:42 |
2022-12-18 21:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-18 21:30:42 | ------------------------------------ 2022-12-18 21:30:42 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b6c886c2-517d-4486-8b9d-3fffb9810063</node><item-id>item-5702864b-c82c-4397-9159-6403a08a7f98</item-id></data> 2022-12-18 21:30:42 | 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-5702864b-c82c-4397-9159-6403a08a7f98</value></item-id></result> 2022-12-18 21:30:42 | [Mutex] received everything. 2022-12-18 21:30:42 | [Mutex] isItemNotified: retracted:item:notifieditem-5702864b-c82c-4397-9159-6403a08a7f98:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.247s |
2022-12-18 21:30:42 |
2022-12-18 21:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-18 21:30:42 | ------------------------------------ 2022-12-18 21:30:42 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b6c886c2-517d-4486-8b9d-3fffb9810063</node><item-id>item-5702864b-c82c-4397-9159-6403a08a7f98</item-id></data> 2022-12-18 21:30:42 | 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-b6c886c2-517d-4486-8b9d-3fffb9810063</value></node><item-id type="text-single" label="Item ID"><value>item-5702864b-c82c-4397-9159-6403a08a7f98</value></item-id><item type="text-multi" label="Item"><value><item id="item-5702864b-c82c-4397-9159-6403a08a7f98"><test>item-5702864b-c82c-4397-9159-6403a08a7f98</test></item></value></item></result> 2022-12-18 21:30:42 | [Mutex] notify: [retrieved:item:item-5702864b-c82c-4397-9159-6403a08a7f98:payload-matches:true:localhost] 2022-12-18 21:30:42 | [Mutex] received everything. 2022-12-18 21:30:42 | [Mutex] isItemNotified: retrieved:item:item-5702864b-c82c-4397-9159-6403a08a7f98:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-12-18 21:30:42 |
2022-12-18 21:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-18 21:30:42 | ------------------------------------ 2022-12-18 21:30:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-18 21:30:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-b6c886c2-517d-4486-8b9d-3fffb9810063</value><value>test</value><value>node-24c9ae9b-434d-4e99-8e25-da1adb8a874b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-12-18 21:30:42 |
2022-12-18 21:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-18 21:30:42 | ------------------------------------ 2022-12-18 21:30:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b6c886c2-517d-4486-8b9d-3fffb9810063)</node-pattern></data> 2022-12-18 21:30:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.124s |
2022-12-18 21:30:41 |
2022-12-18 21:30:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-18 21:30:41 | ------------------------------------ 2022-12-18 21:30:41 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b6c886c2-517d-4486-8b9d-3fffb9810063</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-18 21:30:41 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.199s |
2022-12-18 21:30:42 |
2022-12-18 21:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-18 21:30:42 | ------------------------------------ 2022-12-18 21:30:42 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b6c886c2-517d-4486-8b9d-3fffb9810063</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-18 21:30:43 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |