Test duration: 9.837s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.090s |
2020-07-15 23:12:16 |
2020-07-15 23:12:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-07-15 23:12:16 | ------------------------------------ 2020-07-15 23:12:16 | [Mutex] waiting for: [configured:node:node-3124f57c-0696-441f-bd5d-dc52966d498a:node-61349b4f-1351-4130-a604-ded10021c9cf] 2020-07-15 23:12:16 | [Mutex] received everything. 2020-07-15 23:12:16 | [Mutex] isItemNotified: configured:node:node-3124f57c-0696-441f-bd5d-dc52966d498a:node-61349b4f-1351-4130-a604-ded10021c9cf :: true 2020-07-15 23:12:17 | [Mutex] waiting for: [received:nodes:4570f5ab-1faf-4d50-a1e9-88bdab0c75ad:localhost] 2020-07-15 23:12:17 | [Mutex] received everything. 2020-07-15 23:12:17 | [Mutex] isItemNotified: received:node:4570f5ab-1faf-4d50-a1e9-88bdab0c75ad:localhost:node-3124f57c-0696-441f-bd5d-dc52966d498a:Node 3124f57c-0696-441f-bd5d-dc52966d498a :: true 2020-07-15 23:12:17 | [Mutex] waiting for: [received:nodes:4f409486-07b4-46ef-9afd-230d3f51ae6b:localhost] 2020-07-15 23:12:17 | [Mutex] waiting for: [received:nodes:4f409486-07b4-46ef-9afd-230d3f51ae6b:localhost] 2020-07-15 23:12:17 | [Mutex] received everything. 2020-07-15 23:12:17 | [Mutex] isItemNotified: received:node:4f409486-07b4-46ef-9afd-230d3f51ae6b:localhost:node-3124f57c-0696-441f-bd5d-dc52966d498a:Node 3124f57c-0696-441f-bd5d-dc52966d498a :: false |
createNodes | 1.438s |
2020-07-15 23:12:13 |
2020-07-15 23:12:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-07-15 23:12:13 | ------------------------------------ 2020-07-15 23:12:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3124f57c-0696-441f-bd5d-dc52966d498a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3124f57c-0696-441f-bd5d-dc52966d498a</title></pubsub></data> 2020-07-15 23:12:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-07-15 23:12:15 | [Mutex] waiting for: [received:nodes:b749c036-83b2-4655-bb66-60736e236382:localhost] 2020-07-15 23:12:15 | [Mutex] waiting for: [received:nodes:b749c036-83b2-4655-bb66-60736e236382:localhost] 2020-07-15 23:12:15 | [Mutex] received everything. 2020-07-15 23:12:15 | [Mutex] isItemNotified: received:node:b749c036-83b2-4655-bb66-60736e236382:localhost:node-3124f57c-0696-441f-bd5d-dc52966d498a:Node 3124f57c-0696-441f-bd5d-dc52966d498a :: true |
createSubnodes | 1.027s |
2020-07-15 23:12:15 |
2020-07-15 23:12:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-07-15 23:12:15 | ------------------------------------ 2020-07-15 23:12:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-61349b4f-1351-4130-a604-ded10021c9cf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 61349b4f-1351-4130-a604-ded10021c9cf</title></pubsub></data> 2020-07-15 23:12:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-07-15 23:12:16 | [Mutex] waiting for: [received:nodes:e8aab2fa-5ef7-46d3-bd37-2b7b3aded04c:localhost] 2020-07-15 23:12:16 | [Mutex] received everything. 2020-07-15 23:12:16 | [Mutex] isItemNotified: received:node:e8aab2fa-5ef7-46d3-bd37-2b7b3aded04c:localhost:node-61349b4f-1351-4130-a604-ded10021c9cf:Node 61349b4f-1351-4130-a604-ded10021c9cf :: true |
deleteNodes | 1.025s |
2020-07-15 23:12:21 |
2020-07-15 23:12:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-07-15 23:12:21 | ------------------------------------ 2020-07-15 23:12:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-61349b4f-1351-4130-a604-ded10021c9cf</node></data> 2020-07-15 23:12:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-07-15 23:12:22 | [Mutex] waiting for: [received:nodes:7a569e08-b20c-4a7a-9813-4d1c69eda63b:localhost] 2020-07-15 23:12:22 | [Mutex] received everything. 2020-07-15 23:12:22 | [Mutex] isItemNotified: received:node:7a569e08-b20c-4a7a-9813-4d1c69eda63b:localhost:node-61349b4f-1351-4130-a604-ded10021c9cf:Node 61349b4f-1351-4130-a604-ded10021c9cf :: false |
deleteSubnodes | 1.162s |
2020-07-15 23:12:20 |
2020-07-15 23:12:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-07-15 23:12:20 | ------------------------------------ 2020-07-15 23:12:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3124f57c-0696-441f-bd5d-dc52966d498a</node></data> 2020-07-15 23:12:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-07-15 23:12:21 | [Mutex] waiting for: [received:nodes:12bb2059-683d-4562-8277-e18e6ab3c4c8:localhost] 2020-07-15 23:12:21 | [Mutex] waiting for: [received:nodes:12bb2059-683d-4562-8277-e18e6ab3c4c8:localhost] 2020-07-15 23:12:21 | [Mutex] received everything. 2020-07-15 23:12:21 | [Mutex] isItemNotified: received:node:12bb2059-683d-4562-8277-e18e6ab3c4c8:localhost:node-3124f57c-0696-441f-bd5d-dc52966d498a:Node 3124f57c-0696-441f-bd5d-dc52966d498a :: false 2020-07-15 23:12:21 | [Mutex] waiting for: [received:nodes:ab8fdc88-6ecf-44e5-b214-a8bc83087707:localhost] 2020-07-15 23:12:21 | [Mutex] received everything. 2020-07-15 23:12:21 | [Mutex] isItemNotified: received:node:ab8fdc88-6ecf-44e5-b214-a8bc83087707:localhost:node-3124f57c-0696-441f-bd5d-dc52966d498a:Node 3124f57c-0696-441f-bd5d-dc52966d498a :: false |
publishItemsToNodes | 0.240s |
2020-07-15 23:12:18 |
2020-07-15 23:12:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-07-15 23:12:18 | ------------------------------------ 2020-07-15 23:12:18 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-3124f57c-0696-441f-bd5d-dc52966d498a</node><item-id>item-bddc8b65-a696-4139-a9af-4829a2822ae7</item-id><entry><test>item-bddc8b65-a696-4139-a9af-4829a2822ae7</test></entry></data> 2020-07-15 23:12:18 | 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-bddc8b65-a696-4139-a9af-4829a2822ae7</value></item-id></result> 2020-07-15 23:12:18 | [Mutex] waiting for: [published:item:notifieditem-bddc8b65-a696-4139-a9af-4829a2822ae7:admin@test-domain.com] 2020-07-15 23:12:18 | [Mutex] received everything. 2020-07-15 23:12:18 | [Mutex] isItemNotified: published:item:notifieditem-bddc8b65-a696-4139-a9af-4829a2822ae7:admin@test-domain.com :: true |
retractItemsFromNodes | 0.186s |
2020-07-15 23:12:19 |
2020-07-15 23:12:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-07-15 23:12:19 | ------------------------------------ 2020-07-15 23:12:19 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-3124f57c-0696-441f-bd5d-dc52966d498a</node><item-id>item-bddc8b65-a696-4139-a9af-4829a2822ae7</item-id></data> 2020-07-15 23:12:19 | 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-bddc8b65-a696-4139-a9af-4829a2822ae7</value></item-id></result> 2020-07-15 23:12:19 | [Mutex] received everything. 2020-07-15 23:12:19 | [Mutex] isItemNotified: retracted:item:notifieditem-bddc8b65-a696-4139-a9af-4829a2822ae7:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.246s |
2020-07-15 23:12:18 |
2020-07-15 23:12:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-07-15 23:12:18 | ------------------------------------ 2020-07-15 23:12:18 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-3124f57c-0696-441f-bd5d-dc52966d498a</node><item-id>item-bddc8b65-a696-4139-a9af-4829a2822ae7</item-id></data> 2020-07-15 23:12:19 | 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-3124f57c-0696-441f-bd5d-dc52966d498a</value></node><item-id label="Item ID" type="text-single"><value>item-bddc8b65-a696-4139-a9af-4829a2822ae7</value></item-id><item label="Item" type="text-multi"><value><item id="item-bddc8b65-a696-4139-a9af-4829a2822ae7"><test>item-bddc8b65-a696-4139-a9af-4829a2822ae7</test></item></value></item></result> 2020-07-15 23:12:19 | [Mutex] notify: [retrieved:item:item-bddc8b65-a696-4139-a9af-4829a2822ae7:payload-matches:true:localhost] 2020-07-15 23:12:19 | [Mutex] received everything. 2020-07-15 23:12:19 | [Mutex] isItemNotified: retrieved:item:item-bddc8b65-a696-4139-a9af-4829a2822ae7:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.220s |
2020-07-15 23:12:19 |
2020-07-15 23:12:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-07-15 23:12:19 | ------------------------------------ 2020-07-15 23:12:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-07-15 23:12:19 | 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-61349b4f-1351-4130-a604-ded10021c9cf</value><value>node-3124f57c-0696-441f-bd5d-dc52966d498a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-07-15 23:12:19 |
2020-07-15 23:12:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-07-15 23:12:19 | ------------------------------------ 2020-07-15 23:12:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3124f57c-0696-441f-bd5d-dc52966d498a)</node-pattern></data> 2020-07-15 23:12:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.123s |
2020-07-15 23:12:17 |
2020-07-15 23:12:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-07-15 23:12:17 | ------------------------------------ 2020-07-15 23:12:17 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-3124f57c-0696-441f-bd5d-dc52966d498a</node><jids><value>admin@test-domain.com</value></jids></data> 2020-07-15 23:12:17 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.160s |
2020-07-15 23:12:19 |
2020-07-15 23:12:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-07-15 23:12:19 | ------------------------------------ 2020-07-15 23:12:19 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-3124f57c-0696-441f-bd5d-dc52966d498a</node><jids><value>admin@test-domain.com</value></jids></data> 2020-07-15 23:12:19 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |