Test duration : 10.110s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.130s |
2020-10-20 23:19:24 |
2020-10-20 23:19:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:19:24 | ------------------------------------ 2020-10-20 23:19:24 | [Mutex] waiting for: [configured:node:node-0be99aa2-d8b3-4401-aaa8-d887a66c3182:node-851facdf-ce75-47e8-98d7-edcdda6c19d6] 2020-10-20 23:19:24 | [Mutex] received everything. 2020-10-20 23:19:24 | [Mutex] isItemNotified: configured:node:node-0be99aa2-d8b3-4401-aaa8-d887a66c3182:node-851facdf-ce75-47e8-98d7-edcdda6c19d6 :: true 2020-10-20 23:19:25 | [Mutex] waiting for: [received:nodes:dd68220f-a497-494a-8bab-7aa4c97d968c:localhost] 2020-10-20 23:19:25 | [Mutex] received everything. 2020-10-20 23:19:25 | [Mutex] isItemNotified: received:node:dd68220f-a497-494a-8bab-7aa4c97d968c:localhost:node-0be99aa2-d8b3-4401-aaa8-d887a66c3182:Node 0be99aa2-d8b3-4401-aaa8-d887a66c3182 :: true 2020-10-20 23:19:25 | [Mutex] waiting for: [received:nodes:a6e9f4ad-ab9c-4592-ab5b-7a6e5b50a1a7:localhost] 2020-10-20 23:19:25 | [Mutex] received everything. 2020-10-20 23:19:25 | [Mutex] isItemNotified: received:node:a6e9f4ad-ab9c-4592-ab5b-7a6e5b50a1a7:localhost:node-0be99aa2-d8b3-4401-aaa8-d887a66c3182:Node 0be99aa2-d8b3-4401-aaa8-d887a66c3182 :: false |
createNodes | 1.497s |
2020-10-20 23:19:22 |
2020-10-20 23:19:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:19:22 | ------------------------------------ 2020-10-20 23:19:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0be99aa2-d8b3-4401-aaa8-d887a66c3182</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0be99aa2-d8b3-4401-aaa8-d887a66c3182</title></pubsub></data> 2020-10-20 23:19:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-20 23:19:23 | [Mutex] waiting for: [received:nodes:2032424e-e9aa-4211-abec-c6acafd477a7:localhost] 2020-10-20 23:19:23 | [Mutex] received everything. 2020-10-20 23:19:23 | [Mutex] isItemNotified: received:node:2032424e-e9aa-4211-abec-c6acafd477a7:localhost:node-0be99aa2-d8b3-4401-aaa8-d887a66c3182:Node 0be99aa2-d8b3-4401-aaa8-d887a66c3182 :: true |
createSubnodes | 1.031s |
2020-10-20 23:19:23 |
2020-10-20 23:19:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:19:23 | ------------------------------------ 2020-10-20 23:19:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-851facdf-ce75-47e8-98d7-edcdda6c19d6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 851facdf-ce75-47e8-98d7-edcdda6c19d6</title></pubsub></data> 2020-10-20 23:19:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-20 23:19:24 | [Mutex] waiting for: [received:nodes:f9c71b35-b86d-44cb-9c43-6283559cdde1:localhost] 2020-10-20 23:19:24 | [Mutex] received everything. 2020-10-20 23:19:24 | [Mutex] isItemNotified: received:node:f9c71b35-b86d-44cb-9c43-6283559cdde1:localhost:node-851facdf-ce75-47e8-98d7-edcdda6c19d6:Node 851facdf-ce75-47e8-98d7-edcdda6c19d6 :: true |
deleteNodes | 1.023s |
2020-10-20 23:19:30 |
2020-10-20 23:19:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:19:30 | ------------------------------------ 2020-10-20 23:19:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-851facdf-ce75-47e8-98d7-edcdda6c19d6</node></data> 2020-10-20 23:19:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-20 23:19:31 | [Mutex] waiting for: [received:nodes:cfa4d7aa-6aa2-443e-ad30-e539634fe4c5:localhost] 2020-10-20 23:19:31 | [Mutex] received everything. 2020-10-20 23:19:31 | [Mutex] isItemNotified: received:node:cfa4d7aa-6aa2-443e-ad30-e539634fe4c5:localhost:node-851facdf-ce75-47e8-98d7-edcdda6c19d6:Node 851facdf-ce75-47e8-98d7-edcdda6c19d6 :: false |
deleteSubnodes | 1.119s |
2020-10-20 23:19:28 |
2020-10-20 23:19:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:19:28 | ------------------------------------ 2020-10-20 23:19:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0be99aa2-d8b3-4401-aaa8-d887a66c3182</node></data> 2020-10-20 23:19:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-20 23:19:30 | [Mutex] waiting for: [received:nodes:8f781c99-df6b-4ef8-8a65-959368d1ab38:localhost] 2020-10-20 23:19:30 | [Mutex] waiting for: [received:nodes:8f781c99-df6b-4ef8-8a65-959368d1ab38:localhost] 2020-10-20 23:19:30 | [Mutex] received everything. 2020-10-20 23:19:30 | [Mutex] isItemNotified: received:node:8f781c99-df6b-4ef8-8a65-959368d1ab38:localhost:node-0be99aa2-d8b3-4401-aaa8-d887a66c3182:Node 0be99aa2-d8b3-4401-aaa8-d887a66c3182 :: false 2020-10-20 23:19:30 | [Mutex] waiting for: [received:nodes:732e81c6-8068-4a6d-aa56-bc5ca95d0d97:localhost] 2020-10-20 23:19:30 | [Mutex] received everything. 2020-10-20 23:19:30 | [Mutex] isItemNotified: received:node:732e81c6-8068-4a6d-aa56-bc5ca95d0d97:localhost:node-0be99aa2-d8b3-4401-aaa8-d887a66c3182:Node 0be99aa2-d8b3-4401-aaa8-d887a66c3182 :: false |
publishItemsToNodes | 0.244s |
2020-10-20 23:19:26 |
2020-10-20 23:19:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:19:26 | ------------------------------------ 2020-10-20 23:19:26 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0be99aa2-d8b3-4401-aaa8-d887a66c3182</node><item-id>item-07c499c9-9b06-4b1f-aafb-5b6a489f2809</item-id><entry><test>item-07c499c9-9b06-4b1f-aafb-5b6a489f2809</test></entry></data> 2020-10-20 23:19:27 | 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-07c499c9-9b06-4b1f-aafb-5b6a489f2809</value></item-id></result> 2020-10-20 23:19:27 | [Mutex] received everything. 2020-10-20 23:19:27 | [Mutex] isItemNotified: published:item:notifieditem-07c499c9-9b06-4b1f-aafb-5b6a489f2809:admin@test-domain.com :: true |
retractItemsFromNodes | 0.292s |
2020-10-20 23:19:27 |
2020-10-20 23:19:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:19:27 | ------------------------------------ 2020-10-20 23:19:27 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0be99aa2-d8b3-4401-aaa8-d887a66c3182</node><item-id>item-07c499c9-9b06-4b1f-aafb-5b6a489f2809</item-id></data> 2020-10-20 23:19:27 | 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-07c499c9-9b06-4b1f-aafb-5b6a489f2809</value></item-id></result> 2020-10-20 23:19:27 | [Mutex] received everything. 2020-10-20 23:19:27 | [Mutex] isItemNotified: retracted:item:notifieditem-07c499c9-9b06-4b1f-aafb-5b6a489f2809:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.173s |
2020-10-20 23:19:27 |
2020-10-20 23:19:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:19:27 | ------------------------------------ 2020-10-20 23:19:27 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0be99aa2-d8b3-4401-aaa8-d887a66c3182</node><item-id>item-07c499c9-9b06-4b1f-aafb-5b6a489f2809</item-id></data> 2020-10-20 23:19:27 | 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-0be99aa2-d8b3-4401-aaa8-d887a66c3182</value></node><item-id type="text-single" label="Item ID"><value>item-07c499c9-9b06-4b1f-aafb-5b6a489f2809</value></item-id><item type="text-multi" label="Item"><value><item id="item-07c499c9-9b06-4b1f-aafb-5b6a489f2809"><test>item-07c499c9-9b06-4b1f-aafb-5b6a489f2809</test></item></value></item></result> 2020-10-20 23:19:27 | [Mutex] notify: [retrieved:item:item-07c499c9-9b06-4b1f-aafb-5b6a489f2809:payload-matches:true:localhost] 2020-10-20 23:19:27 | [Mutex] received everything. 2020-10-20 23:19:27 | [Mutex] isItemNotified: retrieved:item:item-07c499c9-9b06-4b1f-aafb-5b6a489f2809:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2020-10-20 23:19:27 |
2020-10-20 23:19:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:19:27 | ------------------------------------ 2020-10-20 23:19:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-20 23:19:27 | 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-851facdf-ce75-47e8-98d7-edcdda6c19d6</value><value>node-0be99aa2-d8b3-4401-aaa8-d887a66c3182</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-10-20 23:19:27 |
2020-10-20 23:19:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:19:27 | ------------------------------------ 2020-10-20 23:19:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0be99aa2-d8b3-4401-aaa8-d887a66c3182)</node-pattern></data> 2020-10-20 23:19:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.146s |
2020-10-20 23:19:25 |
2020-10-20 23:19:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:19:25 | ------------------------------------ 2020-10-20 23:19:25 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0be99aa2-d8b3-4401-aaa8-d887a66c3182</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-20 23:19:25 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.311s |
2020-10-20 23:19:27 |
2020-10-20 23:19:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-20 23:19:27 | ------------------------------------ 2020-10-20 23:19:27 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0be99aa2-d8b3-4401-aaa8-d887a66c3182</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-20 23:19:27 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |