Test duration : 9.420s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.088s |
2022-04-27 23:20:44 |
2022-04-27 23:20:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 23:20:44 | ------------------------------------ 2022-04-27 23:20:44 | [Mutex] waiting for: [configured:node:node-e4894f50-e170-45de-92ef-17ca692e4586:node-1b1febf9-4264-4835-99c6-2708f2f25b89] 2022-04-27 23:20:44 | [Mutex] received everything. 2022-04-27 23:20:44 | [Mutex] isItemNotified: configured:node:node-e4894f50-e170-45de-92ef-17ca692e4586:node-1b1febf9-4264-4835-99c6-2708f2f25b89 :: true 2022-04-27 23:20:45 | [Mutex] waiting for: [received:nodes:56af0444-ec9f-4c15-ac19-eb5afe6467ee:localhost] 2022-04-27 23:20:45 | [Mutex] received everything. 2022-04-27 23:20:45 | [Mutex] isItemNotified: received:node:56af0444-ec9f-4c15-ac19-eb5afe6467ee:localhost:node-e4894f50-e170-45de-92ef-17ca692e4586:Node e4894f50-e170-45de-92ef-17ca692e4586 :: true 2022-04-27 23:20:45 | [Mutex] waiting for: [received:nodes:97850c5d-af75-4171-b3db-82e8557e42d0:localhost] 2022-04-27 23:20:45 | [Mutex] waiting for: [received:nodes:97850c5d-af75-4171-b3db-82e8557e42d0:localhost] 2022-04-27 23:20:45 | [Mutex] waiting for: [received:nodes:97850c5d-af75-4171-b3db-82e8557e42d0:localhost] 2022-04-27 23:20:45 | [Mutex] received everything. 2022-04-27 23:20:45 | [Mutex] isItemNotified: received:node:97850c5d-af75-4171-b3db-82e8557e42d0:localhost:node-e4894f50-e170-45de-92ef-17ca692e4586:Node e4894f50-e170-45de-92ef-17ca692e4586 :: false |
createNodes | 1.440s |
2022-04-27 23:20:41 |
2022-04-27 23:20:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 23:20:41 | ------------------------------------ 2022-04-27 23:20:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e4894f50-e170-45de-92ef-17ca692e4586</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e4894f50-e170-45de-92ef-17ca692e4586</title></pubsub></data> 2022-04-27 23:20:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-27 23:20:43 | [Mutex] waiting for: [received:nodes:e820b88a-996b-4ce7-82ed-404160e188f9:localhost] 2022-04-27 23:20:43 | [Mutex] waiting for: [received:nodes:e820b88a-996b-4ce7-82ed-404160e188f9:localhost] 2022-04-27 23:20:43 | [Mutex] received everything. 2022-04-27 23:20:43 | [Mutex] isItemNotified: received:node:e820b88a-996b-4ce7-82ed-404160e188f9:localhost:node-e4894f50-e170-45de-92ef-17ca692e4586:Node e4894f50-e170-45de-92ef-17ca692e4586 :: true |
createSubnodes | 1.027s |
2022-04-27 23:20:43 |
2022-04-27 23:20:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 23:20:43 | ------------------------------------ 2022-04-27 23:20:43 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1b1febf9-4264-4835-99c6-2708f2f25b89</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1b1febf9-4264-4835-99c6-2708f2f25b89</title></pubsub></data> 2022-04-27 23:20:43 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-27 23:20:44 | [Mutex] waiting for: [received:nodes:0c362b96-d3dd-46b2-836c-7401eaf3ab42:localhost] 2022-04-27 23:20:44 | [Mutex] received everything. 2022-04-27 23:20:44 | [Mutex] isItemNotified: received:node:0c362b96-d3dd-46b2-836c-7401eaf3ab42:localhost:node-1b1febf9-4264-4835-99c6-2708f2f25b89:Node 1b1febf9-4264-4835-99c6-2708f2f25b89 :: true |
deleteNodes | 1.020s |
2022-04-27 23:20:49 |
2022-04-27 23:20:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 23:20:49 | ------------------------------------ 2022-04-27 23:20:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1b1febf9-4264-4835-99c6-2708f2f25b89</node></data> 2022-04-27 23:20:49 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-27 23:20:50 | [Mutex] waiting for: [received:nodes:196cabf8-9eec-409c-a506-1d6fa87b383c:localhost] 2022-04-27 23:20:50 | [Mutex] received everything. 2022-04-27 23:20:50 | [Mutex] isItemNotified: received:node:196cabf8-9eec-409c-a506-1d6fa87b383c:localhost:node-1b1febf9-4264-4835-99c6-2708f2f25b89:Node 1b1febf9-4264-4835-99c6-2708f2f25b89 :: false |
deleteSubnodes | 1.104s |
2022-04-27 23:20:48 |
2022-04-27 23:20:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 23:20:48 | ------------------------------------ 2022-04-27 23:20:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e4894f50-e170-45de-92ef-17ca692e4586</node></data> 2022-04-27 23:20:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-27 23:20:49 | [Mutex] waiting for: [received:nodes:382532b7-1ce7-4eff-8341-2aeded2de560:localhost] 2022-04-27 23:20:49 | [Mutex] waiting for: [received:nodes:382532b7-1ce7-4eff-8341-2aeded2de560:localhost] 2022-04-27 23:20:49 | [Mutex] received everything. 2022-04-27 23:20:49 | [Mutex] isItemNotified: received:node:382532b7-1ce7-4eff-8341-2aeded2de560:localhost:node-e4894f50-e170-45de-92ef-17ca692e4586:Node e4894f50-e170-45de-92ef-17ca692e4586 :: false 2022-04-27 23:20:49 | [Mutex] waiting for: [received:nodes:34552ef8-19ea-45e0-9b95-9bc7f03e152e:localhost] 2022-04-27 23:20:49 | [Mutex] received everything. 2022-04-27 23:20:49 | [Mutex] isItemNotified: received:node:34552ef8-19ea-45e0-9b95-9bc7f03e152e:localhost:node-e4894f50-e170-45de-92ef-17ca692e4586:Node e4894f50-e170-45de-92ef-17ca692e4586 :: false |
publishItemsToNodes | 0.177s |
2022-04-27 23:20:46 |
2022-04-27 23:20:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 23:20:46 | ------------------------------------ 2022-04-27 23:20:46 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e4894f50-e170-45de-92ef-17ca692e4586</node><item-id>item-931d0fbd-1943-4a2f-8e8c-8e61689c774c</item-id><entry><test>item-931d0fbd-1943-4a2f-8e8c-8e61689c774c</test></entry></data> 2022-04-27 23:20:46 | 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-931d0fbd-1943-4a2f-8e8c-8e61689c774c</value></item-id></result> 2022-04-27 23:20:46 | [Mutex] waiting for: [published:item:notifieditem-931d0fbd-1943-4a2f-8e8c-8e61689c774c:admin@test-domain.com] 2022-04-27 23:20:46 | [Mutex] received everything. 2022-04-27 23:20:46 | [Mutex] isItemNotified: published:item:notifieditem-931d0fbd-1943-4a2f-8e8c-8e61689c774c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.226s |
2022-04-27 23:20:47 |
2022-04-27 23:20:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 23:20:47 | ------------------------------------ 2022-04-27 23:20:47 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e4894f50-e170-45de-92ef-17ca692e4586</node><item-id>item-931d0fbd-1943-4a2f-8e8c-8e61689c774c</item-id></data> 2022-04-27 23:20: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-931d0fbd-1943-4a2f-8e8c-8e61689c774c</value></item-id></result> 2022-04-27 23:20:47 | [Mutex] received everything. 2022-04-27 23:20:47 | [Mutex] isItemNotified: retracted:item:notifieditem-931d0fbd-1943-4a2f-8e8c-8e61689c774c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.200s |
2022-04-27 23:20:46 |
2022-04-27 23:20:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 23:20:46 | ------------------------------------ 2022-04-27 23:20:46 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e4894f50-e170-45de-92ef-17ca692e4586</node><item-id>item-931d0fbd-1943-4a2f-8e8c-8e61689c774c</item-id></data> 2022-04-27 23:20: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-e4894f50-e170-45de-92ef-17ca692e4586</value></node><item-id type="text-single" label="Item ID"><value>item-931d0fbd-1943-4a2f-8e8c-8e61689c774c</value></item-id><item type="text-multi" label="Item"><value><item id="item-931d0fbd-1943-4a2f-8e8c-8e61689c774c"><test>item-931d0fbd-1943-4a2f-8e8c-8e61689c774c</test></item></value></item></result> 2022-04-27 23:20:47 | [Mutex] notify: [retrieved:item:item-931d0fbd-1943-4a2f-8e8c-8e61689c774c:payload-matches:true:localhost] 2022-04-27 23:20:47 | [Mutex] received everything. 2022-04-27 23:20:47 | [Mutex] isItemNotified: retrieved:item:item-931d0fbd-1943-4a2f-8e8c-8e61689c774c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2022-04-27 23:20:47 |
2022-04-27 23:20:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 23:20:47 | ------------------------------------ 2022-04-27 23:20:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-04-27 23:20:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-1b1febf9-4264-4835-99c6-2708f2f25b89</value><value>test</value><value>node-e4894f50-e170-45de-92ef-17ca692e4586</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-04-27 23:20:47 |
2022-04-27 23:20:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 23:20:47 | ------------------------------------ 2022-04-27 23:20: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-e4894f50-e170-45de-92ef-17ca692e4586)</node-pattern></data> 2022-04-27 23:20:47 | 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-04-27 23:20:45 |
2022-04-27 23:20:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 23:20:45 | ------------------------------------ 2022-04-27 23:20:45 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e4894f50-e170-45de-92ef-17ca692e4586</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-27 23:20: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.183s |
2022-04-27 23:20:47 |
2022-04-27 23:20:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-27 23:20:47 | ------------------------------------ 2022-04-27 23:20:47 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e4894f50-e170-45de-92ef-17ca692e4586</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-27 23:20:47 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |