Test duration : 10.054s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.107s |
2020-09-18 11:34:34 |
2020-09-18 11:34:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 11:34:34 | ------------------------------------ 2020-09-18 11:34:34 | [Mutex] waiting for: [configured:node:node-689cae63-ef0b-4d18-8b5a-08b9d33dd580:node-89fae303-a753-4e8e-a349-b935e42542fd] 2020-09-18 11:34:34 | [Mutex] received everything. 2020-09-18 11:34:34 | [Mutex] isItemNotified: configured:node:node-689cae63-ef0b-4d18-8b5a-08b9d33dd580:node-89fae303-a753-4e8e-a349-b935e42542fd :: true 2020-09-18 11:34:35 | [Mutex] waiting for: [received:nodes:9e033dc6-e5c0-40d5-bf33-e22d24258d2f:localhost] 2020-09-18 11:34:35 | [Mutex] received everything. 2020-09-18 11:34:35 | [Mutex] isItemNotified: received:node:9e033dc6-e5c0-40d5-bf33-e22d24258d2f:localhost:node-689cae63-ef0b-4d18-8b5a-08b9d33dd580:Node 689cae63-ef0b-4d18-8b5a-08b9d33dd580 :: true 2020-09-18 11:34:35 | [Mutex] waiting for: [received:nodes:a7ebb1ec-eaa4-41c5-a264-80d3a7a13975:localhost] 2020-09-18 11:34:35 | [Mutex] waiting for: [received:nodes:a7ebb1ec-eaa4-41c5-a264-80d3a7a13975:localhost] 2020-09-18 11:34:35 | [Mutex] waiting for: [received:nodes:a7ebb1ec-eaa4-41c5-a264-80d3a7a13975:localhost] 2020-09-18 11:34:35 | [Mutex] received everything. 2020-09-18 11:34:35 | [Mutex] isItemNotified: received:node:a7ebb1ec-eaa4-41c5-a264-80d3a7a13975:localhost:node-689cae63-ef0b-4d18-8b5a-08b9d33dd580:Node 689cae63-ef0b-4d18-8b5a-08b9d33dd580 :: false |
createNodes | 1.391s |
2020-09-18 11:34:31 |
2020-09-18 11:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 11:34:31 | ------------------------------------ 2020-09-18 11:34:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-689cae63-ef0b-4d18-8b5a-08b9d33dd580</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 689cae63-ef0b-4d18-8b5a-08b9d33dd580</title></pubsub></data> 2020-09-18 11:34:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 11:34:33 | [Mutex] waiting for: [received:nodes:8a5fe719-a459-4261-b521-4c5cdcc88177:localhost] 2020-09-18 11:34:33 | [Mutex] received everything. 2020-09-18 11:34:33 | [Mutex] isItemNotified: received:node:8a5fe719-a459-4261-b521-4c5cdcc88177:localhost:node-689cae63-ef0b-4d18-8b5a-08b9d33dd580:Node 689cae63-ef0b-4d18-8b5a-08b9d33dd580 :: true |
createSubnodes | 1.030s |
2020-09-18 11:34:33 |
2020-09-18 11:34:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 11:34:33 | ------------------------------------ 2020-09-18 11:34:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-89fae303-a753-4e8e-a349-b935e42542fd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 89fae303-a753-4e8e-a349-b935e42542fd</title></pubsub></data> 2020-09-18 11:34:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 11:34:34 | [Mutex] waiting for: [received:nodes:162853ba-e3a0-48bc-8e18-105bc9494f0f:localhost] 2020-09-18 11:34:34 | [Mutex] received everything. 2020-09-18 11:34:34 | [Mutex] isItemNotified: received:node:162853ba-e3a0-48bc-8e18-105bc9494f0f:localhost:node-89fae303-a753-4e8e-a349-b935e42542fd:Node 89fae303-a753-4e8e-a349-b935e42542fd :: true |
deleteNodes | 1.017s |
2020-09-18 11:34:39 |
2020-09-18 11:34:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 11:34:39 | ------------------------------------ 2020-09-18 11:34:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-89fae303-a753-4e8e-a349-b935e42542fd</node></data> 2020-09-18 11:34:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 11:34:40 | [Mutex] waiting for: [received:nodes:4f94f7c6-fb28-4448-8fdd-1091f95a3361:localhost] 2020-09-18 11:34:40 | [Mutex] received everything. 2020-09-18 11:34:40 | [Mutex] isItemNotified: received:node:4f94f7c6-fb28-4448-8fdd-1091f95a3361:localhost:node-89fae303-a753-4e8e-a349-b935e42542fd:Node 89fae303-a753-4e8e-a349-b935e42542fd :: false |
deleteSubnodes | 1.114s |
2020-09-18 11:34:38 |
2020-09-18 11:34:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 11:34:38 | ------------------------------------ 2020-09-18 11:34:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-689cae63-ef0b-4d18-8b5a-08b9d33dd580</node></data> 2020-09-18 11:34:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 11:34:39 | [Mutex] waiting for: [received:nodes:fe6704d8-994c-4d40-b466-aaf7385b4a80:localhost] 2020-09-18 11:34:39 | [Mutex] received everything. 2020-09-18 11:34:39 | [Mutex] isItemNotified: received:node:fe6704d8-994c-4d40-b466-aaf7385b4a80:localhost:node-689cae63-ef0b-4d18-8b5a-08b9d33dd580:Node 689cae63-ef0b-4d18-8b5a-08b9d33dd580 :: false 2020-09-18 11:34:39 | [Mutex] waiting for: [received:nodes:e437fce1-5c73-4e66-85bd-cf0cf65ce29e:localhost] 2020-09-18 11:34:39 | [Mutex] received everything. 2020-09-18 11:34:39 | [Mutex] isItemNotified: received:node:e437fce1-5c73-4e66-85bd-cf0cf65ce29e:localhost:node-689cae63-ef0b-4d18-8b5a-08b9d33dd580:Node 689cae63-ef0b-4d18-8b5a-08b9d33dd580 :: false |
publishItemsToNodes | 0.219s |
2020-09-18 11:34:36 |
2020-09-18 11:34:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 11:34:36 | ------------------------------------ 2020-09-18 11:34:36 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-689cae63-ef0b-4d18-8b5a-08b9d33dd580</node><item-id>item-ba21aa4f-0fd5-4486-a421-698a6c7d84dc</item-id><entry><test>item-ba21aa4f-0fd5-4486-a421-698a6c7d84dc</test></entry></data> 2020-09-18 11:34:36 | 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-ba21aa4f-0fd5-4486-a421-698a6c7d84dc</value></item-id></result> 2020-09-18 11:34:36 | [Mutex] waiting for: [published:item:notifieditem-ba21aa4f-0fd5-4486-a421-698a6c7d84dc:admin@test-domain.com] 2020-09-18 11:34:36 | [Mutex] received everything. 2020-09-18 11:34:36 | [Mutex] isItemNotified: published:item:notifieditem-ba21aa4f-0fd5-4486-a421-698a6c7d84dc:admin@test-domain.com :: true |
retractItemsFromNodes | 0.379s |
2020-09-18 11:34:37 |
2020-09-18 11:34:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 11:34:37 | ------------------------------------ 2020-09-18 11:34:37 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-689cae63-ef0b-4d18-8b5a-08b9d33dd580</node><item-id>item-ba21aa4f-0fd5-4486-a421-698a6c7d84dc</item-id></data> 2020-09-18 11:34:37 | 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-ba21aa4f-0fd5-4486-a421-698a6c7d84dc</value></item-id></result> 2020-09-18 11:34:37 | [Mutex] received everything. 2020-09-18 11:34:37 | [Mutex] isItemNotified: retracted:item:notifieditem-ba21aa4f-0fd5-4486-a421-698a6c7d84dc:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.250s |
2020-09-18 11:34:36 |
2020-09-18 11:34:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 11:34:36 | ------------------------------------ 2020-09-18 11:34:36 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-689cae63-ef0b-4d18-8b5a-08b9d33dd580</node><item-id>item-ba21aa4f-0fd5-4486-a421-698a6c7d84dc</item-id></data> 2020-09-18 11:34:36 | 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-689cae63-ef0b-4d18-8b5a-08b9d33dd580</value></node><item-id type="text-single" label="Item ID"><value>item-ba21aa4f-0fd5-4486-a421-698a6c7d84dc</value></item-id><item type="text-multi" label="Item"><value><item id="item-ba21aa4f-0fd5-4486-a421-698a6c7d84dc"><test>item-ba21aa4f-0fd5-4486-a421-698a6c7d84dc</test></item></value></item></result> 2020-09-18 11:34:36 | [Mutex] notify: [retrieved:item:item-ba21aa4f-0fd5-4486-a421-698a6c7d84dc:payload-matches:true:localhost] 2020-09-18 11:34:36 | [Mutex] received everything. 2020-09-18 11:34:36 | [Mutex] isItemNotified: retrieved:item:item-ba21aa4f-0fd5-4486-a421-698a6c7d84dc:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2020-09-18 11:34:36 |
2020-09-18 11:34:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 11:34:36 | ------------------------------------ 2020-09-18 11:34:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-18 11:34:36 | 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-689cae63-ef0b-4d18-8b5a-08b9d33dd580</value><value>node-89fae303-a753-4e8e-a349-b935e42542fd</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-09-18 11:34:37 |
2020-09-18 11:34:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 11:34:37 | ------------------------------------ 2020-09-18 11:34:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-689cae63-ef0b-4d18-8b5a-08b9d33dd580)</node-pattern></data> 2020-09-18 11:34:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.168s |
2020-09-18 11:34:35 |
2020-09-18 11:34:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 11:34:35 | ------------------------------------ 2020-09-18 11:34:35 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-689cae63-ef0b-4d18-8b5a-08b9d33dd580</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-18 11:34:35 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.367s |
2020-09-18 11:34:37 |
2020-09-18 11:34:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 11:34:37 | ------------------------------------ 2020-09-18 11:34:37 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-689cae63-ef0b-4d18-8b5a-08b9d33dd580</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-18 11:34:37 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |