Test duration : 9.640s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.077s |
2022-07-18 22:32:12 |
2022-07-18 22:32:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-18 22:32:12 | ------------------------------------ 2022-07-18 22:32:12 | [Mutex] waiting for: [configured:node:node-2d648aed-13c1-40f0-9588-f1e03dbb9591:node-eb38dd8b-8a23-41fc-b6af-d7d2528a9dab] 2022-07-18 22:32:12 | [Mutex] received everything. 2022-07-18 22:32:12 | [Mutex] isItemNotified: configured:node:node-2d648aed-13c1-40f0-9588-f1e03dbb9591:node-eb38dd8b-8a23-41fc-b6af-d7d2528a9dab :: true 2022-07-18 22:32:13 | [Mutex] waiting for: [received:nodes:4bbb528f-ee80-473b-948d-dc757947c494:localhost] 2022-07-18 22:32:13 | [Mutex] received everything. 2022-07-18 22:32:13 | [Mutex] isItemNotified: received:node:4bbb528f-ee80-473b-948d-dc757947c494:localhost:node-2d648aed-13c1-40f0-9588-f1e03dbb9591:Node 2d648aed-13c1-40f0-9588-f1e03dbb9591 :: true 2022-07-18 22:32:13 | [Mutex] waiting for: [received:nodes:9919904d-c4fa-48fa-9666-4739686bcee4:localhost] 2022-07-18 22:32:13 | [Mutex] received everything. 2022-07-18 22:32:13 | [Mutex] isItemNotified: received:node:9919904d-c4fa-48fa-9666-4739686bcee4:localhost:node-2d648aed-13c1-40f0-9588-f1e03dbb9591:Node 2d648aed-13c1-40f0-9588-f1e03dbb9591 :: false |
createNodes | 1.438s |
2022-07-18 22:32:09 |
2022-07-18 22:32:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-18 22:32:09 | ------------------------------------ 2022-07-18 22:32:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2d648aed-13c1-40f0-9588-f1e03dbb9591</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2d648aed-13c1-40f0-9588-f1e03dbb9591</title></pubsub></data> 2022-07-18 22:32:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-18 22:32:10 | [Mutex] waiting for: [received:nodes:b2a55fcf-2daa-48bf-8a99-816ab5a27b28:localhost] 2022-07-18 22:32:10 | [Mutex] received everything. 2022-07-18 22:32:10 | [Mutex] isItemNotified: received:node:b2a55fcf-2daa-48bf-8a99-816ab5a27b28:localhost:node-2d648aed-13c1-40f0-9588-f1e03dbb9591:Node 2d648aed-13c1-40f0-9588-f1e03dbb9591 :: true |
createSubnodes | 1.028s |
2022-07-18 22:32:10 |
2022-07-18 22:32:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-18 22:32:10 | ------------------------------------ 2022-07-18 22:32:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-eb38dd8b-8a23-41fc-b6af-d7d2528a9dab</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node eb38dd8b-8a23-41fc-b6af-d7d2528a9dab</title></pubsub></data> 2022-07-18 22:32:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-18 22:32:12 | [Mutex] waiting for: [received:nodes:fc3ecb19-7f64-4620-9aa4-218b83312be6:localhost] 2022-07-18 22:32:12 | [Mutex] received everything. 2022-07-18 22:32:12 | [Mutex] isItemNotified: received:node:fc3ecb19-7f64-4620-9aa4-218b83312be6:localhost:node-eb38dd8b-8a23-41fc-b6af-d7d2528a9dab:Node eb38dd8b-8a23-41fc-b6af-d7d2528a9dab :: true |
deleteNodes | 1.018s |
2022-07-18 22:32:17 |
2022-07-18 22:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-18 22:32:17 | ------------------------------------ 2022-07-18 22:32:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-eb38dd8b-8a23-41fc-b6af-d7d2528a9dab</node></data> 2022-07-18 22:32:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-18 22:32:18 | [Mutex] waiting for: [received:nodes:25cf3679-322b-44a7-8e19-7ea68f00bf48:localhost] 2022-07-18 22:32:18 | [Mutex] received everything. 2022-07-18 22:32:18 | [Mutex] isItemNotified: received:node:25cf3679-322b-44a7-8e19-7ea68f00bf48:localhost:node-eb38dd8b-8a23-41fc-b6af-d7d2528a9dab:Node eb38dd8b-8a23-41fc-b6af-d7d2528a9dab :: false |
deleteSubnodes | 1.140s |
2022-07-18 22:32:16 |
2022-07-18 22:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-18 22:32:16 | ------------------------------------ 2022-07-18 22:32:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2d648aed-13c1-40f0-9588-f1e03dbb9591</node></data> 2022-07-18 22:32:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-18 22:32:17 | [Mutex] waiting for: [received:nodes:04c456ab-5bb0-4da0-bb42-2835fcfb6060:localhost] 2022-07-18 22:32:17 | [Mutex] waiting for: [received:nodes:04c456ab-5bb0-4da0-bb42-2835fcfb6060:localhost] 2022-07-18 22:32:17 | [Mutex] waiting for: [received:nodes:04c456ab-5bb0-4da0-bb42-2835fcfb6060:localhost] 2022-07-18 22:32:17 | [Mutex] received everything. 2022-07-18 22:32:17 | [Mutex] isItemNotified: received:node:04c456ab-5bb0-4da0-bb42-2835fcfb6060:localhost:node-2d648aed-13c1-40f0-9588-f1e03dbb9591:Node 2d648aed-13c1-40f0-9588-f1e03dbb9591 :: false 2022-07-18 22:32:17 | [Mutex] waiting for: [received:nodes:21109584-3959-4136-8816-0214cce3c7a4:localhost] 2022-07-18 22:32:17 | [Mutex] received everything. 2022-07-18 22:32:17 | [Mutex] isItemNotified: received:node:21109584-3959-4136-8816-0214cce3c7a4:localhost:node-2d648aed-13c1-40f0-9588-f1e03dbb9591:Node 2d648aed-13c1-40f0-9588-f1e03dbb9591 :: false |
publishItemsToNodes | 0.208s |
2022-07-18 22:32:14 |
2022-07-18 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-18 22:32:14 | ------------------------------------ 2022-07-18 22:32:14 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2d648aed-13c1-40f0-9588-f1e03dbb9591</node><item-id>item-3fd46f42-f23c-49e4-8aea-24cfd944bb8c</item-id><entry><test>item-3fd46f42-f23c-49e4-8aea-24cfd944bb8c</test></entry></data> 2022-07-18 22:32:14 | 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-3fd46f42-f23c-49e4-8aea-24cfd944bb8c</value></item-id></result> 2022-07-18 22:32:14 | [Mutex] received everything. 2022-07-18 22:32:14 | [Mutex] isItemNotified: published:item:notifieditem-3fd46f42-f23c-49e4-8aea-24cfd944bb8c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.307s |
2022-07-18 22:32:14 |
2022-07-18 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-18 22:32:14 | ------------------------------------ 2022-07-18 22:32:14 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2d648aed-13c1-40f0-9588-f1e03dbb9591</node><item-id>item-3fd46f42-f23c-49e4-8aea-24cfd944bb8c</item-id></data> 2022-07-18 22:32:15 | 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-3fd46f42-f23c-49e4-8aea-24cfd944bb8c</value></item-id></result> 2022-07-18 22:32:15 | [Mutex] received everything. 2022-07-18 22:32:15 | [Mutex] isItemNotified: retracted:item:notifieditem-3fd46f42-f23c-49e4-8aea-24cfd944bb8c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.291s |
2022-07-18 22:32:14 |
2022-07-18 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-18 22:32:14 | ------------------------------------ 2022-07-18 22:32:14 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2d648aed-13c1-40f0-9588-f1e03dbb9591</node><item-id>item-3fd46f42-f23c-49e4-8aea-24cfd944bb8c</item-id></data> 2022-07-18 22:32:14 | 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-2d648aed-13c1-40f0-9588-f1e03dbb9591</value></node><item-id type="text-single" label="Item ID"><value>item-3fd46f42-f23c-49e4-8aea-24cfd944bb8c</value></item-id><item type="text-multi" label="Item"><value><item id="item-3fd46f42-f23c-49e4-8aea-24cfd944bb8c"><test>item-3fd46f42-f23c-49e4-8aea-24cfd944bb8c</test></item></value></item></result> 2022-07-18 22:32:14 | [Mutex] notify: [retrieved:item:item-3fd46f42-f23c-49e4-8aea-24cfd944bb8c:payload-matches:true:localhost] 2022-07-18 22:32:14 | [Mutex] received everything. 2022-07-18 22:32:14 | [Mutex] isItemNotified: retrieved:item:item-3fd46f42-f23c-49e4-8aea-24cfd944bb8c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-18 22:32:14 |
2022-07-18 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-18 22:32:14 | ------------------------------------ 2022-07-18 22:32:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-18 22:32:14 | 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-eb38dd8b-8a23-41fc-b6af-d7d2528a9dab</value><value>node-2d648aed-13c1-40f0-9588-f1e03dbb9591</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-18 22:32:14 |
2022-07-18 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-18 22:32:14 | ------------------------------------ 2022-07-18 22:32:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2d648aed-13c1-40f0-9588-f1e03dbb9591)</node-pattern></data> 2022-07-18 22:32:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.114s |
2022-07-18 22:32:13 |
2022-07-18 22:32:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-18 22:32:13 | ------------------------------------ 2022-07-18 22:32:13 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2d648aed-13c1-40f0-9588-f1e03dbb9591</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-18 22:32:13 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.199s |
2022-07-18 22:32:15 |
2022-07-18 22:32:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-18 22:32:15 | ------------------------------------ 2022-07-18 22:32:15 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2d648aed-13c1-40f0-9588-f1e03dbb9591</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-18 22:32:15 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |