Test duration: 10.490s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.113s |
2019-10-13 20:34:30 |
2019-10-13 20:34:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 20:34:30 | ------------------------------------ 2019-10-13 20:34:30 | [Mutex] waiting for: [configured:node:node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa:node-671cef6e-e906-4ea3-b32d-9c5b2435a651] 2019-10-13 20:34:30 | [Mutex] received everything. 2019-10-13 20:34:30 | [Mutex] isItemNotified: configured:node:node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa:node-671cef6e-e906-4ea3-b32d-9c5b2435a651 :: true 2019-10-13 20:34:31 | [Mutex] waiting for: [received:nodes:ebde78af-081c-4a7e-b8f2-321e8bba1cf4:localhost] 2019-10-13 20:34:31 | [Mutex] received everything. 2019-10-13 20:34:31 | [Mutex] isItemNotified: received:node:ebde78af-081c-4a7e-b8f2-321e8bba1cf4:localhost:node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa:Node 8e9889f6-ca11-4bcf-9cc1-f47d15580eaa :: true 2019-10-13 20:34:31 | [Mutex] waiting for: [received:nodes:b7a57d0d-0293-43aa-a756-b008e7e5eea8:localhost] 2019-10-13 20:34:31 | [Mutex] received everything. 2019-10-13 20:34:31 | [Mutex] isItemNotified: received:node:b7a57d0d-0293-43aa-a756-b008e7e5eea8:localhost:node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa:Node 8e9889f6-ca11-4bcf-9cc1-f47d15580eaa :: false |
createNodes | 1.621s |
2019-10-13 20:34:27 |
2019-10-13 20:34:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 20:34:27 | ------------------------------------ 2019-10-13 20:34:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8e9889f6-ca11-4bcf-9cc1-f47d15580eaa</title></pubsub></data> 2019-10-13 20:34:28 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-10-13 20:34:29 | [Mutex] waiting for: [received:nodes:66cb1ace-0ce4-4911-b2d8-40f751eb9da0:localhost] 2019-10-13 20:34:29 | [Mutex] waiting for: [received:nodes:66cb1ace-0ce4-4911-b2d8-40f751eb9da0:localhost] 2019-10-13 20:34:29 | [Mutex] received everything. 2019-10-13 20:34:29 | [Mutex] isItemNotified: received:node:66cb1ace-0ce4-4911-b2d8-40f751eb9da0:localhost:node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa:Node 8e9889f6-ca11-4bcf-9cc1-f47d15580eaa :: true |
createSubnodes | 1.036s |
2019-10-13 20:34:29 |
2019-10-13 20:34:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 20:34:29 | ------------------------------------ 2019-10-13 20:34:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-671cef6e-e906-4ea3-b32d-9c5b2435a651</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 671cef6e-e906-4ea3-b32d-9c5b2435a651</title></pubsub></data> 2019-10-13 20:34:29 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-10-13 20:34:30 | [Mutex] waiting for: [received:nodes:e125298e-126a-4ce8-81f1-3d2193c6e00e:localhost] 2019-10-13 20:34:30 | [Mutex] received everything. 2019-10-13 20:34:30 | [Mutex] isItemNotified: received:node:e125298e-126a-4ce8-81f1-3d2193c6e00e:localhost:node-671cef6e-e906-4ea3-b32d-9c5b2435a651:Node 671cef6e-e906-4ea3-b32d-9c5b2435a651 :: true |
deleteNodes | 1.027s |
2019-10-13 20:34:36 |
2019-10-13 20:34:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 20:34:36 | ------------------------------------ 2019-10-13 20:34:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-671cef6e-e906-4ea3-b32d-9c5b2435a651</node></data> 2019-10-13 20:34:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-10-13 20:34:37 | [Mutex] waiting for: [received:nodes:11b27cfc-5451-40b6-bba0-41b90d9457cf:localhost] 2019-10-13 20:34:37 | [Mutex] received everything. 2019-10-13 20:34:37 | [Mutex] isItemNotified: received:node:11b27cfc-5451-40b6-bba0-41b90d9457cf:localhost:node-671cef6e-e906-4ea3-b32d-9c5b2435a651:Node 671cef6e-e906-4ea3-b32d-9c5b2435a651 :: false |
deleteSubnodes | 1.163s |
2019-10-13 20:34:35 |
2019-10-13 20:34:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 20:34:35 | ------------------------------------ 2019-10-13 20:34:35 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa</node></data> 2019-10-13 20:34:35 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-10-13 20:34:36 | [Mutex] waiting for: [received:nodes:dccc3d60-d1d4-45ab-9d4b-eafb65c6577f:localhost] 2019-10-13 20:34:36 | [Mutex] received everything. 2019-10-13 20:34:36 | [Mutex] isItemNotified: received:node:dccc3d60-d1d4-45ab-9d4b-eafb65c6577f:localhost:node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa:Node 8e9889f6-ca11-4bcf-9cc1-f47d15580eaa :: false 2019-10-13 20:34:36 | [Mutex] waiting for: [received:nodes:0b021502-e7db-4307-af1a-d2a976b8cc3a:localhost] 2019-10-13 20:34:36 | [Mutex] received everything. 2019-10-13 20:34:36 | [Mutex] isItemNotified: received:node:0b021502-e7db-4307-af1a-d2a976b8cc3a:localhost:node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa:Node 8e9889f6-ca11-4bcf-9cc1-f47d15580eaa :: false |
publishItemsToNodes | 0.277s |
2019-10-13 20:34:32 |
2019-10-13 20:34:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 20:34:32 | ------------------------------------ 2019-10-13 20:34:32 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa</node><item-id>item-cf3335ac-b90a-4ca5-b7bd-58b0be31f7f5</item-id><entry><test>item-cf3335ac-b90a-4ca5-b7bd-58b0be31f7f5</test></entry></data> 2019-10-13 20:34:33 | 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-cf3335ac-b90a-4ca5-b7bd-58b0be31f7f5</value></item-id></result> 2019-10-13 20:34:33 | [Mutex] received everything. 2019-10-13 20:34:33 | [Mutex] isItemNotified: published:item:notifieditem-cf3335ac-b90a-4ca5-b7bd-58b0be31f7f5:admin@localhost :: true |
retractItemsFromNodes | 0.355s |
2019-10-13 20:34:33 |
2019-10-13 20:34:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 20:34:33 | ------------------------------------ 2019-10-13 20:34:33 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa</node><item-id>item-cf3335ac-b90a-4ca5-b7bd-58b0be31f7f5</item-id></data> 2019-10-13 20:34:33 | 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-cf3335ac-b90a-4ca5-b7bd-58b0be31f7f5</value></item-id></result> 2019-10-13 20:34:33 | [Mutex] waiting for: [retracted:item:notifieditem-cf3335ac-b90a-4ca5-b7bd-58b0be31f7f5:admin@localhost] 2019-10-13 20:34:33 | [Mutex] received everything. 2019-10-13 20:34:33 | [Mutex] isItemNotified: retracted:item:notifieditem-cf3335ac-b90a-4ca5-b7bd-58b0be31f7f5:admin@localhost :: true |
retrieveItemsFromNodes | 0.194s |
2019-10-13 20:34:33 |
2019-10-13 20:34:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 20:34:33 | ------------------------------------ 2019-10-13 20:34:33 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa</node><item-id>item-cf3335ac-b90a-4ca5-b7bd-58b0be31f7f5</item-id></data> 2019-10-13 20:34:33 | 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-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa</value></node><item-id label="Item ID" type="text-single"><value>item-cf3335ac-b90a-4ca5-b7bd-58b0be31f7f5</value></item-id><item label="Item" type="text-multi"><value><item id="item-cf3335ac-b90a-4ca5-b7bd-58b0be31f7f5"><test>item-cf3335ac-b90a-4ca5-b7bd-58b0be31f7f5</test></item></value></item></result> 2019-10-13 20:34:33 | [Mutex] notify: [retrieved:item:item-cf3335ac-b90a-4ca5-b7bd-58b0be31f7f5:payload-matches:true:localhost] 2019-10-13 20:34:33 | [Mutex] received everything. 2019-10-13 20:34:33 | [Mutex] isItemNotified: retrieved:item:item-cf3335ac-b90a-4ca5-b7bd-58b0be31f7f5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.192s |
2019-10-13 20:34:33 |
2019-10-13 20:34:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 20:34:33 | ------------------------------------ 2019-10-13 20:34:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-10-13 20:34:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-671cef6e-e906-4ea3-b32d-9c5b2435a651</value><value>node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2019-10-13 20:34:33 |
2019-10-13 20:34:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 20:34:33 | ------------------------------------ 2019-10-13 20:34:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa)</node-pattern></data> 2019-10-13 20:34:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.200s |
2019-10-13 20:34:31 |
2019-10-13 20:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 20:34:31 | ------------------------------------ 2019-10-13 20:34:31 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa</node><jids><value>admin@localhost</value></jids></data> 2019-10-13 20:34:31 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.331s |
2019-10-13 20:34:33 |
2019-10-13 20:34:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 20:34:33 | ------------------------------------ 2019-10-13 20:34:33 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-8e9889f6-ca11-4bcf-9cc1-f47d15580eaa</node><jids><value>admin@localhost</value></jids></data> 2019-10-13 20:34:34 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |