Test duration : 9.488s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.118s |
2023-11-05 09:40:48 |
2023-11-05 09:40:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 09:40:48 | ------------------------------------ 2023-11-05 09:40:48 | [Mutex] waiting for: [configured:node:node-a13d6a4b-ec81-438d-a5b9-567ee991e44d:node-865c45dc-f7a7-4f32-82a4-be6641312fb3] 2023-11-05 09:40:48 | [Mutex] received everything. 2023-11-05 09:40:48 | [Mutex] isItemNotified: configured:node:node-a13d6a4b-ec81-438d-a5b9-567ee991e44d:node-865c45dc-f7a7-4f32-82a4-be6641312fb3 :: true 2023-11-05 09:40:49 | [Mutex] waiting for: [received:nodes:22294362-5fb8-410a-a875-8dd0bf082c45:localhost] 2023-11-05 09:40:49 | [Mutex] received everything. 2023-11-05 09:40:49 | [Mutex] isItemNotified: received:node:22294362-5fb8-410a-a875-8dd0bf082c45:localhost:node-a13d6a4b-ec81-438d-a5b9-567ee991e44d:Node a13d6a4b-ec81-438d-a5b9-567ee991e44d :: true 2023-11-05 09:40:49 | [Mutex] waiting for: [received:nodes:bf61fc57-adc7-4f99-a86c-7b1d8975fda0:localhost] 2023-11-05 09:40:49 | [Mutex] waiting for: [received:nodes:bf61fc57-adc7-4f99-a86c-7b1d8975fda0:localhost] 2023-11-05 09:40:49 | [Mutex] waiting for: [received:nodes:bf61fc57-adc7-4f99-a86c-7b1d8975fda0:localhost] 2023-11-05 09:40:49 | [Mutex] received everything. 2023-11-05 09:40:49 | [Mutex] isItemNotified: received:node:bf61fc57-adc7-4f99-a86c-7b1d8975fda0:localhost:node-a13d6a4b-ec81-438d-a5b9-567ee991e44d:Node a13d6a4b-ec81-438d-a5b9-567ee991e44d :: false |
createNodes | 1.538s |
2023-11-05 09:40:46 |
2023-11-05 09:40:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 09:40:46 | ------------------------------------ 2023-11-05 09:40:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a13d6a4b-ec81-438d-a5b9-567ee991e44d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a13d6a4b-ec81-438d-a5b9-567ee991e44d</title></pubsub></data> 2023-11-05 09:40:46 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-05 09:40:47 | [Mutex] waiting for: [received:nodes:5955658b-3c9a-4364-83c8-4d381f89ab53:localhost] 2023-11-05 09:40:47 | [Mutex] received everything. 2023-11-05 09:40:47 | [Mutex] isItemNotified: received:node:5955658b-3c9a-4364-83c8-4d381f89ab53:localhost:node-a13d6a4b-ec81-438d-a5b9-567ee991e44d:Node a13d6a4b-ec81-438d-a5b9-567ee991e44d :: true |
createSubnodes | 1.023s |
2023-11-05 09:40:47 |
2023-11-05 09:40:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 09:40:47 | ------------------------------------ 2023-11-05 09:40:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-865c45dc-f7a7-4f32-82a4-be6641312fb3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 865c45dc-f7a7-4f32-82a4-be6641312fb3</title></pubsub></data> 2023-11-05 09:40:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-05 09:40:48 | [Mutex] waiting for: [received:nodes:ecaa9818-ad32-47fc-bb06-f06e232f37c5:localhost] 2023-11-05 09:40:48 | [Mutex] waiting for: [received:nodes:ecaa9818-ad32-47fc-bb06-f06e232f37c5:localhost] 2023-11-05 09:40:48 | [Mutex] waiting for: [received:nodes:ecaa9818-ad32-47fc-bb06-f06e232f37c5:localhost] 2023-11-05 09:40:48 | [Mutex] waiting for: [received:nodes:ecaa9818-ad32-47fc-bb06-f06e232f37c5:localhost] 2023-11-05 09:40:48 | [Mutex] received everything. 2023-11-05 09:40:48 | [Mutex] isItemNotified: received:node:ecaa9818-ad32-47fc-bb06-f06e232f37c5:localhost:node-865c45dc-f7a7-4f32-82a4-be6641312fb3:Node 865c45dc-f7a7-4f32-82a4-be6641312fb3 :: true |
deleteNodes | 1.015s |
2023-11-05 09:40:54 |
2023-11-05 09:40:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 09:40:54 | ------------------------------------ 2023-11-05 09:40:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-865c45dc-f7a7-4f32-82a4-be6641312fb3</node></data> 2023-11-05 09:40:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-05 09:40:55 | [Mutex] waiting for: [received:nodes:f990bfbf-c0ce-42df-8f70-bc3b7be13060:localhost] 2023-11-05 09:40:55 | [Mutex] waiting for: [received:nodes:f990bfbf-c0ce-42df-8f70-bc3b7be13060:localhost] 2023-11-05 09:40:55 | [Mutex] waiting for: [received:nodes:f990bfbf-c0ce-42df-8f70-bc3b7be13060:localhost] 2023-11-05 09:40:55 | [Mutex] received everything. 2023-11-05 09:40:55 | [Mutex] isItemNotified: received:node:f990bfbf-c0ce-42df-8f70-bc3b7be13060:localhost:node-865c45dc-f7a7-4f32-82a4-be6641312fb3:Node 865c45dc-f7a7-4f32-82a4-be6641312fb3 :: false |
deleteSubnodes | 1.145s |
2023-11-05 09:40:52 |
2023-11-05 09:40:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 09:40:52 | ------------------------------------ 2023-11-05 09:40:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a13d6a4b-ec81-438d-a5b9-567ee991e44d</node></data> 2023-11-05 09:40:53 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-05 09:40:54 | [Mutex] waiting for: [received:nodes:86a38100-ff05-4172-8ec9-15bee98ff67b:localhost] 2023-11-05 09:40:54 | [Mutex] waiting for: [received:nodes:86a38100-ff05-4172-8ec9-15bee98ff67b:localhost] 2023-11-05 09:40:54 | [Mutex] waiting for: [received:nodes:86a38100-ff05-4172-8ec9-15bee98ff67b:localhost] 2023-11-05 09:40:54 | [Mutex] waiting for: [received:nodes:86a38100-ff05-4172-8ec9-15bee98ff67b:localhost] 2023-11-05 09:40:54 | [Mutex] received everything. 2023-11-05 09:40:54 | [Mutex] isItemNotified: received:node:86a38100-ff05-4172-8ec9-15bee98ff67b:localhost:node-a13d6a4b-ec81-438d-a5b9-567ee991e44d:Node a13d6a4b-ec81-438d-a5b9-567ee991e44d :: false 2023-11-05 09:40:54 | [Mutex] waiting for: [received:nodes:c84bc4da-1b10-4f9a-882f-3a64ff69e54b:localhost] 2023-11-05 09:40:54 | [Mutex] received everything. 2023-11-05 09:40:54 | [Mutex] isItemNotified: received:node:c84bc4da-1b10-4f9a-882f-3a64ff69e54b:localhost:node-a13d6a4b-ec81-438d-a5b9-567ee991e44d:Node a13d6a4b-ec81-438d-a5b9-567ee991e44d :: false |
publishItemsToNodes | 0.231s |
2023-11-05 09:40:51 |
2023-11-05 09:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 09:40:51 | ------------------------------------ 2023-11-05 09:40:51 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a13d6a4b-ec81-438d-a5b9-567ee991e44d</node><item-id>item-bd3e2d8e-3db2-4ac0-a505-18b5b87d295a</item-id><entry><test>item-bd3e2d8e-3db2-4ac0-a505-18b5b87d295a</test></entry></data> 2023-11-05 09:40:51 | 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-bd3e2d8e-3db2-4ac0-a505-18b5b87d295a</value></item-id></result> 2023-11-05 09:40:51 | [Mutex] received everything. 2023-11-05 09:40:51 | [Mutex] isItemNotified: published:item:notifieditem-bd3e2d8e-3db2-4ac0-a505-18b5b87d295a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.259s |
2023-11-05 09:40:51 |
2023-11-05 09:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 09:40:51 | ------------------------------------ 2023-11-05 09:40:51 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a13d6a4b-ec81-438d-a5b9-567ee991e44d</node><item-id>item-bd3e2d8e-3db2-4ac0-a505-18b5b87d295a</item-id></data> 2023-11-05 09:40:51 | 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-bd3e2d8e-3db2-4ac0-a505-18b5b87d295a</value></item-id></result> 2023-11-05 09:40:51 | [Mutex] received everything. 2023-11-05 09:40:51 | [Mutex] isItemNotified: retracted:item:notifieditem-bd3e2d8e-3db2-4ac0-a505-18b5b87d295a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.222s |
2023-11-05 09:40:51 |
2023-11-05 09:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 09:40:51 | ------------------------------------ 2023-11-05 09:40:51 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a13d6a4b-ec81-438d-a5b9-567ee991e44d</node><item-id>item-bd3e2d8e-3db2-4ac0-a505-18b5b87d295a</item-id></data> 2023-11-05 09:40:51 | 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-a13d6a4b-ec81-438d-a5b9-567ee991e44d</value></node><item-id type="text-single" label="Item ID"><value>item-bd3e2d8e-3db2-4ac0-a505-18b5b87d295a</value></item-id><item type="text-multi" label="Item"><value><item id="item-bd3e2d8e-3db2-4ac0-a505-18b5b87d295a"><test>item-bd3e2d8e-3db2-4ac0-a505-18b5b87d295a</test></item></value></item></result> 2023-11-05 09:40:51 | [Mutex] notify: [retrieved:item:item-bd3e2d8e-3db2-4ac0-a505-18b5b87d295a:payload-matches:true:localhost] 2023-11-05 09:40:51 | [Mutex] received everything. 2023-11-05 09:40:51 | [Mutex] isItemNotified: retrieved:item:item-bd3e2d8e-3db2-4ac0-a505-18b5b87d295a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-11-05 09:40:51 |
2023-11-05 09:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 09:40:51 | ------------------------------------ 2023-11-05 09:40:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-11-05 09:40:51 | 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-865c45dc-f7a7-4f32-82a4-be6641312fb3</value><value>node-a13d6a4b-ec81-438d-a5b9-567ee991e44d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-11-05 09:40:51 |
2023-11-05 09:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 09:40:51 | ------------------------------------ 2023-11-05 09:40:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a13d6a4b-ec81-438d-a5b9-567ee991e44d)</node-pattern></data> 2023-11-05 09:40:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.109s |
2023-11-05 09:40:49 |
2023-11-05 09:40:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 09:40:49 | ------------------------------------ 2023-11-05 09:40:49 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a13d6a4b-ec81-438d-a5b9-567ee991e44d</node><jids><value>admin@test-domain.com</value></jids></data> 2023-11-05 09:40:50 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.107s |
2023-11-05 09:40:51 |
2023-11-05 09:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 09:40:51 | ------------------------------------ 2023-11-05 09:40:51 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a13d6a4b-ec81-438d-a5b9-567ee991e44d</node><jids><value>admin@test-domain.com</value></jids></data> 2023-11-05 09:40:51 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |