Test duration : 9.352s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.090s |
2022-08-01 23:02:16 |
2022-08-01 23:02:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-01 23:02:16 | ------------------------------------ 2022-08-01 23:02:16 | [Mutex] waiting for: [configured:node:node-be168da5-9d09-4c74-8f1d-1c23157748ea:node-da806d3e-ae18-4468-ae2e-953b909c8746] 2022-08-01 23:02:16 | [Mutex] received everything. 2022-08-01 23:02:16 | [Mutex] isItemNotified: configured:node:node-be168da5-9d09-4c74-8f1d-1c23157748ea:node-da806d3e-ae18-4468-ae2e-953b909c8746 :: true 2022-08-01 23:02:17 | [Mutex] waiting for: [received:nodes:7975d38b-8377-47e0-a236-6a1f407974d0:localhost] 2022-08-01 23:02:17 | [Mutex] received everything. 2022-08-01 23:02:17 | [Mutex] isItemNotified: received:node:7975d38b-8377-47e0-a236-6a1f407974d0:localhost:node-be168da5-9d09-4c74-8f1d-1c23157748ea:Node be168da5-9d09-4c74-8f1d-1c23157748ea :: true 2022-08-01 23:02:17 | [Mutex] waiting for: [received:nodes:b931039d-b7dd-43ad-92ad-517fb5191d4a:localhost] 2022-08-01 23:02:17 | [Mutex] received everything. 2022-08-01 23:02:17 | [Mutex] isItemNotified: received:node:b931039d-b7dd-43ad-92ad-517fb5191d4a:localhost:node-be168da5-9d09-4c74-8f1d-1c23157748ea:Node be168da5-9d09-4c74-8f1d-1c23157748ea :: false |
createNodes | 1.446s |
2022-08-01 23:02:13 |
2022-08-01 23:02:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-01 23:02:13 | ------------------------------------ 2022-08-01 23:02:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-be168da5-9d09-4c74-8f1d-1c23157748ea</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node be168da5-9d09-4c74-8f1d-1c23157748ea</title></pubsub></data> 2022-08-01 23:02:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-01 23:02:15 | [Mutex] waiting for: [received:nodes:0c625652-a824-49d0-accb-075b3aa8dc84:localhost] 2022-08-01 23:02:15 | [Mutex] received everything. 2022-08-01 23:02:15 | [Mutex] isItemNotified: received:node:0c625652-a824-49d0-accb-075b3aa8dc84:localhost:node-be168da5-9d09-4c74-8f1d-1c23157748ea:Node be168da5-9d09-4c74-8f1d-1c23157748ea :: true |
createSubnodes | 1.028s |
2022-08-01 23:02:15 |
2022-08-01 23:02:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-01 23:02:15 | ------------------------------------ 2022-08-01 23:02:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-da806d3e-ae18-4468-ae2e-953b909c8746</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node da806d3e-ae18-4468-ae2e-953b909c8746</title></pubsub></data> 2022-08-01 23:02:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-01 23:02:16 | [Mutex] waiting for: [received:nodes:f888d1a4-fd24-41b4-a48f-8c4730c10de1:localhost] 2022-08-01 23:02:16 | [Mutex] received everything. 2022-08-01 23:02:16 | [Mutex] isItemNotified: received:node:f888d1a4-fd24-41b4-a48f-8c4730c10de1:localhost:node-da806d3e-ae18-4468-ae2e-953b909c8746:Node da806d3e-ae18-4468-ae2e-953b909c8746 :: true |
deleteNodes | 1.017s |
2022-08-01 23:02:21 |
2022-08-01 23:02:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-01 23:02:21 | ------------------------------------ 2022-08-01 23:02:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-da806d3e-ae18-4468-ae2e-953b909c8746</node></data> 2022-08-01 23:02:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-01 23:02:22 | [Mutex] waiting for: [received:nodes:e927933e-8d0f-4759-a1aa-abf31dd452fd:localhost] 2022-08-01 23:02:22 | [Mutex] received everything. 2022-08-01 23:02:22 | [Mutex] isItemNotified: received:node:e927933e-8d0f-4759-a1aa-abf31dd452fd:localhost:node-da806d3e-ae18-4468-ae2e-953b909c8746:Node da806d3e-ae18-4468-ae2e-953b909c8746 :: false |
deleteSubnodes | 1.147s |
2022-08-01 23:02:20 |
2022-08-01 23:02:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-01 23:02:20 | ------------------------------------ 2022-08-01 23:02:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-be168da5-9d09-4c74-8f1d-1c23157748ea</node></data> 2022-08-01 23:02:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-01 23:02:21 | [Mutex] waiting for: [received:nodes:a583d13f-4977-4497-a989-1c08ae9335b2:localhost] 2022-08-01 23:02:21 | [Mutex] received everything. 2022-08-01 23:02:21 | [Mutex] isItemNotified: received:node:a583d13f-4977-4497-a989-1c08ae9335b2:localhost:node-be168da5-9d09-4c74-8f1d-1c23157748ea:Node be168da5-9d09-4c74-8f1d-1c23157748ea :: false 2022-08-01 23:02:21 | [Mutex] waiting for: [received:nodes:a5865f07-bb9d-4156-9bf8-f49a62ec75cb:localhost] 2022-08-01 23:02:21 | [Mutex] received everything. 2022-08-01 23:02:21 | [Mutex] isItemNotified: received:node:a5865f07-bb9d-4156-9bf8-f49a62ec75cb:localhost:node-be168da5-9d09-4c74-8f1d-1c23157748ea:Node be168da5-9d09-4c74-8f1d-1c23157748ea :: false |
publishItemsToNodes | 0.259s |
2022-08-01 23:02:18 |
2022-08-01 23:02:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-01 23:02:18 | ------------------------------------ 2022-08-01 23:02:18 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-be168da5-9d09-4c74-8f1d-1c23157748ea</node><item-id>item-58d281b8-27dc-448a-ac6d-943aa3352a67</item-id><entry><test>item-58d281b8-27dc-448a-ac6d-943aa3352a67</test></entry></data> 2022-08-01 23:02:18 | 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-58d281b8-27dc-448a-ac6d-943aa3352a67</value></item-id></result> 2022-08-01 23:02:18 | [Mutex] waiting for: [published:item:notifieditem-58d281b8-27dc-448a-ac6d-943aa3352a67:admin@test-domain.com] 2022-08-01 23:02:18 | [Mutex] received everything. 2022-08-01 23:02:18 | [Mutex] isItemNotified: published:item:notifieditem-58d281b8-27dc-448a-ac6d-943aa3352a67:admin@test-domain.com :: true |
retractItemsFromNodes | 0.187s |
2022-08-01 23:02:18 |
2022-08-01 23:02:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-01 23:02:18 | ------------------------------------ 2022-08-01 23:02:18 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-be168da5-9d09-4c74-8f1d-1c23157748ea</node><item-id>item-58d281b8-27dc-448a-ac6d-943aa3352a67</item-id></data> 2022-08-01 23:02:19 | 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-58d281b8-27dc-448a-ac6d-943aa3352a67</value></item-id></result> 2022-08-01 23:02:19 | [Mutex] received everything. 2022-08-01 23:02:19 | [Mutex] isItemNotified: retracted:item:notifieditem-58d281b8-27dc-448a-ac6d-943aa3352a67:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.216s |
2022-08-01 23:02:18 |
2022-08-01 23:02:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-01 23:02:18 | ------------------------------------ 2022-08-01 23:02:18 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-be168da5-9d09-4c74-8f1d-1c23157748ea</node><item-id>item-58d281b8-27dc-448a-ac6d-943aa3352a67</item-id></data> 2022-08-01 23:02:18 | 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-be168da5-9d09-4c74-8f1d-1c23157748ea</value></node><item-id type="text-single" label="Item ID"><value>item-58d281b8-27dc-448a-ac6d-943aa3352a67</value></item-id><item type="text-multi" label="Item"><value><item id="item-58d281b8-27dc-448a-ac6d-943aa3352a67"><test>item-58d281b8-27dc-448a-ac6d-943aa3352a67</test></item></value></item></result> 2022-08-01 23:02:18 | [Mutex] notify: [retrieved:item:item-58d281b8-27dc-448a-ac6d-943aa3352a67:payload-matches:true:localhost] 2022-08-01 23:02:18 | [Mutex] received everything. 2022-08-01 23:02:18 | [Mutex] isItemNotified: retrieved:item:item-58d281b8-27dc-448a-ac6d-943aa3352a67:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2022-08-01 23:02:18 |
2022-08-01 23:02:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-01 23:02:18 | ------------------------------------ 2022-08-01 23:02:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-01 23:02:18 | 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-da806d3e-ae18-4468-ae2e-953b909c8746</value><value>node-be168da5-9d09-4c74-8f1d-1c23157748ea</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-08-01 23:02:18 |
2022-08-01 23:02:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-01 23:02:18 | ------------------------------------ 2022-08-01 23:02:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-be168da5-9d09-4c74-8f1d-1c23157748ea)</node-pattern></data> 2022-08-01 23:02:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.121s |
2022-08-01 23:02:17 |
2022-08-01 23:02:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-01 23:02:17 | ------------------------------------ 2022-08-01 23:02:17 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-be168da5-9d09-4c74-8f1d-1c23157748ea</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-01 23:02:17 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.136s |
2022-08-01 23:02:19 |
2022-08-01 23:02:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-01 23:02:19 | ------------------------------------ 2022-08-01 23:02:19 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-be168da5-9d09-4c74-8f1d-1c23157748ea</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-01 23:02:19 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |