Test duration : 9.995s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.111s |
2020-09-21 22:59:20 |
2020-09-21 22:59:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:59:20 | ------------------------------------ 2020-09-21 22:59:20 | [Mutex] waiting for: [configured:node:node-06416cd8-bed4-4b3c-b40b-dab0e9613928:node-11e75920-17d7-4753-b0c6-6187420296d4] 2020-09-21 22:59:21 | [Mutex] received everything. 2020-09-21 22:59:21 | [Mutex] isItemNotified: configured:node:node-06416cd8-bed4-4b3c-b40b-dab0e9613928:node-11e75920-17d7-4753-b0c6-6187420296d4 :: true 2020-09-21 22:59:22 | [Mutex] waiting for: [received:nodes:acaf7e33-1437-4d36-83d3-77b23f25e059:localhost] 2020-09-21 22:59:22 | [Mutex] received everything. 2020-09-21 22:59:22 | [Mutex] isItemNotified: received:node:acaf7e33-1437-4d36-83d3-77b23f25e059:localhost:node-06416cd8-bed4-4b3c-b40b-dab0e9613928:Node 06416cd8-bed4-4b3c-b40b-dab0e9613928 :: true 2020-09-21 22:59:22 | [Mutex] waiting for: [received:nodes:37a437f6-3edf-4c63-96c7-f3199c1b7b0f:localhost] 2020-09-21 22:59:22 | [Mutex] received everything. 2020-09-21 22:59:22 | [Mutex] isItemNotified: received:node:37a437f6-3edf-4c63-96c7-f3199c1b7b0f:localhost:node-06416cd8-bed4-4b3c-b40b-dab0e9613928:Node 06416cd8-bed4-4b3c-b40b-dab0e9613928 :: false |
createNodes | 1.434s |
2020-09-21 22:59:18 |
2020-09-21 22:59:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:59:18 | ------------------------------------ 2020-09-21 22:59:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-06416cd8-bed4-4b3c-b40b-dab0e9613928</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 06416cd8-bed4-4b3c-b40b-dab0e9613928</title></pubsub></data> 2020-09-21 22:59:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-21 22:59:19 | [Mutex] waiting for: [received:nodes:03f1227f-bff4-46f4-b074-ace20f825187:localhost] 2020-09-21 22:59:19 | [Mutex] waiting for: [received:nodes:03f1227f-bff4-46f4-b074-ace20f825187:localhost] 2020-09-21 22:59:19 | [Mutex] received everything. 2020-09-21 22:59:19 | [Mutex] isItemNotified: received:node:03f1227f-bff4-46f4-b074-ace20f825187:localhost:node-06416cd8-bed4-4b3c-b40b-dab0e9613928:Node 06416cd8-bed4-4b3c-b40b-dab0e9613928 :: true |
createSubnodes | 1.029s |
2020-09-21 22:59:19 |
2020-09-21 22:59:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:59:19 | ------------------------------------ 2020-09-21 22:59:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-11e75920-17d7-4753-b0c6-6187420296d4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 11e75920-17d7-4753-b0c6-6187420296d4</title></pubsub></data> 2020-09-21 22:59:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-21 22:59:20 | [Mutex] waiting for: [received:nodes:4135365f-7105-42ce-8d5c-bbc9e1de0a1d:localhost] 2020-09-21 22:59:20 | [Mutex] received everything. 2020-09-21 22:59:20 | [Mutex] isItemNotified: received:node:4135365f-7105-42ce-8d5c-bbc9e1de0a1d:localhost:node-11e75920-17d7-4753-b0c6-6187420296d4:Node 11e75920-17d7-4753-b0c6-6187420296d4 :: true |
deleteNodes | 1.028s |
2020-09-21 22:59:26 |
2020-09-21 22:59:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:59:26 | ------------------------------------ 2020-09-21 22:59:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-11e75920-17d7-4753-b0c6-6187420296d4</node></data> 2020-09-21 22:59:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-21 22:59:27 | [Mutex] waiting for: [received:nodes:54f01798-14c0-48a1-b338-7b6791978022:localhost] 2020-09-21 22:59:27 | [Mutex] received everything. 2020-09-21 22:59:27 | [Mutex] isItemNotified: received:node:54f01798-14c0-48a1-b338-7b6791978022:localhost:node-11e75920-17d7-4753-b0c6-6187420296d4:Node 11e75920-17d7-4753-b0c6-6187420296d4 :: false |
deleteSubnodes | 1.117s |
2020-09-21 22:59:25 |
2020-09-21 22:59:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:59:25 | ------------------------------------ 2020-09-21 22:59:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-06416cd8-bed4-4b3c-b40b-dab0e9613928</node></data> 2020-09-21 22:59:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-21 22:59:26 | [Mutex] waiting for: [received:nodes:b1904cfa-2965-4497-bd7a-e7cdd35ada68:localhost] 2020-09-21 22:59:26 | [Mutex] received everything. 2020-09-21 22:59:26 | [Mutex] isItemNotified: received:node:b1904cfa-2965-4497-bd7a-e7cdd35ada68:localhost:node-06416cd8-bed4-4b3c-b40b-dab0e9613928:Node 06416cd8-bed4-4b3c-b40b-dab0e9613928 :: false 2020-09-21 22:59:26 | [Mutex] waiting for: [received:nodes:35065078-4cbc-4bdf-8b47-a7971ecbc000:localhost] 2020-09-21 22:59:26 | [Mutex] received everything. 2020-09-21 22:59:26 | [Mutex] isItemNotified: received:node:35065078-4cbc-4bdf-8b47-a7971ecbc000:localhost:node-06416cd8-bed4-4b3c-b40b-dab0e9613928:Node 06416cd8-bed4-4b3c-b40b-dab0e9613928 :: false |
publishItemsToNodes | 0.237s |
2020-09-21 22:59:23 |
2020-09-21 22:59:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:59:23 | ------------------------------------ 2020-09-21 22:59:23 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-06416cd8-bed4-4b3c-b40b-dab0e9613928</node><item-id>item-d93945ea-5455-40ce-bb90-d10fe9d253e2</item-id><entry><test>item-d93945ea-5455-40ce-bb90-d10fe9d253e2</test></entry></data> 2020-09-21 22:59:23 | 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-d93945ea-5455-40ce-bb90-d10fe9d253e2</value></item-id></result> 2020-09-21 22:59:23 | [Mutex] received everything. 2020-09-21 22:59:23 | [Mutex] isItemNotified: published:item:notifieditem-d93945ea-5455-40ce-bb90-d10fe9d253e2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.147s |
2020-09-21 22:59:23 |
2020-09-21 22:59:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:59:23 | ------------------------------------ 2020-09-21 22:59:23 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-06416cd8-bed4-4b3c-b40b-dab0e9613928</node><item-id>item-d93945ea-5455-40ce-bb90-d10fe9d253e2</item-id></data> 2020-09-21 22:59:23 | 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-d93945ea-5455-40ce-bb90-d10fe9d253e2</value></item-id></result> 2020-09-21 22:59:23 | [Mutex] received everything. 2020-09-21 22:59:23 | [Mutex] isItemNotified: retracted:item:notifieditem-d93945ea-5455-40ce-bb90-d10fe9d253e2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.250s |
2020-09-21 22:59:23 |
2020-09-21 22:59:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:59:23 | ------------------------------------ 2020-09-21 22:59:23 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-06416cd8-bed4-4b3c-b40b-dab0e9613928</node><item-id>item-d93945ea-5455-40ce-bb90-d10fe9d253e2</item-id></data> 2020-09-21 22:59:23 | 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-06416cd8-bed4-4b3c-b40b-dab0e9613928</value></node><item-id label="Item ID" type="text-single"><value>item-d93945ea-5455-40ce-bb90-d10fe9d253e2</value></item-id><item label="Item" type="text-multi"><value><item id="item-d93945ea-5455-40ce-bb90-d10fe9d253e2"><test>item-d93945ea-5455-40ce-bb90-d10fe9d253e2</test></item></value></item></result> 2020-09-21 22:59:23 | [Mutex] notify: [retrieved:item:item-d93945ea-5455-40ce-bb90-d10fe9d253e2:payload-matches:true:localhost] 2020-09-21 22:59:23 | [Mutex] received everything. 2020-09-21 22:59:23 | [Mutex] isItemNotified: retrieved:item:item-d93945ea-5455-40ce-bb90-d10fe9d253e2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2020-09-21 22:59:23 |
2020-09-21 22:59:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:59:23 | ------------------------------------ 2020-09-21 22:59:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-21 22:59:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-11e75920-17d7-4753-b0c6-6187420296d4</value><value>node-06416cd8-bed4-4b3c-b40b-dab0e9613928</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-21 22:59:23 |
2020-09-21 22:59:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:59:23 | ------------------------------------ 2020-09-21 22:59:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-06416cd8-bed4-4b3c-b40b-dab0e9613928)</node-pattern></data> 2020-09-21 22:59:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.156s |
2020-09-21 22:59:22 |
2020-09-21 22:59:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:59:22 | ------------------------------------ 2020-09-21 22:59:22 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-06416cd8-bed4-4b3c-b40b-dab0e9613928</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-21 22:59:22 | 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 |
2020-09-21 22:59:23 |
2020-09-21 22:59:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:59:23 | ------------------------------------ 2020-09-21 22:59:23 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-06416cd8-bed4-4b3c-b40b-dab0e9613928</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-21 22:59:24 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |