Test duration : 10.352s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2021-10-27 08:27:55 |
2021-10-27 08:27:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:55 | ------------------------------------ 2021-10-27 08:27:55 | [Mutex] waiting for: [configured:node:node-91d498ce-01a2-4390-b5ea-40eb6689655d:node-16f6b9fa-12c8-434a-8626-789a9f810479] 2021-10-27 08:27:55 | [Mutex] received everything. 2021-10-27 08:27:55 | [Mutex] isItemNotified: configured:node:node-91d498ce-01a2-4390-b5ea-40eb6689655d:node-16f6b9fa-12c8-434a-8626-789a9f810479 :: true 2021-10-27 08:27:56 | [Mutex] waiting for: [received:nodes:1971c169-48eb-4f0c-b63d-808acab1a368:localhost] 2021-10-27 08:27:56 | [Mutex] received everything. 2021-10-27 08:27:56 | [Mutex] isItemNotified: received:node:1971c169-48eb-4f0c-b63d-808acab1a368:localhost:node-91d498ce-01a2-4390-b5ea-40eb6689655d:Node 91d498ce-01a2-4390-b5ea-40eb6689655d :: true 2021-10-27 08:27:56 | [Mutex] waiting for: [received:nodes:4fd0f3ce-67da-4819-bbc6-5b7456c791f7:localhost] 2021-10-27 08:27:56 | [Mutex] received everything. 2021-10-27 08:27:56 | [Mutex] isItemNotified: received:node:4fd0f3ce-67da-4819-bbc6-5b7456c791f7:localhost:node-91d498ce-01a2-4390-b5ea-40eb6689655d:Node 91d498ce-01a2-4390-b5ea-40eb6689655d :: false |
createNodes | 1.488s |
2021-10-27 08:27:52 |
2021-10-27 08:27:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:52 | ------------------------------------ 2021-10-27 08:27:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-91d498ce-01a2-4390-b5ea-40eb6689655d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 91d498ce-01a2-4390-b5ea-40eb6689655d</title></pubsub></data> 2021-10-27 08:27:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-27 08:27:54 | [Mutex] waiting for: [received:nodes:dcf719f6-a60f-4f50-8423-35a1f7a2dcae:localhost] 2021-10-27 08:27:54 | [Mutex] received everything. 2021-10-27 08:27:54 | [Mutex] isItemNotified: received:node:dcf719f6-a60f-4f50-8423-35a1f7a2dcae:localhost:node-91d498ce-01a2-4390-b5ea-40eb6689655d:Node 91d498ce-01a2-4390-b5ea-40eb6689655d :: true |
createSubnodes | 1.035s |
2021-10-27 08:27:54 |
2021-10-27 08:27:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:54 | ------------------------------------ 2021-10-27 08:27:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-16f6b9fa-12c8-434a-8626-789a9f810479</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 16f6b9fa-12c8-434a-8626-789a9f810479</title></pubsub></data> 2021-10-27 08:27:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-27 08:27:55 | [Mutex] waiting for: [received:nodes:d71346a2-ae2a-4fd4-85ef-d9d59eb5fae0:localhost] 2021-10-27 08:27:55 | [Mutex] received everything. 2021-10-27 08:27:55 | [Mutex] isItemNotified: received:node:d71346a2-ae2a-4fd4-85ef-d9d59eb5fae0:localhost:node-16f6b9fa-12c8-434a-8626-789a9f810479:Node 16f6b9fa-12c8-434a-8626-789a9f810479 :: true |
deleteNodes | 1.027s |
2021-10-27 08:28:01 |
2021-10-27 08:28:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:28:01 | ------------------------------------ 2021-10-27 08:28:01 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-16f6b9fa-12c8-434a-8626-789a9f810479</node></data> 2021-10-27 08:28:01 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-27 08:28:02 | [Mutex] waiting for: [received:nodes:8d312957-bb6a-4579-bb55-c0a375823b70:localhost] 2021-10-27 08:28:02 | [Mutex] waiting for: [received:nodes:8d312957-bb6a-4579-bb55-c0a375823b70:localhost] 2021-10-27 08:28:02 | [Mutex] received everything. 2021-10-27 08:28:02 | [Mutex] isItemNotified: received:node:8d312957-bb6a-4579-bb55-c0a375823b70:localhost:node-16f6b9fa-12c8-434a-8626-789a9f810479:Node 16f6b9fa-12c8-434a-8626-789a9f810479 :: false |
deleteSubnodes | 1.151s |
2021-10-27 08:27:59 |
2021-10-27 08:27:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:59 | ------------------------------------ 2021-10-27 08:27:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-91d498ce-01a2-4390-b5ea-40eb6689655d</node></data> 2021-10-27 08:28:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-27 08:28:01 | [Mutex] waiting for: [received:nodes:bfd3d6a8-8f39-43a5-aa5e-abaa60347679:localhost] 2021-10-27 08:28:01 | [Mutex] waiting for: [received:nodes:bfd3d6a8-8f39-43a5-aa5e-abaa60347679:localhost] 2021-10-27 08:28:01 | [Mutex] received everything. 2021-10-27 08:28:01 | [Mutex] isItemNotified: received:node:bfd3d6a8-8f39-43a5-aa5e-abaa60347679:localhost:node-91d498ce-01a2-4390-b5ea-40eb6689655d:Node 91d498ce-01a2-4390-b5ea-40eb6689655d :: false 2021-10-27 08:28:01 | [Mutex] waiting for: [received:nodes:cf435e47-471a-4dbe-a776-8cc9f5531e22:localhost] 2021-10-27 08:28:01 | [Mutex] received everything. 2021-10-27 08:28:01 | [Mutex] isItemNotified: received:node:cf435e47-471a-4dbe-a776-8cc9f5531e22:localhost:node-91d498ce-01a2-4390-b5ea-40eb6689655d:Node 91d498ce-01a2-4390-b5ea-40eb6689655d :: false |
publishItemsToNodes | 0.309s |
2021-10-27 08:27:57 |
2021-10-27 08:27:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:57 | ------------------------------------ 2021-10-27 08:27:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-91d498ce-01a2-4390-b5ea-40eb6689655d</node><item-id>item-fd1510ee-cad6-4533-9ae6-0c89f9dced0e</item-id><entry><test>item-fd1510ee-cad6-4533-9ae6-0c89f9dced0e</test></entry></data> 2021-10-27 08:27:57 | 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-fd1510ee-cad6-4533-9ae6-0c89f9dced0e</value></item-id></result> 2021-10-27 08:27:57 | [Mutex] received everything. 2021-10-27 08:27:57 | [Mutex] isItemNotified: published:item:notifieditem-fd1510ee-cad6-4533-9ae6-0c89f9dced0e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.269s |
2021-10-27 08:27:58 |
2021-10-27 08:27:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:58 | ------------------------------------ 2021-10-27 08:27:58 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-91d498ce-01a2-4390-b5ea-40eb6689655d</node><item-id>item-fd1510ee-cad6-4533-9ae6-0c89f9dced0e</item-id></data> 2021-10-27 08:27:58 | 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-fd1510ee-cad6-4533-9ae6-0c89f9dced0e</value></item-id></result> 2021-10-27 08:27:58 | [Mutex] waiting for: [retracted:item:notifieditem-fd1510ee-cad6-4533-9ae6-0c89f9dced0e:admin@test-domain.com] 2021-10-27 08:27:58 | [Mutex] received everything. 2021-10-27 08:27:58 | [Mutex] isItemNotified: retracted:item:notifieditem-fd1510ee-cad6-4533-9ae6-0c89f9dced0e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.422s |
2021-10-27 08:27:57 |
2021-10-27 08:27:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:57 | ------------------------------------ 2021-10-27 08:27:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-91d498ce-01a2-4390-b5ea-40eb6689655d</node><item-id>item-fd1510ee-cad6-4533-9ae6-0c89f9dced0e</item-id></data> 2021-10-27 08:27:58 | 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-91d498ce-01a2-4390-b5ea-40eb6689655d</value></node><item-id type="text-single" label="Item ID"><value>item-fd1510ee-cad6-4533-9ae6-0c89f9dced0e</value></item-id><item type="text-multi" label="Item"><value><item id="item-fd1510ee-cad6-4533-9ae6-0c89f9dced0e"><test>item-fd1510ee-cad6-4533-9ae6-0c89f9dced0e</test></item></value></item></result> 2021-10-27 08:27:58 | [Mutex] notify: [retrieved:item:item-fd1510ee-cad6-4533-9ae6-0c89f9dced0e:payload-matches:true:localhost] 2021-10-27 08:27:58 | [Mutex] received everything. 2021-10-27 08:27:58 | [Mutex] isItemNotified: retrieved:item:item-fd1510ee-cad6-4533-9ae6-0c89f9dced0e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.057s |
2021-10-27 08:27:58 |
2021-10-27 08:27:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:58 | ------------------------------------ 2021-10-27 08:27:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-10-27 08:27:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-91d498ce-01a2-4390-b5ea-40eb6689655d</value><value>test</value><value>node-16f6b9fa-12c8-434a-8626-789a9f810479</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.061s |
2021-10-27 08:27:58 |
2021-10-27 08:27:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:58 | ------------------------------------ 2021-10-27 08:27:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-91d498ce-01a2-4390-b5ea-40eb6689655d)</node-pattern></data> 2021-10-27 08:27:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.191s |
2021-10-27 08:27:56 |
2021-10-27 08:27:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:56 | ------------------------------------ 2021-10-27 08:27:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-91d498ce-01a2-4390-b5ea-40eb6689655d</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-27 08:27:56 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.293s |
2021-10-27 08:27:58 |
2021-10-27 08:27:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-27 08:27:58 | ------------------------------------ 2021-10-27 08:27:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-91d498ce-01a2-4390-b5ea-40eb6689655d</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-27 08:27:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |