Test duration : 9.772s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.088s |
2020-09-28 22:31:12 |
2020-09-28 22:31:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:31:12 | ------------------------------------ 2020-09-28 22:31:12 | [Mutex] waiting for: [configured:node:node-03d220dc-6e3a-4c22-abcf-c3460fe4020f:node-ccc3a571-8fb5-48b1-b16b-934994b834b7] 2020-09-28 22:31:12 | [Mutex] received everything. 2020-09-28 22:31:12 | [Mutex] isItemNotified: configured:node:node-03d220dc-6e3a-4c22-abcf-c3460fe4020f:node-ccc3a571-8fb5-48b1-b16b-934994b834b7 :: true 2020-09-28 22:31:13 | [Mutex] waiting for: [received:nodes:f9793b0d-57e2-4c84-8710-3bb8a7997360:localhost] 2020-09-28 22:31:13 | [Mutex] received everything. 2020-09-28 22:31:13 | [Mutex] isItemNotified: received:node:f9793b0d-57e2-4c84-8710-3bb8a7997360:localhost:node-03d220dc-6e3a-4c22-abcf-c3460fe4020f:Node 03d220dc-6e3a-4c22-abcf-c3460fe4020f :: true 2020-09-28 22:31:13 | [Mutex] waiting for: [received:nodes:c20e8793-0bcf-4c82-9580-9ac3aa69ba13:localhost] 2020-09-28 22:31:13 | [Mutex] received everything. 2020-09-28 22:31:13 | [Mutex] isItemNotified: received:node:c20e8793-0bcf-4c82-9580-9ac3aa69ba13:localhost:node-03d220dc-6e3a-4c22-abcf-c3460fe4020f:Node 03d220dc-6e3a-4c22-abcf-c3460fe4020f :: false |
createNodes | 1.355s |
2020-09-28 22:31:10 |
2020-09-28 22:31:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:31:10 | ------------------------------------ 2020-09-28 22:31:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-03d220dc-6e3a-4c22-abcf-c3460fe4020f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 03d220dc-6e3a-4c22-abcf-c3460fe4020f</title></pubsub></data> 2020-09-28 22:31:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 22:31:11 | [Mutex] waiting for: [received:nodes:18064d4b-0a97-4514-b830-d7033ea6e3c9:localhost] 2020-09-28 22:31:11 | [Mutex] received everything. 2020-09-28 22:31:11 | [Mutex] isItemNotified: received:node:18064d4b-0a97-4514-b830-d7033ea6e3c9:localhost:node-03d220dc-6e3a-4c22-abcf-c3460fe4020f:Node 03d220dc-6e3a-4c22-abcf-c3460fe4020f :: true |
createSubnodes | 1.024s |
2020-09-28 22:31:11 |
2020-09-28 22:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:31:11 | ------------------------------------ 2020-09-28 22:31:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ccc3a571-8fb5-48b1-b16b-934994b834b7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ccc3a571-8fb5-48b1-b16b-934994b834b7</title></pubsub></data> 2020-09-28 22:31:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 22:31:12 | [Mutex] waiting for: [received:nodes:19155fe6-6483-468e-8bcf-7b30f604a8c8:localhost] 2020-09-28 22:31:12 | [Mutex] received everything. 2020-09-28 22:31:12 | [Mutex] isItemNotified: received:node:19155fe6-6483-468e-8bcf-7b30f604a8c8:localhost:node-ccc3a571-8fb5-48b1-b16b-934994b834b7:Node ccc3a571-8fb5-48b1-b16b-934994b834b7 :: true |
deleteNodes | 1.022s |
2020-09-28 22:31:18 |
2020-09-28 22:31:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:31:18 | ------------------------------------ 2020-09-28 22:31:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ccc3a571-8fb5-48b1-b16b-934994b834b7</node></data> 2020-09-28 22:31:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 22:31:19 | [Mutex] waiting for: [received:nodes:f72ee21c-d574-4019-8c4f-29e0e9953158:localhost] 2020-09-28 22:31:19 | [Mutex] received everything. 2020-09-28 22:31:19 | [Mutex] isItemNotified: received:node:f72ee21c-d574-4019-8c4f-29e0e9953158:localhost:node-ccc3a571-8fb5-48b1-b16b-934994b834b7:Node ccc3a571-8fb5-48b1-b16b-934994b834b7 :: false |
deleteSubnodes | 1.155s |
2020-09-28 22:31:16 |
2020-09-28 22:31:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:31:16 | ------------------------------------ 2020-09-28 22:31:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-03d220dc-6e3a-4c22-abcf-c3460fe4020f</node></data> 2020-09-28 22:31:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 22:31:18 | [Mutex] waiting for: [received:nodes:b146a0fc-8332-4990-a11b-74e9eebbfa30:localhost] 2020-09-28 22:31:18 | [Mutex] received everything. 2020-09-28 22:31:18 | [Mutex] isItemNotified: received:node:b146a0fc-8332-4990-a11b-74e9eebbfa30:localhost:node-03d220dc-6e3a-4c22-abcf-c3460fe4020f:Node 03d220dc-6e3a-4c22-abcf-c3460fe4020f :: false 2020-09-28 22:31:18 | [Mutex] waiting for: [received:nodes:ec46e7c2-3dc9-44b3-b3b5-ac716687b3f0:localhost] 2020-09-28 22:31:18 | [Mutex] received everything. 2020-09-28 22:31:18 | [Mutex] isItemNotified: received:node:ec46e7c2-3dc9-44b3-b3b5-ac716687b3f0:localhost:node-03d220dc-6e3a-4c22-abcf-c3460fe4020f:Node 03d220dc-6e3a-4c22-abcf-c3460fe4020f :: false |
publishItemsToNodes | 0.195s |
2020-09-28 22:31:14 |
2020-09-28 22:31:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:31:14 | ------------------------------------ 2020-09-28 22:31:14 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-03d220dc-6e3a-4c22-abcf-c3460fe4020f</node><item-id>item-1e913cff-bd93-4b0a-a9e6-e6a46d51e098</item-id><entry><test>item-1e913cff-bd93-4b0a-a9e6-e6a46d51e098</test></entry></data> 2020-09-28 22:31:15 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-1e913cff-bd93-4b0a-a9e6-e6a46d51e098</value></item-id></result> 2020-09-28 22:31:15 | [Mutex] received everything. 2020-09-28 22:31:15 | [Mutex] isItemNotified: published:item:notifieditem-1e913cff-bd93-4b0a-a9e6-e6a46d51e098:admin@test-domain.com :: true |
retractItemsFromNodes | 0.283s |
2020-09-28 22:31:15 |
2020-09-28 22:31:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:31:15 | ------------------------------------ 2020-09-28 22:31:15 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-03d220dc-6e3a-4c22-abcf-c3460fe4020f</node><item-id>item-1e913cff-bd93-4b0a-a9e6-e6a46d51e098</item-id></data> 2020-09-28 22:31:15 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-1e913cff-bd93-4b0a-a9e6-e6a46d51e098</value></item-id></result> 2020-09-28 22:31:15 | [Mutex] received everything. 2020-09-28 22:31:15 | [Mutex] isItemNotified: retracted:item:notifieditem-1e913cff-bd93-4b0a-a9e6-e6a46d51e098:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.264s |
2020-09-28 22:31:15 |
2020-09-28 22:31:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:31:15 | ------------------------------------ 2020-09-28 22:31:15 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-03d220dc-6e3a-4c22-abcf-c3460fe4020f</node><item-id>item-1e913cff-bd93-4b0a-a9e6-e6a46d51e098</item-id></data> 2020-09-28 22:31:15 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-03d220dc-6e3a-4c22-abcf-c3460fe4020f</value></node><item-id label="Item ID" type="text-single"><value>item-1e913cff-bd93-4b0a-a9e6-e6a46d51e098</value></item-id><item label="Item" type="text-multi"><value><item id="item-1e913cff-bd93-4b0a-a9e6-e6a46d51e098"><test>item-1e913cff-bd93-4b0a-a9e6-e6a46d51e098</test></item></value></item></result> 2020-09-28 22:31:15 | [Mutex] notify: [retrieved:item:item-1e913cff-bd93-4b0a-a9e6-e6a46d51e098:payload-matches:true:localhost] 2020-09-28 22:31:15 | [Mutex] received everything. 2020-09-28 22:31:15 | [Mutex] isItemNotified: retrieved:item:item-1e913cff-bd93-4b0a-a9e6-e6a46d51e098:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-28 22:31:15 |
2020-09-28 22:31:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:31:15 | ------------------------------------ 2020-09-28 22:31:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-28 22:31:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-03d220dc-6e3a-4c22-abcf-c3460fe4020f</value><value>test</value><value>node-ccc3a571-8fb5-48b1-b16b-934994b834b7</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-09-28 22:31:15 |
2020-09-28 22:31:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:31:15 | ------------------------------------ 2020-09-28 22:31:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-03d220dc-6e3a-4c22-abcf-c3460fe4020f)</node-pattern></data> 2020-09-28 22:31:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.101s |
2020-09-28 22:31:13 |
2020-09-28 22:31:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:31:13 | ------------------------------------ 2020-09-28 22:31:13 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-03d220dc-6e3a-4c22-abcf-c3460fe4020f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-28 22:31:13 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.247s |
2020-09-28 22:31:15 |
2020-09-28 22:31:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:31:15 | ------------------------------------ 2020-09-28 22:31:15 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-03d220dc-6e3a-4c22-abcf-c3460fe4020f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-28 22:31:15 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |