Test duration : 9.878s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.132s |
2020-08-27 11:50:53 |
2020-08-27 11:50:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:50:53 | ------------------------------------ 2020-08-27 11:50:53 | [Mutex] waiting for: [configured:node:node-6dad725c-b410-475b-aa5f-428c302a7054:node-4a7c21c0-3633-4602-8940-24499c372070] 2020-08-27 11:50:53 | [Mutex] received everything. 2020-08-27 11:50:53 | [Mutex] isItemNotified: configured:node:node-6dad725c-b410-475b-aa5f-428c302a7054:node-4a7c21c0-3633-4602-8940-24499c372070 :: true 2020-08-27 11:50:54 | [Mutex] waiting for: [received:nodes:a3ed028c-b5cc-4dac-aebf-80a6d69e0d87:localhost] 2020-08-27 11:50:55 | [Mutex] received everything. 2020-08-27 11:50:55 | [Mutex] isItemNotified: received:node:a3ed028c-b5cc-4dac-aebf-80a6d69e0d87:localhost:node-6dad725c-b410-475b-aa5f-428c302a7054:Node 6dad725c-b410-475b-aa5f-428c302a7054 :: true 2020-08-27 11:50:55 | [Mutex] waiting for: [received:nodes:c2d770f4-87a9-4685-834f-cd22b2c1d982:localhost] 2020-08-27 11:50:55 | [Mutex] received everything. 2020-08-27 11:50:55 | [Mutex] isItemNotified: received:node:c2d770f4-87a9-4685-834f-cd22b2c1d982:localhost:node-6dad725c-b410-475b-aa5f-428c302a7054:Node 6dad725c-b410-475b-aa5f-428c302a7054 :: false |
createNodes | 1.517s |
2020-08-27 11:50:51 |
2020-08-27 11:50:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:50:51 | ------------------------------------ 2020-08-27 11:50:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6dad725c-b410-475b-aa5f-428c302a7054</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6dad725c-b410-475b-aa5f-428c302a7054</title></pubsub></data> 2020-08-27 11:50:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 11:50:52 | [Mutex] waiting for: [received:nodes:63e74c51-6eef-4884-893a-c9554dfe0dc6:localhost] 2020-08-27 11:50:52 | [Mutex] received everything. 2020-08-27 11:50:52 | [Mutex] isItemNotified: received:node:63e74c51-6eef-4884-893a-c9554dfe0dc6:localhost:node-6dad725c-b410-475b-aa5f-428c302a7054:Node 6dad725c-b410-475b-aa5f-428c302a7054 :: true |
createSubnodes | 1.030s |
2020-08-27 11:50:52 |
2020-08-27 11:50:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:50:52 | ------------------------------------ 2020-08-27 11:50:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4a7c21c0-3633-4602-8940-24499c372070</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4a7c21c0-3633-4602-8940-24499c372070</title></pubsub></data> 2020-08-27 11:50:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 11:50:53 | [Mutex] waiting for: [received:nodes:24347a38-7ed4-412f-8235-eaccfa4cee9a:localhost] 2020-08-27 11:50:53 | [Mutex] waiting for: [received:nodes:24347a38-7ed4-412f-8235-eaccfa4cee9a:localhost] 2020-08-27 11:50:53 | [Mutex] received everything. 2020-08-27 11:50:53 | [Mutex] isItemNotified: received:node:24347a38-7ed4-412f-8235-eaccfa4cee9a:localhost:node-4a7c21c0-3633-4602-8940-24499c372070:Node 4a7c21c0-3633-4602-8940-24499c372070 :: true |
deleteNodes | 1.020s |
2020-08-27 11:50:59 |
2020-08-27 11:50:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:50:59 | ------------------------------------ 2020-08-27 11:50:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4a7c21c0-3633-4602-8940-24499c372070</node></data> 2020-08-27 11:50:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 11:51:00 | [Mutex] waiting for: [received:nodes:c17d2b94-0a88-4f07-b87b-3d98b07e799e:localhost] 2020-08-27 11:51:00 | [Mutex] received everything. 2020-08-27 11:51:00 | [Mutex] isItemNotified: received:node:c17d2b94-0a88-4f07-b87b-3d98b07e799e:localhost:node-4a7c21c0-3633-4602-8940-24499c372070:Node 4a7c21c0-3633-4602-8940-24499c372070 :: false |
deleteSubnodes | 1.145s |
2020-08-27 11:50:58 |
2020-08-27 11:50:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:50:58 | ------------------------------------ 2020-08-27 11:50:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6dad725c-b410-475b-aa5f-428c302a7054</node></data> 2020-08-27 11:50:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 11:50:59 | [Mutex] waiting for: [received:nodes:28efc17f-17db-417a-b025-ad5bc63fd6ca:localhost] 2020-08-27 11:50:59 | [Mutex] received everything. 2020-08-27 11:50:59 | [Mutex] isItemNotified: received:node:28efc17f-17db-417a-b025-ad5bc63fd6ca:localhost:node-6dad725c-b410-475b-aa5f-428c302a7054:Node 6dad725c-b410-475b-aa5f-428c302a7054 :: false 2020-08-27 11:50:59 | [Mutex] waiting for: [received:nodes:13263497-9ac8-4377-a5c3-b264b311361a:localhost] 2020-08-27 11:50:59 | [Mutex] received everything. 2020-08-27 11:50:59 | [Mutex] isItemNotified: received:node:13263497-9ac8-4377-a5c3-b264b311361a:localhost:node-6dad725c-b410-475b-aa5f-428c302a7054:Node 6dad725c-b410-475b-aa5f-428c302a7054 :: false |
publishItemsToNodes | 0.278s |
2020-08-27 11:50:56 |
2020-08-27 11:50:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:50:56 | ------------------------------------ 2020-08-27 11:50:56 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-6dad725c-b410-475b-aa5f-428c302a7054</node><item-id>item-a954a0ec-78bd-4256-9626-3ad5f73d843d</item-id><entry><test>item-a954a0ec-78bd-4256-9626-3ad5f73d843d</test></entry></data> 2020-08-27 11:50:56 | 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-a954a0ec-78bd-4256-9626-3ad5f73d843d</value></item-id></result> 2020-08-27 11:50:56 | [Mutex] received everything. 2020-08-27 11:50:56 | [Mutex] isItemNotified: published:item:notifieditem-a954a0ec-78bd-4256-9626-3ad5f73d843d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.195s |
2020-08-27 11:50:56 |
2020-08-27 11:50:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:50:56 | ------------------------------------ 2020-08-27 11:50:56 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-6dad725c-b410-475b-aa5f-428c302a7054</node><item-id>item-a954a0ec-78bd-4256-9626-3ad5f73d843d</item-id></data> 2020-08-27 11:50:56 | 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-a954a0ec-78bd-4256-9626-3ad5f73d843d</value></item-id></result> 2020-08-27 11:50:56 | [Mutex] received everything. 2020-08-27 11:50:56 | [Mutex] isItemNotified: retracted:item:notifieditem-a954a0ec-78bd-4256-9626-3ad5f73d843d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.252s |
2020-08-27 11:50:56 |
2020-08-27 11:50:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:50:56 | ------------------------------------ 2020-08-27 11:50:56 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-6dad725c-b410-475b-aa5f-428c302a7054</node><item-id>item-a954a0ec-78bd-4256-9626-3ad5f73d843d</item-id></data> 2020-08-27 11:50:56 | 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-6dad725c-b410-475b-aa5f-428c302a7054</value></node><item-id type="text-single" label="Item ID"><value>item-a954a0ec-78bd-4256-9626-3ad5f73d843d</value></item-id><item type="text-multi" label="Item"><value><item id="item-a954a0ec-78bd-4256-9626-3ad5f73d843d"><test>item-a954a0ec-78bd-4256-9626-3ad5f73d843d</test></item></value></item></result> 2020-08-27 11:50:56 | [Mutex] notify: [retrieved:item:item-a954a0ec-78bd-4256-9626-3ad5f73d843d:payload-matches:true:localhost] 2020-08-27 11:50:56 | [Mutex] received everything. 2020-08-27 11:50:56 | [Mutex] isItemNotified: retrieved:item:item-a954a0ec-78bd-4256-9626-3ad5f73d843d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2020-08-27 11:50:56 |
2020-08-27 11:50:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:50:56 | ------------------------------------ 2020-08-27 11:50:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-08-27 11:50:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-4a7c21c0-3633-4602-8940-24499c372070</value><value>test</value><value>node-6dad725c-b410-475b-aa5f-428c302a7054</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-08-27 11:50:56 |
2020-08-27 11:50:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:50:56 | ------------------------------------ 2020-08-27 11:50:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6dad725c-b410-475b-aa5f-428c302a7054)</node-pattern></data> 2020-08-27 11:50:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.094s |
2020-08-27 11:50:55 |
2020-08-27 11:50:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:50:55 | ------------------------------------ 2020-08-27 11:50:55 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-6dad725c-b410-475b-aa5f-428c302a7054</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-27 11:50:55 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.211s |
2020-08-27 11:50:56 |
2020-08-27 11:50:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:50:56 | ------------------------------------ 2020-08-27 11:50:56 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-6dad725c-b410-475b-aa5f-428c302a7054</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-27 11:50:57 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |