Test duration : 10.027s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.107s |
2020-09-16 22:45:28 |
2020-09-16 22:45:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:45:28 | ------------------------------------ 2020-09-16 22:45:28 | [Mutex] waiting for: [configured:node:node-ce06f5f7-6899-4a68-a91b-0a6acda819c8:node-fbdc6733-c187-4814-ab04-945a8d5485d6] 2020-09-16 22:45:29 | [Mutex] received everything. 2020-09-16 22:45:29 | [Mutex] isItemNotified: configured:node:node-ce06f5f7-6899-4a68-a91b-0a6acda819c8:node-fbdc6733-c187-4814-ab04-945a8d5485d6 :: true 2020-09-16 22:45:30 | [Mutex] waiting for: [received:nodes:78e80374-bae7-4c8d-b3ed-11e6877ff8f7:localhost] 2020-09-16 22:45:30 | [Mutex] received everything. 2020-09-16 22:45:30 | [Mutex] isItemNotified: received:node:78e80374-bae7-4c8d-b3ed-11e6877ff8f7:localhost:node-ce06f5f7-6899-4a68-a91b-0a6acda819c8:Node ce06f5f7-6899-4a68-a91b-0a6acda819c8 :: true 2020-09-16 22:45:30 | [Mutex] waiting for: [received:nodes:4efd8922-a23f-4fbc-85b2-47f8c780b11e:localhost] 2020-09-16 22:45:30 | [Mutex] waiting for: [received:nodes:4efd8922-a23f-4fbc-85b2-47f8c780b11e:localhost] 2020-09-16 22:45:30 | [Mutex] received everything. 2020-09-16 22:45:30 | [Mutex] isItemNotified: received:node:4efd8922-a23f-4fbc-85b2-47f8c780b11e:localhost:node-ce06f5f7-6899-4a68-a91b-0a6acda819c8:Node ce06f5f7-6899-4a68-a91b-0a6acda819c8 :: false |
createNodes | 1.482s |
2020-09-16 22:45:26 |
2020-09-16 22:45:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:45:26 | ------------------------------------ 2020-09-16 22:45:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ce06f5f7-6899-4a68-a91b-0a6acda819c8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ce06f5f7-6899-4a68-a91b-0a6acda819c8</title></pubsub></data> 2020-09-16 22:45:26 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-16 22:45:27 | [Mutex] waiting for: [received:nodes:d486c9a5-2016-45cd-b6d3-f2ce732ea9e7:localhost] 2020-09-16 22:45:27 | [Mutex] received everything. 2020-09-16 22:45:27 | [Mutex] isItemNotified: received:node:d486c9a5-2016-45cd-b6d3-f2ce732ea9e7:localhost:node-ce06f5f7-6899-4a68-a91b-0a6acda819c8:Node ce06f5f7-6899-4a68-a91b-0a6acda819c8 :: true |
createSubnodes | 1.019s |
2020-09-16 22:45:27 |
2020-09-16 22:45:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:45:27 | ------------------------------------ 2020-09-16 22:45:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fbdc6733-c187-4814-ab04-945a8d5485d6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fbdc6733-c187-4814-ab04-945a8d5485d6</title></pubsub></data> 2020-09-16 22:45:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-16 22:45:28 | [Mutex] waiting for: [received:nodes:23ca1355-2fe3-45d8-8158-9d3945525867:localhost] 2020-09-16 22:45:28 | [Mutex] received everything. 2020-09-16 22:45:28 | [Mutex] isItemNotified: received:node:23ca1355-2fe3-45d8-8158-9d3945525867:localhost:node-fbdc6733-c187-4814-ab04-945a8d5485d6:Node fbdc6733-c187-4814-ab04-945a8d5485d6 :: true |
deleteNodes | 1.017s |
2020-09-16 22:45:34 |
2020-09-16 22:45:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:45:34 | ------------------------------------ 2020-09-16 22:45:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fbdc6733-c187-4814-ab04-945a8d5485d6</node></data> 2020-09-16 22:45:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-16 22:45:35 | [Mutex] waiting for: [received:nodes:bbd864e5-a7e1-46df-b053-d5f0aa8670e9:localhost] 2020-09-16 22:45:35 | [Mutex] waiting for: [received:nodes:bbd864e5-a7e1-46df-b053-d5f0aa8670e9:localhost] 2020-09-16 22:45:35 | [Mutex] received everything. 2020-09-16 22:45:35 | [Mutex] isItemNotified: received:node:bbd864e5-a7e1-46df-b053-d5f0aa8670e9:localhost:node-fbdc6733-c187-4814-ab04-945a8d5485d6:Node fbdc6733-c187-4814-ab04-945a8d5485d6 :: false |
deleteSubnodes | 1.142s |
2020-09-16 22:45:33 |
2020-09-16 22:45:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:45:33 | ------------------------------------ 2020-09-16 22:45:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ce06f5f7-6899-4a68-a91b-0a6acda819c8</node></data> 2020-09-16 22:45:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-16 22:45:34 | [Mutex] waiting for: [received:nodes:2b859c07-a290-40d9-8429-8c7a37b37d19:localhost] 2020-09-16 22:45:34 | [Mutex] waiting for: [received:nodes:2b859c07-a290-40d9-8429-8c7a37b37d19:localhost] 2020-09-16 22:45:34 | [Mutex] waiting for: [received:nodes:2b859c07-a290-40d9-8429-8c7a37b37d19:localhost] 2020-09-16 22:45:34 | [Mutex] received everything. 2020-09-16 22:45:34 | [Mutex] isItemNotified: received:node:2b859c07-a290-40d9-8429-8c7a37b37d19:localhost:node-ce06f5f7-6899-4a68-a91b-0a6acda819c8:Node ce06f5f7-6899-4a68-a91b-0a6acda819c8 :: false 2020-09-16 22:45:34 | [Mutex] waiting for: [received:nodes:a18026af-7741-4a81-afba-76b1d7cd9b91:localhost] 2020-09-16 22:45:34 | [Mutex] received everything. 2020-09-16 22:45:34 | [Mutex] isItemNotified: received:node:a18026af-7741-4a81-afba-76b1d7cd9b91:localhost:node-ce06f5f7-6899-4a68-a91b-0a6acda819c8:Node ce06f5f7-6899-4a68-a91b-0a6acda819c8 :: false |
publishItemsToNodes | 0.175s |
2020-09-16 22:45:31 |
2020-09-16 22:45:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:45:31 | ------------------------------------ 2020-09-16 22:45:31 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ce06f5f7-6899-4a68-a91b-0a6acda819c8</node><item-id>item-0b501a9a-a4cc-4969-9111-eaa6472a15e3</item-id><entry><test>item-0b501a9a-a4cc-4969-9111-eaa6472a15e3</test></entry></data> 2020-09-16 22:45:31 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-0b501a9a-a4cc-4969-9111-eaa6472a15e3</value></item-id></result> 2020-09-16 22:45:31 | [Mutex] waiting for: [published:item:notifieditem-0b501a9a-a4cc-4969-9111-eaa6472a15e3:admin@test-domain.com] 2020-09-16 22:45:31 | [Mutex] received everything. 2020-09-16 22:45:31 | [Mutex] isItemNotified: published:item:notifieditem-0b501a9a-a4cc-4969-9111-eaa6472a15e3:admin@test-domain.com :: true |
retractItemsFromNodes | 0.284s |
2020-09-16 22:45:31 |
2020-09-16 22:45:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:45:31 | ------------------------------------ 2020-09-16 22:45:31 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ce06f5f7-6899-4a68-a91b-0a6acda819c8</node><item-id>item-0b501a9a-a4cc-4969-9111-eaa6472a15e3</item-id></data> 2020-09-16 22:45:32 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-0b501a9a-a4cc-4969-9111-eaa6472a15e3</value></item-id></result> 2020-09-16 22:45:32 | [Mutex] received everything. 2020-09-16 22:45:32 | [Mutex] isItemNotified: retracted:item:notifieditem-0b501a9a-a4cc-4969-9111-eaa6472a15e3:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.268s |
2020-09-16 22:45:31 |
2020-09-16 22:45:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:45:31 | ------------------------------------ 2020-09-16 22:45:31 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ce06f5f7-6899-4a68-a91b-0a6acda819c8</node><item-id>item-0b501a9a-a4cc-4969-9111-eaa6472a15e3</item-id></data> 2020-09-16 22:45:31 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-ce06f5f7-6899-4a68-a91b-0a6acda819c8</value></node><item-id type="text-single" label="Item ID"><value>item-0b501a9a-a4cc-4969-9111-eaa6472a15e3</value></item-id><item type="text-multi" label="Item"><value><item id="item-0b501a9a-a4cc-4969-9111-eaa6472a15e3"><test>item-0b501a9a-a4cc-4969-9111-eaa6472a15e3</test></item></value></item></result> 2020-09-16 22:45:31 | [Mutex] notify: [retrieved:item:item-0b501a9a-a4cc-4969-9111-eaa6472a15e3:payload-matches:true:localhost] 2020-09-16 22:45:31 | [Mutex] received everything. 2020-09-16 22:45:31 | [Mutex] isItemNotified: retrieved:item:item-0b501a9a-a4cc-4969-9111-eaa6472a15e3:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2020-09-16 22:45:31 |
2020-09-16 22:45:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:45:31 | ------------------------------------ 2020-09-16 22:45:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-16 22:45:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-fbdc6733-c187-4814-ab04-945a8d5485d6</value><value>node-ce06f5f7-6899-4a68-a91b-0a6acda819c8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2020-09-16 22:45:31 |
2020-09-16 22:45:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:45:31 | ------------------------------------ 2020-09-16 22:45:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ce06f5f7-6899-4a68-a91b-0a6acda819c8)</node-pattern></data> 2020-09-16 22:45:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.143s |
2020-09-16 22:45:30 |
2020-09-16 22:45:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:45:30 | ------------------------------------ 2020-09-16 22:45:30 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ce06f5f7-6899-4a68-a91b-0a6acda819c8</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-16 22:45:30 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.279s |
2020-09-16 22:45:32 |
2020-09-16 22:45:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 22:45:32 | ------------------------------------ 2020-09-16 22:45:32 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ce06f5f7-6899-4a68-a91b-0a6acda819c8</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-16 22:45:32 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |