Test duration : 9.515s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2022-11-13 21:32:56 |
2022-11-13 21:32:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 21:32:56 | ------------------------------------ 2022-11-13 21:32:56 | [Mutex] waiting for: [configured:node:node-d30c4930-e649-4256-951e-6747acc50f36:node-5c508ccc-7b0e-4452-aeb7-a873c94d2713] 2022-11-13 21:32:56 | [Mutex] received everything. 2022-11-13 21:32:56 | [Mutex] isItemNotified: configured:node:node-d30c4930-e649-4256-951e-6747acc50f36:node-5c508ccc-7b0e-4452-aeb7-a873c94d2713 :: true 2022-11-13 21:32:57 | [Mutex] waiting for: [received:nodes:59a332b1-8589-487d-86dd-dd53ceaeb3e4:localhost] 2022-11-13 21:32:57 | [Mutex] received everything. 2022-11-13 21:32:57 | [Mutex] isItemNotified: received:node:59a332b1-8589-487d-86dd-dd53ceaeb3e4:localhost:node-d30c4930-e649-4256-951e-6747acc50f36:Node d30c4930-e649-4256-951e-6747acc50f36 :: true 2022-11-13 21:32:57 | [Mutex] waiting for: [received:nodes:cec5ef28-c2a5-42de-bc6a-cf4b7be59801:localhost] 2022-11-13 21:32:57 | [Mutex] received everything. 2022-11-13 21:32:57 | [Mutex] isItemNotified: received:node:cec5ef28-c2a5-42de-bc6a-cf4b7be59801:localhost:node-d30c4930-e649-4256-951e-6747acc50f36:Node d30c4930-e649-4256-951e-6747acc50f36 :: false |
createNodes | 1.410s |
2022-11-13 21:32:53 |
2022-11-13 21:32:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 21:32:53 | ------------------------------------ 2022-11-13 21:32:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d30c4930-e649-4256-951e-6747acc50f36</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d30c4930-e649-4256-951e-6747acc50f36</title></pubsub></data> 2022-11-13 21:32:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-13 21:32:55 | [Mutex] waiting for: [received:nodes:d7b2575b-46ee-48b9-91bd-09fec52fa8dc:localhost] 2022-11-13 21:32:55 | [Mutex] waiting for: [received:nodes:d7b2575b-46ee-48b9-91bd-09fec52fa8dc:localhost] 2022-11-13 21:32:55 | [Mutex] received everything. 2022-11-13 21:32:55 | [Mutex] isItemNotified: received:node:d7b2575b-46ee-48b9-91bd-09fec52fa8dc:localhost:node-d30c4930-e649-4256-951e-6747acc50f36:Node d30c4930-e649-4256-951e-6747acc50f36 :: true |
createSubnodes | 1.029s |
2022-11-13 21:32:55 |
2022-11-13 21:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 21:32:55 | ------------------------------------ 2022-11-13 21:32:55 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5c508ccc-7b0e-4452-aeb7-a873c94d2713</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5c508ccc-7b0e-4452-aeb7-a873c94d2713</title></pubsub></data> 2022-11-13 21:32:55 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-13 21:32:56 | [Mutex] waiting for: [received:nodes:5d2e4017-1011-4f48-a431-723e58aacc05:localhost] 2022-11-13 21:32:56 | [Mutex] received everything. 2022-11-13 21:32:56 | [Mutex] isItemNotified: received:node:5d2e4017-1011-4f48-a431-723e58aacc05:localhost:node-5c508ccc-7b0e-4452-aeb7-a873c94d2713:Node 5c508ccc-7b0e-4452-aeb7-a873c94d2713 :: true |
deleteNodes | 1.021s |
2022-11-13 21:33:01 |
2022-11-13 21:33:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 21:33:01 | ------------------------------------ 2022-11-13 21:33:01 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5c508ccc-7b0e-4452-aeb7-a873c94d2713</node></data> 2022-11-13 21:33:01 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-13 21:33:02 | [Mutex] waiting for: [received:nodes:e1d3a28a-1382-45b8-b577-5650231858e5:localhost] 2022-11-13 21:33:02 | [Mutex] received everything. 2022-11-13 21:33:02 | [Mutex] isItemNotified: received:node:e1d3a28a-1382-45b8-b577-5650231858e5:localhost:node-5c508ccc-7b0e-4452-aeb7-a873c94d2713:Node 5c508ccc-7b0e-4452-aeb7-a873c94d2713 :: false |
deleteSubnodes | 1.115s |
2022-11-13 21:33:00 |
2022-11-13 21:33:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 21:33:00 | ------------------------------------ 2022-11-13 21:33:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d30c4930-e649-4256-951e-6747acc50f36</node></data> 2022-11-13 21:33:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-13 21:33:01 | [Mutex] waiting for: [received:nodes:ae93a72b-1936-4cb4-9d1a-1ec07e41370c:localhost] 2022-11-13 21:33:01 | [Mutex] waiting for: [received:nodes:ae93a72b-1936-4cb4-9d1a-1ec07e41370c:localhost] 2022-11-13 21:33:01 | [Mutex] received everything. 2022-11-13 21:33:01 | [Mutex] isItemNotified: received:node:ae93a72b-1936-4cb4-9d1a-1ec07e41370c:localhost:node-d30c4930-e649-4256-951e-6747acc50f36:Node d30c4930-e649-4256-951e-6747acc50f36 :: false 2022-11-13 21:33:01 | [Mutex] waiting for: [received:nodes:b7cc47bc-641e-46f4-99ee-68b83248ee9a:localhost] 2022-11-13 21:33:01 | [Mutex] received everything. 2022-11-13 21:33:01 | [Mutex] isItemNotified: received:node:b7cc47bc-641e-46f4-99ee-68b83248ee9a:localhost:node-d30c4930-e649-4256-951e-6747acc50f36:Node d30c4930-e649-4256-951e-6747acc50f36 :: false |
publishItemsToNodes | 0.256s |
2022-11-13 21:32:58 |
2022-11-13 21:32:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 21:32:58 | ------------------------------------ 2022-11-13 21:32:58 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d30c4930-e649-4256-951e-6747acc50f36</node><item-id>item-f6591369-b512-4ae1-a76b-dff350711525</item-id><entry><test>item-f6591369-b512-4ae1-a76b-dff350711525</test></entry></data> 2022-11-13 21:32:58 | 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-f6591369-b512-4ae1-a76b-dff350711525</value></item-id></result> 2022-11-13 21:32:58 | [Mutex] waiting for: [published:item:notifieditem-f6591369-b512-4ae1-a76b-dff350711525:admin@test-domain.com] 2022-11-13 21:32:58 | [Mutex] received everything. 2022-11-13 21:32:58 | [Mutex] isItemNotified: published:item:notifieditem-f6591369-b512-4ae1-a76b-dff350711525:admin@test-domain.com :: true |
retractItemsFromNodes | 0.240s |
2022-11-13 21:32:59 |
2022-11-13 21:32:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 21:32:59 | ------------------------------------ 2022-11-13 21:32:59 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d30c4930-e649-4256-951e-6747acc50f36</node><item-id>item-f6591369-b512-4ae1-a76b-dff350711525</item-id></data> 2022-11-13 21:32:59 | 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-f6591369-b512-4ae1-a76b-dff350711525</value></item-id></result> 2022-11-13 21:32:59 | [Mutex] waiting for: [retracted:item:notifieditem-f6591369-b512-4ae1-a76b-dff350711525:admin@test-domain.com] 2022-11-13 21:32:59 | [Mutex] received everything. 2022-11-13 21:32:59 | [Mutex] isItemNotified: retracted:item:notifieditem-f6591369-b512-4ae1-a76b-dff350711525:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.227s |
2022-11-13 21:32:58 |
2022-11-13 21:32:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 21:32:58 | ------------------------------------ 2022-11-13 21:32:58 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d30c4930-e649-4256-951e-6747acc50f36</node><item-id>item-f6591369-b512-4ae1-a76b-dff350711525</item-id></data> 2022-11-13 21:32:59 | 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-d30c4930-e649-4256-951e-6747acc50f36</value></node><item-id type="text-single" label="Item ID"><value>item-f6591369-b512-4ae1-a76b-dff350711525</value></item-id><item type="text-multi" label="Item"><value><item id="item-f6591369-b512-4ae1-a76b-dff350711525"><test>item-f6591369-b512-4ae1-a76b-dff350711525</test></item></value></item></result> 2022-11-13 21:32:59 | [Mutex] notify: [retrieved:item:item-f6591369-b512-4ae1-a76b-dff350711525:payload-matches:true:localhost] 2022-11-13 21:32:59 | [Mutex] received everything. 2022-11-13 21:32:59 | [Mutex] isItemNotified: retrieved:item:item-f6591369-b512-4ae1-a76b-dff350711525:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-11-13 21:32:59 |
2022-11-13 21:32:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 21:32:59 | ------------------------------------ 2022-11-13 21:32:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-11-13 21:32:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-5c508ccc-7b0e-4452-aeb7-a873c94d2713</value><value>test</value><value>node-d30c4930-e649-4256-951e-6747acc50f36</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-11-13 21:32:59 |
2022-11-13 21:32:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 21:32:59 | ------------------------------------ 2022-11-13 21:32:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d30c4930-e649-4256-951e-6747acc50f36)</node-pattern></data> 2022-11-13 21:32:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.110s |
2022-11-13 21:32:57 |
2022-11-13 21:32:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 21:32:57 | ------------------------------------ 2022-11-13 21:32:57 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d30c4930-e649-4256-951e-6747acc50f36</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-13 21:32:57 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.258s |
2022-11-13 21:32:59 |
2022-11-13 21:32:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-13 21:32:59 | ------------------------------------ 2022-11-13 21:32:59 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d30c4930-e649-4256-951e-6747acc50f36</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-13 21:32:59 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |