Test duration : 9.619s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.076s |
2022-05-01 22:50:20 |
2022-05-01 22:50:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:50:20 | ------------------------------------ 2022-05-01 22:50:20 | [Mutex] waiting for: [configured:node:node-d325d83d-abfb-4a4d-89a6-5a1eda632842:node-95353faa-35e6-4e06-8982-d5adb01c5810] 2022-05-01 22:50:21 | [Mutex] received everything. 2022-05-01 22:50:21 | [Mutex] isItemNotified: configured:node:node-d325d83d-abfb-4a4d-89a6-5a1eda632842:node-95353faa-35e6-4e06-8982-d5adb01c5810 :: true 2022-05-01 22:50:22 | [Mutex] waiting for: [received:nodes:f0da83ec-c7bf-4270-b496-7e7cba5400e7:localhost] 2022-05-01 22:50:22 | [Mutex] received everything. 2022-05-01 22:50:22 | [Mutex] isItemNotified: received:node:f0da83ec-c7bf-4270-b496-7e7cba5400e7:localhost:node-d325d83d-abfb-4a4d-89a6-5a1eda632842:Node d325d83d-abfb-4a4d-89a6-5a1eda632842 :: true 2022-05-01 22:50:22 | [Mutex] waiting for: [received:nodes:8c0de10f-b84b-4f0b-b7f5-01c6c772aee9:localhost] 2022-05-01 22:50:22 | [Mutex] waiting for: [received:nodes:8c0de10f-b84b-4f0b-b7f5-01c6c772aee9:localhost] 2022-05-01 22:50:22 | [Mutex] waiting for: [received:nodes:8c0de10f-b84b-4f0b-b7f5-01c6c772aee9:localhost] 2022-05-01 22:50:22 | [Mutex] received everything. 2022-05-01 22:50:22 | [Mutex] isItemNotified: received:node:8c0de10f-b84b-4f0b-b7f5-01c6c772aee9:localhost:node-d325d83d-abfb-4a4d-89a6-5a1eda632842:Node d325d83d-abfb-4a4d-89a6-5a1eda632842 :: false |
createNodes | 1.437s |
2022-05-01 22:50:18 |
2022-05-01 22:50:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:50:18 | ------------------------------------ 2022-05-01 22:50:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d325d83d-abfb-4a4d-89a6-5a1eda632842</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d325d83d-abfb-4a4d-89a6-5a1eda632842</title></pubsub></data> 2022-05-01 22:50:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-01 22:50:19 | [Mutex] waiting for: [received:nodes:e0e41dbd-b687-40e1-a767-3e7ac772f499:localhost] 2022-05-01 22:50:19 | [Mutex] waiting for: [received:nodes:e0e41dbd-b687-40e1-a767-3e7ac772f499:localhost] 2022-05-01 22:50:19 | [Mutex] waiting for: [received:nodes:e0e41dbd-b687-40e1-a767-3e7ac772f499:localhost] 2022-05-01 22:50:19 | [Mutex] received everything. 2022-05-01 22:50:19 | [Mutex] isItemNotified: received:node:e0e41dbd-b687-40e1-a767-3e7ac772f499:localhost:node-d325d83d-abfb-4a4d-89a6-5a1eda632842:Node d325d83d-abfb-4a4d-89a6-5a1eda632842 :: true |
createSubnodes | 1.029s |
2022-05-01 22:50:19 |
2022-05-01 22:50:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:50:19 | ------------------------------------ 2022-05-01 22:50:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-95353faa-35e6-4e06-8982-d5adb01c5810</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 95353faa-35e6-4e06-8982-d5adb01c5810</title></pubsub></data> 2022-05-01 22:50:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-01 22:50:20 | [Mutex] waiting for: [received:nodes:f7fb0e5d-9f95-4788-9946-ceabc42db7d8:localhost] 2022-05-01 22:50:20 | [Mutex] waiting for: [received:nodes:f7fb0e5d-9f95-4788-9946-ceabc42db7d8:localhost] 2022-05-01 22:50:20 | [Mutex] waiting for: [received:nodes:f7fb0e5d-9f95-4788-9946-ceabc42db7d8:localhost] 2022-05-01 22:50:20 | [Mutex] received everything. 2022-05-01 22:50:20 | [Mutex] isItemNotified: received:node:f7fb0e5d-9f95-4788-9946-ceabc42db7d8:localhost:node-95353faa-35e6-4e06-8982-d5adb01c5810:Node 95353faa-35e6-4e06-8982-d5adb01c5810 :: true |
deleteNodes | 1.021s |
2022-05-01 22:50:26 |
2022-05-01 22:50:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:50:26 | ------------------------------------ 2022-05-01 22:50:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-95353faa-35e6-4e06-8982-d5adb01c5810</node></data> 2022-05-01 22:50:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-01 22:50:27 | [Mutex] waiting for: [received:nodes:3e19fee8-20a8-4692-8d62-05b390c4a5e6:localhost] 2022-05-01 22:50:27 | [Mutex] received everything. 2022-05-01 22:50:27 | [Mutex] isItemNotified: received:node:3e19fee8-20a8-4692-8d62-05b390c4a5e6:localhost:node-95353faa-35e6-4e06-8982-d5adb01c5810:Node 95353faa-35e6-4e06-8982-d5adb01c5810 :: false |
deleteSubnodes | 1.123s |
2022-05-01 22:50:25 |
2022-05-01 22:50:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:50:25 | ------------------------------------ 2022-05-01 22:50:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d325d83d-abfb-4a4d-89a6-5a1eda632842</node></data> 2022-05-01 22:50:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-01 22:50:26 | [Mutex] waiting for: [received:nodes:5b15d1aa-624a-47be-9c0a-1de77c1b9c96:localhost] 2022-05-01 22:50:26 | [Mutex] waiting for: [received:nodes:5b15d1aa-624a-47be-9c0a-1de77c1b9c96:localhost] 2022-05-01 22:50:26 | [Mutex] waiting for: [received:nodes:5b15d1aa-624a-47be-9c0a-1de77c1b9c96:localhost] 2022-05-01 22:50:26 | [Mutex] received everything. 2022-05-01 22:50:26 | [Mutex] isItemNotified: received:node:5b15d1aa-624a-47be-9c0a-1de77c1b9c96:localhost:node-d325d83d-abfb-4a4d-89a6-5a1eda632842:Node d325d83d-abfb-4a4d-89a6-5a1eda632842 :: false 2022-05-01 22:50:26 | [Mutex] waiting for: [received:nodes:a7ad381c-e057-471d-98b7-e1f2c9436038:localhost] 2022-05-01 22:50:26 | [Mutex] received everything. 2022-05-01 22:50:26 | [Mutex] isItemNotified: received:node:a7ad381c-e057-471d-98b7-e1f2c9436038:localhost:node-d325d83d-abfb-4a4d-89a6-5a1eda632842:Node d325d83d-abfb-4a4d-89a6-5a1eda632842 :: false |
publishItemsToNodes | 0.216s |
2022-05-01 22:50:23 |
2022-05-01 22:50:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:50:23 | ------------------------------------ 2022-05-01 22:50:23 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d325d83d-abfb-4a4d-89a6-5a1eda632842</node><item-id>item-bf897bb7-4256-4836-b92f-df1276edca9c</item-id><entry><test>item-bf897bb7-4256-4836-b92f-df1276edca9c</test></entry></data> 2022-05-01 22:50:23 | 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-bf897bb7-4256-4836-b92f-df1276edca9c</value></item-id></result> 2022-05-01 22:50:23 | [Mutex] received everything. 2022-05-01 22:50:23 | [Mutex] isItemNotified: published:item:notifieditem-bf897bb7-4256-4836-b92f-df1276edca9c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.200s |
2022-05-01 22:50:23 |
2022-05-01 22:50:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:50:23 | ------------------------------------ 2022-05-01 22:50:23 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d325d83d-abfb-4a4d-89a6-5a1eda632842</node><item-id>item-bf897bb7-4256-4836-b92f-df1276edca9c</item-id></data> 2022-05-01 22:50:23 | 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-bf897bb7-4256-4836-b92f-df1276edca9c</value></item-id></result> 2022-05-01 22:50:23 | [Mutex] received everything. 2022-05-01 22:50:23 | [Mutex] isItemNotified: retracted:item:notifieditem-bf897bb7-4256-4836-b92f-df1276edca9c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.270s |
2022-05-01 22:50:23 |
2022-05-01 22:50:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:50:23 | ------------------------------------ 2022-05-01 22:50:23 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d325d83d-abfb-4a4d-89a6-5a1eda632842</node><item-id>item-bf897bb7-4256-4836-b92f-df1276edca9c</item-id></data> 2022-05-01 22:50:23 | 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-d325d83d-abfb-4a4d-89a6-5a1eda632842</value></node><item-id type="text-single" label="Item ID"><value>item-bf897bb7-4256-4836-b92f-df1276edca9c</value></item-id><item type="text-multi" label="Item"><value><item id="item-bf897bb7-4256-4836-b92f-df1276edca9c"><test>item-bf897bb7-4256-4836-b92f-df1276edca9c</test></item></value></item></result> 2022-05-01 22:50:23 | [Mutex] notify: [retrieved:item:item-bf897bb7-4256-4836-b92f-df1276edca9c:payload-matches:true:localhost] 2022-05-01 22:50:23 | [Mutex] received everything. 2022-05-01 22:50:23 | [Mutex] isItemNotified: retrieved:item:item-bf897bb7-4256-4836-b92f-df1276edca9c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-05-01 22:50:23 |
2022-05-01 22:50:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:50:23 | ------------------------------------ 2022-05-01 22:50:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-01 22:50:23 | 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-d325d83d-abfb-4a4d-89a6-5a1eda632842</value><value>node-95353faa-35e6-4e06-8982-d5adb01c5810</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2022-05-01 22:50:23 |
2022-05-01 22:50:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:50:23 | ------------------------------------ 2022-05-01 22:50:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d325d83d-abfb-4a4d-89a6-5a1eda632842)</node-pattern></data> 2022-05-01 22:50:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.112s |
2022-05-01 22:50:22 |
2022-05-01 22:50:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:50:22 | ------------------------------------ 2022-05-01 22:50:22 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d325d83d-abfb-4a4d-89a6-5a1eda632842</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-01 22:50:22 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.237s |
2022-05-01 22:50:23 |
2022-05-01 22:50:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:50:23 | ------------------------------------ 2022-05-01 22:50:23 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d325d83d-abfb-4a4d-89a6-5a1eda632842</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-01 22:50:24 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |