Test duration : 9.739s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2022-08-17 23:01:44 |
2022-08-17 23:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-17 23:01:44 | ------------------------------------ 2022-08-17 23:01:44 | [Mutex] waiting for: [configured:node:node-4416b828-8e42-4097-9605-ef206ff6cc11:node-406671dd-6f72-4d4f-a7a1-6916dc5c39b2] 2022-08-17 23:01:44 | [Mutex] received everything. 2022-08-17 23:01:44 | [Mutex] isItemNotified: configured:node:node-4416b828-8e42-4097-9605-ef206ff6cc11:node-406671dd-6f72-4d4f-a7a1-6916dc5c39b2 :: true 2022-08-17 23:01:45 | [Mutex] waiting for: [received:nodes:6df34d42-2884-4c76-8ad9-0cddf6986f66:localhost] 2022-08-17 23:01:45 | [Mutex] received everything. 2022-08-17 23:01:45 | [Mutex] isItemNotified: received:node:6df34d42-2884-4c76-8ad9-0cddf6986f66:localhost:node-4416b828-8e42-4097-9605-ef206ff6cc11:Node 4416b828-8e42-4097-9605-ef206ff6cc11 :: true 2022-08-17 23:01:45 | [Mutex] waiting for: [received:nodes:496c75f5-422c-4b7f-8e0b-dece3105d3a4:localhost] 2022-08-17 23:01:45 | [Mutex] received everything. 2022-08-17 23:01:45 | [Mutex] isItemNotified: received:node:496c75f5-422c-4b7f-8e0b-dece3105d3a4:localhost:node-4416b828-8e42-4097-9605-ef206ff6cc11:Node 4416b828-8e42-4097-9605-ef206ff6cc11 :: false |
createNodes | 1.554s |
2022-08-17 23:01:42 |
2022-08-17 23:01:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-17 23:01:42 | ------------------------------------ 2022-08-17 23:01:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4416b828-8e42-4097-9605-ef206ff6cc11</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4416b828-8e42-4097-9605-ef206ff6cc11</title></pubsub></data> 2022-08-17 23:01:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-17 23:01:43 | [Mutex] waiting for: [received:nodes:4b66257f-3904-4a75-a527-09f8a902a276:localhost] 2022-08-17 23:01:43 | [Mutex] received everything. 2022-08-17 23:01:43 | [Mutex] isItemNotified: received:node:4b66257f-3904-4a75-a527-09f8a902a276:localhost:node-4416b828-8e42-4097-9605-ef206ff6cc11:Node 4416b828-8e42-4097-9605-ef206ff6cc11 :: true |
createSubnodes | 1.022s |
2022-08-17 23:01:43 |
2022-08-17 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-17 23:01:43 | ------------------------------------ 2022-08-17 23:01:43 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-406671dd-6f72-4d4f-a7a1-6916dc5c39b2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 406671dd-6f72-4d4f-a7a1-6916dc5c39b2</title></pubsub></data> 2022-08-17 23:01:43 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-17 23:01:44 | [Mutex] waiting for: [received:nodes:03d62743-bef5-428d-85fe-d896ec709325:localhost] 2022-08-17 23:01:44 | [Mutex] received everything. 2022-08-17 23:01:44 | [Mutex] isItemNotified: received:node:03d62743-bef5-428d-85fe-d896ec709325:localhost:node-406671dd-6f72-4d4f-a7a1-6916dc5c39b2:Node 406671dd-6f72-4d4f-a7a1-6916dc5c39b2 :: true |
deleteNodes | 1.020s |
2022-08-17 23:01:50 |
2022-08-17 23:01:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-17 23:01:50 | ------------------------------------ 2022-08-17 23:01:50 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-406671dd-6f72-4d4f-a7a1-6916dc5c39b2</node></data> 2022-08-17 23:01:50 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-17 23:01:51 | [Mutex] waiting for: [received:nodes:e3f23343-4ec6-4d4a-8f8a-57f0473267e8:localhost] 2022-08-17 23:01:51 | [Mutex] waiting for: [received:nodes:e3f23343-4ec6-4d4a-8f8a-57f0473267e8:localhost] 2022-08-17 23:01:51 | [Mutex] waiting for: [received:nodes:e3f23343-4ec6-4d4a-8f8a-57f0473267e8:localhost] 2022-08-17 23:01:51 | [Mutex] received everything. 2022-08-17 23:01:51 | [Mutex] isItemNotified: received:node:e3f23343-4ec6-4d4a-8f8a-57f0473267e8:localhost:node-406671dd-6f72-4d4f-a7a1-6916dc5c39b2:Node 406671dd-6f72-4d4f-a7a1-6916dc5c39b2 :: false |
deleteSubnodes | 1.127s |
2022-08-17 23:01:49 |
2022-08-17 23:01:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-17 23:01:49 | ------------------------------------ 2022-08-17 23:01:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4416b828-8e42-4097-9605-ef206ff6cc11</node></data> 2022-08-17 23:01:49 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-17 23:01:50 | [Mutex] waiting for: [received:nodes:ca674608-6483-40a6-b3ff-296a3e54a0ed:localhost] 2022-08-17 23:01:50 | [Mutex] received everything. 2022-08-17 23:01:50 | [Mutex] isItemNotified: received:node:ca674608-6483-40a6-b3ff-296a3e54a0ed:localhost:node-4416b828-8e42-4097-9605-ef206ff6cc11:Node 4416b828-8e42-4097-9605-ef206ff6cc11 :: false 2022-08-17 23:01:50 | [Mutex] waiting for: [received:nodes:dc327ac8-2cc8-4ac4-9100-d7e7f68b6b5f:localhost] 2022-08-17 23:01:50 | [Mutex] received everything. 2022-08-17 23:01:50 | [Mutex] isItemNotified: received:node:dc327ac8-2cc8-4ac4-9100-d7e7f68b6b5f:localhost:node-4416b828-8e42-4097-9605-ef206ff6cc11:Node 4416b828-8e42-4097-9605-ef206ff6cc11 :: false |
publishItemsToNodes | 0.311s |
2022-08-17 23:01:46 |
2022-08-17 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-17 23:01:46 | ------------------------------------ 2022-08-17 23:01:46 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4416b828-8e42-4097-9605-ef206ff6cc11</node><item-id>item-00ca1340-34d4-44e2-a9da-cfe34997ce66</item-id><entry><test>item-00ca1340-34d4-44e2-a9da-cfe34997ce66</test></entry></data> 2022-08-17 23:01:47 | 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-00ca1340-34d4-44e2-a9da-cfe34997ce66</value></item-id></result> 2022-08-17 23:01:47 | [Mutex] received everything. 2022-08-17 23:01:47 | [Mutex] isItemNotified: published:item:notifieditem-00ca1340-34d4-44e2-a9da-cfe34997ce66:admin@test-domain.com :: true |
retractItemsFromNodes | 0.255s |
2022-08-17 23:01:47 |
2022-08-17 23:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-17 23:01:47 | ------------------------------------ 2022-08-17 23:01:47 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4416b828-8e42-4097-9605-ef206ff6cc11</node><item-id>item-00ca1340-34d4-44e2-a9da-cfe34997ce66</item-id></data> 2022-08-17 23:01:47 | 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-00ca1340-34d4-44e2-a9da-cfe34997ce66</value></item-id></result> 2022-08-17 23:01:47 | [Mutex] received everything. 2022-08-17 23:01:47 | [Mutex] isItemNotified: retracted:item:notifieditem-00ca1340-34d4-44e2-a9da-cfe34997ce66:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.283s |
2022-08-17 23:01:47 |
2022-08-17 23:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-17 23:01:47 | ------------------------------------ 2022-08-17 23:01:47 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4416b828-8e42-4097-9605-ef206ff6cc11</node><item-id>item-00ca1340-34d4-44e2-a9da-cfe34997ce66</item-id></data> 2022-08-17 23:01:47 | 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-4416b828-8e42-4097-9605-ef206ff6cc11</value></node><item-id type="text-single" label="Item ID"><value>item-00ca1340-34d4-44e2-a9da-cfe34997ce66</value></item-id><item type="text-multi" label="Item"><value><item id="item-00ca1340-34d4-44e2-a9da-cfe34997ce66"><test>item-00ca1340-34d4-44e2-a9da-cfe34997ce66</test></item></value></item></result> 2022-08-17 23:01:47 | [Mutex] notify: [retrieved:item:item-00ca1340-34d4-44e2-a9da-cfe34997ce66:payload-matches:true:localhost] 2022-08-17 23:01:47 | [Mutex] received everything. 2022-08-17 23:01:47 | [Mutex] isItemNotified: retrieved:item:item-00ca1340-34d4-44e2-a9da-cfe34997ce66:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-17 23:01:47 |
2022-08-17 23:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-17 23:01:47 | ------------------------------------ 2022-08-17 23:01:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-17 23:01:47 | 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-4416b828-8e42-4097-9605-ef206ff6cc11</value><value>node-406671dd-6f72-4d4f-a7a1-6916dc5c39b2</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-08-17 23:01:47 |
2022-08-17 23:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-17 23:01:47 | ------------------------------------ 2022-08-17 23:01:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4416b828-8e42-4097-9605-ef206ff6cc11)</node-pattern></data> 2022-08-17 23:01:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.127s |
2022-08-17 23:01:45 |
2022-08-17 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-17 23:01:45 | ------------------------------------ 2022-08-17 23:01:45 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4416b828-8e42-4097-9605-ef206ff6cc11</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-17 23:01:45 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.175s |
2022-08-17 23:01:47 |
2022-08-17 23:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-17 23:01:47 | ------------------------------------ 2022-08-17 23:01:47 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4416b828-8e42-4097-9605-ef206ff6cc11</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-17 23:01:48 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |