Test duration : 10.192s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.124s |
2021-04-28 22:30:31 |
2021-04-28 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:30:31 | ------------------------------------ 2021-04-28 22:30:31 | [Mutex] waiting for: [configured:node:node-99cfd5ba-2756-41eb-af91-e374aec40216:node-77e2aa4b-8fc9-4a92-ad40-ea4b455f9f55] 2021-04-28 22:30:31 | [Mutex] received everything. 2021-04-28 22:30:31 | [Mutex] isItemNotified: configured:node:node-99cfd5ba-2756-41eb-af91-e374aec40216:node-77e2aa4b-8fc9-4a92-ad40-ea4b455f9f55 :: true 2021-04-28 22:30:32 | [Mutex] waiting for: [received:nodes:f8e62541-293f-4f2d-bf82-553ca558ac18:localhost] 2021-04-28 22:30:32 | [Mutex] received everything. 2021-04-28 22:30:32 | [Mutex] isItemNotified: received:node:f8e62541-293f-4f2d-bf82-553ca558ac18:localhost:node-99cfd5ba-2756-41eb-af91-e374aec40216:Node 99cfd5ba-2756-41eb-af91-e374aec40216 :: true 2021-04-28 22:30:32 | [Mutex] waiting for: [received:nodes:b0694b1c-0b9d-4f08-966e-b73ed04f9883:localhost] 2021-04-28 22:30:32 | [Mutex] received everything. 2021-04-28 22:30:32 | [Mutex] isItemNotified: received:node:b0694b1c-0b9d-4f08-966e-b73ed04f9883:localhost:node-99cfd5ba-2756-41eb-af91-e374aec40216:Node 99cfd5ba-2756-41eb-af91-e374aec40216 :: false |
createNodes | 1.453s |
2021-04-28 22:30:29 |
2021-04-28 22:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:30:29 | ------------------------------------ 2021-04-28 22:30:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-99cfd5ba-2756-41eb-af91-e374aec40216</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 99cfd5ba-2756-41eb-af91-e374aec40216</title></pubsub></data> 2021-04-28 22:30:29 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-28 22:30:30 | [Mutex] waiting for: [received:nodes:1622477a-b446-4cf0-b23b-63e53547d3a0:localhost] 2021-04-28 22:30:30 | [Mutex] received everything. 2021-04-28 22:30:30 | [Mutex] isItemNotified: received:node:1622477a-b446-4cf0-b23b-63e53547d3a0:localhost:node-99cfd5ba-2756-41eb-af91-e374aec40216:Node 99cfd5ba-2756-41eb-af91-e374aec40216 :: true |
createSubnodes | 1.025s |
2021-04-28 22:30:30 |
2021-04-28 22:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:30:30 | ------------------------------------ 2021-04-28 22:30:30 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-77e2aa4b-8fc9-4a92-ad40-ea4b455f9f55</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 77e2aa4b-8fc9-4a92-ad40-ea4b455f9f55</title></pubsub></data> 2021-04-28 22:30:30 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-28 22:30:31 | [Mutex] waiting for: [received:nodes:8d918904-96e7-41da-89e9-ba63d73a5b31:localhost] 2021-04-28 22:30:31 | [Mutex] received everything. 2021-04-28 22:30:31 | [Mutex] isItemNotified: received:node:8d918904-96e7-41da-89e9-ba63d73a5b31:localhost:node-77e2aa4b-8fc9-4a92-ad40-ea4b455f9f55:Node 77e2aa4b-8fc9-4a92-ad40-ea4b455f9f55 :: true |
deleteNodes | 1.020s |
2021-04-28 22:30:37 |
2021-04-28 22:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:30:37 | ------------------------------------ 2021-04-28 22:30:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-77e2aa4b-8fc9-4a92-ad40-ea4b455f9f55</node></data> 2021-04-28 22:30:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-28 22:30:38 | [Mutex] waiting for: [received:nodes:735327b9-b18f-4309-bcff-5b7faf30dcb4:localhost] 2021-04-28 22:30:38 | [Mutex] received everything. 2021-04-28 22:30:38 | [Mutex] isItemNotified: received:node:735327b9-b18f-4309-bcff-5b7faf30dcb4:localhost:node-77e2aa4b-8fc9-4a92-ad40-ea4b455f9f55:Node 77e2aa4b-8fc9-4a92-ad40-ea4b455f9f55 :: false |
deleteSubnodes | 1.138s |
2021-04-28 22:30:36 |
2021-04-28 22:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:30:36 | ------------------------------------ 2021-04-28 22:30:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-99cfd5ba-2756-41eb-af91-e374aec40216</node></data> 2021-04-28 22:30:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-28 22:30:37 | [Mutex] waiting for: [received:nodes:b9332dea-7a85-4cb6-8cbf-da98c1a76230:localhost] 2021-04-28 22:30:37 | [Mutex] received everything. 2021-04-28 22:30:37 | [Mutex] isItemNotified: received:node:b9332dea-7a85-4cb6-8cbf-da98c1a76230:localhost:node-99cfd5ba-2756-41eb-af91-e374aec40216:Node 99cfd5ba-2756-41eb-af91-e374aec40216 :: false 2021-04-28 22:30:37 | [Mutex] waiting for: [received:nodes:eb0c09bf-fe3b-42bf-b101-168d61e5a607:localhost] 2021-04-28 22:30:37 | [Mutex] received everything. 2021-04-28 22:30:37 | [Mutex] isItemNotified: received:node:eb0c09bf-fe3b-42bf-b101-168d61e5a607:localhost:node-99cfd5ba-2756-41eb-af91-e374aec40216:Node 99cfd5ba-2756-41eb-af91-e374aec40216 :: false |
publishItemsToNodes | 0.221s |
2021-04-28 22:30:34 |
2021-04-28 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:30:34 | ------------------------------------ 2021-04-28 22:30:34 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-99cfd5ba-2756-41eb-af91-e374aec40216</node><item-id>item-5a205922-75bd-41ac-818c-450df3d5645b</item-id><entry><test>item-5a205922-75bd-41ac-818c-450df3d5645b</test></entry></data> 2021-04-28 22:30:34 | 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-5a205922-75bd-41ac-818c-450df3d5645b</value></item-id></result> 2021-04-28 22:30:34 | [Mutex] waiting for: [published:item:notifieditem-5a205922-75bd-41ac-818c-450df3d5645b:admin@test-domain.com] 2021-04-28 22:30:34 | [Mutex] received everything. 2021-04-28 22:30:34 | [Mutex] isItemNotified: published:item:notifieditem-5a205922-75bd-41ac-818c-450df3d5645b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.295s |
2021-04-28 22:30:34 |
2021-04-28 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:30:34 | ------------------------------------ 2021-04-28 22:30:34 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-99cfd5ba-2756-41eb-af91-e374aec40216</node><item-id>item-5a205922-75bd-41ac-818c-450df3d5645b</item-id></data> 2021-04-28 22:30:35 | 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-5a205922-75bd-41ac-818c-450df3d5645b</value></item-id></result> 2021-04-28 22:30:35 | [Mutex] received everything. 2021-04-28 22:30:35 | [Mutex] isItemNotified: retracted:item:notifieditem-5a205922-75bd-41ac-818c-450df3d5645b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.380s |
2021-04-28 22:30:34 |
2021-04-28 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:30:34 | ------------------------------------ 2021-04-28 22:30:34 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-99cfd5ba-2756-41eb-af91-e374aec40216</node><item-id>item-5a205922-75bd-41ac-818c-450df3d5645b</item-id></data> 2021-04-28 22:30:34 | 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-99cfd5ba-2756-41eb-af91-e374aec40216</value></node><item-id label="Item ID" type="text-single"><value>item-5a205922-75bd-41ac-818c-450df3d5645b</value></item-id><item label="Item" type="text-multi"><value><item id="item-5a205922-75bd-41ac-818c-450df3d5645b"><test>item-5a205922-75bd-41ac-818c-450df3d5645b</test></item></value></item></result> 2021-04-28 22:30:34 | [Mutex] notify: [retrieved:item:item-5a205922-75bd-41ac-818c-450df3d5645b:payload-matches:true:localhost] 2021-04-28 22:30:34 | [Mutex] received everything. 2021-04-28 22:30:34 | [Mutex] isItemNotified: retrieved:item:item-5a205922-75bd-41ac-818c-450df3d5645b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2021-04-28 22:30:34 |
2021-04-28 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:30:34 | ------------------------------------ 2021-04-28 22:30:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-04-28 22:30:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-77e2aa4b-8fc9-4a92-ad40-ea4b455f9f55</value><value>node-99cfd5ba-2756-41eb-af91-e374aec40216</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-04-28 22:30:34 |
2021-04-28 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:30:34 | ------------------------------------ 2021-04-28 22:30:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-99cfd5ba-2756-41eb-af91-e374aec40216)</node-pattern></data> 2021-04-28 22:30:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.161s |
2021-04-28 22:30:32 |
2021-04-28 22:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:30:32 | ------------------------------------ 2021-04-28 22:30:32 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-99cfd5ba-2756-41eb-af91-e374aec40216</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-28 22:30:33 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.299s |
2021-04-28 22:30:35 |
2021-04-28 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:30:35 | ------------------------------------ 2021-04-28 22:30:35 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-99cfd5ba-2756-41eb-af91-e374aec40216</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-28 22:30:35 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |