Test duration : 9.523s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.100s |
2022-05-02 22:37:25 |
2022-05-02 22:37:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 22:37:25 | ------------------------------------ 2022-05-02 22:37:25 | [Mutex] waiting for: [configured:node:node-59e3a680-4bfb-4052-8086-89391d803449:node-f5f26bc6-0bf5-42a1-acef-8251a66e1fb8] 2022-05-02 22:37:25 | [Mutex] received everything. 2022-05-02 22:37:25 | [Mutex] isItemNotified: configured:node:node-59e3a680-4bfb-4052-8086-89391d803449:node-f5f26bc6-0bf5-42a1-acef-8251a66e1fb8 :: true 2022-05-02 22:37:26 | [Mutex] waiting for: [received:nodes:7706f4de-2f8a-4e18-a99d-bbf8e6c9935a:localhost] 2022-05-02 22:37:26 | [Mutex] received everything. 2022-05-02 22:37:26 | [Mutex] isItemNotified: received:node:7706f4de-2f8a-4e18-a99d-bbf8e6c9935a:localhost:node-59e3a680-4bfb-4052-8086-89391d803449:Node 59e3a680-4bfb-4052-8086-89391d803449 :: true 2022-05-02 22:37:26 | [Mutex] waiting for: [received:nodes:28077b94-7489-4874-b677-c88c7c32d497:localhost] 2022-05-02 22:37:26 | [Mutex] received everything. 2022-05-02 22:37:26 | [Mutex] isItemNotified: received:node:28077b94-7489-4874-b677-c88c7c32d497:localhost:node-59e3a680-4bfb-4052-8086-89391d803449:Node 59e3a680-4bfb-4052-8086-89391d803449 :: false |
createNodes | 1.435s |
2022-05-02 22:37:22 |
2022-05-02 22:37:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 22:37:22 | ------------------------------------ 2022-05-02 22:37:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-59e3a680-4bfb-4052-8086-89391d803449</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 59e3a680-4bfb-4052-8086-89391d803449</title></pubsub></data> 2022-05-02 22:37:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-02 22:37:24 | [Mutex] waiting for: [received:nodes:6c13662e-aeea-4ad2-9776-14200e996eb1:localhost] 2022-05-02 22:37:24 | [Mutex] waiting for: [received:nodes:6c13662e-aeea-4ad2-9776-14200e996eb1:localhost] 2022-05-02 22:37:24 | [Mutex] received everything. 2022-05-02 22:37:24 | [Mutex] isItemNotified: received:node:6c13662e-aeea-4ad2-9776-14200e996eb1:localhost:node-59e3a680-4bfb-4052-8086-89391d803449:Node 59e3a680-4bfb-4052-8086-89391d803449 :: true |
createSubnodes | 1.027s |
2022-05-02 22:37:24 |
2022-05-02 22:37:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 22:37:24 | ------------------------------------ 2022-05-02 22:37:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f5f26bc6-0bf5-42a1-acef-8251a66e1fb8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f5f26bc6-0bf5-42a1-acef-8251a66e1fb8</title></pubsub></data> 2022-05-02 22:37:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-02 22:37:25 | [Mutex] waiting for: [received:nodes:e282f1b9-ecc5-45b8-ab43-3d529e39336d:localhost] 2022-05-02 22:37:25 | [Mutex] received everything. 2022-05-02 22:37:25 | [Mutex] isItemNotified: received:node:e282f1b9-ecc5-45b8-ab43-3d529e39336d:localhost:node-f5f26bc6-0bf5-42a1-acef-8251a66e1fb8:Node f5f26bc6-0bf5-42a1-acef-8251a66e1fb8 :: true |
deleteNodes | 1.018s |
2022-05-02 22:37:30 |
2022-05-02 22:37:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 22:37:30 | ------------------------------------ 2022-05-02 22:37:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f5f26bc6-0bf5-42a1-acef-8251a66e1fb8</node></data> 2022-05-02 22:37:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-02 22:37:31 | [Mutex] waiting for: [received:nodes:999965b2-be18-4f3e-ad8e-cdd87aa607c7:localhost] 2022-05-02 22:37:31 | [Mutex] waiting for: [received:nodes:999965b2-be18-4f3e-ad8e-cdd87aa607c7:localhost] 2022-05-02 22:37:31 | [Mutex] received everything. 2022-05-02 22:37:31 | [Mutex] isItemNotified: received:node:999965b2-be18-4f3e-ad8e-cdd87aa607c7:localhost:node-f5f26bc6-0bf5-42a1-acef-8251a66e1fb8:Node f5f26bc6-0bf5-42a1-acef-8251a66e1fb8 :: false |
deleteSubnodes | 1.138s |
2022-05-02 22:37:29 |
2022-05-02 22:37:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 22:37:29 | ------------------------------------ 2022-05-02 22:37:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-59e3a680-4bfb-4052-8086-89391d803449</node></data> 2022-05-02 22:37:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-02 22:37:30 | [Mutex] waiting for: [received:nodes:386de6f6-80bb-4bb0-a7c3-88502dfd1fd3:localhost] 2022-05-02 22:37:30 | [Mutex] received everything. 2022-05-02 22:37:30 | [Mutex] isItemNotified: received:node:386de6f6-80bb-4bb0-a7c3-88502dfd1fd3:localhost:node-59e3a680-4bfb-4052-8086-89391d803449:Node 59e3a680-4bfb-4052-8086-89391d803449 :: false 2022-05-02 22:37:30 | [Mutex] waiting for: [received:nodes:904208bc-864f-485e-a115-6c4e8751c31f:localhost] 2022-05-02 22:37:30 | [Mutex] received everything. 2022-05-02 22:37:30 | [Mutex] isItemNotified: received:node:904208bc-864f-485e-a115-6c4e8751c31f:localhost:node-59e3a680-4bfb-4052-8086-89391d803449:Node 59e3a680-4bfb-4052-8086-89391d803449 :: false |
publishItemsToNodes | 0.224s |
2022-05-02 22:37:27 |
2022-05-02 22:37:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 22:37:27 | ------------------------------------ 2022-05-02 22:37:27 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-59e3a680-4bfb-4052-8086-89391d803449</node><item-id>item-1463c22d-ce02-4e7e-8771-7dc54069ab23</item-id><entry><test>item-1463c22d-ce02-4e7e-8771-7dc54069ab23</test></entry></data> 2022-05-02 22:37:27 | 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-1463c22d-ce02-4e7e-8771-7dc54069ab23</value></item-id></result> 2022-05-02 22:37:27 | [Mutex] waiting for: [published:item:notifieditem-1463c22d-ce02-4e7e-8771-7dc54069ab23:admin@test-domain.com] 2022-05-02 22:37:27 | [Mutex] received everything. 2022-05-02 22:37:27 | [Mutex] isItemNotified: published:item:notifieditem-1463c22d-ce02-4e7e-8771-7dc54069ab23:admin@test-domain.com :: true |
retractItemsFromNodes | 0.273s |
2022-05-02 22:37:28 |
2022-05-02 22:37:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 22:37:28 | ------------------------------------ 2022-05-02 22:37:28 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-59e3a680-4bfb-4052-8086-89391d803449</node><item-id>item-1463c22d-ce02-4e7e-8771-7dc54069ab23</item-id></data> 2022-05-02 22:37:28 | 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-1463c22d-ce02-4e7e-8771-7dc54069ab23</value></item-id></result> 2022-05-02 22:37:28 | [Mutex] received everything. 2022-05-02 22:37:28 | [Mutex] isItemNotified: retracted:item:notifieditem-1463c22d-ce02-4e7e-8771-7dc54069ab23:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.201s |
2022-05-02 22:37:27 |
2022-05-02 22:37:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 22:37:27 | ------------------------------------ 2022-05-02 22:37:27 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-59e3a680-4bfb-4052-8086-89391d803449</node><item-id>item-1463c22d-ce02-4e7e-8771-7dc54069ab23</item-id></data> 2022-05-02 22:37:27 | 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-59e3a680-4bfb-4052-8086-89391d803449</value></node><item-id type="text-single" label="Item ID"><value>item-1463c22d-ce02-4e7e-8771-7dc54069ab23</value></item-id><item type="text-multi" label="Item"><value><item id="item-1463c22d-ce02-4e7e-8771-7dc54069ab23"><test>item-1463c22d-ce02-4e7e-8771-7dc54069ab23</test></item></value></item></result> 2022-05-02 22:37:27 | [Mutex] notify: [retrieved:item:item-1463c22d-ce02-4e7e-8771-7dc54069ab23:payload-matches:true:localhost] 2022-05-02 22:37:27 | [Mutex] received everything. 2022-05-02 22:37:27 | [Mutex] isItemNotified: retrieved:item:item-1463c22d-ce02-4e7e-8771-7dc54069ab23:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-05-02 22:37:27 |
2022-05-02 22:37:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 22:37:27 | ------------------------------------ 2022-05-02 22:37:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-02 22:37:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-f5f26bc6-0bf5-42a1-acef-8251a66e1fb8</value><value>test</value><value>node-59e3a680-4bfb-4052-8086-89391d803449</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-05-02 22:37:28 |
2022-05-02 22:37:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 22:37:28 | ------------------------------------ 2022-05-02 22:37:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-59e3a680-4bfb-4052-8086-89391d803449)</node-pattern></data> 2022-05-02 22:37:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.128s |
2022-05-02 22:37:26 |
2022-05-02 22:37:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 22:37:26 | ------------------------------------ 2022-05-02 22:37:26 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-59e3a680-4bfb-4052-8086-89391d803449</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-02 22:37:26 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.187s |
2022-05-02 22:37:28 |
2022-05-02 22:37:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-02 22:37:28 | ------------------------------------ 2022-05-02 22:37:28 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-59e3a680-4bfb-4052-8086-89391d803449</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-02 22:37:28 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |