Test duration : 9.354s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2022-06-06 22:51:43 |
2022-06-06 22:51:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:51:43 | ------------------------------------ 2022-06-06 22:51:43 | [Mutex] waiting for: [configured:node:node-985ee05a-94f4-4adc-859b-518bc4538501:node-806a6dbd-6d18-4a45-ac46-64c39f75b577] 2022-06-06 22:51:43 | [Mutex] received everything. 2022-06-06 22:51:43 | [Mutex] isItemNotified: configured:node:node-985ee05a-94f4-4adc-859b-518bc4538501:node-806a6dbd-6d18-4a45-ac46-64c39f75b577 :: true 2022-06-06 22:51:44 | [Mutex] waiting for: [received:nodes:35680188-3aae-4bca-9dac-148cee648d7b:localhost] 2022-06-06 22:51:44 | [Mutex] received everything. 2022-06-06 22:51:44 | [Mutex] isItemNotified: received:node:35680188-3aae-4bca-9dac-148cee648d7b:localhost:node-985ee05a-94f4-4adc-859b-518bc4538501:Node 985ee05a-94f4-4adc-859b-518bc4538501 :: true 2022-06-06 22:51:44 | [Mutex] waiting for: [received:nodes:6837b28e-4a53-48ce-9d8d-dae36be2e9b8:localhost] 2022-06-06 22:51:44 | [Mutex] waiting for: [received:nodes:6837b28e-4a53-48ce-9d8d-dae36be2e9b8:localhost] 2022-06-06 22:51:44 | [Mutex] received everything. 2022-06-06 22:51:44 | [Mutex] isItemNotified: received:node:6837b28e-4a53-48ce-9d8d-dae36be2e9b8:localhost:node-985ee05a-94f4-4adc-859b-518bc4538501:Node 985ee05a-94f4-4adc-859b-518bc4538501 :: false |
createNodes | 1.465s |
2022-06-06 22:51:40 |
2022-06-06 22:51:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:51:40 | ------------------------------------ 2022-06-06 22:51:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-985ee05a-94f4-4adc-859b-518bc4538501</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 985ee05a-94f4-4adc-859b-518bc4538501</title></pubsub></data> 2022-06-06 22:51:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-06 22:51:42 | [Mutex] waiting for: [received:nodes:7bac9148-3e06-42fc-a48c-83b7b07b9dcd:localhost] 2022-06-06 22:51:42 | [Mutex] received everything. 2022-06-06 22:51:42 | [Mutex] isItemNotified: received:node:7bac9148-3e06-42fc-a48c-83b7b07b9dcd:localhost:node-985ee05a-94f4-4adc-859b-518bc4538501:Node 985ee05a-94f4-4adc-859b-518bc4538501 :: true |
createSubnodes | 1.031s |
2022-06-06 22:51:42 |
2022-06-06 22:51:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:51:42 | ------------------------------------ 2022-06-06 22:51:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-806a6dbd-6d18-4a45-ac46-64c39f75b577</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 806a6dbd-6d18-4a45-ac46-64c39f75b577</title></pubsub></data> 2022-06-06 22:51:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-06 22:51:43 | [Mutex] waiting for: [received:nodes:96241711-2c89-48f7-b317-3c678fc1a202:localhost] 2022-06-06 22:51:43 | [Mutex] received everything. 2022-06-06 22:51:43 | [Mutex] isItemNotified: received:node:96241711-2c89-48f7-b317-3c678fc1a202:localhost:node-806a6dbd-6d18-4a45-ac46-64c39f75b577:Node 806a6dbd-6d18-4a45-ac46-64c39f75b577 :: true |
deleteNodes | 1.016s |
2022-06-06 22:51:48 |
2022-06-06 22:51:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:51:48 | ------------------------------------ 2022-06-06 22:51:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-806a6dbd-6d18-4a45-ac46-64c39f75b577</node></data> 2022-06-06 22:51:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-06 22:51:49 | [Mutex] waiting for: [received:nodes:8a2ce7a1-a8dc-44e9-805f-9e56579536b5:localhost] 2022-06-06 22:51:49 | [Mutex] received everything. 2022-06-06 22:51:49 | [Mutex] isItemNotified: received:node:8a2ce7a1-a8dc-44e9-805f-9e56579536b5:localhost:node-806a6dbd-6d18-4a45-ac46-64c39f75b577:Node 806a6dbd-6d18-4a45-ac46-64c39f75b577 :: false |
deleteSubnodes | 1.126s |
2022-06-06 22:51:47 |
2022-06-06 22:51:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:51:47 | ------------------------------------ 2022-06-06 22:51:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-985ee05a-94f4-4adc-859b-518bc4538501</node></data> 2022-06-06 22:51:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-06 22:51:48 | [Mutex] waiting for: [received:nodes:8681d7e5-8fe3-4f4f-9d00-3a26143a26c4:localhost] 2022-06-06 22:51:48 | [Mutex] received everything. 2022-06-06 22:51:48 | [Mutex] isItemNotified: received:node:8681d7e5-8fe3-4f4f-9d00-3a26143a26c4:localhost:node-985ee05a-94f4-4adc-859b-518bc4538501:Node 985ee05a-94f4-4adc-859b-518bc4538501 :: false 2022-06-06 22:51:48 | [Mutex] waiting for: [received:nodes:79a14082-449e-42db-92ba-53350d6c2c68:localhost] 2022-06-06 22:51:48 | [Mutex] received everything. 2022-06-06 22:51:48 | [Mutex] isItemNotified: received:node:79a14082-449e-42db-92ba-53350d6c2c68:localhost:node-985ee05a-94f4-4adc-859b-518bc4538501:Node 985ee05a-94f4-4adc-859b-518bc4538501 :: false |
publishItemsToNodes | 0.191s |
2022-06-06 22:51:45 |
2022-06-06 22:51:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:51:45 | ------------------------------------ 2022-06-06 22:51:45 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-985ee05a-94f4-4adc-859b-518bc4538501</node><item-id>item-d840d4dd-7a77-415f-9ce0-eb514b4292c4</item-id><entry><test>item-d840d4dd-7a77-415f-9ce0-eb514b4292c4</test></entry></data> 2022-06-06 22:51:45 | 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-d840d4dd-7a77-415f-9ce0-eb514b4292c4</value></item-id></result> 2022-06-06 22:51:45 | [Mutex] waiting for: [published:item:notifieditem-d840d4dd-7a77-415f-9ce0-eb514b4292c4:admin@test-domain.com] 2022-06-06 22:51:45 | [Mutex] received everything. 2022-06-06 22:51:45 | [Mutex] isItemNotified: published:item:notifieditem-d840d4dd-7a77-415f-9ce0-eb514b4292c4:admin@test-domain.com :: true |
retractItemsFromNodes | 0.204s |
2022-06-06 22:51:46 |
2022-06-06 22:51:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:51:46 | ------------------------------------ 2022-06-06 22:51:46 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-985ee05a-94f4-4adc-859b-518bc4538501</node><item-id>item-d840d4dd-7a77-415f-9ce0-eb514b4292c4</item-id></data> 2022-06-06 22:51:46 | 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-d840d4dd-7a77-415f-9ce0-eb514b4292c4</value></item-id></result> 2022-06-06 22:51:46 | [Mutex] received everything. 2022-06-06 22:51:46 | [Mutex] isItemNotified: retracted:item:notifieditem-d840d4dd-7a77-415f-9ce0-eb514b4292c4:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.226s |
2022-06-06 22:51:45 |
2022-06-06 22:51:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:51:45 | ------------------------------------ 2022-06-06 22:51:45 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-985ee05a-94f4-4adc-859b-518bc4538501</node><item-id>item-d840d4dd-7a77-415f-9ce0-eb514b4292c4</item-id></data> 2022-06-06 22:51:46 | 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-985ee05a-94f4-4adc-859b-518bc4538501</value></node><item-id label="Item ID" type="text-single"><value>item-d840d4dd-7a77-415f-9ce0-eb514b4292c4</value></item-id><item label="Item" type="text-multi"><value><item id="item-d840d4dd-7a77-415f-9ce0-eb514b4292c4"><test>item-d840d4dd-7a77-415f-9ce0-eb514b4292c4</test></item></value></item></result> 2022-06-06 22:51:46 | [Mutex] notify: [retrieved:item:item-d840d4dd-7a77-415f-9ce0-eb514b4292c4:payload-matches:true:localhost] 2022-06-06 22:51:46 | [Mutex] received everything. 2022-06-06 22:51:46 | [Mutex] isItemNotified: retrieved:item:item-d840d4dd-7a77-415f-9ce0-eb514b4292c4:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-06-06 22:51:46 |
2022-06-06 22:51:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:51:46 | ------------------------------------ 2022-06-06 22:51:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-06 22:51:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-806a6dbd-6d18-4a45-ac46-64c39f75b577</value><value>test</value><value>node-985ee05a-94f4-4adc-859b-518bc4538501</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-06 22:51:46 |
2022-06-06 22:51:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:51:46 | ------------------------------------ 2022-06-06 22:51: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-985ee05a-94f4-4adc-859b-518bc4538501)</node-pattern></data> 2022-06-06 22:51:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.125s |
2022-06-06 22:51:44 |
2022-06-06 22:51:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:51:44 | ------------------------------------ 2022-06-06 22:51:44 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-985ee05a-94f4-4adc-859b-518bc4538501</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-06 22:51: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.171s |
2022-06-06 22:51:46 |
2022-06-06 22:51:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:51:46 | ------------------------------------ 2022-06-06 22:51:46 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-985ee05a-94f4-4adc-859b-518bc4538501</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-06 22:51:46 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |