Test duration: 10.223s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.101s |
2020-06-16 22:55:24 |
2020-06-16 22:55:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-16 22:55:24 | ------------------------------------ 2020-06-16 22:55:24 | [Mutex] waiting for: [configured:node:node-23918753-6b22-4641-940f-d7e8f98c18a8:node-3a285dd5-d5a6-4651-871b-96e38cd70198] 2020-06-16 22:55:24 | [Mutex] received everything. 2020-06-16 22:55:24 | [Mutex] isItemNotified: configured:node:node-23918753-6b22-4641-940f-d7e8f98c18a8:node-3a285dd5-d5a6-4651-871b-96e38cd70198 :: true 2020-06-16 22:55:25 | [Mutex] waiting for: [received:nodes:ff136608-85ad-4407-b4d7-b9caa644faa9:localhost] 2020-06-16 22:55:25 | [Mutex] received everything. 2020-06-16 22:55:25 | [Mutex] isItemNotified: received:node:ff136608-85ad-4407-b4d7-b9caa644faa9:localhost:node-23918753-6b22-4641-940f-d7e8f98c18a8:Node 23918753-6b22-4641-940f-d7e8f98c18a8 :: true 2020-06-16 22:55:25 | [Mutex] waiting for: [received:nodes:c93645b0-d9d5-4d92-846d-6fd33fe35dc7:localhost] 2020-06-16 22:55:25 | [Mutex] received everything. 2020-06-16 22:55:25 | [Mutex] isItemNotified: received:node:c93645b0-d9d5-4d92-846d-6fd33fe35dc7:localhost:node-23918753-6b22-4641-940f-d7e8f98c18a8:Node 23918753-6b22-4641-940f-d7e8f98c18a8 :: false |
createNodes | 1.650s |
2020-06-16 22:55:21 |
2020-06-16 22:55:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-16 22:55:21 | ------------------------------------ 2020-06-16 22:55:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-23918753-6b22-4641-940f-d7e8f98c18a8</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 23918753-6b22-4641-940f-d7e8f98c18a8</title></pubsub></data> 2020-06-16 22:55:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-16 22:55:23 | [Mutex] waiting for: [received:nodes:c8d9e605-fff3-445e-b52d-8ebf48aa3b2a:localhost] 2020-06-16 22:55:23 | [Mutex] received everything. 2020-06-16 22:55:23 | [Mutex] isItemNotified: received:node:c8d9e605-fff3-445e-b52d-8ebf48aa3b2a:localhost:node-23918753-6b22-4641-940f-d7e8f98c18a8:Node 23918753-6b22-4641-940f-d7e8f98c18a8 :: true |
createSubnodes | 1.021s |
2020-06-16 22:55:23 |
2020-06-16 22:55:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-16 22:55:23 | ------------------------------------ 2020-06-16 22:55:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3a285dd5-d5a6-4651-871b-96e38cd70198</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3a285dd5-d5a6-4651-871b-96e38cd70198</title></pubsub></data> 2020-06-16 22:55:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-16 22:55:24 | [Mutex] waiting for: [received:nodes:65f88b7a-c322-458d-81bf-57e6bcff5477:localhost] 2020-06-16 22:55:24 | [Mutex] received everything. 2020-06-16 22:55:24 | [Mutex] isItemNotified: received:node:65f88b7a-c322-458d-81bf-57e6bcff5477:localhost:node-3a285dd5-d5a6-4651-871b-96e38cd70198:Node 3a285dd5-d5a6-4651-871b-96e38cd70198 :: true |
deleteNodes | 1.027s |
2020-06-16 22:55:29 |
2020-06-16 22:55:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-16 22:55:29 | ------------------------------------ 2020-06-16 22:55:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3a285dd5-d5a6-4651-871b-96e38cd70198</node></data> 2020-06-16 22:55:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-16 22:55:30 | [Mutex] waiting for: [received:nodes:b3b068a1-00af-44ac-99ff-8151a438d2c6:localhost] 2020-06-16 22:55:30 | [Mutex] received everything. 2020-06-16 22:55:30 | [Mutex] isItemNotified: received:node:b3b068a1-00af-44ac-99ff-8151a438d2c6:localhost:node-3a285dd5-d5a6-4651-871b-96e38cd70198:Node 3a285dd5-d5a6-4651-871b-96e38cd70198 :: false |
deleteSubnodes | 1.128s |
2020-06-16 22:55:28 |
2020-06-16 22:55:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-16 22:55:28 | ------------------------------------ 2020-06-16 22:55:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-23918753-6b22-4641-940f-d7e8f98c18a8</node></data> 2020-06-16 22:55:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-16 22:55:29 | [Mutex] waiting for: [received:nodes:c98c2eeb-6fcb-422b-9fac-d788f616b3ed:localhost] 2020-06-16 22:55:29 | [Mutex] received everything. 2020-06-16 22:55:29 | [Mutex] isItemNotified: received:node:c98c2eeb-6fcb-422b-9fac-d788f616b3ed:localhost:node-23918753-6b22-4641-940f-d7e8f98c18a8:Node 23918753-6b22-4641-940f-d7e8f98c18a8 :: false 2020-06-16 22:55:29 | [Mutex] waiting for: [received:nodes:4d826615-84a4-481c-b144-4978808c362e:localhost] 2020-06-16 22:55:29 | [Mutex] received everything. 2020-06-16 22:55:29 | [Mutex] isItemNotified: received:node:4d826615-84a4-481c-b144-4978808c362e:localhost:node-23918753-6b22-4641-940f-d7e8f98c18a8:Node 23918753-6b22-4641-940f-d7e8f98c18a8 :: false |
publishItemsToNodes | 0.191s |
2020-06-16 22:55:26 |
2020-06-16 22:55:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-16 22:55:26 | ------------------------------------ 2020-06-16 22:55:26 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-23918753-6b22-4641-940f-d7e8f98c18a8</node><item-id>item-d93b0b28-e369-4a38-bc04-1bf71aad5cb9</item-id><entry><test>item-d93b0b28-e369-4a38-bc04-1bf71aad5cb9</test></entry></data> 2020-06-16 22:55:26 | 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-d93b0b28-e369-4a38-bc04-1bf71aad5cb9</value></item-id></result> 2020-06-16 22:55:26 | [Mutex] waiting for: [published:item:notifieditem-d93b0b28-e369-4a38-bc04-1bf71aad5cb9:admin@localhost] 2020-06-16 22:55:26 | [Mutex] received everything. 2020-06-16 22:55:26 | [Mutex] isItemNotified: published:item:notifieditem-d93b0b28-e369-4a38-bc04-1bf71aad5cb9:admin@localhost :: true |
retractItemsFromNodes | 0.278s |
2020-06-16 22:55:27 |
2020-06-16 22:55:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-16 22:55:27 | ------------------------------------ 2020-06-16 22:55:27 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-23918753-6b22-4641-940f-d7e8f98c18a8</node><item-id>item-d93b0b28-e369-4a38-bc04-1bf71aad5cb9</item-id></data> 2020-06-16 22:55:27 | 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-d93b0b28-e369-4a38-bc04-1bf71aad5cb9</value></item-id></result> 2020-06-16 22:55:27 | [Mutex] waiting for: [retracted:item:notifieditem-d93b0b28-e369-4a38-bc04-1bf71aad5cb9:admin@localhost] 2020-06-16 22:55:27 | [Mutex] received everything. 2020-06-16 22:55:27 | [Mutex] isItemNotified: retracted:item:notifieditem-d93b0b28-e369-4a38-bc04-1bf71aad5cb9:admin@localhost :: true |
retrieveItemsFromNodes | 0.214s |
2020-06-16 22:55:26 |
2020-06-16 22:55:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-16 22:55:26 | ------------------------------------ 2020-06-16 22:55:26 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-23918753-6b22-4641-940f-d7e8f98c18a8</node><item-id>item-d93b0b28-e369-4a38-bc04-1bf71aad5cb9</item-id></data> 2020-06-16 22:55:26 | 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-23918753-6b22-4641-940f-d7e8f98c18a8</value></node><item-id type="text-single" label="Item ID"><value>item-d93b0b28-e369-4a38-bc04-1bf71aad5cb9</value></item-id><item type="text-multi" label="Item"><value><item id="item-d93b0b28-e369-4a38-bc04-1bf71aad5cb9"><test>item-d93b0b28-e369-4a38-bc04-1bf71aad5cb9</test></item></value></item></result> 2020-06-16 22:55:26 | [Mutex] notify: [retrieved:item:item-d93b0b28-e369-4a38-bc04-1bf71aad5cb9:payload-matches:true:localhost] 2020-06-16 22:55:26 | [Mutex] received everything. 2020-06-16 22:55:26 | [Mutex] isItemNotified: retrieved:item:item-d93b0b28-e369-4a38-bc04-1bf71aad5cb9:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.244s |
2020-06-16 22:55:26 |
2020-06-16 22:55:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-16 22:55:26 | ------------------------------------ 2020-06-16 22:55:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2020-06-16 22:55:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-3a285dd5-d5a6-4651-871b-96e38cd70198</value><value>test</value><value>node-23918753-6b22-4641-940f-d7e8f98c18a8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-06-16 22:55:26 |
2020-06-16 22:55:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-16 22:55:26 | ------------------------------------ 2020-06-16 22:55:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-23918753-6b22-4641-940f-d7e8f98c18a8)</node-pattern></data> 2020-06-16 22:55:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.090s |
2020-06-16 22:55:25 |
2020-06-16 22:55:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-16 22:55:25 | ------------------------------------ 2020-06-16 22:55:25 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-23918753-6b22-4641-940f-d7e8f98c18a8</node><jids><value>admin@localhost</value></jids></data> 2020-06-16 22:55:25 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.333s |
2020-06-16 22:55:27 |
2020-06-16 22:55:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-16 22:55:27 | ------------------------------------ 2020-06-16 22:55:27 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-23918753-6b22-4641-940f-d7e8f98c18a8</node><jids><value>admin@localhost</value></jids></data> 2020-06-16 22:55:27 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |