Test duration : 9.542s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.114s |
2022-08-09 23:02:29 |
2022-08-09 23:02:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:02:29 | ------------------------------------ 2022-08-09 23:02:29 | [Mutex] waiting for: [configured:node:node-4ae44e5a-06ce-4615-b992-53a2f6001d02:node-6fdf1084-d765-44ec-8c12-ef926b586e9b] 2022-08-09 23:02:29 | [Mutex] received everything. 2022-08-09 23:02:29 | [Mutex] isItemNotified: configured:node:node-4ae44e5a-06ce-4615-b992-53a2f6001d02:node-6fdf1084-d765-44ec-8c12-ef926b586e9b :: true 2022-08-09 23:02:30 | [Mutex] waiting for: [received:nodes:b21eaf3f-7bc4-4b79-b9f0-f8272f1bd12f:localhost] 2022-08-09 23:02:30 | [Mutex] received everything. 2022-08-09 23:02:30 | [Mutex] isItemNotified: received:node:b21eaf3f-7bc4-4b79-b9f0-f8272f1bd12f:localhost:node-4ae44e5a-06ce-4615-b992-53a2f6001d02:Node 4ae44e5a-06ce-4615-b992-53a2f6001d02 :: true 2022-08-09 23:02:30 | [Mutex] waiting for: [received:nodes:3f6fa7b1-5f80-47b6-bdc9-8dc3ea4f8f04:localhost] 2022-08-09 23:02:30 | [Mutex] received everything. 2022-08-09 23:02:30 | [Mutex] isItemNotified: received:node:3f6fa7b1-5f80-47b6-bdc9-8dc3ea4f8f04:localhost:node-4ae44e5a-06ce-4615-b992-53a2f6001d02:Node 4ae44e5a-06ce-4615-b992-53a2f6001d02 :: false |
createNodes | 1.353s |
2022-08-09 23:02:27 |
2022-08-09 23:02:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:02:27 | ------------------------------------ 2022-08-09 23:02:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4ae44e5a-06ce-4615-b992-53a2f6001d02</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4ae44e5a-06ce-4615-b992-53a2f6001d02</title></pubsub></data> 2022-08-09 23:02:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 23:02:28 | [Mutex] waiting for: [received:nodes:e6222c67-04c8-4977-8c1b-ebd06e94bbb3:localhost] 2022-08-09 23:02:28 | [Mutex] waiting for: [received:nodes:e6222c67-04c8-4977-8c1b-ebd06e94bbb3:localhost] 2022-08-09 23:02:28 | [Mutex] received everything. 2022-08-09 23:02:28 | [Mutex] isItemNotified: received:node:e6222c67-04c8-4977-8c1b-ebd06e94bbb3:localhost:node-4ae44e5a-06ce-4615-b992-53a2f6001d02:Node 4ae44e5a-06ce-4615-b992-53a2f6001d02 :: true |
createSubnodes | 1.026s |
2022-08-09 23:02:28 |
2022-08-09 23:02:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:02:28 | ------------------------------------ 2022-08-09 23:02:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6fdf1084-d765-44ec-8c12-ef926b586e9b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6fdf1084-d765-44ec-8c12-ef926b586e9b</title></pubsub></data> 2022-08-09 23:02:28 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 23:02:29 | [Mutex] waiting for: [received:nodes:9b6cd1b3-0052-4e61-992f-89865e856ece:localhost] 2022-08-09 23:02:29 | [Mutex] received everything. 2022-08-09 23:02:29 | [Mutex] isItemNotified: received:node:9b6cd1b3-0052-4e61-992f-89865e856ece:localhost:node-6fdf1084-d765-44ec-8c12-ef926b586e9b:Node 6fdf1084-d765-44ec-8c12-ef926b586e9b :: true |
deleteNodes | 1.016s |
2022-08-09 23:02:34 |
2022-08-09 23:02:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:02:34 | ------------------------------------ 2022-08-09 23:02:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6fdf1084-d765-44ec-8c12-ef926b586e9b</node></data> 2022-08-09 23:02:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 23:02:35 | [Mutex] waiting for: [received:nodes:8258dbd8-d29a-433c-ac1d-38c92aceb961:localhost] 2022-08-09 23:02:35 | [Mutex] waiting for: [received:nodes:8258dbd8-d29a-433c-ac1d-38c92aceb961:localhost] 2022-08-09 23:02:35 | [Mutex] waiting for: [received:nodes:8258dbd8-d29a-433c-ac1d-38c92aceb961:localhost] 2022-08-09 23:02:35 | [Mutex] received everything. 2022-08-09 23:02:35 | [Mutex] isItemNotified: received:node:8258dbd8-d29a-433c-ac1d-38c92aceb961:localhost:node-6fdf1084-d765-44ec-8c12-ef926b586e9b:Node 6fdf1084-d765-44ec-8c12-ef926b586e9b :: false |
deleteSubnodes | 1.162s |
2022-08-09 23:02:33 |
2022-08-09 23:02:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:02:33 | ------------------------------------ 2022-08-09 23:02:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4ae44e5a-06ce-4615-b992-53a2f6001d02</node></data> 2022-08-09 23:02:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 23:02:34 | [Mutex] waiting for: [received:nodes:bd0d367b-9648-42ac-9ff9-046a968c7bed:localhost] 2022-08-09 23:02:34 | [Mutex] received everything. 2022-08-09 23:02:34 | [Mutex] isItemNotified: received:node:bd0d367b-9648-42ac-9ff9-046a968c7bed:localhost:node-4ae44e5a-06ce-4615-b992-53a2f6001d02:Node 4ae44e5a-06ce-4615-b992-53a2f6001d02 :: false 2022-08-09 23:02:34 | [Mutex] waiting for: [received:nodes:5f241382-2795-497b-9245-0b08e80f9c20:localhost] 2022-08-09 23:02:34 | [Mutex] received everything. 2022-08-09 23:02:34 | [Mutex] isItemNotified: received:node:5f241382-2795-497b-9245-0b08e80f9c20:localhost:node-4ae44e5a-06ce-4615-b992-53a2f6001d02:Node 4ae44e5a-06ce-4615-b992-53a2f6001d02 :: false |
publishItemsToNodes | 0.256s |
2022-08-09 23:02:31 |
2022-08-09 23:02:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:02:31 | ------------------------------------ 2022-08-09 23:02:31 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4ae44e5a-06ce-4615-b992-53a2f6001d02</node><item-id>item-e1288056-0d82-4330-b835-7db78e51c865</item-id><entry><test>item-e1288056-0d82-4330-b835-7db78e51c865</test></entry></data> 2022-08-09 23:02: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-e1288056-0d82-4330-b835-7db78e51c865</value></item-id></result> 2022-08-09 23:02:31 | [Mutex] received everything. 2022-08-09 23:02:31 | [Mutex] isItemNotified: published:item:notifieditem-e1288056-0d82-4330-b835-7db78e51c865:admin@test-domain.com :: true |
retractItemsFromNodes | 0.288s |
2022-08-09 23:02:32 |
2022-08-09 23:02:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:02:32 | ------------------------------------ 2022-08-09 23:02:32 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4ae44e5a-06ce-4615-b992-53a2f6001d02</node><item-id>item-e1288056-0d82-4330-b835-7db78e51c865</item-id></data> 2022-08-09 23:02: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-e1288056-0d82-4330-b835-7db78e51c865</value></item-id></result> 2022-08-09 23:02:32 | [Mutex] received everything. 2022-08-09 23:02:32 | [Mutex] isItemNotified: retracted:item:notifieditem-e1288056-0d82-4330-b835-7db78e51c865:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.227s |
2022-08-09 23:02:31 |
2022-08-09 23:02:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:02:31 | ------------------------------------ 2022-08-09 23:02:31 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4ae44e5a-06ce-4615-b992-53a2f6001d02</node><item-id>item-e1288056-0d82-4330-b835-7db78e51c865</item-id></data> 2022-08-09 23:02:32 | 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-4ae44e5a-06ce-4615-b992-53a2f6001d02</value></node><item-id type="text-single" label="Item ID"><value>item-e1288056-0d82-4330-b835-7db78e51c865</value></item-id><item type="text-multi" label="Item"><value><item id="item-e1288056-0d82-4330-b835-7db78e51c865"><test>item-e1288056-0d82-4330-b835-7db78e51c865</test></item></value></item></result> 2022-08-09 23:02:32 | [Mutex] notify: [retrieved:item:item-e1288056-0d82-4330-b835-7db78e51c865:payload-matches:true:localhost] 2022-08-09 23:02:32 | [Mutex] received everything. 2022-08-09 23:02:32 | [Mutex] isItemNotified: retrieved:item:item-e1288056-0d82-4330-b835-7db78e51c865:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-09 23:02:32 |
2022-08-09 23:02:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:02:32 | ------------------------------------ 2022-08-09 23:02:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-09 23:02:32 | 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-4ae44e5a-06ce-4615-b992-53a2f6001d02</value><value>node-6fdf1084-d765-44ec-8c12-ef926b586e9b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-08-09 23:02:32 |
2022-08-09 23:02:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:02:32 | ------------------------------------ 2022-08-09 23:02:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4ae44e5a-06ce-4615-b992-53a2f6001d02)</node-pattern></data> 2022-08-09 23:02:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.118s |
2022-08-09 23:02:30 |
2022-08-09 23:02:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:02:30 | ------------------------------------ 2022-08-09 23:02:30 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4ae44e5a-06ce-4615-b992-53a2f6001d02</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-09 23:02: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.250s |
2022-08-09 23:02:32 |
2022-08-09 23:02:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 23:02:32 | ------------------------------------ 2022-08-09 23:02:32 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4ae44e5a-06ce-4615-b992-53a2f6001d02</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-09 23:02:32 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |