Test duration : 9.538s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2022-07-15 23:04:22 |
2022-07-15 23:04:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-15 23:04:22 | ------------------------------------ 2022-07-15 23:04:22 | [Mutex] waiting for: [configured:node:node-0d51d547-a421-4726-88c4-9cd2e0858227:node-5f3094f1-d665-473d-be5c-3afa0bf0c6f9] 2022-07-15 23:04:22 | [Mutex] received everything. 2022-07-15 23:04:22 | [Mutex] isItemNotified: configured:node:node-0d51d547-a421-4726-88c4-9cd2e0858227:node-5f3094f1-d665-473d-be5c-3afa0bf0c6f9 :: true 2022-07-15 23:04:23 | [Mutex] waiting for: [received:nodes:ecbca879-c6f7-4930-97ba-b3b2fd0fd9a1:localhost] 2022-07-15 23:04:23 | [Mutex] received everything. 2022-07-15 23:04:23 | [Mutex] isItemNotified: received:node:ecbca879-c6f7-4930-97ba-b3b2fd0fd9a1:localhost:node-0d51d547-a421-4726-88c4-9cd2e0858227:Node 0d51d547-a421-4726-88c4-9cd2e0858227 :: true 2022-07-15 23:04:23 | [Mutex] waiting for: [received:nodes:55283019-18c1-4280-a27c-024713d71504:localhost] 2022-07-15 23:04:23 | [Mutex] received everything. 2022-07-15 23:04:23 | [Mutex] isItemNotified: received:node:55283019-18c1-4280-a27c-024713d71504:localhost:node-0d51d547-a421-4726-88c4-9cd2e0858227:Node 0d51d547-a421-4726-88c4-9cd2e0858227 :: false |
createNodes | 1.423s |
2022-07-15 23:04:19 |
2022-07-15 23:04:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-15 23:04:19 | ------------------------------------ 2022-07-15 23:04:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0d51d547-a421-4726-88c4-9cd2e0858227</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0d51d547-a421-4726-88c4-9cd2e0858227</title></pubsub></data> 2022-07-15 23:04:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-15 23:04:21 | [Mutex] waiting for: [received:nodes:94aab3f6-7d96-48ed-9228-c29747d4f748:localhost] 2022-07-15 23:04:21 | [Mutex] waiting for: [received:nodes:94aab3f6-7d96-48ed-9228-c29747d4f748:localhost] 2022-07-15 23:04:21 | [Mutex] waiting for: [received:nodes:94aab3f6-7d96-48ed-9228-c29747d4f748:localhost] 2022-07-15 23:04:21 | [Mutex] waiting for: [received:nodes:94aab3f6-7d96-48ed-9228-c29747d4f748:localhost] 2022-07-15 23:04:21 | [Mutex] received everything. 2022-07-15 23:04:21 | [Mutex] isItemNotified: received:node:94aab3f6-7d96-48ed-9228-c29747d4f748:localhost:node-0d51d547-a421-4726-88c4-9cd2e0858227:Node 0d51d547-a421-4726-88c4-9cd2e0858227 :: true |
createSubnodes | 1.026s |
2022-07-15 23:04:21 |
2022-07-15 23:04:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-15 23:04:21 | ------------------------------------ 2022-07-15 23:04:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5f3094f1-d665-473d-be5c-3afa0bf0c6f9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5f3094f1-d665-473d-be5c-3afa0bf0c6f9</title></pubsub></data> 2022-07-15 23:04:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-15 23:04:22 | [Mutex] waiting for: [received:nodes:bd3a1a4b-8689-447d-bc59-817cf56ac03e:localhost] 2022-07-15 23:04:22 | [Mutex] received everything. 2022-07-15 23:04:22 | [Mutex] isItemNotified: received:node:bd3a1a4b-8689-447d-bc59-817cf56ac03e:localhost:node-5f3094f1-d665-473d-be5c-3afa0bf0c6f9:Node 5f3094f1-d665-473d-be5c-3afa0bf0c6f9 :: true |
deleteNodes | 1.019s |
2022-07-15 23:04:27 |
2022-07-15 23:04:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-15 23:04:27 | ------------------------------------ 2022-07-15 23:04:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5f3094f1-d665-473d-be5c-3afa0bf0c6f9</node></data> 2022-07-15 23:04:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-15 23:04:28 | [Mutex] waiting for: [received:nodes:689b88d0-b8cd-4bad-9538-529780f43525:localhost] 2022-07-15 23:04:28 | [Mutex] received everything. 2022-07-15 23:04:28 | [Mutex] isItemNotified: received:node:689b88d0-b8cd-4bad-9538-529780f43525:localhost:node-5f3094f1-d665-473d-be5c-3afa0bf0c6f9:Node 5f3094f1-d665-473d-be5c-3afa0bf0c6f9 :: false |
deleteSubnodes | 1.113s |
2022-07-15 23:04:26 |
2022-07-15 23:04:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-15 23:04:26 | ------------------------------------ 2022-07-15 23:04:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0d51d547-a421-4726-88c4-9cd2e0858227</node></data> 2022-07-15 23:04:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-15 23:04:27 | [Mutex] waiting for: [received:nodes:3011e759-dfd8-4c1b-acce-8398a74958b8:localhost] 2022-07-15 23:04:27 | [Mutex] waiting for: [received:nodes:3011e759-dfd8-4c1b-acce-8398a74958b8:localhost] 2022-07-15 23:04:27 | [Mutex] received everything. 2022-07-15 23:04:27 | [Mutex] isItemNotified: received:node:3011e759-dfd8-4c1b-acce-8398a74958b8:localhost:node-0d51d547-a421-4726-88c4-9cd2e0858227:Node 0d51d547-a421-4726-88c4-9cd2e0858227 :: false 2022-07-15 23:04:27 | [Mutex] waiting for: [received:nodes:a0651945-d5ad-401e-80ab-c4b5a955586b:localhost] 2022-07-15 23:04:27 | [Mutex] received everything. 2022-07-15 23:04:27 | [Mutex] isItemNotified: received:node:a0651945-d5ad-401e-80ab-c4b5a955586b:localhost:node-0d51d547-a421-4726-88c4-9cd2e0858227:Node 0d51d547-a421-4726-88c4-9cd2e0858227 :: false |
publishItemsToNodes | 0.314s |
2022-07-15 23:04:24 |
2022-07-15 23:04:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-15 23:04:24 | ------------------------------------ 2022-07-15 23:04:24 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0d51d547-a421-4726-88c4-9cd2e0858227</node><item-id>item-8fac35ed-3be6-47c7-bd06-9379b5f32711</item-id><entry><test>item-8fac35ed-3be6-47c7-bd06-9379b5f32711</test></entry></data> 2022-07-15 23:04:24 | 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-8fac35ed-3be6-47c7-bd06-9379b5f32711</value></item-id></result> 2022-07-15 23:04:24 | [Mutex] waiting for: [published:item:notifieditem-8fac35ed-3be6-47c7-bd06-9379b5f32711:admin@test-domain.com] 2022-07-15 23:04:24 | [Mutex] received everything. 2022-07-15 23:04:24 | [Mutex] isItemNotified: published:item:notifieditem-8fac35ed-3be6-47c7-bd06-9379b5f32711:admin@test-domain.com :: true |
retractItemsFromNodes | 0.243s |
2022-07-15 23:04:24 |
2022-07-15 23:04:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-15 23:04:24 | ------------------------------------ 2022-07-15 23:04:24 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0d51d547-a421-4726-88c4-9cd2e0858227</node><item-id>item-8fac35ed-3be6-47c7-bd06-9379b5f32711</item-id></data> 2022-07-15 23:04:25 | 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-8fac35ed-3be6-47c7-bd06-9379b5f32711</value></item-id></result> 2022-07-15 23:04:25 | [Mutex] received everything. 2022-07-15 23:04:25 | [Mutex] isItemNotified: retracted:item:notifieditem-8fac35ed-3be6-47c7-bd06-9379b5f32711:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.252s |
2022-07-15 23:04:24 |
2022-07-15 23:04:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-15 23:04:24 | ------------------------------------ 2022-07-15 23:04:24 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0d51d547-a421-4726-88c4-9cd2e0858227</node><item-id>item-8fac35ed-3be6-47c7-bd06-9379b5f32711</item-id></data> 2022-07-15 23:04:24 | 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-0d51d547-a421-4726-88c4-9cd2e0858227</value></node><item-id type="text-single" label="Item ID"><value>item-8fac35ed-3be6-47c7-bd06-9379b5f32711</value></item-id><item type="text-multi" label="Item"><value><item id="item-8fac35ed-3be6-47c7-bd06-9379b5f32711"><test>item-8fac35ed-3be6-47c7-bd06-9379b5f32711</test></item></value></item></result> 2022-07-15 23:04:24 | [Mutex] notify: [retrieved:item:item-8fac35ed-3be6-47c7-bd06-9379b5f32711:payload-matches:true:localhost] 2022-07-15 23:04:24 | [Mutex] received everything. 2022-07-15 23:04:24 | [Mutex] isItemNotified: retrieved:item:item-8fac35ed-3be6-47c7-bd06-9379b5f32711:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-15 23:04:24 |
2022-07-15 23:04:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-15 23:04:24 | ------------------------------------ 2022-07-15 23:04:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-15 23:04:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-0d51d547-a421-4726-88c4-9cd2e0858227</value><value>node-5f3094f1-d665-473d-be5c-3afa0bf0c6f9</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-07-15 23:04:24 |
2022-07-15 23:04:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-15 23:04:24 | ------------------------------------ 2022-07-15 23:04:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0d51d547-a421-4726-88c4-9cd2e0858227)</node-pattern></data> 2022-07-15 23:04:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.124s |
2022-07-15 23:04:23 |
2022-07-15 23:04:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-15 23:04:23 | ------------------------------------ 2022-07-15 23:04:23 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0d51d547-a421-4726-88c4-9cd2e0858227</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-15 23:04:23 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.227s |
2022-07-15 23:04:25 |
2022-07-15 23:04:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-15 23:04:25 | ------------------------------------ 2022-07-15 23:04:25 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0d51d547-a421-4726-88c4-9cd2e0858227</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-15 23:04:25 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |