Test duration : 10.181s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.112s |
2021-10-03 23:15:52 |
2021-10-03 23:15:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:15:52 | ------------------------------------ 2021-10-03 23:15:52 | [Mutex] waiting for: [configured:node:node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153:node-ad1c055a-095b-4781-bcf5-741e19a961c8] 2021-10-03 23:15:52 | [Mutex] received everything. 2021-10-03 23:15:52 | [Mutex] isItemNotified: configured:node:node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153:node-ad1c055a-095b-4781-bcf5-741e19a961c8 :: true 2021-10-03 23:15:53 | [Mutex] waiting for: [received:nodes:c58b0b2f-1c33-474d-94c4-eaf154f615a8:localhost] 2021-10-03 23:15:53 | [Mutex] received everything. 2021-10-03 23:15:53 | [Mutex] isItemNotified: received:node:c58b0b2f-1c33-474d-94c4-eaf154f615a8:localhost:node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153:Node bdff25a0-bdd1-4302-ae2b-9d53f4f19153 :: true 2021-10-03 23:15:53 | [Mutex] waiting for: [received:nodes:1aff93ec-10c1-4739-b1a9-50a97b2ceca6:localhost] 2021-10-03 23:15:53 | [Mutex] received everything. 2021-10-03 23:15:53 | [Mutex] isItemNotified: received:node:1aff93ec-10c1-4739-b1a9-50a97b2ceca6:localhost:node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153:Node bdff25a0-bdd1-4302-ae2b-9d53f4f19153 :: false |
createNodes | 1.461s |
2021-10-03 23:15:50 |
2021-10-03 23:15:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:15:50 | ------------------------------------ 2021-10-03 23:15:50 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bdff25a0-bdd1-4302-ae2b-9d53f4f19153</title></pubsub></data> 2021-10-03 23:15:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-03 23:15:51 | [Mutex] waiting for: [received:nodes:2e6f342d-ee59-4fba-8185-87bf019fe1a3:localhost] 2021-10-03 23:15:51 | [Mutex] received everything. 2021-10-03 23:15:51 | [Mutex] isItemNotified: received:node:2e6f342d-ee59-4fba-8185-87bf019fe1a3:localhost:node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153:Node bdff25a0-bdd1-4302-ae2b-9d53f4f19153 :: true |
createSubnodes | 1.025s |
2021-10-03 23:15:51 |
2021-10-03 23:15:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:15:51 | ------------------------------------ 2021-10-03 23:15:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ad1c055a-095b-4781-bcf5-741e19a961c8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ad1c055a-095b-4781-bcf5-741e19a961c8</title></pubsub></data> 2021-10-03 23:15:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-03 23:15:52 | [Mutex] waiting for: [received:nodes:ffbedec3-f231-4dc8-aed5-1bc8d66447e7:localhost] 2021-10-03 23:15:52 | [Mutex] received everything. 2021-10-03 23:15:52 | [Mutex] isItemNotified: received:node:ffbedec3-f231-4dc8-aed5-1bc8d66447e7:localhost:node-ad1c055a-095b-4781-bcf5-741e19a961c8:Node ad1c055a-095b-4781-bcf5-741e19a961c8 :: true |
deleteNodes | 1.018s |
2021-10-03 23:15:58 |
2021-10-03 23:15:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:15:58 | ------------------------------------ 2021-10-03 23:15:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ad1c055a-095b-4781-bcf5-741e19a961c8</node></data> 2021-10-03 23:15:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-03 23:15:59 | [Mutex] waiting for: [received:nodes:fcc381cf-bf1a-4d71-8a25-f05da1d5c4f6:localhost] 2021-10-03 23:15:59 | [Mutex] waiting for: [received:nodes:fcc381cf-bf1a-4d71-8a25-f05da1d5c4f6:localhost] 2021-10-03 23:15:59 | [Mutex] received everything. 2021-10-03 23:15:59 | [Mutex] isItemNotified: received:node:fcc381cf-bf1a-4d71-8a25-f05da1d5c4f6:localhost:node-ad1c055a-095b-4781-bcf5-741e19a961c8:Node ad1c055a-095b-4781-bcf5-741e19a961c8 :: false |
deleteSubnodes | 1.184s |
2021-10-03 23:15:57 |
2021-10-03 23:15:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:15:57 | ------------------------------------ 2021-10-03 23:15:57 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153</node></data> 2021-10-03 23:15:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-03 23:15:58 | [Mutex] waiting for: [received:nodes:7fa040bd-bf0b-4d7d-98db-6bab2d9c0f93:localhost] 2021-10-03 23:15:58 | [Mutex] waiting for: [received:nodes:7fa040bd-bf0b-4d7d-98db-6bab2d9c0f93:localhost] 2021-10-03 23:15:58 | [Mutex] received everything. 2021-10-03 23:15:58 | [Mutex] isItemNotified: received:node:7fa040bd-bf0b-4d7d-98db-6bab2d9c0f93:localhost:node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153:Node bdff25a0-bdd1-4302-ae2b-9d53f4f19153 :: false 2021-10-03 23:15:58 | [Mutex] waiting for: [received:nodes:dd40ec6e-a4d3-4c98-8cec-783f5bfd810b:localhost] 2021-10-03 23:15:58 | [Mutex] received everything. 2021-10-03 23:15:58 | [Mutex] isItemNotified: received:node:dd40ec6e-a4d3-4c98-8cec-783f5bfd810b:localhost:node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153:Node bdff25a0-bdd1-4302-ae2b-9d53f4f19153 :: false |
publishItemsToNodes | 0.238s |
2021-10-03 23:15:54 |
2021-10-03 23:15:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:15:54 | ------------------------------------ 2021-10-03 23:15:54 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153</node><item-id>item-35e339ee-0600-43ce-b39c-113ec6cc1dbb</item-id><entry><test>item-35e339ee-0600-43ce-b39c-113ec6cc1dbb</test></entry></data> 2021-10-03 23:15:55 | 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-35e339ee-0600-43ce-b39c-113ec6cc1dbb</value></item-id></result> 2021-10-03 23:15:55 | [Mutex] waiting for: [published:item:notifieditem-35e339ee-0600-43ce-b39c-113ec6cc1dbb:admin@test-domain.com] 2021-10-03 23:15:55 | [Mutex] received everything. 2021-10-03 23:15:55 | [Mutex] isItemNotified: published:item:notifieditem-35e339ee-0600-43ce-b39c-113ec6cc1dbb:admin@test-domain.com :: true |
retractItemsFromNodes | 0.322s |
2021-10-03 23:15:55 |
2021-10-03 23:15:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:15:55 | ------------------------------------ 2021-10-03 23:15:55 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153</node><item-id>item-35e339ee-0600-43ce-b39c-113ec6cc1dbb</item-id></data> 2021-10-03 23:15:55 | 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-35e339ee-0600-43ce-b39c-113ec6cc1dbb</value></item-id></result> 2021-10-03 23:15:55 | [Mutex] received everything. 2021-10-03 23:15:55 | [Mutex] isItemNotified: retracted:item:notifieditem-35e339ee-0600-43ce-b39c-113ec6cc1dbb:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.349s |
2021-10-03 23:15:55 |
2021-10-03 23:15:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:15:55 | ------------------------------------ 2021-10-03 23:15:55 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153</node><item-id>item-35e339ee-0600-43ce-b39c-113ec6cc1dbb</item-id></data> 2021-10-03 23:15:55 | 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-bdff25a0-bdd1-4302-ae2b-9d53f4f19153</value></node><item-id label="Item ID" type="text-single"><value>item-35e339ee-0600-43ce-b39c-113ec6cc1dbb</value></item-id><item label="Item" type="text-multi"><value><item id="item-35e339ee-0600-43ce-b39c-113ec6cc1dbb"><test>item-35e339ee-0600-43ce-b39c-113ec6cc1dbb</test></item></value></item></result> 2021-10-03 23:15:55 | [Mutex] notify: [retrieved:item:item-35e339ee-0600-43ce-b39c-113ec6cc1dbb:payload-matches:true:localhost] 2021-10-03 23:15:55 | [Mutex] received everything. 2021-10-03 23:15:55 | [Mutex] isItemNotified: retrieved:item:item-35e339ee-0600-43ce-b39c-113ec6cc1dbb:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-10-03 23:15:55 |
2021-10-03 23:15:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:15:55 | ------------------------------------ 2021-10-03 23:15:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-10-03 23:15:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-ad1c055a-095b-4781-bcf5-741e19a961c8</value><value>test</value><value>node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-10-03 23:15:55 |
2021-10-03 23:15:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:15:55 | ------------------------------------ 2021-10-03 23:15:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153)</node-pattern></data> 2021-10-03 23:15:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.207s |
2021-10-03 23:15:53 |
2021-10-03 23:15:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:15:53 | ------------------------------------ 2021-10-03 23:15:53 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-03 23:15:53 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.271s |
2021-10-03 23:15:55 |
2021-10-03 23:15:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:15:55 | ------------------------------------ 2021-10-03 23:15:55 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-bdff25a0-bdd1-4302-ae2b-9d53f4f19153</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-03 23:15:56 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |