Test duration : 9.431s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.090s |
2023-06-20 23:00:54 |
2023-06-20 23:00:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 23:00:54 | ------------------------------------ 2023-06-20 23:00:54 | [Mutex] waiting for: [configured:node:node-081356b4-d954-465f-b86a-626605e31931:node-a30df482-4e98-49ab-8466-d8ae91f3e2c1] 2023-06-20 23:00:54 | [Mutex] received everything. 2023-06-20 23:00:54 | [Mutex] isItemNotified: configured:node:node-081356b4-d954-465f-b86a-626605e31931:node-a30df482-4e98-49ab-8466-d8ae91f3e2c1 :: true 2023-06-20 23:00:55 | [Mutex] waiting for: [received:nodes:029e1d5e-d968-496b-94c4-957e69e4d3c9:localhost] 2023-06-20 23:00:55 | [Mutex] received everything. 2023-06-20 23:00:55 | [Mutex] isItemNotified: received:node:029e1d5e-d968-496b-94c4-957e69e4d3c9:localhost:node-081356b4-d954-465f-b86a-626605e31931:Node 081356b4-d954-465f-b86a-626605e31931 :: true 2023-06-20 23:00:55 | [Mutex] waiting for: [received:nodes:6d2b2f35-6d3b-486d-a2c1-c9873a610f08:localhost] 2023-06-20 23:00:55 | [Mutex] waiting for: [received:nodes:6d2b2f35-6d3b-486d-a2c1-c9873a610f08:localhost] 2023-06-20 23:00:55 | [Mutex] waiting for: [received:nodes:6d2b2f35-6d3b-486d-a2c1-c9873a610f08:localhost] 2023-06-20 23:00:55 | [Mutex] waiting for: [received:nodes:6d2b2f35-6d3b-486d-a2c1-c9873a610f08:localhost] 2023-06-20 23:00:55 | [Mutex] received everything. 2023-06-20 23:00:55 | [Mutex] isItemNotified: received:node:6d2b2f35-6d3b-486d-a2c1-c9873a610f08:localhost:node-081356b4-d954-465f-b86a-626605e31931:Node 081356b4-d954-465f-b86a-626605e31931 :: false |
createNodes | 1.399s |
2023-06-20 23:00:51 |
2023-06-20 23:00:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 23:00:51 | ------------------------------------ 2023-06-20 23:00:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-081356b4-d954-465f-b86a-626605e31931</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 081356b4-d954-465f-b86a-626605e31931</title></pubsub></data> 2023-06-20 23:00:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 23:00:53 | [Mutex] waiting for: [received:nodes:91148f05-aa40-4eda-8844-7f3b103a622c:localhost] 2023-06-20 23:00:53 | [Mutex] waiting for: [received:nodes:91148f05-aa40-4eda-8844-7f3b103a622c:localhost] 2023-06-20 23:00:53 | [Mutex] waiting for: [received:nodes:91148f05-aa40-4eda-8844-7f3b103a622c:localhost] 2023-06-20 23:00:53 | [Mutex] received everything. 2023-06-20 23:00:53 | [Mutex] isItemNotified: received:node:91148f05-aa40-4eda-8844-7f3b103a622c:localhost:node-081356b4-d954-465f-b86a-626605e31931:Node 081356b4-d954-465f-b86a-626605e31931 :: true |
createSubnodes | 1.018s |
2023-06-20 23:00:53 |
2023-06-20 23:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 23:00:53 | ------------------------------------ 2023-06-20 23:00:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a30df482-4e98-49ab-8466-d8ae91f3e2c1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a30df482-4e98-49ab-8466-d8ae91f3e2c1</title></pubsub></data> 2023-06-20 23:00:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 23:00:54 | [Mutex] waiting for: [received:nodes:b9305bd6-9e30-4bdb-8538-2d08e76eef01:localhost] 2023-06-20 23:00:54 | [Mutex] waiting for: [received:nodes:b9305bd6-9e30-4bdb-8538-2d08e76eef01:localhost] 2023-06-20 23:00:54 | [Mutex] waiting for: [received:nodes:b9305bd6-9e30-4bdb-8538-2d08e76eef01:localhost] 2023-06-20 23:00:54 | [Mutex] waiting for: [received:nodes:b9305bd6-9e30-4bdb-8538-2d08e76eef01:localhost] 2023-06-20 23:00:54 | [Mutex] received everything. 2023-06-20 23:00:54 | [Mutex] isItemNotified: received:node:b9305bd6-9e30-4bdb-8538-2d08e76eef01:localhost:node-a30df482-4e98-49ab-8466-d8ae91f3e2c1:Node a30df482-4e98-49ab-8466-d8ae91f3e2c1 :: true |
deleteNodes | 1.019s |
2023-06-20 23:00:59 |
2023-06-20 23:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 23:00:59 | ------------------------------------ 2023-06-20 23:00:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a30df482-4e98-49ab-8466-d8ae91f3e2c1</node></data> 2023-06-20 23:00:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 23:01:00 | [Mutex] waiting for: [received:nodes:e9786440-7da8-4143-be94-36142713c114:localhost] 2023-06-20 23:01:00 | [Mutex] waiting for: [received:nodes:e9786440-7da8-4143-be94-36142713c114:localhost] 2023-06-20 23:01:00 | [Mutex] received everything. 2023-06-20 23:01:00 | [Mutex] isItemNotified: received:node:e9786440-7da8-4143-be94-36142713c114:localhost:node-a30df482-4e98-49ab-8466-d8ae91f3e2c1:Node a30df482-4e98-49ab-8466-d8ae91f3e2c1 :: false |
deleteSubnodes | 1.171s |
2023-06-20 23:00:58 |
2023-06-20 23:00:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 23:00:58 | ------------------------------------ 2023-06-20 23:00:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-081356b4-d954-465f-b86a-626605e31931</node></data> 2023-06-20 23:00:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 23:00:59 | [Mutex] waiting for: [received:nodes:1d61f3fc-3909-4122-a808-65b5cabeb1ce:localhost] 2023-06-20 23:00:59 | [Mutex] waiting for: [received:nodes:1d61f3fc-3909-4122-a808-65b5cabeb1ce:localhost] 2023-06-20 23:00:59 | [Mutex] waiting for: [received:nodes:1d61f3fc-3909-4122-a808-65b5cabeb1ce:localhost] 2023-06-20 23:00:59 | [Mutex] received everything. 2023-06-20 23:00:59 | [Mutex] isItemNotified: received:node:1d61f3fc-3909-4122-a808-65b5cabeb1ce:localhost:node-081356b4-d954-465f-b86a-626605e31931:Node 081356b4-d954-465f-b86a-626605e31931 :: false 2023-06-20 23:00:59 | [Mutex] waiting for: [received:nodes:82c6543b-1eaa-4f71-9990-0015296b5910:localhost] 2023-06-20 23:00:59 | [Mutex] received everything. 2023-06-20 23:00:59 | [Mutex] isItemNotified: received:node:82c6543b-1eaa-4f71-9990-0015296b5910:localhost:node-081356b4-d954-465f-b86a-626605e31931:Node 081356b4-d954-465f-b86a-626605e31931 :: false |
publishItemsToNodes | 0.217s |
2023-06-20 23:00:56 |
2023-06-20 23:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 23:00:56 | ------------------------------------ 2023-06-20 23:00:56 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-081356b4-d954-465f-b86a-626605e31931</node><item-id>item-8a1a43f6-4640-455e-9a17-aafdf51bc633</item-id><entry><test>item-8a1a43f6-4640-455e-9a17-aafdf51bc633</test></entry></data> 2023-06-20 23:00:56 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-8a1a43f6-4640-455e-9a17-aafdf51bc633</value></item-id></result> 2023-06-20 23:00:56 | [Mutex] waiting for: [published:item:notifieditem-8a1a43f6-4640-455e-9a17-aafdf51bc633:admin@test-domain.com] 2023-06-20 23:00:56 | [Mutex] received everything. 2023-06-20 23:00:56 | [Mutex] isItemNotified: published:item:notifieditem-8a1a43f6-4640-455e-9a17-aafdf51bc633:admin@test-domain.com :: true |
retractItemsFromNodes | 0.240s |
2023-06-20 23:00:57 |
2023-06-20 23:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 23:00:57 | ------------------------------------ 2023-06-20 23:00:57 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-081356b4-d954-465f-b86a-626605e31931</node><item-id>item-8a1a43f6-4640-455e-9a17-aafdf51bc633</item-id></data> 2023-06-20 23:00:57 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-8a1a43f6-4640-455e-9a17-aafdf51bc633</value></item-id></result> 2023-06-20 23:00:57 | [Mutex] received everything. 2023-06-20 23:00:57 | [Mutex] isItemNotified: retracted:item:notifieditem-8a1a43f6-4640-455e-9a17-aafdf51bc633:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.286s |
2023-06-20 23:00:56 |
2023-06-20 23:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 23:00:56 | ------------------------------------ 2023-06-20 23:00:56 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-081356b4-d954-465f-b86a-626605e31931</node><item-id>item-8a1a43f6-4640-455e-9a17-aafdf51bc633</item-id></data> 2023-06-20 23:00:57 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-081356b4-d954-465f-b86a-626605e31931</value></node><item-id label="Item ID" type="text-single"><value>item-8a1a43f6-4640-455e-9a17-aafdf51bc633</value></item-id><item label="Item" type="text-multi"><value><item id="item-8a1a43f6-4640-455e-9a17-aafdf51bc633"><test>item-8a1a43f6-4640-455e-9a17-aafdf51bc633</test></item></value></item></result> 2023-06-20 23:00:57 | [Mutex] notify: [retrieved:item:item-8a1a43f6-4640-455e-9a17-aafdf51bc633:payload-matches:true:localhost] 2023-06-20 23:00:57 | [Mutex] received everything. 2023-06-20 23:00:57 | [Mutex] isItemNotified: retrieved:item:item-8a1a43f6-4640-455e-9a17-aafdf51bc633:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2023-06-20 23:00:57 |
2023-06-20 23:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 23:00:57 | ------------------------------------ 2023-06-20 23:00:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-06-20 23:00:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-081356b4-d954-465f-b86a-626605e31931</value><value>node-a30df482-4e98-49ab-8466-d8ae91f3e2c1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-06-20 23:00:57 |
2023-06-20 23:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 23:00:57 | ------------------------------------ 2023-06-20 23:00:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-081356b4-d954-465f-b86a-626605e31931)</node-pattern></data> 2023-06-20 23:00:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.139s |
2023-06-20 23:00:55 |
2023-06-20 23:00:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 23:00:55 | ------------------------------------ 2023-06-20 23:00:55 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-081356b4-d954-465f-b86a-626605e31931</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-20 23:00:55 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.164s |
2023-06-20 23:00:57 |
2023-06-20 23:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 23:00:57 | ------------------------------------ 2023-06-20 23:00:57 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-081356b4-d954-465f-b86a-626605e31931</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-20 23:00:57 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |