Test duration : 10.010s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.115s |
2020-09-11 23:02:41 |
2020-09-11 23:02:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-11 23:02:41 | ------------------------------------ 2020-09-11 23:02:41 | [Mutex] waiting for: [configured:node:node-c8a028b4-9191-4908-b548-612818016f5b:node-29a76c61-781c-42a5-8187-6bd3020bb4ed] 2020-09-11 23:02:41 | [Mutex] received everything. 2020-09-11 23:02:41 | [Mutex] isItemNotified: configured:node:node-c8a028b4-9191-4908-b548-612818016f5b:node-29a76c61-781c-42a5-8187-6bd3020bb4ed :: true 2020-09-11 23:02:42 | [Mutex] waiting for: [received:nodes:40a8d156-7138-480f-a779-a19bb12632f3:localhost] 2020-09-11 23:02:42 | [Mutex] received everything. 2020-09-11 23:02:42 | [Mutex] isItemNotified: received:node:40a8d156-7138-480f-a779-a19bb12632f3:localhost:node-c8a028b4-9191-4908-b548-612818016f5b:Node c8a028b4-9191-4908-b548-612818016f5b :: true 2020-09-11 23:02:42 | [Mutex] waiting for: [received:nodes:b98ed412-6c2a-4e9f-bb75-52135f9f9684:localhost] 2020-09-11 23:02:42 | [Mutex] received everything. 2020-09-11 23:02:42 | [Mutex] isItemNotified: received:node:b98ed412-6c2a-4e9f-bb75-52135f9f9684:localhost:node-c8a028b4-9191-4908-b548-612818016f5b:Node c8a028b4-9191-4908-b548-612818016f5b :: false |
createNodes | 1.392s |
2020-09-11 23:02:39 |
2020-09-11 23:02:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-11 23:02:39 | ------------------------------------ 2020-09-11 23:02:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c8a028b4-9191-4908-b548-612818016f5b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c8a028b4-9191-4908-b548-612818016f5b</title></pubsub></data> 2020-09-11 23:02:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-11 23:02:40 | [Mutex] waiting for: [received:nodes:9aa97b86-c6d9-42db-a2dc-08fae4d456ce:localhost] 2020-09-11 23:02:40 | [Mutex] received everything. 2020-09-11 23:02:40 | [Mutex] isItemNotified: received:node:9aa97b86-c6d9-42db-a2dc-08fae4d456ce:localhost:node-c8a028b4-9191-4908-b548-612818016f5b:Node c8a028b4-9191-4908-b548-612818016f5b :: true |
createSubnodes | 1.024s |
2020-09-11 23:02:40 |
2020-09-11 23:02:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-11 23:02:40 | ------------------------------------ 2020-09-11 23:02:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-29a76c61-781c-42a5-8187-6bd3020bb4ed</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 29a76c61-781c-42a5-8187-6bd3020bb4ed</title></pubsub></data> 2020-09-11 23:02:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-11 23:02:41 | [Mutex] waiting for: [received:nodes:b11585ca-5fe3-4db9-b449-d0139bf7b7a0:localhost] 2020-09-11 23:02:41 | [Mutex] received everything. 2020-09-11 23:02:41 | [Mutex] isItemNotified: received:node:b11585ca-5fe3-4db9-b449-d0139bf7b7a0:localhost:node-29a76c61-781c-42a5-8187-6bd3020bb4ed:Node 29a76c61-781c-42a5-8187-6bd3020bb4ed :: true |
deleteNodes | 1.016s |
2020-09-11 23:02:47 |
2020-09-11 23:02:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-11 23:02:47 | ------------------------------------ 2020-09-11 23:02:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-29a76c61-781c-42a5-8187-6bd3020bb4ed</node></data> 2020-09-11 23:02:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-11 23:02:48 | [Mutex] waiting for: [received:nodes:49668055-c8cc-4a24-a6c0-f7588bb508e5:localhost] 2020-09-11 23:02:48 | [Mutex] received everything. 2020-09-11 23:02:48 | [Mutex] isItemNotified: received:node:49668055-c8cc-4a24-a6c0-f7588bb508e5:localhost:node-29a76c61-781c-42a5-8187-6bd3020bb4ed:Node 29a76c61-781c-42a5-8187-6bd3020bb4ed :: false |
deleteSubnodes | 1.115s |
2020-09-11 23:02:46 |
2020-09-11 23:02:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-11 23:02:46 | ------------------------------------ 2020-09-11 23:02:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c8a028b4-9191-4908-b548-612818016f5b</node></data> 2020-09-11 23:02:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-11 23:02:47 | [Mutex] waiting for: [received:nodes:9546c2ed-98d4-4315-b611-211d6f6351a6:localhost] 2020-09-11 23:02:47 | [Mutex] received everything. 2020-09-11 23:02:47 | [Mutex] isItemNotified: received:node:9546c2ed-98d4-4315-b611-211d6f6351a6:localhost:node-c8a028b4-9191-4908-b548-612818016f5b:Node c8a028b4-9191-4908-b548-612818016f5b :: false 2020-09-11 23:02:47 | [Mutex] waiting for: [received:nodes:553a1b5a-373e-4ed8-80af-8f2e1a743dd2:localhost] 2020-09-11 23:02:47 | [Mutex] received everything. 2020-09-11 23:02:47 | [Mutex] isItemNotified: received:node:553a1b5a-373e-4ed8-80af-8f2e1a743dd2:localhost:node-c8a028b4-9191-4908-b548-612818016f5b:Node c8a028b4-9191-4908-b548-612818016f5b :: false |
publishItemsToNodes | 0.178s |
2020-09-11 23:02:44 |
2020-09-11 23:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-11 23:02:44 | ------------------------------------ 2020-09-11 23:02:44 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c8a028b4-9191-4908-b548-612818016f5b</node><item-id>item-ee9192e1-3c88-4a2b-8f75-6c0b6ece4d64</item-id><entry><test>item-ee9192e1-3c88-4a2b-8f75-6c0b6ece4d64</test></entry></data> 2020-09-11 23:02:44 | 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-ee9192e1-3c88-4a2b-8f75-6c0b6ece4d64</value></item-id></result> 2020-09-11 23:02:44 | [Mutex] waiting for: [published:item:notifieditem-ee9192e1-3c88-4a2b-8f75-6c0b6ece4d64:admin@test-domain.com] 2020-09-11 23:02:44 | [Mutex] received everything. 2020-09-11 23:02:44 | [Mutex] isItemNotified: published:item:notifieditem-ee9192e1-3c88-4a2b-8f75-6c0b6ece4d64:admin@test-domain.com :: true |
retractItemsFromNodes | 0.331s |
2020-09-11 23:02:44 |
2020-09-11 23:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-11 23:02:44 | ------------------------------------ 2020-09-11 23:02:44 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c8a028b4-9191-4908-b548-612818016f5b</node><item-id>item-ee9192e1-3c88-4a2b-8f75-6c0b6ece4d64</item-id></data> 2020-09-11 23:02:45 | 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-ee9192e1-3c88-4a2b-8f75-6c0b6ece4d64</value></item-id></result> 2020-09-11 23:02:45 | [Mutex] received everything. 2020-09-11 23:02:45 | [Mutex] isItemNotified: retracted:item:notifieditem-ee9192e1-3c88-4a2b-8f75-6c0b6ece4d64:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.278s |
2020-09-11 23:02:44 |
2020-09-11 23:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-11 23:02:44 | ------------------------------------ 2020-09-11 23:02:44 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c8a028b4-9191-4908-b548-612818016f5b</node><item-id>item-ee9192e1-3c88-4a2b-8f75-6c0b6ece4d64</item-id></data> 2020-09-11 23:02:44 | 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-c8a028b4-9191-4908-b548-612818016f5b</value></node><item-id label="Item ID" type="text-single"><value>item-ee9192e1-3c88-4a2b-8f75-6c0b6ece4d64</value></item-id><item label="Item" type="text-multi"><value><item id="item-ee9192e1-3c88-4a2b-8f75-6c0b6ece4d64"><test>item-ee9192e1-3c88-4a2b-8f75-6c0b6ece4d64</test></item></value></item></result> 2020-09-11 23:02:44 | [Mutex] notify: [retrieved:item:item-ee9192e1-3c88-4a2b-8f75-6c0b6ece4d64:payload-matches:true:localhost] 2020-09-11 23:02:44 | [Mutex] received everything. 2020-09-11 23:02:44 | [Mutex] isItemNotified: retrieved:item:item-ee9192e1-3c88-4a2b-8f75-6c0b6ece4d64:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-11 23:02:44 |
2020-09-11 23:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-11 23:02:44 | ------------------------------------ 2020-09-11 23:02:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-11 23:02:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-c8a028b4-9191-4908-b548-612818016f5b</value><value>test</value><value>node-29a76c61-781c-42a5-8187-6bd3020bb4ed</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-11 23:02:44 |
2020-09-11 23:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-11 23:02:44 | ------------------------------------ 2020-09-11 23:02:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c8a028b4-9191-4908-b548-612818016f5b)</node-pattern></data> 2020-09-11 23:02:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.158s |
2020-09-11 23:02:42 |
2020-09-11 23:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-11 23:02:42 | ------------------------------------ 2020-09-11 23:02:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c8a028b4-9191-4908-b548-612818016f5b</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-11 23:02:43 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.239s |
2020-09-11 23:02:45 |
2020-09-11 23:02:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-11 23:02:45 | ------------------------------------ 2020-09-11 23:02:45 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c8a028b4-9191-4908-b548-612818016f5b</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-11 23:02:45 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |