Test duration : 10.009s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.045s |
2020-08-25 22:45:21 |
2020-08-25 22:45:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:45:21 | ------------------------------------ 2020-08-25 22:45:21 | [Mutex] waiting for: [configured:node:node-c4b32898-bfb2-4f56-b2b9-264081d07f7b:node-d8b15f0f-a6f5-40f2-b903-7ae503b8ab88] 2020-08-25 22:45:21 | [Mutex] received everything. 2020-08-25 22:45:21 | [Mutex] isItemNotified: configured:node:node-c4b32898-bfb2-4f56-b2b9-264081d07f7b:node-d8b15f0f-a6f5-40f2-b903-7ae503b8ab88 :: true 2020-08-25 22:45:22 | [Mutex] waiting for: [received:nodes:8135b30c-10c9-453f-9953-fdc70072fc22:localhost] 2020-08-25 22:45:22 | [Mutex] received everything. 2020-08-25 22:45:22 | [Mutex] isItemNotified: received:node:8135b30c-10c9-453f-9953-fdc70072fc22:localhost:node-c4b32898-bfb2-4f56-b2b9-264081d07f7b:Node c4b32898-bfb2-4f56-b2b9-264081d07f7b :: true 2020-08-25 22:45:22 | [Mutex] waiting for: [received:nodes:060d2457-b00c-4d42-8350-1d1734d66195:localhost] 2020-08-25 22:45:22 | [Mutex] waiting for: [received:nodes:060d2457-b00c-4d42-8350-1d1734d66195:localhost] 2020-08-25 22:45:22 | [Mutex] received everything. 2020-08-25 22:45:22 | [Mutex] isItemNotified: received:node:060d2457-b00c-4d42-8350-1d1734d66195:localhost:node-c4b32898-bfb2-4f56-b2b9-264081d07f7b:Node c4b32898-bfb2-4f56-b2b9-264081d07f7b :: false |
createNodes | 1.367s |
2020-08-25 22:45:18 |
2020-08-25 22:45:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:45:18 | ------------------------------------ 2020-08-25 22:45:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c4b32898-bfb2-4f56-b2b9-264081d07f7b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c4b32898-bfb2-4f56-b2b9-264081d07f7b</title></pubsub></data> 2020-08-25 22:45:19 | 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 22:45:20 | [Mutex] waiting for: [received:nodes:e53993f6-6d1f-458c-b40c-1f135e953828:localhost] 2020-08-25 22:45:20 | [Mutex] received everything. 2020-08-25 22:45:20 | [Mutex] isItemNotified: received:node:e53993f6-6d1f-458c-b40c-1f135e953828:localhost:node-c4b32898-bfb2-4f56-b2b9-264081d07f7b:Node c4b32898-bfb2-4f56-b2b9-264081d07f7b :: true |
createSubnodes | 1.021s |
2020-08-25 22:45:20 |
2020-08-25 22:45:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:45:20 | ------------------------------------ 2020-08-25 22:45:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d8b15f0f-a6f5-40f2-b903-7ae503b8ab88</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d8b15f0f-a6f5-40f2-b903-7ae503b8ab88</title></pubsub></data> 2020-08-25 22:45:20 | 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 22:45:21 | [Mutex] waiting for: [received:nodes:83944b5f-8c96-455d-9276-7222835c8f93:localhost] 2020-08-25 22:45:21 | [Mutex] received everything. 2020-08-25 22:45:21 | [Mutex] isItemNotified: received:node:83944b5f-8c96-455d-9276-7222835c8f93:localhost:node-d8b15f0f-a6f5-40f2-b903-7ae503b8ab88:Node d8b15f0f-a6f5-40f2-b903-7ae503b8ab88 :: true |
deleteNodes | 1.017s |
2020-08-25 22:45:26 |
2020-08-25 22:45:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:45:26 | ------------------------------------ 2020-08-25 22:45:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d8b15f0f-a6f5-40f2-b903-7ae503b8ab88</node></data> 2020-08-25 22:45:26 | 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 22:45:27 | [Mutex] waiting for: [received:nodes:947809cf-2453-4fb8-95e6-f8ee973003c9:localhost] 2020-08-25 22:45:27 | [Mutex] waiting for: [received:nodes:947809cf-2453-4fb8-95e6-f8ee973003c9:localhost] 2020-08-25 22:45:27 | [Mutex] received everything. 2020-08-25 22:45:27 | [Mutex] isItemNotified: received:node:947809cf-2453-4fb8-95e6-f8ee973003c9:localhost:node-d8b15f0f-a6f5-40f2-b903-7ae503b8ab88:Node d8b15f0f-a6f5-40f2-b903-7ae503b8ab88 :: false |
deleteSubnodes | 1.123s |
2020-08-25 22:45:25 |
2020-08-25 22:45:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:45:25 | ------------------------------------ 2020-08-25 22:45:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c4b32898-bfb2-4f56-b2b9-264081d07f7b</node></data> 2020-08-25 22:45:25 | 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 22:45:26 | [Mutex] waiting for: [received:nodes:3cf87c59-39ef-4f91-8704-a42acf483e08:localhost] 2020-08-25 22:45:26 | [Mutex] received everything. 2020-08-25 22:45:26 | [Mutex] isItemNotified: received:node:3cf87c59-39ef-4f91-8704-a42acf483e08:localhost:node-c4b32898-bfb2-4f56-b2b9-264081d07f7b:Node c4b32898-bfb2-4f56-b2b9-264081d07f7b :: false 2020-08-25 22:45:26 | [Mutex] waiting for: [received:nodes:ca6b7a95-93eb-4338-a863-61f1381206d5:localhost] 2020-08-25 22:45:26 | [Mutex] received everything. 2020-08-25 22:45:26 | [Mutex] isItemNotified: received:node:ca6b7a95-93eb-4338-a863-61f1381206d5:localhost:node-c4b32898-bfb2-4f56-b2b9-264081d07f7b:Node c4b32898-bfb2-4f56-b2b9-264081d07f7b :: false |
publishItemsToNodes | 0.221s |
2020-08-25 22:45:23 |
2020-08-25 22:45:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:45:23 | ------------------------------------ 2020-08-25 22:45:23 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c4b32898-bfb2-4f56-b2b9-264081d07f7b</node><item-id>item-2f2b99aa-aecd-4ebd-b5ae-557f3e9ac557</item-id><entry><test>item-2f2b99aa-aecd-4ebd-b5ae-557f3e9ac557</test></entry></data> 2020-08-25 22:45:23 | 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-2f2b99aa-aecd-4ebd-b5ae-557f3e9ac557</value></item-id></result> 2020-08-25 22:45:23 | [Mutex] waiting for: [published:item:notifieditem-2f2b99aa-aecd-4ebd-b5ae-557f3e9ac557:admin@test-domain.com] 2020-08-25 22:45:23 | [Mutex] received everything. 2020-08-25 22:45:23 | [Mutex] isItemNotified: published:item:notifieditem-2f2b99aa-aecd-4ebd-b5ae-557f3e9ac557:admin@test-domain.com :: true |
retractItemsFromNodes | 0.304s |
2020-08-25 22:45:23 |
2020-08-25 22:45:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:45:23 | ------------------------------------ 2020-08-25 22:45:23 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c4b32898-bfb2-4f56-b2b9-264081d07f7b</node><item-id>item-2f2b99aa-aecd-4ebd-b5ae-557f3e9ac557</item-id></data> 2020-08-25 22:45:24 | 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-2f2b99aa-aecd-4ebd-b5ae-557f3e9ac557</value></item-id></result> 2020-08-25 22:45:24 | [Mutex] received everything. 2020-08-25 22:45:24 | [Mutex] isItemNotified: retracted:item:notifieditem-2f2b99aa-aecd-4ebd-b5ae-557f3e9ac557:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.343s |
2020-08-25 22:45:23 |
2020-08-25 22:45:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:45:23 | ------------------------------------ 2020-08-25 22:45:23 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c4b32898-bfb2-4f56-b2b9-264081d07f7b</node><item-id>item-2f2b99aa-aecd-4ebd-b5ae-557f3e9ac557</item-id></data> 2020-08-25 22:45:23 | 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-c4b32898-bfb2-4f56-b2b9-264081d07f7b</value></node><item-id type="text-single" label="Item ID"><value>item-2f2b99aa-aecd-4ebd-b5ae-557f3e9ac557</value></item-id><item type="text-multi" label="Item"><value><item id="item-2f2b99aa-aecd-4ebd-b5ae-557f3e9ac557"><test>item-2f2b99aa-aecd-4ebd-b5ae-557f3e9ac557</test></item></value></item></result> 2020-08-25 22:45:23 | [Mutex] notify: [retrieved:item:item-2f2b99aa-aecd-4ebd-b5ae-557f3e9ac557:payload-matches:true:localhost] 2020-08-25 22:45:23 | [Mutex] received everything. 2020-08-25 22:45:23 | [Mutex] isItemNotified: retrieved:item:item-2f2b99aa-aecd-4ebd-b5ae-557f3e9ac557:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2020-08-25 22:45:23 |
2020-08-25 22:45:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:45:23 | ------------------------------------ 2020-08-25 22:45:23 | 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 22:45:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-c4b32898-bfb2-4f56-b2b9-264081d07f7b</value><value>node-d8b15f0f-a6f5-40f2-b903-7ae503b8ab88</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-08-25 22:45:23 |
2020-08-25 22:45:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:45:23 | ------------------------------------ 2020-08-25 22:45:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c4b32898-bfb2-4f56-b2b9-264081d07f7b)</node-pattern></data> 2020-08-25 22:45:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.098s |
2020-08-25 22:45:22 |
2020-08-25 22:45:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:45:22 | ------------------------------------ 2020-08-25 22:45:22 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c4b32898-bfb2-4f56-b2b9-264081d07f7b</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-25 22:45:22 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.344s |
2020-08-25 22:45:24 |
2020-08-25 22:45:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:45:24 | ------------------------------------ 2020-08-25 22:45:24 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c4b32898-bfb2-4f56-b2b9-264081d07f7b</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-25 22:45:24 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |