Test duration : 10.355s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.113s |
2021-12-20 21:57:43 |
2021-12-20 21:57:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 21:57:43 | ------------------------------------ 2021-12-20 21:57:43 | [Mutex] waiting for: [configured:node:node-235c7228-3052-44f8-84da-2c27f068f2da:node-793f3078-eb3c-488b-aeac-8a6efebc85e0] 2021-12-20 21:57:43 | [Mutex] received everything. 2021-12-20 21:57:43 | [Mutex] isItemNotified: configured:node:node-235c7228-3052-44f8-84da-2c27f068f2da:node-793f3078-eb3c-488b-aeac-8a6efebc85e0 :: true 2021-12-20 21:57:44 | [Mutex] waiting for: [received:nodes:4889c3d4-26a2-4e2d-b828-ff75c0843346:localhost] 2021-12-20 21:57:44 | [Mutex] received everything. 2021-12-20 21:57:44 | [Mutex] isItemNotified: received:node:4889c3d4-26a2-4e2d-b828-ff75c0843346:localhost:node-235c7228-3052-44f8-84da-2c27f068f2da:Node 235c7228-3052-44f8-84da-2c27f068f2da :: true 2021-12-20 21:57:44 | [Mutex] waiting for: [received:nodes:e20c007e-0e13-4424-be5d-fc2fce43fc81:localhost] 2021-12-20 21:57:44 | [Mutex] received everything. 2021-12-20 21:57:44 | [Mutex] isItemNotified: received:node:e20c007e-0e13-4424-be5d-fc2fce43fc81:localhost:node-235c7228-3052-44f8-84da-2c27f068f2da:Node 235c7228-3052-44f8-84da-2c27f068f2da :: false |
createNodes | 1.487s |
2021-12-20 21:57:40 |
2021-12-20 21:57:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 21:57:40 | ------------------------------------ 2021-12-20 21:57:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-235c7228-3052-44f8-84da-2c27f068f2da</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 235c7228-3052-44f8-84da-2c27f068f2da</title></pubsub></data> 2021-12-20 21:57:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-20 21:57:42 | [Mutex] waiting for: [received:nodes:5f7ce672-7bcb-4b88-8b16-f1f38a94e9e8:localhost] 2021-12-20 21:57:42 | [Mutex] received everything. 2021-12-20 21:57:42 | [Mutex] isItemNotified: received:node:5f7ce672-7bcb-4b88-8b16-f1f38a94e9e8:localhost:node-235c7228-3052-44f8-84da-2c27f068f2da:Node 235c7228-3052-44f8-84da-2c27f068f2da :: true |
createSubnodes | 1.034s |
2021-12-20 21:57:42 |
2021-12-20 21:57:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 21:57:42 | ------------------------------------ 2021-12-20 21:57:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-793f3078-eb3c-488b-aeac-8a6efebc85e0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 793f3078-eb3c-488b-aeac-8a6efebc85e0</title></pubsub></data> 2021-12-20 21:57:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-20 21:57:43 | [Mutex] waiting for: [received:nodes:0d026047-86ec-469c-a039-db6d71f76439:localhost] 2021-12-20 21:57:43 | [Mutex] waiting for: [received:nodes:0d026047-86ec-469c-a039-db6d71f76439:localhost] 2021-12-20 21:57:43 | [Mutex] received everything. 2021-12-20 21:57:43 | [Mutex] isItemNotified: received:node:0d026047-86ec-469c-a039-db6d71f76439:localhost:node-793f3078-eb3c-488b-aeac-8a6efebc85e0:Node 793f3078-eb3c-488b-aeac-8a6efebc85e0 :: true |
deleteNodes | 1.026s |
2021-12-20 21:57:48 |
2021-12-20 21:57:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 21:57:48 | ------------------------------------ 2021-12-20 21:57:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-793f3078-eb3c-488b-aeac-8a6efebc85e0</node></data> 2021-12-20 21:57:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-20 21:57:49 | [Mutex] waiting for: [received:nodes:332051f4-d969-44c4-8033-af64d555224c:localhost] 2021-12-20 21:57:49 | [Mutex] received everything. 2021-12-20 21:57:49 | [Mutex] isItemNotified: received:node:332051f4-d969-44c4-8033-af64d555224c:localhost:node-793f3078-eb3c-488b-aeac-8a6efebc85e0:Node 793f3078-eb3c-488b-aeac-8a6efebc85e0 :: false |
deleteSubnodes | 1.140s |
2021-12-20 21:57:47 |
2021-12-20 21:57:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 21:57:47 | ------------------------------------ 2021-12-20 21:57:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-235c7228-3052-44f8-84da-2c27f068f2da</node></data> 2021-12-20 21:57:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-20 21:57:48 | [Mutex] waiting for: [received:nodes:3db8da09-8b1e-4679-889b-1cbcc88bf6e1:localhost] 2021-12-20 21:57:48 | [Mutex] received everything. 2021-12-20 21:57:48 | [Mutex] isItemNotified: received:node:3db8da09-8b1e-4679-889b-1cbcc88bf6e1:localhost:node-235c7228-3052-44f8-84da-2c27f068f2da:Node 235c7228-3052-44f8-84da-2c27f068f2da :: false 2021-12-20 21:57:48 | [Mutex] waiting for: [received:nodes:088c3cda-97c1-49d4-a8fb-d7abe3f99c70:localhost] 2021-12-20 21:57:48 | [Mutex] received everything. 2021-12-20 21:57:48 | [Mutex] isItemNotified: received:node:088c3cda-97c1-49d4-a8fb-d7abe3f99c70:localhost:node-235c7228-3052-44f8-84da-2c27f068f2da:Node 235c7228-3052-44f8-84da-2c27f068f2da :: false |
publishItemsToNodes | 0.221s |
2021-12-20 21:57:45 |
2021-12-20 21:57:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 21:57:45 | ------------------------------------ 2021-12-20 21:57:45 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-235c7228-3052-44f8-84da-2c27f068f2da</node><item-id>item-67001dd6-d9f2-459e-82bf-3d890ac12a6f</item-id><entry><test>item-67001dd6-d9f2-459e-82bf-3d890ac12a6f</test></entry></data> 2021-12-20 21:57:45 | 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-67001dd6-d9f2-459e-82bf-3d890ac12a6f</value></item-id></result> 2021-12-20 21:57:45 | [Mutex] waiting for: [published:item:notifieditem-67001dd6-d9f2-459e-82bf-3d890ac12a6f:admin@test-domain.com] 2021-12-20 21:57:45 | [Mutex] received everything. 2021-12-20 21:57:45 | [Mutex] isItemNotified: published:item:notifieditem-67001dd6-d9f2-459e-82bf-3d890ac12a6f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.351s |
2021-12-20 21:57:46 |
2021-12-20 21:57:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 21:57:46 | ------------------------------------ 2021-12-20 21:57:46 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-235c7228-3052-44f8-84da-2c27f068f2da</node><item-id>item-67001dd6-d9f2-459e-82bf-3d890ac12a6f</item-id></data> 2021-12-20 21:57:46 | 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-67001dd6-d9f2-459e-82bf-3d890ac12a6f</value></item-id></result> 2021-12-20 21:57:46 | [Mutex] received everything. 2021-12-20 21:57:46 | [Mutex] isItemNotified: retracted:item:notifieditem-67001dd6-d9f2-459e-82bf-3d890ac12a6f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.333s |
2021-12-20 21:57:45 |
2021-12-20 21:57:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 21:57:45 | ------------------------------------ 2021-12-20 21:57:45 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-235c7228-3052-44f8-84da-2c27f068f2da</node><item-id>item-67001dd6-d9f2-459e-82bf-3d890ac12a6f</item-id></data> 2021-12-20 21:57:45 | 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-235c7228-3052-44f8-84da-2c27f068f2da</value></node><item-id type="text-single" label="Item ID"><value>item-67001dd6-d9f2-459e-82bf-3d890ac12a6f</value></item-id><item type="text-multi" label="Item"><value><item id="item-67001dd6-d9f2-459e-82bf-3d890ac12a6f"><test>item-67001dd6-d9f2-459e-82bf-3d890ac12a6f</test></item></value></item></result> 2021-12-20 21:57:45 | [Mutex] notify: [retrieved:item:item-67001dd6-d9f2-459e-82bf-3d890ac12a6f:payload-matches:true:localhost] 2021-12-20 21:57:45 | [Mutex] received everything. 2021-12-20 21:57:45 | [Mutex] isItemNotified: retrieved:item:item-67001dd6-d9f2-459e-82bf-3d890ac12a6f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2021-12-20 21:57:45 |
2021-12-20 21:57:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 21:57:45 | ------------------------------------ 2021-12-20 21:57:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-12-20 21:57:46 | 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-793f3078-eb3c-488b-aeac-8a6efebc85e0</value><value>node-235c7228-3052-44f8-84da-2c27f068f2da</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2021-12-20 21:57:46 |
2021-12-20 21:57:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 21:57:46 | ------------------------------------ 2021-12-20 21:57:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-235c7228-3052-44f8-84da-2c27f068f2da)</node-pattern></data> 2021-12-20 21:57:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.213s |
2021-12-20 21:57:44 |
2021-12-20 21:57:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 21:57:44 | ------------------------------------ 2021-12-20 21:57:44 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-235c7228-3052-44f8-84da-2c27f068f2da</node><jids><value>admin@test-domain.com</value></jids></data> 2021-12-20 21:57:44 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.324s |
2021-12-20 21:57:46 |
2021-12-20 21:57:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-20 21:57:46 | ------------------------------------ 2021-12-20 21:57:46 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-235c7228-3052-44f8-84da-2c27f068f2da</node><jids><value>admin@test-domain.com</value></jids></data> 2021-12-20 21:57:46 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |