Test duration: 11.002s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.107s |
2019-11-25 19:38:39 |
2019-11-25 19:38:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-25 19:38:39 | ------------------------------------ 2019-11-25 19:38:39 | [Mutex] waiting for: [configured:node:node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a:node-763db8a9-f0f6-4e31-a9dc-d261d469fc8c] 2019-11-25 19:38:39 | [Mutex] received everything. 2019-11-25 19:38:39 | [Mutex] isItemNotified: configured:node:node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a:node-763db8a9-f0f6-4e31-a9dc-d261d469fc8c :: true 2019-11-25 19:38:40 | [Mutex] waiting for: [received:nodes:d4cad893-9654-46d9-94ad-cb7ec2c82ef5:localhost] 2019-11-25 19:38:40 | [Mutex] received everything. 2019-11-25 19:38:40 | [Mutex] isItemNotified: received:node:d4cad893-9654-46d9-94ad-cb7ec2c82ef5:localhost:node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a:Node d8bca871-a58b-41d7-8aed-61e97f9c5b5a :: true 2019-11-25 19:38:40 | [Mutex] waiting for: [received:nodes:d63b73c0-e551-4f8c-b3aa-5438fc5cdc3e:localhost] 2019-11-25 19:38:40 | [Mutex] received everything. 2019-11-25 19:38:40 | [Mutex] isItemNotified: received:node:d63b73c0-e551-4f8c-b3aa-5438fc5cdc3e:localhost:node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a:Node d8bca871-a58b-41d7-8aed-61e97f9c5b5a :: false |
createNodes | 1.762s |
2019-11-25 19:38:36 |
2019-11-25 19:38:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-25 19:38:36 | ------------------------------------ 2019-11-25 19:38:36 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d8bca871-a58b-41d7-8aed-61e97f9c5b5a</title></pubsub></data> 2019-11-25 19:38:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-25 19:38:38 | [Mutex] waiting for: [received:nodes:4dcde18d-b20f-4733-86c4-269c42dd8303:localhost] 2019-11-25 19:38:38 | [Mutex] received everything. 2019-11-25 19:38:38 | [Mutex] isItemNotified: received:node:4dcde18d-b20f-4733-86c4-269c42dd8303:localhost:node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a:Node d8bca871-a58b-41d7-8aed-61e97f9c5b5a :: true |
createSubnodes | 1.022s |
2019-11-25 19:38:38 |
2019-11-25 19:38:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-25 19:38:38 | ------------------------------------ 2019-11-25 19:38:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-763db8a9-f0f6-4e31-a9dc-d261d469fc8c</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 763db8a9-f0f6-4e31-a9dc-d261d469fc8c</title></pubsub></data> 2019-11-25 19:38:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-25 19:38:39 | [Mutex] waiting for: [received:nodes:9058ed36-b443-492d-875a-6bec5e528bd1:localhost] 2019-11-25 19:38:39 | [Mutex] received everything. 2019-11-25 19:38:39 | [Mutex] isItemNotified: received:node:9058ed36-b443-492d-875a-6bec5e528bd1:localhost:node-763db8a9-f0f6-4e31-a9dc-d261d469fc8c:Node 763db8a9-f0f6-4e31-a9dc-d261d469fc8c :: true |
deleteNodes | 1.019s |
2019-11-25 19:38:45 |
2019-11-25 19:38:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-25 19:38:45 | ------------------------------------ 2019-11-25 19:38:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-763db8a9-f0f6-4e31-a9dc-d261d469fc8c</node></data> 2019-11-25 19:38:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-25 19:38:46 | [Mutex] waiting for: [received:nodes:d09d383f-67d7-438f-ada5-e7ede3d8a6f7:localhost] 2019-11-25 19:38:46 | [Mutex] received everything. 2019-11-25 19:38:46 | [Mutex] isItemNotified: received:node:d09d383f-67d7-438f-ada5-e7ede3d8a6f7:localhost:node-763db8a9-f0f6-4e31-a9dc-d261d469fc8c:Node 763db8a9-f0f6-4e31-a9dc-d261d469fc8c :: false |
deleteSubnodes | 1.186s |
2019-11-25 19:38:44 |
2019-11-25 19:38:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-25 19:38:44 | ------------------------------------ 2019-11-25 19:38:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a</node></data> 2019-11-25 19:38:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-25 19:38:45 | [Mutex] waiting for: [received:nodes:02168df5-bca6-4cb0-a61e-40c1ac8a7ba9:localhost] 2019-11-25 19:38:45 | [Mutex] received everything. 2019-11-25 19:38:45 | [Mutex] isItemNotified: received:node:02168df5-bca6-4cb0-a61e-40c1ac8a7ba9:localhost:node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a:Node d8bca871-a58b-41d7-8aed-61e97f9c5b5a :: false 2019-11-25 19:38:45 | [Mutex] waiting for: [received:nodes:7cd55ef3-5068-4c54-96da-1e32b86261bf:localhost] 2019-11-25 19:38:45 | [Mutex] received everything. 2019-11-25 19:38:45 | [Mutex] isItemNotified: received:node:7cd55ef3-5068-4c54-96da-1e32b86261bf:localhost:node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a:Node d8bca871-a58b-41d7-8aed-61e97f9c5b5a :: false |
publishItemsToNodes | 0.321s |
2019-11-25 19:38:41 |
2019-11-25 19:38:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-25 19:38:41 | ------------------------------------ 2019-11-25 19:38:41 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a</node><item-id>item-50baef52-dcf8-456e-ba3d-62dd1760a103</item-id><entry><test>item-50baef52-dcf8-456e-ba3d-62dd1760a103</test></entry></data> 2019-11-25 19:38:42 | 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-50baef52-dcf8-456e-ba3d-62dd1760a103</value></item-id></result> 2019-11-25 19:38:42 | [Mutex] received everything. 2019-11-25 19:38:42 | [Mutex] isItemNotified: published:item:notifieditem-50baef52-dcf8-456e-ba3d-62dd1760a103:admin@localhost :: true |
retractItemsFromNodes | 0.304s |
2019-11-25 19:38:42 |
2019-11-25 19:38:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-25 19:38:42 | ------------------------------------ 2019-11-25 19:38:42 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a</node><item-id>item-50baef52-dcf8-456e-ba3d-62dd1760a103</item-id></data> 2019-11-25 19:38:43 | 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-50baef52-dcf8-456e-ba3d-62dd1760a103</value></item-id></result> 2019-11-25 19:38:43 | [Mutex] received everything. 2019-11-25 19:38:43 | [Mutex] isItemNotified: retracted:item:notifieditem-50baef52-dcf8-456e-ba3d-62dd1760a103:admin@localhost :: true |
retrieveItemsFromNodes | 0.174s |
2019-11-25 19:38:42 |
2019-11-25 19:38:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-25 19:38:42 | ------------------------------------ 2019-11-25 19:38:42 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a</node><item-id>item-50baef52-dcf8-456e-ba3d-62dd1760a103</item-id></data> 2019-11-25 19:38:42 | 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-d8bca871-a58b-41d7-8aed-61e97f9c5b5a</value></node><item-id type="text-single" label="Item ID"><value>item-50baef52-dcf8-456e-ba3d-62dd1760a103</value></item-id><item type="text-multi" label="Item"><value><item id="item-50baef52-dcf8-456e-ba3d-62dd1760a103"><test>item-50baef52-dcf8-456e-ba3d-62dd1760a103</test></item></value></item></result> 2019-11-25 19:38:42 | [Mutex] notify: [retrieved:item:item-50baef52-dcf8-456e-ba3d-62dd1760a103:payload-matches:true:localhost] 2019-11-25 19:38:42 | [Mutex] received everything. 2019-11-25 19:38:42 | [Mutex] isItemNotified: retrieved:item:item-50baef52-dcf8-456e-ba3d-62dd1760a103:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.288s |
2019-11-25 19:38:42 |
2019-11-25 19:38:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-25 19:38:42 | ------------------------------------ 2019-11-25 19:38:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-11-25 19:38:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a</value><value>node-763db8a9-f0f6-4e31-a9dc-d261d469fc8c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.066s |
2019-11-25 19:38:42 |
2019-11-25 19:38:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-25 19:38:42 | ------------------------------------ 2019-11-25 19:38:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a)</node-pattern></data> 2019-11-25 19:38:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.346s |
2019-11-25 19:38:40 |
2019-11-25 19:38:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-25 19:38:40 | ------------------------------------ 2019-11-25 19:38:40 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a</node><jids><value>admin@localhost</value></jids></data> 2019-11-25 19:38:40 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.351s |
2019-11-25 19:38:43 |
2019-11-25 19:38:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-25 19:38:43 | ------------------------------------ 2019-11-25 19:38:43 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d8bca871-a58b-41d7-8aed-61e97f9c5b5a</node><jids><value>admin@localhost</value></jids></data> 2019-11-25 19:38:43 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |