Test duration : 9.970s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.092s |
2020-10-08 22:27:36 |
2020-10-08 22:27:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:27:36 | ------------------------------------ 2020-10-08 22:27:36 | [Mutex] waiting for: [configured:node:node-c73d630d-499a-4d28-9063-6a111093f6e5:node-90859d6b-4afb-47db-a450-173e135d8ffe] 2020-10-08 22:27:36 | [Mutex] received everything. 2020-10-08 22:27:36 | [Mutex] isItemNotified: configured:node:node-c73d630d-499a-4d28-9063-6a111093f6e5:node-90859d6b-4afb-47db-a450-173e135d8ffe :: true 2020-10-08 22:27:37 | [Mutex] waiting for: [received:nodes:48dd6aeb-3220-41fb-9324-f0e8162ed674:localhost] 2020-10-08 22:27:37 | [Mutex] received everything. 2020-10-08 22:27:37 | [Mutex] isItemNotified: received:node:48dd6aeb-3220-41fb-9324-f0e8162ed674:localhost:node-c73d630d-499a-4d28-9063-6a111093f6e5:Node c73d630d-499a-4d28-9063-6a111093f6e5 :: true 2020-10-08 22:27:37 | [Mutex] waiting for: [received:nodes:661696b5-b2f4-40df-8f6b-9ca76a5f9ef1:localhost] 2020-10-08 22:27:37 | [Mutex] received everything. 2020-10-08 22:27:37 | [Mutex] isItemNotified: received:node:661696b5-b2f4-40df-8f6b-9ca76a5f9ef1:localhost:node-c73d630d-499a-4d28-9063-6a111093f6e5:Node c73d630d-499a-4d28-9063-6a111093f6e5 :: false |
createNodes | 1.503s |
2020-10-08 22:27:34 |
2020-10-08 22:27:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:27:34 | ------------------------------------ 2020-10-08 22:27:34 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c73d630d-499a-4d28-9063-6a111093f6e5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c73d630d-499a-4d28-9063-6a111093f6e5</title></pubsub></data> 2020-10-08 22:27:34 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-08 22:27:35 | [Mutex] waiting for: [received:nodes:c3190721-690e-40a3-a18a-4c490760745d:localhost] 2020-10-08 22:27:35 | [Mutex] received everything. 2020-10-08 22:27:35 | [Mutex] isItemNotified: received:node:c3190721-690e-40a3-a18a-4c490760745d:localhost:node-c73d630d-499a-4d28-9063-6a111093f6e5:Node c73d630d-499a-4d28-9063-6a111093f6e5 :: true |
createSubnodes | 1.024s |
2020-10-08 22:27:35 |
2020-10-08 22:27:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:27:35 | ------------------------------------ 2020-10-08 22:27:35 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-90859d6b-4afb-47db-a450-173e135d8ffe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 90859d6b-4afb-47db-a450-173e135d8ffe</title></pubsub></data> 2020-10-08 22:27:35 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-08 22:27:36 | [Mutex] waiting for: [received:nodes:bc9baa4c-c325-45b0-ab5c-f1109be516e7:localhost] 2020-10-08 22:27:36 | [Mutex] received everything. 2020-10-08 22:27:36 | [Mutex] isItemNotified: received:node:bc9baa4c-c325-45b0-ab5c-f1109be516e7:localhost:node-90859d6b-4afb-47db-a450-173e135d8ffe:Node 90859d6b-4afb-47db-a450-173e135d8ffe :: true |
deleteNodes | 1.018s |
2020-10-08 22:27:42 |
2020-10-08 22:27:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:27:42 | ------------------------------------ 2020-10-08 22:27:42 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-90859d6b-4afb-47db-a450-173e135d8ffe</node></data> 2020-10-08 22:27:42 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-08 22:27:43 | [Mutex] waiting for: [received:nodes:2658fb88-c948-4854-8611-3cfd18aa01ed:localhost] 2020-10-08 22:27:43 | [Mutex] received everything. 2020-10-08 22:27:43 | [Mutex] isItemNotified: received:node:2658fb88-c948-4854-8611-3cfd18aa01ed:localhost:node-90859d6b-4afb-47db-a450-173e135d8ffe:Node 90859d6b-4afb-47db-a450-173e135d8ffe :: false |
deleteSubnodes | 1.101s |
2020-10-08 22:27:41 |
2020-10-08 22:27:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:27:41 | ------------------------------------ 2020-10-08 22:27:41 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c73d630d-499a-4d28-9063-6a111093f6e5</node></data> 2020-10-08 22:27:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-08 22:27:42 | [Mutex] waiting for: [received:nodes:b0e6a94d-71dd-4e87-896a-bd285c22a392:localhost] 2020-10-08 22:27:42 | [Mutex] received everything. 2020-10-08 22:27:42 | [Mutex] isItemNotified: received:node:b0e6a94d-71dd-4e87-896a-bd285c22a392:localhost:node-c73d630d-499a-4d28-9063-6a111093f6e5:Node c73d630d-499a-4d28-9063-6a111093f6e5 :: false 2020-10-08 22:27:42 | [Mutex] waiting for: [received:nodes:f75293be-769f-48ab-b7de-45436353e22b:localhost] 2020-10-08 22:27:42 | [Mutex] received everything. 2020-10-08 22:27:42 | [Mutex] isItemNotified: received:node:f75293be-769f-48ab-b7de-45436353e22b:localhost:node-c73d630d-499a-4d28-9063-6a111093f6e5:Node c73d630d-499a-4d28-9063-6a111093f6e5 :: false |
publishItemsToNodes | 0.300s |
2020-10-08 22:27:38 |
2020-10-08 22:27:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:27:38 | ------------------------------------ 2020-10-08 22:27:38 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c73d630d-499a-4d28-9063-6a111093f6e5</node><item-id>item-a8cd5346-9ca7-4b6b-9eae-3b8fe318647f</item-id><entry><test>item-a8cd5346-9ca7-4b6b-9eae-3b8fe318647f</test></entry></data> 2020-10-08 22:27:39 | 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-a8cd5346-9ca7-4b6b-9eae-3b8fe318647f</value></item-id></result> 2020-10-08 22:27:39 | [Mutex] received everything. 2020-10-08 22:27:39 | [Mutex] isItemNotified: published:item:notifieditem-a8cd5346-9ca7-4b6b-9eae-3b8fe318647f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.324s |
2020-10-08 22:27:39 |
2020-10-08 22:27:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:27:39 | ------------------------------------ 2020-10-08 22:27:39 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c73d630d-499a-4d28-9063-6a111093f6e5</node><item-id>item-a8cd5346-9ca7-4b6b-9eae-3b8fe318647f</item-id></data> 2020-10-08 22:27:39 | 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-a8cd5346-9ca7-4b6b-9eae-3b8fe318647f</value></item-id></result> 2020-10-08 22:27:39 | [Mutex] received everything. 2020-10-08 22:27:39 | [Mutex] isItemNotified: retracted:item:notifieditem-a8cd5346-9ca7-4b6b-9eae-3b8fe318647f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.213s |
2020-10-08 22:27:39 |
2020-10-08 22:27:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:27:39 | ------------------------------------ 2020-10-08 22:27:39 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c73d630d-499a-4d28-9063-6a111093f6e5</node><item-id>item-a8cd5346-9ca7-4b6b-9eae-3b8fe318647f</item-id></data> 2020-10-08 22:27:39 | 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-c73d630d-499a-4d28-9063-6a111093f6e5</value></node><item-id type="text-single" label="Item ID"><value>item-a8cd5346-9ca7-4b6b-9eae-3b8fe318647f</value></item-id><item type="text-multi" label="Item"><value><item id="item-a8cd5346-9ca7-4b6b-9eae-3b8fe318647f"><test>item-a8cd5346-9ca7-4b6b-9eae-3b8fe318647f</test></item></value></item></result> 2020-10-08 22:27:39 | [Mutex] notify: [retrieved:item:item-a8cd5346-9ca7-4b6b-9eae-3b8fe318647f:payload-matches:true:localhost] 2020-10-08 22:27:39 | [Mutex] received everything. 2020-10-08 22:27:39 | [Mutex] isItemNotified: retrieved:item:item-a8cd5346-9ca7-4b6b-9eae-3b8fe318647f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2020-10-08 22:27:39 |
2020-10-08 22:27:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:27:39 | ------------------------------------ 2020-10-08 22:27:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-08 22:27:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-c73d630d-499a-4d28-9063-6a111093f6e5</value><value>node-90859d6b-4afb-47db-a450-173e135d8ffe</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2020-10-08 22:27:39 |
2020-10-08 22:27:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:27:39 | ------------------------------------ 2020-10-08 22:27:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c73d630d-499a-4d28-9063-6a111093f6e5)</node-pattern></data> 2020-10-08 22:27:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.088s |
2020-10-08 22:27:37 |
2020-10-08 22:27:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:27:37 | ------------------------------------ 2020-10-08 22:27:37 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c73d630d-499a-4d28-9063-6a111093f6e5</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-08 22:27:37 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.220s |
2020-10-08 22:27:39 |
2020-10-08 22:27:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-08 22:27:39 | ------------------------------------ 2020-10-08 22:27:39 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c73d630d-499a-4d28-9063-6a111093f6e5</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-08 22:27:40 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |