Test duration : 9.384s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.090s |
2023-06-04 22:30:13 |
2023-06-04 22:30:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:30:13 | ------------------------------------ 2023-06-04 22:30:13 | [Mutex] waiting for: [configured:node:node-9150be6d-5f53-42a8-83f5-01c1ca21222c:node-82e495ff-3af6-40cd-9fdc-40038187451f] 2023-06-04 22:30:13 | [Mutex] received everything. 2023-06-04 22:30:13 | [Mutex] isItemNotified: configured:node:node-9150be6d-5f53-42a8-83f5-01c1ca21222c:node-82e495ff-3af6-40cd-9fdc-40038187451f :: true 2023-06-04 22:30:14 | [Mutex] waiting for: [received:nodes:9bd07d39-079f-4cbb-ae6b-38f56092207d:localhost] 2023-06-04 22:30:14 | [Mutex] received everything. 2023-06-04 22:30:14 | [Mutex] isItemNotified: received:node:9bd07d39-079f-4cbb-ae6b-38f56092207d:localhost:node-9150be6d-5f53-42a8-83f5-01c1ca21222c:Node 9150be6d-5f53-42a8-83f5-01c1ca21222c :: true 2023-06-04 22:30:14 | [Mutex] waiting for: [received:nodes:7b85cd9a-8dfe-422c-b367-37182dd9f1c5:localhost] 2023-06-04 22:30:14 | [Mutex] waiting for: [received:nodes:7b85cd9a-8dfe-422c-b367-37182dd9f1c5:localhost] 2023-06-04 22:30:14 | [Mutex] waiting for: [received:nodes:7b85cd9a-8dfe-422c-b367-37182dd9f1c5:localhost] 2023-06-04 22:30:14 | [Mutex] received everything. 2023-06-04 22:30:14 | [Mutex] isItemNotified: received:node:7b85cd9a-8dfe-422c-b367-37182dd9f1c5:localhost:node-9150be6d-5f53-42a8-83f5-01c1ca21222c:Node 9150be6d-5f53-42a8-83f5-01c1ca21222c :: false |
createNodes | 1.378s |
2023-06-04 22:30:10 |
2023-06-04 22:30:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:30:10 | ------------------------------------ 2023-06-04 22:30:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9150be6d-5f53-42a8-83f5-01c1ca21222c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9150be6d-5f53-42a8-83f5-01c1ca21222c</title></pubsub></data> 2023-06-04 22:30:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-04 22:30:12 | [Mutex] waiting for: [received:nodes:a7091ad5-8944-4512-be62-38b006e8c845:localhost] 2023-06-04 22:30:12 | [Mutex] waiting for: [received:nodes:a7091ad5-8944-4512-be62-38b006e8c845:localhost] 2023-06-04 22:30:12 | [Mutex] waiting for: [received:nodes:a7091ad5-8944-4512-be62-38b006e8c845:localhost] 2023-06-04 22:30:12 | [Mutex] received everything. 2023-06-04 22:30:12 | [Mutex] isItemNotified: received:node:a7091ad5-8944-4512-be62-38b006e8c845:localhost:node-9150be6d-5f53-42a8-83f5-01c1ca21222c:Node 9150be6d-5f53-42a8-83f5-01c1ca21222c :: true |
createSubnodes | 1.022s |
2023-06-04 22:30:12 |
2023-06-04 22:30:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:30:12 | ------------------------------------ 2023-06-04 22:30:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-82e495ff-3af6-40cd-9fdc-40038187451f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 82e495ff-3af6-40cd-9fdc-40038187451f</title></pubsub></data> 2023-06-04 22:30:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-04 22:30:13 | [Mutex] waiting for: [received:nodes:82b233ee-dbb6-4cd7-bf76-ed512cfb7c7e:localhost] 2023-06-04 22:30:13 | [Mutex] waiting for: [received:nodes:82b233ee-dbb6-4cd7-bf76-ed512cfb7c7e:localhost] 2023-06-04 22:30:13 | [Mutex] waiting for: [received:nodes:82b233ee-dbb6-4cd7-bf76-ed512cfb7c7e:localhost] 2023-06-04 22:30:13 | [Mutex] received everything. 2023-06-04 22:30:13 | [Mutex] isItemNotified: received:node:82b233ee-dbb6-4cd7-bf76-ed512cfb7c7e:localhost:node-82e495ff-3af6-40cd-9fdc-40038187451f:Node 82e495ff-3af6-40cd-9fdc-40038187451f :: true |
deleteNodes | 1.017s |
2023-06-04 22:30:18 |
2023-06-04 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:30:18 | ------------------------------------ 2023-06-04 22:30:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-82e495ff-3af6-40cd-9fdc-40038187451f</node></data> 2023-06-04 22:30:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-04 22:30:19 | [Mutex] waiting for: [received:nodes:d51803cd-8d1e-4e39-b84a-6b6bf15e5113:localhost] 2023-06-04 22:30:19 | [Mutex] waiting for: [received:nodes:d51803cd-8d1e-4e39-b84a-6b6bf15e5113:localhost] 2023-06-04 22:30:19 | [Mutex] waiting for: [received:nodes:d51803cd-8d1e-4e39-b84a-6b6bf15e5113:localhost] 2023-06-04 22:30:19 | [Mutex] received everything. 2023-06-04 22:30:19 | [Mutex] isItemNotified: received:node:d51803cd-8d1e-4e39-b84a-6b6bf15e5113:localhost:node-82e495ff-3af6-40cd-9fdc-40038187451f:Node 82e495ff-3af6-40cd-9fdc-40038187451f :: false |
deleteSubnodes | 1.104s |
2023-06-04 22:30:17 |
2023-06-04 22:30:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:30:17 | ------------------------------------ 2023-06-04 22:30:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9150be6d-5f53-42a8-83f5-01c1ca21222c</node></data> 2023-06-04 22:30:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-04 22:30:18 | [Mutex] waiting for: [received:nodes:2e0c55da-d394-4247-a69d-55952c16697b:localhost] 2023-06-04 22:30:18 | [Mutex] waiting for: [received:nodes:2e0c55da-d394-4247-a69d-55952c16697b:localhost] 2023-06-04 22:30:18 | [Mutex] waiting for: [received:nodes:2e0c55da-d394-4247-a69d-55952c16697b:localhost] 2023-06-04 22:30:18 | [Mutex] received everything. 2023-06-04 22:30:18 | [Mutex] isItemNotified: received:node:2e0c55da-d394-4247-a69d-55952c16697b:localhost:node-9150be6d-5f53-42a8-83f5-01c1ca21222c:Node 9150be6d-5f53-42a8-83f5-01c1ca21222c :: false 2023-06-04 22:30:18 | [Mutex] waiting for: [received:nodes:497abee2-b9be-48cc-a6c9-aefd1ec7aecb:localhost] 2023-06-04 22:30:18 | [Mutex] received everything. 2023-06-04 22:30:18 | [Mutex] isItemNotified: received:node:497abee2-b9be-48cc-a6c9-aefd1ec7aecb:localhost:node-9150be6d-5f53-42a8-83f5-01c1ca21222c:Node 9150be6d-5f53-42a8-83f5-01c1ca21222c :: false |
publishItemsToNodes | 0.238s |
2023-06-04 22:30:15 |
2023-06-04 22:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:30:15 | ------------------------------------ 2023-06-04 22:30:15 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-9150be6d-5f53-42a8-83f5-01c1ca21222c</node><item-id>item-b29af677-f582-4c13-b064-5f048ea50990</item-id><entry><test>item-b29af677-f582-4c13-b064-5f048ea50990</test></entry></data> 2023-06-04 22:30:15 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-b29af677-f582-4c13-b064-5f048ea50990</value></item-id></result> 2023-06-04 22:30:15 | [Mutex] received everything. 2023-06-04 22:30:15 | [Mutex] isItemNotified: published:item:notifieditem-b29af677-f582-4c13-b064-5f048ea50990:admin@test-domain.com :: true |
retractItemsFromNodes | 0.259s |
2023-06-04 22:30:15 |
2023-06-04 22:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:30:15 | ------------------------------------ 2023-06-04 22:30:15 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-9150be6d-5f53-42a8-83f5-01c1ca21222c</node><item-id>item-b29af677-f582-4c13-b064-5f048ea50990</item-id></data> 2023-06-04 22:30:16 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-b29af677-f582-4c13-b064-5f048ea50990</value></item-id></result> 2023-06-04 22:30:16 | [Mutex] received everything. 2023-06-04 22:30:16 | [Mutex] isItemNotified: retracted:item:notifieditem-b29af677-f582-4c13-b064-5f048ea50990:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.214s |
2023-06-04 22:30:15 |
2023-06-04 22:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:30:15 | ------------------------------------ 2023-06-04 22:30:15 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-9150be6d-5f53-42a8-83f5-01c1ca21222c</node><item-id>item-b29af677-f582-4c13-b064-5f048ea50990</item-id></data> 2023-06-04 22:30:15 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-9150be6d-5f53-42a8-83f5-01c1ca21222c</value></node><item-id label="Item ID" type="text-single"><value>item-b29af677-f582-4c13-b064-5f048ea50990</value></item-id><item label="Item" type="text-multi"><value><item id="item-b29af677-f582-4c13-b064-5f048ea50990"><test>item-b29af677-f582-4c13-b064-5f048ea50990</test></item></value></item></result> 2023-06-04 22:30:15 | [Mutex] notify: [retrieved:item:item-b29af677-f582-4c13-b064-5f048ea50990:payload-matches:true:localhost] 2023-06-04 22:30:15 | [Mutex] received everything. 2023-06-04 22:30:15 | [Mutex] isItemNotified: retrieved:item:item-b29af677-f582-4c13-b064-5f048ea50990:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-06-04 22:30:15 |
2023-06-04 22:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:30:15 | ------------------------------------ 2023-06-04 22:30:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-06-04 22:30:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-82e495ff-3af6-40cd-9fdc-40038187451f</value><value>node-9150be6d-5f53-42a8-83f5-01c1ca21222c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-06-04 22:30:15 |
2023-06-04 22:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:30:15 | ------------------------------------ 2023-06-04 22:30:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9150be6d-5f53-42a8-83f5-01c1ca21222c)</node-pattern></data> 2023-06-04 22:30:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.123s |
2023-06-04 22:30:14 |
2023-06-04 22:30:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:30:14 | ------------------------------------ 2023-06-04 22:30:14 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-9150be6d-5f53-42a8-83f5-01c1ca21222c</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-04 22:30:14 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.155s |
2023-06-04 22:30:16 |
2023-06-04 22:30:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:30:16 | ------------------------------------ 2023-06-04 22:30:16 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-9150be6d-5f53-42a8-83f5-01c1ca21222c</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-04 22:30:16 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |