Test duration : 10.346s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.115s |
2020-08-25 18:34:13 |
2020-08-25 18:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 18:34:13 | ------------------------------------ 2020-08-25 18:34:13 | [Mutex] waiting for: [configured:node:node-a98107a6-8d39-44cb-bd79-ea305c7eff64:node-2e9fd533-a50b-463f-9387-0162d04aadd0] 2020-08-25 18:34:14 | [Mutex] received everything. 2020-08-25 18:34:14 | [Mutex] isItemNotified: configured:node:node-a98107a6-8d39-44cb-bd79-ea305c7eff64:node-2e9fd533-a50b-463f-9387-0162d04aadd0 :: true 2020-08-25 18:34:15 | [Mutex] waiting for: [received:nodes:af6c7f61-2a4d-45df-9b1b-cf1aeed51a36:localhost] 2020-08-25 18:34:15 | [Mutex] received everything. 2020-08-25 18:34:15 | [Mutex] isItemNotified: received:node:af6c7f61-2a4d-45df-9b1b-cf1aeed51a36:localhost:node-a98107a6-8d39-44cb-bd79-ea305c7eff64:Node a98107a6-8d39-44cb-bd79-ea305c7eff64 :: true 2020-08-25 18:34:15 | [Mutex] waiting for: [received:nodes:3c390782-578f-4eb2-94fa-a6d2af247b22:localhost] 2020-08-25 18:34:15 | [Mutex] received everything. 2020-08-25 18:34:15 | [Mutex] isItemNotified: received:node:3c390782-578f-4eb2-94fa-a6d2af247b22:localhost:node-a98107a6-8d39-44cb-bd79-ea305c7eff64:Node a98107a6-8d39-44cb-bd79-ea305c7eff64 :: false |
createNodes | 1.705s |
2020-08-25 18:34:11 |
2020-08-25 18:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 18:34:11 | ------------------------------------ 2020-08-25 18:34:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a98107a6-8d39-44cb-bd79-ea305c7eff64</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a98107a6-8d39-44cb-bd79-ea305c7eff64</title></pubsub></data> 2020-08-25 18:34:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-25 18:34:12 | [Mutex] waiting for: [received:nodes:b145fd59-43a2-4c3c-b0c1-053a8fae5427:localhost] 2020-08-25 18:34:12 | [Mutex] received everything. 2020-08-25 18:34:12 | [Mutex] isItemNotified: received:node:b145fd59-43a2-4c3c-b0c1-053a8fae5427:localhost:node-a98107a6-8d39-44cb-bd79-ea305c7eff64:Node a98107a6-8d39-44cb-bd79-ea305c7eff64 :: true |
createSubnodes | 1.028s |
2020-08-25 18:34:12 |
2020-08-25 18:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 18:34:12 | ------------------------------------ 2020-08-25 18:34:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2e9fd533-a50b-463f-9387-0162d04aadd0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2e9fd533-a50b-463f-9387-0162d04aadd0</title></pubsub></data> 2020-08-25 18:34:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-25 18:34:13 | [Mutex] waiting for: [received:nodes:2a5f4be6-a7bb-4662-aacc-9fd0fa2fcce6:localhost] 2020-08-25 18:34:13 | [Mutex] received everything. 2020-08-25 18:34:13 | [Mutex] isItemNotified: received:node:2a5f4be6-a7bb-4662-aacc-9fd0fa2fcce6:localhost:node-2e9fd533-a50b-463f-9387-0162d04aadd0:Node 2e9fd533-a50b-463f-9387-0162d04aadd0 :: true |
deleteNodes | 1.019s |
2020-08-25 18:34:19 |
2020-08-25 18:34:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 18:34:19 | ------------------------------------ 2020-08-25 18:34:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2e9fd533-a50b-463f-9387-0162d04aadd0</node></data> 2020-08-25 18:34:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-25 18:34:20 | [Mutex] waiting for: [received:nodes:d2d66075-5f9a-42c8-b7c9-57462c6f21c7:localhost] 2020-08-25 18:34:20 | [Mutex] received everything. 2020-08-25 18:34:20 | [Mutex] isItemNotified: received:node:d2d66075-5f9a-42c8-b7c9-57462c6f21c7:localhost:node-2e9fd533-a50b-463f-9387-0162d04aadd0:Node 2e9fd533-a50b-463f-9387-0162d04aadd0 :: false |
deleteSubnodes | 1.118s |
2020-08-25 18:34:18 |
2020-08-25 18:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 18:34:18 | ------------------------------------ 2020-08-25 18:34:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a98107a6-8d39-44cb-bd79-ea305c7eff64</node></data> 2020-08-25 18:34:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-25 18:34:19 | [Mutex] waiting for: [received:nodes:f45b2737-dfce-4b9d-8c94-8a68ac62a5de:localhost] 2020-08-25 18:34:19 | [Mutex] waiting for: [received:nodes:f45b2737-dfce-4b9d-8c94-8a68ac62a5de:localhost] 2020-08-25 18:34:19 | [Mutex] received everything. 2020-08-25 18:34:19 | [Mutex] isItemNotified: received:node:f45b2737-dfce-4b9d-8c94-8a68ac62a5de:localhost:node-a98107a6-8d39-44cb-bd79-ea305c7eff64:Node a98107a6-8d39-44cb-bd79-ea305c7eff64 :: false 2020-08-25 18:34:19 | [Mutex] waiting for: [received:nodes:7cb4335f-4205-4a0c-9b51-eca8cbeb4938:localhost] 2020-08-25 18:34:19 | [Mutex] received everything. 2020-08-25 18:34:19 | [Mutex] isItemNotified: received:node:7cb4335f-4205-4a0c-9b51-eca8cbeb4938:localhost:node-a98107a6-8d39-44cb-bd79-ea305c7eff64:Node a98107a6-8d39-44cb-bd79-ea305c7eff64 :: false |
publishItemsToNodes | 0.246s |
2020-08-25 18:34:16 |
2020-08-25 18:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 18:34:16 | ------------------------------------ 2020-08-25 18:34:16 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a98107a6-8d39-44cb-bd79-ea305c7eff64</node><item-id>item-a5041fc6-2735-4429-8041-ed7ebb222071</item-id><entry><test>item-a5041fc6-2735-4429-8041-ed7ebb222071</test></entry></data> 2020-08-25 18:34:16 | 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-a5041fc6-2735-4429-8041-ed7ebb222071</value></item-id></result> 2020-08-25 18:34:16 | [Mutex] received everything. 2020-08-25 18:34:16 | [Mutex] isItemNotified: published:item:notifieditem-a5041fc6-2735-4429-8041-ed7ebb222071:admin@test-domain.com :: true |
retractItemsFromNodes | 0.203s |
2020-08-25 18:34:16 |
2020-08-25 18:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 18:34:16 | ------------------------------------ 2020-08-25 18:34:16 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a98107a6-8d39-44cb-bd79-ea305c7eff64</node><item-id>item-a5041fc6-2735-4429-8041-ed7ebb222071</item-id></data> 2020-08-25 18:34:16 | 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-a5041fc6-2735-4429-8041-ed7ebb222071</value></item-id></result> 2020-08-25 18:34:16 | [Mutex] received everything. 2020-08-25 18:34:16 | [Mutex] isItemNotified: retracted:item:notifieditem-a5041fc6-2735-4429-8041-ed7ebb222071:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.196s |
2020-08-25 18:34:16 |
2020-08-25 18:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 18:34:16 | ------------------------------------ 2020-08-25 18:34:16 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a98107a6-8d39-44cb-bd79-ea305c7eff64</node><item-id>item-a5041fc6-2735-4429-8041-ed7ebb222071</item-id></data> 2020-08-25 18:34:16 | 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-a98107a6-8d39-44cb-bd79-ea305c7eff64</value></node><item-id type="text-single" label="Item ID"><value>item-a5041fc6-2735-4429-8041-ed7ebb222071</value></item-id><item type="text-multi" label="Item"><value><item id="item-a5041fc6-2735-4429-8041-ed7ebb222071"><test>item-a5041fc6-2735-4429-8041-ed7ebb222071</test></item></value></item></result> 2020-08-25 18:34:16 | [Mutex] notify: [retrieved:item:item-a5041fc6-2735-4429-8041-ed7ebb222071:payload-matches:true:localhost] 2020-08-25 18:34:16 | [Mutex] received everything. 2020-08-25 18:34:16 | [Mutex] isItemNotified: retrieved:item:item-a5041fc6-2735-4429-8041-ed7ebb222071:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-08-25 18:34:16 |
2020-08-25 18:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 18:34:16 | ------------------------------------ 2020-08-25 18:34:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-08-25 18:34:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-a98107a6-8d39-44cb-bd79-ea305c7eff64</value><value>test</value><value>node-2e9fd533-a50b-463f-9387-0162d04aadd0</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2020-08-25 18:34:16 |
2020-08-25 18:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 18:34:16 | ------------------------------------ 2020-08-25 18:34:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a98107a6-8d39-44cb-bd79-ea305c7eff64)</node-pattern></data> 2020-08-25 18:34:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.104s |
2020-08-25 18:34:15 |
2020-08-25 18:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 18:34:15 | ------------------------------------ 2020-08-25 18:34:15 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a98107a6-8d39-44cb-bd79-ea305c7eff64</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-25 18:34:15 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.423s |
2020-08-25 18:34:16 |
2020-08-25 18:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 18:34:16 | ------------------------------------ 2020-08-25 18:34:16 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a98107a6-8d39-44cb-bd79-ea305c7eff64</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-25 18:34:17 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |