Test duration : 9.843s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.103s |
2020-09-23 22:57:31 |
2020-09-23 22:57:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-23 22:57:31 | ------------------------------------ 2020-09-23 22:57:31 | [Mutex] waiting for: [configured:node:node-cc641da0-8433-49cc-9e7e-60533a66dcc1:node-2ef9026d-63ee-4c24-875a-cf6987eaa40f] 2020-09-23 22:57:31 | [Mutex] received everything. 2020-09-23 22:57:31 | [Mutex] isItemNotified: configured:node:node-cc641da0-8433-49cc-9e7e-60533a66dcc1:node-2ef9026d-63ee-4c24-875a-cf6987eaa40f :: true 2020-09-23 22:57:32 | [Mutex] waiting for: [received:nodes:3ad89dd9-ef1e-41d4-9a64-474d441b3f87:localhost] 2020-09-23 22:57:32 | [Mutex] received everything. 2020-09-23 22:57:32 | [Mutex] isItemNotified: received:node:3ad89dd9-ef1e-41d4-9a64-474d441b3f87:localhost:node-cc641da0-8433-49cc-9e7e-60533a66dcc1:Node cc641da0-8433-49cc-9e7e-60533a66dcc1 :: true 2020-09-23 22:57:32 | [Mutex] waiting for: [received:nodes:093bf05d-5e04-4ee7-940f-88e3b3ded8fa:localhost] 2020-09-23 22:57:32 | [Mutex] waiting for: [received:nodes:093bf05d-5e04-4ee7-940f-88e3b3ded8fa:localhost] 2020-09-23 22:57:32 | [Mutex] received everything. 2020-09-23 22:57:32 | [Mutex] isItemNotified: received:node:093bf05d-5e04-4ee7-940f-88e3b3ded8fa:localhost:node-cc641da0-8433-49cc-9e7e-60533a66dcc1:Node cc641da0-8433-49cc-9e7e-60533a66dcc1 :: false |
createNodes | 1.415s |
2020-09-23 22:57:28 |
2020-09-23 22:57:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-23 22:57:28 | ------------------------------------ 2020-09-23 22:57:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cc641da0-8433-49cc-9e7e-60533a66dcc1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cc641da0-8433-49cc-9e7e-60533a66dcc1</title></pubsub></data> 2020-09-23 22:57:29 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-23 22:57:30 | [Mutex] waiting for: [received:nodes:08d4d9ff-4373-437e-87c9-37b05ed89976:localhost] 2020-09-23 22:57:30 | [Mutex] received everything. 2020-09-23 22:57:30 | [Mutex] isItemNotified: received:node:08d4d9ff-4373-437e-87c9-37b05ed89976:localhost:node-cc641da0-8433-49cc-9e7e-60533a66dcc1:Node cc641da0-8433-49cc-9e7e-60533a66dcc1 :: true |
createSubnodes | 1.055s |
2020-09-23 22:57:30 |
2020-09-23 22:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-23 22:57:30 | ------------------------------------ 2020-09-23 22:57:30 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2ef9026d-63ee-4c24-875a-cf6987eaa40f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2ef9026d-63ee-4c24-875a-cf6987eaa40f</title></pubsub></data> 2020-09-23 22:57:30 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-23 22:57:31 | [Mutex] waiting for: [received:nodes:a0f54590-cd88-457a-a7de-171cc14d53b9:localhost] 2020-09-23 22:57:31 | [Mutex] received everything. 2020-09-23 22:57:31 | [Mutex] isItemNotified: received:node:a0f54590-cd88-457a-a7de-171cc14d53b9:localhost:node-2ef9026d-63ee-4c24-875a-cf6987eaa40f:Node 2ef9026d-63ee-4c24-875a-cf6987eaa40f :: true |
deleteNodes | 1.022s |
2020-09-23 22:57:36 |
2020-09-23 22:57:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-23 22:57:36 | ------------------------------------ 2020-09-23 22:57:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2ef9026d-63ee-4c24-875a-cf6987eaa40f</node></data> 2020-09-23 22:57:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-23 22:57:37 | [Mutex] waiting for: [received:nodes:15621791-e026-40c1-bf81-3e1840c83544:localhost] 2020-09-23 22:57:37 | [Mutex] received everything. 2020-09-23 22:57:37 | [Mutex] isItemNotified: received:node:15621791-e026-40c1-bf81-3e1840c83544:localhost:node-2ef9026d-63ee-4c24-875a-cf6987eaa40f:Node 2ef9026d-63ee-4c24-875a-cf6987eaa40f :: false |
deleteSubnodes | 1.106s |
2020-09-23 22:57:35 |
2020-09-23 22:57:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-23 22:57:35 | ------------------------------------ 2020-09-23 22:57:35 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cc641da0-8433-49cc-9e7e-60533a66dcc1</node></data> 2020-09-23 22:57:35 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-23 22:57:36 | [Mutex] waiting for: [received:nodes:caa34faa-c11a-4c12-9355-d77377236455:localhost] 2020-09-23 22:57:36 | [Mutex] received everything. 2020-09-23 22:57:36 | [Mutex] isItemNotified: received:node:caa34faa-c11a-4c12-9355-d77377236455:localhost:node-cc641da0-8433-49cc-9e7e-60533a66dcc1:Node cc641da0-8433-49cc-9e7e-60533a66dcc1 :: false 2020-09-23 22:57:36 | [Mutex] waiting for: [received:nodes:9cef74d9-74b4-485c-bad6-a743a46ac2f5:localhost] 2020-09-23 22:57:36 | [Mutex] received everything. 2020-09-23 22:57:36 | [Mutex] isItemNotified: received:node:9cef74d9-74b4-485c-bad6-a743a46ac2f5:localhost:node-cc641da0-8433-49cc-9e7e-60533a66dcc1:Node cc641da0-8433-49cc-9e7e-60533a66dcc1 :: false |
publishItemsToNodes | 0.187s |
2020-09-23 22:57:33 |
2020-09-23 22:57:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-23 22:57:33 | ------------------------------------ 2020-09-23 22:57:33 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-cc641da0-8433-49cc-9e7e-60533a66dcc1</node><item-id>item-66893def-d521-456c-9340-bc16b7e2c59d</item-id><entry><test>item-66893def-d521-456c-9340-bc16b7e2c59d</test></entry></data> 2020-09-23 22:57: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-66893def-d521-456c-9340-bc16b7e2c59d</value></item-id></result> 2020-09-23 22:57:33 | [Mutex] received everything. 2020-09-23 22:57:33 | [Mutex] isItemNotified: published:item:notifieditem-66893def-d521-456c-9340-bc16b7e2c59d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.279s |
2020-09-23 22:57:33 |
2020-09-23 22:57:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-23 22:57:33 | ------------------------------------ 2020-09-23 22:57:33 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-cc641da0-8433-49cc-9e7e-60533a66dcc1</node><item-id>item-66893def-d521-456c-9340-bc16b7e2c59d</item-id></data> 2020-09-23 22:57:34 | 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-66893def-d521-456c-9340-bc16b7e2c59d</value></item-id></result> 2020-09-23 22:57:34 | [Mutex] received everything. 2020-09-23 22:57:34 | [Mutex] isItemNotified: retracted:item:notifieditem-66893def-d521-456c-9340-bc16b7e2c59d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.281s |
2020-09-23 22:57:33 |
2020-09-23 22:57:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-23 22:57:33 | ------------------------------------ 2020-09-23 22:57:33 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-cc641da0-8433-49cc-9e7e-60533a66dcc1</node><item-id>item-66893def-d521-456c-9340-bc16b7e2c59d</item-id></data> 2020-09-23 22:57: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-cc641da0-8433-49cc-9e7e-60533a66dcc1</value></node><item-id label="Item ID" type="text-single"><value>item-66893def-d521-456c-9340-bc16b7e2c59d</value></item-id><item label="Item" type="text-multi"><value><item id="item-66893def-d521-456c-9340-bc16b7e2c59d"><test>item-66893def-d521-456c-9340-bc16b7e2c59d</test></item></value></item></result> 2020-09-23 22:57:33 | [Mutex] notify: [retrieved:item:item-66893def-d521-456c-9340-bc16b7e2c59d:payload-matches:true:localhost] 2020-09-23 22:57:33 | [Mutex] received everything. 2020-09-23 22:57:33 | [Mutex] isItemNotified: retrieved:item:item-66893def-d521-456c-9340-bc16b7e2c59d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2020-09-23 22:57:33 |
2020-09-23 22:57:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-23 22:57:33 | ------------------------------------ 2020-09-23 22:57:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-23 22:57:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-2ef9026d-63ee-4c24-875a-cf6987eaa40f</value><value>node-cc641da0-8433-49cc-9e7e-60533a66dcc1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-23 22:57:33 |
2020-09-23 22:57:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-23 22:57:33 | ------------------------------------ 2020-09-23 22:57:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cc641da0-8433-49cc-9e7e-60533a66dcc1)</node-pattern></data> 2020-09-23 22:57:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.101s |
2020-09-23 22:57:32 |
2020-09-23 22:57:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-23 22:57:32 | ------------------------------------ 2020-09-23 22:57:32 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-cc641da0-8433-49cc-9e7e-60533a66dcc1</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-23 22:57:32 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.223s |
2020-09-23 22:57:34 |
2020-09-23 22:57:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-23 22:57:34 | ------------------------------------ 2020-09-23 22:57:34 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-cc641da0-8433-49cc-9e7e-60533a66dcc1</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-23 22:57:34 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |