Test duration: 9.907s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.079s |
2020-03-29 22:45:04 |
2020-03-29 22:45:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-03-29 22:45:04 | ------------------------------------ 2020-03-29 22:45:04 | [Mutex] waiting for: [configured:node:node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d:node-7128ed8e-e227-4a01-b1f5-49886aef30de] 2020-03-29 22:45:04 | [Mutex] received everything. 2020-03-29 22:45:04 | [Mutex] isItemNotified: configured:node:node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d:node-7128ed8e-e227-4a01-b1f5-49886aef30de :: true 2020-03-29 22:45:05 | [Mutex] waiting for: [received:nodes:2e461234-3fbb-457e-9ba0-fe9ce82253f1:localhost] 2020-03-29 22:45:05 | [Mutex] received everything. 2020-03-29 22:45:05 | [Mutex] isItemNotified: received:node:2e461234-3fbb-457e-9ba0-fe9ce82253f1:localhost:node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d:Node 230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d :: true 2020-03-29 22:45:05 | [Mutex] waiting for: [received:nodes:28f0a2a4-6b4a-4f92-85d9-95cd16da516e:localhost] 2020-03-29 22:45:05 | [Mutex] received everything. 2020-03-29 22:45:05 | [Mutex] isItemNotified: received:node:28f0a2a4-6b4a-4f92-85d9-95cd16da516e:localhost:node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d:Node 230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d :: false |
createNodes | 1.486s |
2020-03-29 22:45:01 |
2020-03-29 22:45:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-03-29 22:45:01 | ------------------------------------ 2020-03-29 22:45:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d</title></pubsub></data> 2020-03-29 22:45:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-03-29 22:45:03 | [Mutex] waiting for: [received:nodes:b127d423-0071-4496-90ce-b40058317af6:localhost] 2020-03-29 22:45:03 | [Mutex] received everything. 2020-03-29 22:45:03 | [Mutex] isItemNotified: received:node:b127d423-0071-4496-90ce-b40058317af6:localhost:node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d:Node 230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d :: true |
createSubnodes | 1.034s |
2020-03-29 22:45:03 |
2020-03-29 22:45:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-03-29 22:45:03 | ------------------------------------ 2020-03-29 22:45:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7128ed8e-e227-4a01-b1f5-49886aef30de</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7128ed8e-e227-4a01-b1f5-49886aef30de</title></pubsub></data> 2020-03-29 22:45:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-03-29 22:45:04 | [Mutex] waiting for: [received:nodes:e9d43d54-23d7-4b91-9c4f-2bdc2c39d2e8:localhost] 2020-03-29 22:45:04 | [Mutex] received everything. 2020-03-29 22:45:04 | [Mutex] isItemNotified: received:node:e9d43d54-23d7-4b91-9c4f-2bdc2c39d2e8:localhost:node-7128ed8e-e227-4a01-b1f5-49886aef30de:Node 7128ed8e-e227-4a01-b1f5-49886aef30de :: true |
deleteNodes | 1.020s |
2020-03-29 22:45:09 |
2020-03-29 22:45:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-03-29 22:45:09 | ------------------------------------ 2020-03-29 22:45:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7128ed8e-e227-4a01-b1f5-49886aef30de</node></data> 2020-03-29 22:45:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-03-29 22:45:10 | [Mutex] waiting for: [received:nodes:e1d5d1cb-bfb8-4303-b62f-a235f7b19206:localhost] 2020-03-29 22:45:10 | [Mutex] waiting for: [received:nodes:e1d5d1cb-bfb8-4303-b62f-a235f7b19206:localhost] 2020-03-29 22:45:10 | [Mutex] received everything. 2020-03-29 22:45:10 | [Mutex] isItemNotified: received:node:e1d5d1cb-bfb8-4303-b62f-a235f7b19206:localhost:node-7128ed8e-e227-4a01-b1f5-49886aef30de:Node 7128ed8e-e227-4a01-b1f5-49886aef30de :: false |
deleteSubnodes | 1.102s |
2020-03-29 22:45:08 |
2020-03-29 22:45:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-03-29 22:45:08 | ------------------------------------ 2020-03-29 22:45:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d</node></data> 2020-03-29 22:45:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-03-29 22:45:09 | [Mutex] waiting for: [received:nodes:339236ec-7bd0-4795-b496-55385c305d59:localhost] 2020-03-29 22:45:09 | [Mutex] received everything. 2020-03-29 22:45:09 | [Mutex] isItemNotified: received:node:339236ec-7bd0-4795-b496-55385c305d59:localhost:node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d:Node 230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d :: false 2020-03-29 22:45:09 | [Mutex] waiting for: [received:nodes:14dc9b24-63c4-4cac-8368-40b3c8ba4674:localhost] 2020-03-29 22:45:09 | [Mutex] received everything. 2020-03-29 22:45:09 | [Mutex] isItemNotified: received:node:14dc9b24-63c4-4cac-8368-40b3c8ba4674:localhost:node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d:Node 230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d :: false |
publishItemsToNodes | 0.204s |
2020-03-29 22:45:06 |
2020-03-29 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-03-29 22:45:06 | ------------------------------------ 2020-03-29 22:45:06 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d</node><item-id>item-ef8d0bd8-09da-4e22-9e07-06c3bb5af62a</item-id><entry><test>item-ef8d0bd8-09da-4e22-9e07-06c3bb5af62a</test></entry></data> 2020-03-29 22:45:06 | 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-ef8d0bd8-09da-4e22-9e07-06c3bb5af62a</value></item-id></result> 2020-03-29 22:45:06 | [Mutex] received everything. 2020-03-29 22:45:06 | [Mutex] isItemNotified: published:item:notifieditem-ef8d0bd8-09da-4e22-9e07-06c3bb5af62a:admin@localhost :: true |
retractItemsFromNodes | 0.294s |
2020-03-29 22:45:07 |
2020-03-29 22:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-03-29 22:45:07 | ------------------------------------ 2020-03-29 22:45:07 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d</node><item-id>item-ef8d0bd8-09da-4e22-9e07-06c3bb5af62a</item-id></data> 2020-03-29 22:45:07 | 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-ef8d0bd8-09da-4e22-9e07-06c3bb5af62a</value></item-id></result> 2020-03-29 22:45:07 | [Mutex] waiting for: [retracted:item:notifieditem-ef8d0bd8-09da-4e22-9e07-06c3bb5af62a:admin@localhost] 2020-03-29 22:45:07 | [Mutex] received everything. 2020-03-29 22:45:07 | [Mutex] isItemNotified: retracted:item:notifieditem-ef8d0bd8-09da-4e22-9e07-06c3bb5af62a:admin@localhost :: true |
retrieveItemsFromNodes | 0.162s |
2020-03-29 22:45:06 |
2020-03-29 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-03-29 22:45:06 | ------------------------------------ 2020-03-29 22:45:06 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d</node><item-id>item-ef8d0bd8-09da-4e22-9e07-06c3bb5af62a</item-id></data> 2020-03-29 22:45:06 | 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-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d</value></node><item-id type="text-single" label="Item ID"><value>item-ef8d0bd8-09da-4e22-9e07-06c3bb5af62a</value></item-id><item type="text-multi" label="Item"><value><item id="item-ef8d0bd8-09da-4e22-9e07-06c3bb5af62a"><test>item-ef8d0bd8-09da-4e22-9e07-06c3bb5af62a</test></item></value></item></result> 2020-03-29 22:45:06 | [Mutex] notify: [retrieved:item:item-ef8d0bd8-09da-4e22-9e07-06c3bb5af62a:payload-matches:true:localhost] 2020-03-29 22:45:06 | [Mutex] received everything. 2020-03-29 22:45:06 | [Mutex] isItemNotified: retrieved:item:item-ef8d0bd8-09da-4e22-9e07-06c3bb5af62a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.192s |
2020-03-29 22:45:06 |
2020-03-29 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-03-29 22:45:06 | ------------------------------------ 2020-03-29 22:45:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2020-03-29 22:45:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d</value><value>node-7128ed8e-e227-4a01-b1f5-49886aef30de</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-03-29 22:45:07 |
2020-03-29 22:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-03-29 22:45:07 | ------------------------------------ 2020-03-29 22:45:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d)</node-pattern></data> 2020-03-29 22:45:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.151s |
2020-03-29 22:45:05 |
2020-03-29 22:45:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-03-29 22:45:05 | ------------------------------------ 2020-03-29 22:45:05 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d</node><jids><value>admin@localhost</value></jids></data> 2020-03-29 22:45:05 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.233s |
2020-03-29 22:45:07 |
2020-03-29 22:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-03-29 22:45:07 | ------------------------------------ 2020-03-29 22:45:07 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-230140bb-3f7f-44af-9f4f-2c4f1b0b7d0d</node><jids><value>admin@localhost</value></jids></data> 2020-03-29 22:45:07 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |