Test duration : 9.451s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2023-07-10 13:34:41 |
2023-07-10 13:34:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:34:41 | ------------------------------------ 2023-07-10 13:34:41 | [Mutex] waiting for: [configured:node:node-787d8434-6bb3-4e78-bfc0-94cf710005d7:node-e18c5f5e-8215-47df-ab9a-0405e17c9460] 2023-07-10 13:34:41 | [Mutex] received everything. 2023-07-10 13:34:41 | [Mutex] isItemNotified: configured:node:node-787d8434-6bb3-4e78-bfc0-94cf710005d7:node-e18c5f5e-8215-47df-ab9a-0405e17c9460 :: true 2023-07-10 13:34:42 | [Mutex] waiting for: [received:nodes:c255e823-9bf1-4c2f-ba49-08c16e3ded08:localhost] 2023-07-10 13:34:42 | [Mutex] received everything. 2023-07-10 13:34:42 | [Mutex] isItemNotified: received:node:c255e823-9bf1-4c2f-ba49-08c16e3ded08:localhost:node-787d8434-6bb3-4e78-bfc0-94cf710005d7:Node 787d8434-6bb3-4e78-bfc0-94cf710005d7 :: true 2023-07-10 13:34:42 | [Mutex] waiting for: [received:nodes:dd92b7cb-f8fa-4666-89e5-4037105b7b0d:localhost] 2023-07-10 13:34:42 | [Mutex] waiting for: [received:nodes:dd92b7cb-f8fa-4666-89e5-4037105b7b0d:localhost] 2023-07-10 13:34:42 | [Mutex] waiting for: [received:nodes:dd92b7cb-f8fa-4666-89e5-4037105b7b0d:localhost] 2023-07-10 13:34:42 | [Mutex] waiting for: [received:nodes:dd92b7cb-f8fa-4666-89e5-4037105b7b0d:localhost] 2023-07-10 13:34:42 | [Mutex] received everything. 2023-07-10 13:34:42 | [Mutex] isItemNotified: received:node:dd92b7cb-f8fa-4666-89e5-4037105b7b0d:localhost:node-787d8434-6bb3-4e78-bfc0-94cf710005d7:Node 787d8434-6bb3-4e78-bfc0-94cf710005d7 :: false |
createNodes | 1.327s |
2023-07-10 13:34:39 |
2023-07-10 13:34:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:34:39 | ------------------------------------ 2023-07-10 13:34:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-787d8434-6bb3-4e78-bfc0-94cf710005d7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 787d8434-6bb3-4e78-bfc0-94cf710005d7</title></pubsub></data> 2023-07-10 13:34:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-10 13:34:40 | [Mutex] waiting for: [received:nodes:2733b242-7fa0-47e8-9524-f5213dd87bf3:localhost] 2023-07-10 13:34:40 | [Mutex] waiting for: [received:nodes:2733b242-7fa0-47e8-9524-f5213dd87bf3:localhost] 2023-07-10 13:34:40 | [Mutex] waiting for: [received:nodes:2733b242-7fa0-47e8-9524-f5213dd87bf3:localhost] 2023-07-10 13:34:40 | [Mutex] waiting for: [received:nodes:2733b242-7fa0-47e8-9524-f5213dd87bf3:localhost] 2023-07-10 13:34:40 | [Mutex] received everything. 2023-07-10 13:34:40 | [Mutex] isItemNotified: received:node:2733b242-7fa0-47e8-9524-f5213dd87bf3:localhost:node-787d8434-6bb3-4e78-bfc0-94cf710005d7:Node 787d8434-6bb3-4e78-bfc0-94cf710005d7 :: true |
createSubnodes | 1.020s |
2023-07-10 13:34:40 |
2023-07-10 13:34:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:34:40 | ------------------------------------ 2023-07-10 13:34:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e18c5f5e-8215-47df-ab9a-0405e17c9460</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e18c5f5e-8215-47df-ab9a-0405e17c9460</title></pubsub></data> 2023-07-10 13:34:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-10 13:34:41 | [Mutex] waiting for: [received:nodes:a03d4cf8-af8c-49fa-9a15-443d2b485b8a:localhost] 2023-07-10 13:34:41 | [Mutex] waiting for: [received:nodes:a03d4cf8-af8c-49fa-9a15-443d2b485b8a:localhost] 2023-07-10 13:34:41 | [Mutex] waiting for: [received:nodes:a03d4cf8-af8c-49fa-9a15-443d2b485b8a:localhost] 2023-07-10 13:34:41 | [Mutex] waiting for: [received:nodes:a03d4cf8-af8c-49fa-9a15-443d2b485b8a:localhost] 2023-07-10 13:34:41 | [Mutex] received everything. 2023-07-10 13:34:41 | [Mutex] isItemNotified: received:node:a03d4cf8-af8c-49fa-9a15-443d2b485b8a:localhost:node-e18c5f5e-8215-47df-ab9a-0405e17c9460:Node e18c5f5e-8215-47df-ab9a-0405e17c9460 :: true |
deleteNodes | 1.019s |
2023-07-10 13:34:47 |
2023-07-10 13:34:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:34:47 | ------------------------------------ 2023-07-10 13:34:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e18c5f5e-8215-47df-ab9a-0405e17c9460</node></data> 2023-07-10 13:34:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-10 13:34:48 | [Mutex] waiting for: [received:nodes:d00d40be-59a2-4848-86f8-533c8349943e:localhost] 2023-07-10 13:34:48 | [Mutex] waiting for: [received:nodes:d00d40be-59a2-4848-86f8-533c8349943e:localhost] 2023-07-10 13:34:48 | [Mutex] waiting for: [received:nodes:d00d40be-59a2-4848-86f8-533c8349943e:localhost] 2023-07-10 13:34:48 | [Mutex] received everything. 2023-07-10 13:34:48 | [Mutex] isItemNotified: received:node:d00d40be-59a2-4848-86f8-533c8349943e:localhost:node-e18c5f5e-8215-47df-ab9a-0405e17c9460:Node e18c5f5e-8215-47df-ab9a-0405e17c9460 :: false |
deleteSubnodes | 1.151s |
2023-07-10 13:34:46 |
2023-07-10 13:34:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:34:46 | ------------------------------------ 2023-07-10 13:34:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-787d8434-6bb3-4e78-bfc0-94cf710005d7</node></data> 2023-07-10 13:34:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-10 13:34:47 | [Mutex] waiting for: [received:nodes:2d3d52cd-9969-4ab6-af9c-d0dd960aaa4a:localhost] 2023-07-10 13:34:47 | [Mutex] waiting for: [received:nodes:2d3d52cd-9969-4ab6-af9c-d0dd960aaa4a:localhost] 2023-07-10 13:34:47 | [Mutex] waiting for: [received:nodes:2d3d52cd-9969-4ab6-af9c-d0dd960aaa4a:localhost] 2023-07-10 13:34:47 | [Mutex] waiting for: [received:nodes:2d3d52cd-9969-4ab6-af9c-d0dd960aaa4a:localhost] 2023-07-10 13:34:47 | [Mutex] received everything. 2023-07-10 13:34:47 | [Mutex] isItemNotified: received:node:2d3d52cd-9969-4ab6-af9c-d0dd960aaa4a:localhost:node-787d8434-6bb3-4e78-bfc0-94cf710005d7:Node 787d8434-6bb3-4e78-bfc0-94cf710005d7 :: false 2023-07-10 13:34:47 | [Mutex] waiting for: [received:nodes:91a5bfae-638c-4dd2-915c-b741f7893bc2:localhost] 2023-07-10 13:34:47 | [Mutex] received everything. 2023-07-10 13:34:47 | [Mutex] isItemNotified: received:node:91a5bfae-638c-4dd2-915c-b741f7893bc2:localhost:node-787d8434-6bb3-4e78-bfc0-94cf710005d7:Node 787d8434-6bb3-4e78-bfc0-94cf710005d7 :: false |
publishItemsToNodes | 0.223s |
2023-07-10 13:34:44 |
2023-07-10 13:34:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:34:44 | ------------------------------------ 2023-07-10 13:34:44 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-787d8434-6bb3-4e78-bfc0-94cf710005d7</node><item-id>item-19df5423-04c0-4093-b704-2d5051c01686</item-id><entry><test>item-19df5423-04c0-4093-b704-2d5051c01686</test></entry></data> 2023-07-10 13:34:44 | 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-19df5423-04c0-4093-b704-2d5051c01686</value></item-id></result> 2023-07-10 13:34:44 | [Mutex] waiting for: [published:item:notifieditem-19df5423-04c0-4093-b704-2d5051c01686:admin@test-domain.com] 2023-07-10 13:34:44 | [Mutex] received everything. 2023-07-10 13:34:44 | [Mutex] isItemNotified: published:item:notifieditem-19df5423-04c0-4093-b704-2d5051c01686:admin@test-domain.com :: true |
retractItemsFromNodes | 0.275s |
2023-07-10 13:34:44 |
2023-07-10 13:34:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:34:44 | ------------------------------------ 2023-07-10 13:34:44 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-787d8434-6bb3-4e78-bfc0-94cf710005d7</node><item-id>item-19df5423-04c0-4093-b704-2d5051c01686</item-id></data> 2023-07-10 13:34:44 | 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-19df5423-04c0-4093-b704-2d5051c01686</value></item-id></result> 2023-07-10 13:34:44 | [Mutex] received everything. 2023-07-10 13:34:44 | [Mutex] isItemNotified: retracted:item:notifieditem-19df5423-04c0-4093-b704-2d5051c01686:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.199s |
2023-07-10 13:34:44 |
2023-07-10 13:34:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:34:44 | ------------------------------------ 2023-07-10 13:34:44 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-787d8434-6bb3-4e78-bfc0-94cf710005d7</node><item-id>item-19df5423-04c0-4093-b704-2d5051c01686</item-id></data> 2023-07-10 13:34:44 | 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-787d8434-6bb3-4e78-bfc0-94cf710005d7</value></node><item-id type="text-single" label="Item ID"><value>item-19df5423-04c0-4093-b704-2d5051c01686</value></item-id><item type="text-multi" label="Item"><value><item id="item-19df5423-04c0-4093-b704-2d5051c01686"><test>item-19df5423-04c0-4093-b704-2d5051c01686</test></item></value></item></result> 2023-07-10 13:34:44 | [Mutex] notify: [retrieved:item:item-19df5423-04c0-4093-b704-2d5051c01686:payload-matches:true:localhost] 2023-07-10 13:34:44 | [Mutex] received everything. 2023-07-10 13:34:44 | [Mutex] isItemNotified: retrieved:item:item-19df5423-04c0-4093-b704-2d5051c01686:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-07-10 13:34:44 |
2023-07-10 13:34:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:34:44 | ------------------------------------ 2023-07-10 13:34:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-07-10 13:34:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-e18c5f5e-8215-47df-ab9a-0405e17c9460</value><value>test</value><value>node-787d8434-6bb3-4e78-bfc0-94cf710005d7</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-07-10 13:34:44 |
2023-07-10 13:34:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:34:44 | ------------------------------------ 2023-07-10 13:34:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-787d8434-6bb3-4e78-bfc0-94cf710005d7)</node-pattern></data> 2023-07-10 13:34:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.115s |
2023-07-10 13:34:42 |
2023-07-10 13:34:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:34:42 | ------------------------------------ 2023-07-10 13:34:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-787d8434-6bb3-4e78-bfc0-94cf710005d7</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-10 13:34:43 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.235s |
2023-07-10 13:34:44 |
2023-07-10 13:34:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:34:44 | ------------------------------------ 2023-07-10 13:34:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-787d8434-6bb3-4e78-bfc0-94cf710005d7</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-10 13:34:45 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |