Test duration : 10.388s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.136s |
2021-06-21 23:01:43 |
2021-06-21 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 23:01:43 | ------------------------------------ 2021-06-21 23:01:43 | [Mutex] waiting for: [configured:node:node-0402254b-19ae-421c-a1f1-154cd97051f5:node-42ccbf5e-522e-4307-b518-6edf180b8037] 2021-06-21 23:01:43 | [Mutex] received everything. 2021-06-21 23:01:43 | [Mutex] isItemNotified: configured:node:node-0402254b-19ae-421c-a1f1-154cd97051f5:node-42ccbf5e-522e-4307-b518-6edf180b8037 :: true 2021-06-21 23:01:44 | [Mutex] waiting for: [received:nodes:a5941128-9a50-4ad1-9857-66bf2fe97d3d:localhost] 2021-06-21 23:01:44 | [Mutex] received everything. 2021-06-21 23:01:44 | [Mutex] isItemNotified: received:node:a5941128-9a50-4ad1-9857-66bf2fe97d3d:localhost:node-0402254b-19ae-421c-a1f1-154cd97051f5:Node 0402254b-19ae-421c-a1f1-154cd97051f5 :: true 2021-06-21 23:01:44 | [Mutex] waiting for: [received:nodes:79f616f9-35d1-4ff7-b851-b4116aa534dd:localhost] 2021-06-21 23:01:44 | [Mutex] waiting for: [received:nodes:79f616f9-35d1-4ff7-b851-b4116aa534dd:localhost] 2021-06-21 23:01:44 | [Mutex] waiting for: [received:nodes:79f616f9-35d1-4ff7-b851-b4116aa534dd:localhost] 2021-06-21 23:01:44 | [Mutex] received everything. 2021-06-21 23:01:44 | [Mutex] isItemNotified: received:node:79f616f9-35d1-4ff7-b851-b4116aa534dd:localhost:node-0402254b-19ae-421c-a1f1-154cd97051f5:Node 0402254b-19ae-421c-a1f1-154cd97051f5 :: false |
createNodes | 1.613s |
2021-06-21 23:01:40 |
2021-06-21 23:01:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 23:01:40 | ------------------------------------ 2021-06-21 23:01:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0402254b-19ae-421c-a1f1-154cd97051f5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0402254b-19ae-421c-a1f1-154cd97051f5</title></pubsub></data> 2021-06-21 23:01:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-21 23:01:42 | [Mutex] waiting for: [received:nodes:4ccf80c8-0409-4ba4-925a-ceb18e84cf09:localhost] 2021-06-21 23:01:42 | [Mutex] received everything. 2021-06-21 23:01:42 | [Mutex] isItemNotified: received:node:4ccf80c8-0409-4ba4-925a-ceb18e84cf09:localhost:node-0402254b-19ae-421c-a1f1-154cd97051f5:Node 0402254b-19ae-421c-a1f1-154cd97051f5 :: true |
createSubnodes | 1.024s |
2021-06-21 23:01:42 |
2021-06-21 23:01:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 23:01:42 | ------------------------------------ 2021-06-21 23:01:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-42ccbf5e-522e-4307-b518-6edf180b8037</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 42ccbf5e-522e-4307-b518-6edf180b8037</title></pubsub></data> 2021-06-21 23:01:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-21 23:01:43 | [Mutex] waiting for: [received:nodes:4edb2b34-7df1-45a0-8530-21cf56da8460:localhost] 2021-06-21 23:01:43 | [Mutex] received everything. 2021-06-21 23:01:43 | [Mutex] isItemNotified: received:node:4edb2b34-7df1-45a0-8530-21cf56da8460:localhost:node-42ccbf5e-522e-4307-b518-6edf180b8037:Node 42ccbf5e-522e-4307-b518-6edf180b8037 :: true |
deleteNodes | 1.017s |
2021-06-21 23:01:49 |
2021-06-21 23:01:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 23:01:49 | ------------------------------------ 2021-06-21 23:01:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-42ccbf5e-522e-4307-b518-6edf180b8037</node></data> 2021-06-21 23:01:49 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-21 23:01:50 | [Mutex] waiting for: [received:nodes:8ce0af31-03e6-4dd9-8aa1-3f8410c7a90b:localhost] 2021-06-21 23:01:50 | [Mutex] received everything. 2021-06-21 23:01:50 | [Mutex] isItemNotified: received:node:8ce0af31-03e6-4dd9-8aa1-3f8410c7a90b:localhost:node-42ccbf5e-522e-4307-b518-6edf180b8037:Node 42ccbf5e-522e-4307-b518-6edf180b8037 :: false |
deleteSubnodes | 1.157s |
2021-06-21 23:01:47 |
2021-06-21 23:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 23:01:47 | ------------------------------------ 2021-06-21 23:01:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0402254b-19ae-421c-a1f1-154cd97051f5</node></data> 2021-06-21 23:01:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-21 23:01:49 | [Mutex] waiting for: [received:nodes:9295633a-05e9-41b7-bd71-66e4e9d1d5f5:localhost] 2021-06-21 23:01:49 | [Mutex] received everything. 2021-06-21 23:01:49 | [Mutex] isItemNotified: received:node:9295633a-05e9-41b7-bd71-66e4e9d1d5f5:localhost:node-0402254b-19ae-421c-a1f1-154cd97051f5:Node 0402254b-19ae-421c-a1f1-154cd97051f5 :: false 2021-06-21 23:01:49 | [Mutex] waiting for: [received:nodes:0dc46e67-bf09-4911-b42d-b3db7dd076b2:localhost] 2021-06-21 23:01:49 | [Mutex] received everything. 2021-06-21 23:01:49 | [Mutex] isItemNotified: received:node:0dc46e67-bf09-4911-b42d-b3db7dd076b2:localhost:node-0402254b-19ae-421c-a1f1-154cd97051f5:Node 0402254b-19ae-421c-a1f1-154cd97051f5 :: false |
publishItemsToNodes | 0.256s |
2021-06-21 23:01:45 |
2021-06-21 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 23:01:45 | ------------------------------------ 2021-06-21 23:01:45 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0402254b-19ae-421c-a1f1-154cd97051f5</node><item-id>item-1cce54f1-03ae-4fd5-af79-0f97c4a3d97e</item-id><entry><test>item-1cce54f1-03ae-4fd5-af79-0f97c4a3d97e</test></entry></data> 2021-06-21 23:01:45 | 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-1cce54f1-03ae-4fd5-af79-0f97c4a3d97e</value></item-id></result> 2021-06-21 23:01:45 | [Mutex] received everything. 2021-06-21 23:01:45 | [Mutex] isItemNotified: published:item:notifieditem-1cce54f1-03ae-4fd5-af79-0f97c4a3d97e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.339s |
2021-06-21 23:01:46 |
2021-06-21 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 23:01:46 | ------------------------------------ 2021-06-21 23:01:46 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0402254b-19ae-421c-a1f1-154cd97051f5</node><item-id>item-1cce54f1-03ae-4fd5-af79-0f97c4a3d97e</item-id></data> 2021-06-21 23:01:46 | 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-1cce54f1-03ae-4fd5-af79-0f97c4a3d97e</value></item-id></result> 2021-06-21 23:01:46 | [Mutex] received everything. 2021-06-21 23:01:46 | [Mutex] isItemNotified: retracted:item:notifieditem-1cce54f1-03ae-4fd5-af79-0f97c4a3d97e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.318s |
2021-06-21 23:01:45 |
2021-06-21 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 23:01:45 | ------------------------------------ 2021-06-21 23:01:45 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0402254b-19ae-421c-a1f1-154cd97051f5</node><item-id>item-1cce54f1-03ae-4fd5-af79-0f97c4a3d97e</item-id></data> 2021-06-21 23:01:46 | 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-0402254b-19ae-421c-a1f1-154cd97051f5</value></node><item-id type="text-single" label="Item ID"><value>item-1cce54f1-03ae-4fd5-af79-0f97c4a3d97e</value></item-id><item type="text-multi" label="Item"><value><item id="item-1cce54f1-03ae-4fd5-af79-0f97c4a3d97e"><test>item-1cce54f1-03ae-4fd5-af79-0f97c4a3d97e</test></item></value></item></result> 2021-06-21 23:01:46 | [Mutex] notify: [retrieved:item:item-1cce54f1-03ae-4fd5-af79-0f97c4a3d97e:payload-matches:true:localhost] 2021-06-21 23:01:46 | [Mutex] received everything. 2021-06-21 23:01:46 | [Mutex] isItemNotified: retrieved:item:item-1cce54f1-03ae-4fd5-af79-0f97c4a3d97e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-06-21 23:01:46 |
2021-06-21 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 23:01:46 | ------------------------------------ 2021-06-21 23:01:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-06-21 23:01:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-0402254b-19ae-421c-a1f1-154cd97051f5</value><value>test</value><value>node-42ccbf5e-522e-4307-b518-6edf180b8037</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-06-21 23:01:46 |
2021-06-21 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 23:01:46 | ------------------------------------ 2021-06-21 23:01:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0402254b-19ae-421c-a1f1-154cd97051f5)</node-pattern></data> 2021-06-21 23:01:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.218s |
2021-06-21 23:01:44 |
2021-06-21 23:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 23:01:44 | ------------------------------------ 2021-06-21 23:01:44 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0402254b-19ae-421c-a1f1-154cd97051f5</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-21 23:01:44 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.199s |
2021-06-21 23:01:46 |
2021-06-21 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-21 23:01:46 | ------------------------------------ 2021-06-21 23:01:46 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0402254b-19ae-421c-a1f1-154cd97051f5</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-21 23:01:46 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |