Test duration : 9.526s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.095s |
2022-09-05 22:36:33 |
2022-09-05 22:36:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-05 22:36:33 | ------------------------------------ 2022-09-05 22:36:33 | [Mutex] waiting for: [configured:node:node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f:node-5aff2d65-8bf8-4f02-b3fd-7a2d39be6406] 2022-09-05 22:36:33 | [Mutex] received everything. 2022-09-05 22:36:33 | [Mutex] isItemNotified: configured:node:node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f:node-5aff2d65-8bf8-4f02-b3fd-7a2d39be6406 :: true 2022-09-05 22:36:34 | [Mutex] waiting for: [received:nodes:d10e19a7-4def-403d-947d-f27c55ef70bb:localhost] 2022-09-05 22:36:34 | [Mutex] received everything. 2022-09-05 22:36:34 | [Mutex] isItemNotified: received:node:d10e19a7-4def-403d-947d-f27c55ef70bb:localhost:node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f:Node e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f :: true 2022-09-05 22:36:34 | [Mutex] waiting for: [received:nodes:6d8e4e3b-f54d-4dd6-b94f-0f6fb1d1f6cf:localhost] 2022-09-05 22:36:34 | [Mutex] waiting for: [received:nodes:6d8e4e3b-f54d-4dd6-b94f-0f6fb1d1f6cf:localhost] 2022-09-05 22:36:34 | [Mutex] waiting for: [received:nodes:6d8e4e3b-f54d-4dd6-b94f-0f6fb1d1f6cf:localhost] 2022-09-05 22:36:34 | [Mutex] received everything. 2022-09-05 22:36:34 | [Mutex] isItemNotified: received:node:6d8e4e3b-f54d-4dd6-b94f-0f6fb1d1f6cf:localhost:node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f:Node e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f :: false |
createNodes | 1.390s |
2022-09-05 22:36:30 |
2022-09-05 22:36:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-05 22:36:30 | ------------------------------------ 2022-09-05 22:36:30 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f</title></pubsub></data> 2022-09-05 22:36:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-05 22:36:32 | [Mutex] waiting for: [received:nodes:cac00634-abdb-4c0b-8fec-d46d7e0ab028:localhost] 2022-09-05 22:36:32 | [Mutex] received everything. 2022-09-05 22:36:32 | [Mutex] isItemNotified: received:node:cac00634-abdb-4c0b-8fec-d46d7e0ab028:localhost:node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f:Node e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f :: true |
createSubnodes | 1.023s |
2022-09-05 22:36:32 |
2022-09-05 22:36:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-05 22:36:32 | ------------------------------------ 2022-09-05 22:36:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5aff2d65-8bf8-4f02-b3fd-7a2d39be6406</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5aff2d65-8bf8-4f02-b3fd-7a2d39be6406</title></pubsub></data> 2022-09-05 22:36:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-05 22:36:33 | [Mutex] waiting for: [received:nodes:c59595a7-4050-441a-8f26-ab1db39e13e3:localhost] 2022-09-05 22:36:33 | [Mutex] received everything. 2022-09-05 22:36:33 | [Mutex] isItemNotified: received:node:c59595a7-4050-441a-8f26-ab1db39e13e3:localhost:node-5aff2d65-8bf8-4f02-b3fd-7a2d39be6406:Node 5aff2d65-8bf8-4f02-b3fd-7a2d39be6406 :: true |
deleteNodes | 1.017s |
2022-09-05 22:36:38 |
2022-09-05 22:36:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-05 22:36:38 | ------------------------------------ 2022-09-05 22:36:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5aff2d65-8bf8-4f02-b3fd-7a2d39be6406</node></data> 2022-09-05 22:36:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-05 22:36:39 | [Mutex] waiting for: [received:nodes:e1d7cc83-b3ba-4344-a9c7-a671f12d0974:localhost] 2022-09-05 22:36:39 | [Mutex] received everything. 2022-09-05 22:36:39 | [Mutex] isItemNotified: received:node:e1d7cc83-b3ba-4344-a9c7-a671f12d0974:localhost:node-5aff2d65-8bf8-4f02-b3fd-7a2d39be6406:Node 5aff2d65-8bf8-4f02-b3fd-7a2d39be6406 :: false |
deleteSubnodes | 1.150s |
2022-09-05 22:36:37 |
2022-09-05 22:36:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-05 22:36:37 | ------------------------------------ 2022-09-05 22:36:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f</node></data> 2022-09-05 22:36:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-05 22:36:38 | [Mutex] waiting for: [received:nodes:81020cac-fd74-4a3a-a2ff-0c3c2252f5d4:localhost] 2022-09-05 22:36:38 | [Mutex] received everything. 2022-09-05 22:36:38 | [Mutex] isItemNotified: received:node:81020cac-fd74-4a3a-a2ff-0c3c2252f5d4:localhost:node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f:Node e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f :: false 2022-09-05 22:36:38 | [Mutex] waiting for: [received:nodes:5b435836-ddc6-49d5-8c71-d5ad50a69acb:localhost] 2022-09-05 22:36:38 | [Mutex] received everything. 2022-09-05 22:36:38 | [Mutex] isItemNotified: received:node:5b435836-ddc6-49d5-8c71-d5ad50a69acb:localhost:node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f:Node e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f :: false |
publishItemsToNodes | 0.265s |
2022-09-05 22:36:35 |
2022-09-05 22:36:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-05 22:36:35 | ------------------------------------ 2022-09-05 22:36:35 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f</node><item-id>item-6751ecd1-786f-48aa-8312-9aee6402170c</item-id><entry><test>item-6751ecd1-786f-48aa-8312-9aee6402170c</test></entry></data> 2022-09-05 22:36:35 | 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-6751ecd1-786f-48aa-8312-9aee6402170c</value></item-id></result> 2022-09-05 22:36:35 | [Mutex] waiting for: [published:item:notifieditem-6751ecd1-786f-48aa-8312-9aee6402170c:admin@test-domain.com] 2022-09-05 22:36:35 | [Mutex] received everything. 2022-09-05 22:36:35 | [Mutex] isItemNotified: published:item:notifieditem-6751ecd1-786f-48aa-8312-9aee6402170c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.243s |
2022-09-05 22:36:36 |
2022-09-05 22:36:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-05 22:36:36 | ------------------------------------ 2022-09-05 22:36:36 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f</node><item-id>item-6751ecd1-786f-48aa-8312-9aee6402170c</item-id></data> 2022-09-05 22:36:36 | 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-6751ecd1-786f-48aa-8312-9aee6402170c</value></item-id></result> 2022-09-05 22:36:36 | [Mutex] received everything. 2022-09-05 22:36:36 | [Mutex] isItemNotified: retracted:item:notifieditem-6751ecd1-786f-48aa-8312-9aee6402170c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.284s |
2022-09-05 22:36:35 |
2022-09-05 22:36:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-05 22:36:35 | ------------------------------------ 2022-09-05 22:36:35 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f</node><item-id>item-6751ecd1-786f-48aa-8312-9aee6402170c</item-id></data> 2022-09-05 22:36:36 | 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-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f</value></node><item-id type="text-single" label="Item ID"><value>item-6751ecd1-786f-48aa-8312-9aee6402170c</value></item-id><item type="text-multi" label="Item"><value><item id="item-6751ecd1-786f-48aa-8312-9aee6402170c"><test>item-6751ecd1-786f-48aa-8312-9aee6402170c</test></item></value></item></result> 2022-09-05 22:36:36 | [Mutex] notify: [retrieved:item:item-6751ecd1-786f-48aa-8312-9aee6402170c:payload-matches:true:localhost] 2022-09-05 22:36:36 | [Mutex] received everything. 2022-09-05 22:36:36 | [Mutex] isItemNotified: retrieved:item:item-6751ecd1-786f-48aa-8312-9aee6402170c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2022-09-05 22:36:36 |
2022-09-05 22:36:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-05 22:36:36 | ------------------------------------ 2022-09-05 22:36:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-09-05 22:36:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-5aff2d65-8bf8-4f02-b3fd-7a2d39be6406</value><value>test</value><value>node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-09-05 22:36:36 |
2022-09-05 22:36:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-05 22:36:36 | ------------------------------------ 2022-09-05 22:36:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f)</node-pattern></data> 2022-09-05 22:36:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.146s |
2022-09-05 22:36:34 |
2022-09-05 22:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-05 22:36:34 | ------------------------------------ 2022-09-05 22:36:34 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-05 22:36:34 | 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-09-05 22:36:36 |
2022-09-05 22:36:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-05 22:36:36 | ------------------------------------ 2022-09-05 22:36:36 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e3c3e0ed-c3f0-41af-9f8e-c4f1623adb0f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-05 22:36:36 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |