Test duration : 9.519s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.100s |
2022-11-14 21:33:23 |
2022-11-14 21:33:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 21:33:23 | ------------------------------------ 2022-11-14 21:33:23 | [Mutex] waiting for: [configured:node:node-2c97f8a7-8035-4344-bbec-73da4ffc191f:node-8233209b-c71f-4b2d-9941-c2638f0c1b3a] 2022-11-14 21:33:23 | [Mutex] received everything. 2022-11-14 21:33:23 | [Mutex] isItemNotified: configured:node:node-2c97f8a7-8035-4344-bbec-73da4ffc191f:node-8233209b-c71f-4b2d-9941-c2638f0c1b3a :: true 2022-11-14 21:33:24 | [Mutex] waiting for: [received:nodes:fa090190-fb29-45ce-8dc3-71753327c05b:localhost] 2022-11-14 21:33:24 | [Mutex] received everything. 2022-11-14 21:33:24 | [Mutex] isItemNotified: received:node:fa090190-fb29-45ce-8dc3-71753327c05b:localhost:node-2c97f8a7-8035-4344-bbec-73da4ffc191f:Node 2c97f8a7-8035-4344-bbec-73da4ffc191f :: true 2022-11-14 21:33:24 | [Mutex] waiting for: [received:nodes:dc6ccb05-629b-4c25-b34e-4978ee6a00d9:localhost] 2022-11-14 21:33:24 | [Mutex] received everything. 2022-11-14 21:33:24 | [Mutex] isItemNotified: received:node:dc6ccb05-629b-4c25-b34e-4978ee6a00d9:localhost:node-2c97f8a7-8035-4344-bbec-73da4ffc191f:Node 2c97f8a7-8035-4344-bbec-73da4ffc191f :: false |
createNodes | 1.468s |
2022-11-14 21:33:21 |
2022-11-14 21:33:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 21:33:21 | ------------------------------------ 2022-11-14 21:33:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2c97f8a7-8035-4344-bbec-73da4ffc191f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2c97f8a7-8035-4344-bbec-73da4ffc191f</title></pubsub></data> 2022-11-14 21:33:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-14 21:33:22 | [Mutex] waiting for: [received:nodes:0f0419a8-6619-4ea0-8e87-99b8cf7000ce:localhost] 2022-11-14 21:33:22 | [Mutex] received everything. 2022-11-14 21:33:22 | [Mutex] isItemNotified: received:node:0f0419a8-6619-4ea0-8e87-99b8cf7000ce:localhost:node-2c97f8a7-8035-4344-bbec-73da4ffc191f:Node 2c97f8a7-8035-4344-bbec-73da4ffc191f :: true |
createSubnodes | 1.024s |
2022-11-14 21:33:22 |
2022-11-14 21:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 21:33:22 | ------------------------------------ 2022-11-14 21:33:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8233209b-c71f-4b2d-9941-c2638f0c1b3a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8233209b-c71f-4b2d-9941-c2638f0c1b3a</title></pubsub></data> 2022-11-14 21:33:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-14 21:33:23 | [Mutex] waiting for: [received:nodes:cd95be54-8ff8-4dec-a99d-026f087b22de:localhost] 2022-11-14 21:33:23 | [Mutex] received everything. 2022-11-14 21:33:23 | [Mutex] isItemNotified: received:node:cd95be54-8ff8-4dec-a99d-026f087b22de:localhost:node-8233209b-c71f-4b2d-9941-c2638f0c1b3a:Node 8233209b-c71f-4b2d-9941-c2638f0c1b3a :: true |
deleteNodes | 1.025s |
2022-11-14 21:33:28 |
2022-11-14 21:33:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 21:33:28 | ------------------------------------ 2022-11-14 21:33:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8233209b-c71f-4b2d-9941-c2638f0c1b3a</node></data> 2022-11-14 21:33:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-14 21:33:29 | [Mutex] waiting for: [received:nodes:f2238445-d5e2-4d3a-a76b-10598446178b:localhost] 2022-11-14 21:33:29 | [Mutex] waiting for: [received:nodes:f2238445-d5e2-4d3a-a76b-10598446178b:localhost] 2022-11-14 21:33:29 | [Mutex] received everything. 2022-11-14 21:33:29 | [Mutex] isItemNotified: received:node:f2238445-d5e2-4d3a-a76b-10598446178b:localhost:node-8233209b-c71f-4b2d-9941-c2638f0c1b3a:Node 8233209b-c71f-4b2d-9941-c2638f0c1b3a :: false |
deleteSubnodes | 1.132s |
2022-11-14 21:33:27 |
2022-11-14 21:33:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 21:33:27 | ------------------------------------ 2022-11-14 21:33:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2c97f8a7-8035-4344-bbec-73da4ffc191f</node></data> 2022-11-14 21:33:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-14 21:33:28 | [Mutex] waiting for: [received:nodes:92c287a6-c8ae-48de-b92f-b9e64835e5ea:localhost] 2022-11-14 21:33:28 | [Mutex] received everything. 2022-11-14 21:33:28 | [Mutex] isItemNotified: received:node:92c287a6-c8ae-48de-b92f-b9e64835e5ea:localhost:node-2c97f8a7-8035-4344-bbec-73da4ffc191f:Node 2c97f8a7-8035-4344-bbec-73da4ffc191f :: false 2022-11-14 21:33:28 | [Mutex] waiting for: [received:nodes:d26be171-0320-4e15-8a63-600059d6985a:localhost] 2022-11-14 21:33:28 | [Mutex] received everything. 2022-11-14 21:33:28 | [Mutex] isItemNotified: received:node:d26be171-0320-4e15-8a63-600059d6985a:localhost:node-2c97f8a7-8035-4344-bbec-73da4ffc191f:Node 2c97f8a7-8035-4344-bbec-73da4ffc191f :: false |
publishItemsToNodes | 0.218s |
2022-11-14 21:33:25 |
2022-11-14 21:33:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 21:33:25 | ------------------------------------ 2022-11-14 21:33:25 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2c97f8a7-8035-4344-bbec-73da4ffc191f</node><item-id>item-a46e28bf-d5e6-49b4-afcd-9c2d92b16a79</item-id><entry><test>item-a46e28bf-d5e6-49b4-afcd-9c2d92b16a79</test></entry></data> 2022-11-14 21:33:25 | 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-a46e28bf-d5e6-49b4-afcd-9c2d92b16a79</value></item-id></result> 2022-11-14 21:33:25 | [Mutex] waiting for: [published:item:notifieditem-a46e28bf-d5e6-49b4-afcd-9c2d92b16a79:admin@test-domain.com] 2022-11-14 21:33:26 | [Mutex] received everything. 2022-11-14 21:33:26 | [Mutex] isItemNotified: published:item:notifieditem-a46e28bf-d5e6-49b4-afcd-9c2d92b16a79:admin@test-domain.com :: true |
retractItemsFromNodes | 0.207s |
2022-11-14 21:33:26 |
2022-11-14 21:33:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 21:33:26 | ------------------------------------ 2022-11-14 21:33:26 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2c97f8a7-8035-4344-bbec-73da4ffc191f</node><item-id>item-a46e28bf-d5e6-49b4-afcd-9c2d92b16a79</item-id></data> 2022-11-14 21:33:26 | 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-a46e28bf-d5e6-49b4-afcd-9c2d92b16a79</value></item-id></result> 2022-11-14 21:33:26 | [Mutex] received everything. 2022-11-14 21:33:26 | [Mutex] isItemNotified: retracted:item:notifieditem-a46e28bf-d5e6-49b4-afcd-9c2d92b16a79:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.230s |
2022-11-14 21:33:26 |
2022-11-14 21:33:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 21:33:26 | ------------------------------------ 2022-11-14 21:33:26 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2c97f8a7-8035-4344-bbec-73da4ffc191f</node><item-id>item-a46e28bf-d5e6-49b4-afcd-9c2d92b16a79</item-id></data> 2022-11-14 21:33:26 | 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-2c97f8a7-8035-4344-bbec-73da4ffc191f</value></node><item-id type="text-single" label="Item ID"><value>item-a46e28bf-d5e6-49b4-afcd-9c2d92b16a79</value></item-id><item type="text-multi" label="Item"><value><item id="item-a46e28bf-d5e6-49b4-afcd-9c2d92b16a79"><test>item-a46e28bf-d5e6-49b4-afcd-9c2d92b16a79</test></item></value></item></result> 2022-11-14 21:33:26 | [Mutex] notify: [retrieved:item:item-a46e28bf-d5e6-49b4-afcd-9c2d92b16a79:payload-matches:true:localhost] 2022-11-14 21:33:26 | [Mutex] received everything. 2022-11-14 21:33:26 | [Mutex] isItemNotified: retrieved:item:item-a46e28bf-d5e6-49b4-afcd-9c2d92b16a79:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-11-14 21:33:26 |
2022-11-14 21:33:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 21:33:26 | ------------------------------------ 2022-11-14 21:33:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-11-14 21:33:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-8233209b-c71f-4b2d-9941-c2638f0c1b3a</value><value>test</value><value>node-2c97f8a7-8035-4344-bbec-73da4ffc191f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-11-14 21:33:26 |
2022-11-14 21:33:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 21:33:26 | ------------------------------------ 2022-11-14 21:33:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2c97f8a7-8035-4344-bbec-73da4ffc191f)</node-pattern></data> 2022-11-14 21:33:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.122s |
2022-11-14 21:33:24 |
2022-11-14 21:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 21:33:24 | ------------------------------------ 2022-11-14 21:33:24 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2c97f8a7-8035-4344-bbec-73da4ffc191f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-14 21:33:24 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.223s |
2022-11-14 21:33:26 |
2022-11-14 21:33:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 21:33:26 | ------------------------------------ 2022-11-14 21:33:26 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2c97f8a7-8035-4344-bbec-73da4ffc191f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-14 21:33:26 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |