Test duration: 10.463s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.113s |
2019-11-26 20:16:26 |
2019-11-26 20:16:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:16:26 | ------------------------------------ 2019-11-26 20:16:27 | [Mutex] waiting for: [configured:node:node-862456a5-8103-41cb-900f-2cc7f710735e:node-07a4e8c1-c192-4378-a66b-8d6b6f6e3a11] 2019-11-26 20:16:27 | [Mutex] received everything. 2019-11-26 20:16:27 | [Mutex] isItemNotified: configured:node:node-862456a5-8103-41cb-900f-2cc7f710735e:node-07a4e8c1-c192-4378-a66b-8d6b6f6e3a11 :: true 2019-11-26 20:16:28 | [Mutex] waiting for: [received:nodes:fd2ee578-2712-423c-b270-9e4b0ac952a2:localhost] 2019-11-26 20:16:28 | [Mutex] received everything. 2019-11-26 20:16:28 | [Mutex] isItemNotified: received:node:fd2ee578-2712-423c-b270-9e4b0ac952a2:localhost:node-862456a5-8103-41cb-900f-2cc7f710735e:Node 862456a5-8103-41cb-900f-2cc7f710735e :: true 2019-11-26 20:16:28 | [Mutex] waiting for: [received:nodes:432df7bb-b420-42c8-8bdf-e2288694a7dd:localhost] 2019-11-26 20:16:28 | [Mutex] received everything. 2019-11-26 20:16:28 | [Mutex] isItemNotified: received:node:432df7bb-b420-42c8-8bdf-e2288694a7dd:localhost:node-862456a5-8103-41cb-900f-2cc7f710735e:Node 862456a5-8103-41cb-900f-2cc7f710735e :: false |
createNodes | 1.584s |
2019-11-26 20:16:24 |
2019-11-26 20:16:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:16:24 | ------------------------------------ 2019-11-26 20:16:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-862456a5-8103-41cb-900f-2cc7f710735e</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 862456a5-8103-41cb-900f-2cc7f710735e</title></pubsub></data> 2019-11-26 20:16:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 20:16:25 | [Mutex] waiting for: [received:nodes:76524ee3-329d-4e61-9b1f-d44f1d3df1e4:localhost] 2019-11-26 20:16:25 | [Mutex] received everything. 2019-11-26 20:16:25 | [Mutex] isItemNotified: received:node:76524ee3-329d-4e61-9b1f-d44f1d3df1e4:localhost:node-862456a5-8103-41cb-900f-2cc7f710735e:Node 862456a5-8103-41cb-900f-2cc7f710735e :: true |
createSubnodes | 1.029s |
2019-11-26 20:16:25 |
2019-11-26 20:16:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:16:25 | ------------------------------------ 2019-11-26 20:16:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-07a4e8c1-c192-4378-a66b-8d6b6f6e3a11</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 07a4e8c1-c192-4378-a66b-8d6b6f6e3a11</title></pubsub></data> 2019-11-26 20:16:25 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 20:16:26 | [Mutex] waiting for: [received:nodes:bce49eb7-7916-4d1b-9fd2-44e41188e672:localhost] 2019-11-26 20:16:26 | [Mutex] received everything. 2019-11-26 20:16:26 | [Mutex] isItemNotified: received:node:bce49eb7-7916-4d1b-9fd2-44e41188e672:localhost:node-07a4e8c1-c192-4378-a66b-8d6b6f6e3a11:Node 07a4e8c1-c192-4378-a66b-8d6b6f6e3a11 :: true |
deleteNodes | 1.023s |
2019-11-26 20:16:32 |
2019-11-26 20:16:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:16:32 | ------------------------------------ 2019-11-26 20:16:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-07a4e8c1-c192-4378-a66b-8d6b6f6e3a11</node></data> 2019-11-26 20:16:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 20:16:34 | [Mutex] waiting for: [received:nodes:77ba6923-c28d-486f-9079-353324bd106c:localhost] 2019-11-26 20:16:34 | [Mutex] received everything. 2019-11-26 20:16:34 | [Mutex] isItemNotified: received:node:77ba6923-c28d-486f-9079-353324bd106c:localhost:node-07a4e8c1-c192-4378-a66b-8d6b6f6e3a11:Node 07a4e8c1-c192-4378-a66b-8d6b6f6e3a11 :: false |
deleteSubnodes | 1.151s |
2019-11-26 20:16:31 |
2019-11-26 20:16:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:16:31 | ------------------------------------ 2019-11-26 20:16:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-862456a5-8103-41cb-900f-2cc7f710735e</node></data> 2019-11-26 20:16:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 20:16:32 | [Mutex] waiting for: [received:nodes:016b9adb-12e7-4c8f-84e4-54e60628855b:localhost] 2019-11-26 20:16:32 | [Mutex] received everything. 2019-11-26 20:16:32 | [Mutex] isItemNotified: received:node:016b9adb-12e7-4c8f-84e4-54e60628855b:localhost:node-862456a5-8103-41cb-900f-2cc7f710735e:Node 862456a5-8103-41cb-900f-2cc7f710735e :: false 2019-11-26 20:16:32 | [Mutex] waiting for: [received:nodes:7a1052d0-bfe1-4851-94e7-eb6157223bc9:localhost] 2019-11-26 20:16:32 | [Mutex] received everything. 2019-11-26 20:16:32 | [Mutex] isItemNotified: received:node:7a1052d0-bfe1-4851-94e7-eb6157223bc9:localhost:node-862456a5-8103-41cb-900f-2cc7f710735e:Node 862456a5-8103-41cb-900f-2cc7f710735e :: false |
publishItemsToNodes | 0.403s |
2019-11-26 20:16:29 |
2019-11-26 20:16:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:16:29 | ------------------------------------ 2019-11-26 20:16:29 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-862456a5-8103-41cb-900f-2cc7f710735e</node><item-id>item-ccc81481-ac80-4682-91b8-4fff4865fb17</item-id><entry><test>item-ccc81481-ac80-4682-91b8-4fff4865fb17</test></entry></data> 2019-11-26 20:16:29 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-ccc81481-ac80-4682-91b8-4fff4865fb17</value></item-id></result> 2019-11-26 20:16:29 | [Mutex] received everything. 2019-11-26 20:16:29 | [Mutex] isItemNotified: published:item:notifieditem-ccc81481-ac80-4682-91b8-4fff4865fb17:admin@localhost :: true |
retractItemsFromNodes | 0.317s |
2019-11-26 20:16:30 |
2019-11-26 20:16:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:16:30 | ------------------------------------ 2019-11-26 20:16:30 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-862456a5-8103-41cb-900f-2cc7f710735e</node><item-id>item-ccc81481-ac80-4682-91b8-4fff4865fb17</item-id></data> 2019-11-26 20:16:30 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-ccc81481-ac80-4682-91b8-4fff4865fb17</value></item-id></result> 2019-11-26 20:16:30 | [Mutex] received everything. 2019-11-26 20:16:30 | [Mutex] isItemNotified: retracted:item:notifieditem-ccc81481-ac80-4682-91b8-4fff4865fb17:admin@localhost :: true |
retrieveItemsFromNodes | 0.186s |
2019-11-26 20:16:29 |
2019-11-26 20:16:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:16:29 | ------------------------------------ 2019-11-26 20:16:29 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-862456a5-8103-41cb-900f-2cc7f710735e</node><item-id>item-ccc81481-ac80-4682-91b8-4fff4865fb17</item-id></data> 2019-11-26 20:16:29 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-862456a5-8103-41cb-900f-2cc7f710735e</value></node><item-id label="Item ID" type="text-single"><value>item-ccc81481-ac80-4682-91b8-4fff4865fb17</value></item-id><item label="Item" type="text-multi"><value><item id="item-ccc81481-ac80-4682-91b8-4fff4865fb17"><test>item-ccc81481-ac80-4682-91b8-4fff4865fb17</test></item></value></item></result> 2019-11-26 20:16:29 | [Mutex] notify: [retrieved:item:item-ccc81481-ac80-4682-91b8-4fff4865fb17:payload-matches:true:localhost] 2019-11-26 20:16:29 | [Mutex] received everything. 2019-11-26 20:16:29 | [Mutex] isItemNotified: retrieved:item:item-ccc81481-ac80-4682-91b8-4fff4865fb17:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.276s |
2019-11-26 20:16:29 |
2019-11-26 20:16:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:16:29 | ------------------------------------ 2019-11-26 20:16:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-11-26 20:16:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-862456a5-8103-41cb-900f-2cc7f710735e</value><value>node-07a4e8c1-c192-4378-a66b-8d6b6f6e3a11</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2019-11-26 20:16:30 |
2019-11-26 20:16:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:16:30 | ------------------------------------ 2019-11-26 20:16:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-862456a5-8103-41cb-900f-2cc7f710735e)</node-pattern></data> 2019-11-26 20:16:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.136s |
2019-11-26 20:16:28 |
2019-11-26 20:16:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:16:28 | ------------------------------------ 2019-11-26 20:16:28 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-862456a5-8103-41cb-900f-2cc7f710735e</node><jids><value>admin@localhost</value></jids></data> 2019-11-26 20:16:28 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.345s |
2019-11-26 20:16:30 |
2019-11-26 20:16:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:16:30 | ------------------------------------ 2019-11-26 20:16:30 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-862456a5-8103-41cb-900f-2cc7f710735e</node><jids><value>admin@localhost</value></jids></data> 2019-11-26 20:16:30 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |