Test duration : 10.055s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.130s |
2022-02-17 04:09:21 |
2022-02-17 04:09:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:09:21 | ------------------------------------ 2022-02-17 04:09:21 | [Mutex] waiting for: [configured:node:node-d2df64c6-164b-48ca-99a2-43cb8aacce99:node-baf0c87c-b739-4300-bc5f-f0e539850aa3] 2022-02-17 04:09:21 | [Mutex] received everything. 2022-02-17 04:09:21 | [Mutex] isItemNotified: configured:node:node-d2df64c6-164b-48ca-99a2-43cb8aacce99:node-baf0c87c-b739-4300-bc5f-f0e539850aa3 :: true 2022-02-17 04:09:22 | [Mutex] waiting for: [received:nodes:8735b238-fa61-4fa6-8674-c247e9913a9c:localhost] 2022-02-17 04:09:22 | [Mutex] received everything. 2022-02-17 04:09:22 | [Mutex] isItemNotified: received:node:8735b238-fa61-4fa6-8674-c247e9913a9c:localhost:node-d2df64c6-164b-48ca-99a2-43cb8aacce99:Node d2df64c6-164b-48ca-99a2-43cb8aacce99 :: true 2022-02-17 04:09:22 | [Mutex] waiting for: [received:nodes:1ea4c6e6-0313-48a9-8535-1debb7776cf8:localhost] 2022-02-17 04:09:22 | [Mutex] waiting for: [received:nodes:1ea4c6e6-0313-48a9-8535-1debb7776cf8:localhost] 2022-02-17 04:09:22 | [Mutex] received everything. 2022-02-17 04:09:22 | [Mutex] isItemNotified: received:node:1ea4c6e6-0313-48a9-8535-1debb7776cf8:localhost:node-d2df64c6-164b-48ca-99a2-43cb8aacce99:Node d2df64c6-164b-48ca-99a2-43cb8aacce99 :: false |
createNodes | 1.493s |
2022-02-17 04:09:18 |
2022-02-17 04:09:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:09:18 | ------------------------------------ 2022-02-17 04:09:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d2df64c6-164b-48ca-99a2-43cb8aacce99</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d2df64c6-164b-48ca-99a2-43cb8aacce99</title></pubsub></data> 2022-02-17 04:09:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 04:09:20 | [Mutex] waiting for: [received:nodes:ee7c9a5f-fcae-4444-97de-ead5d577f3ce:localhost] 2022-02-17 04:09:20 | [Mutex] received everything. 2022-02-17 04:09:20 | [Mutex] isItemNotified: received:node:ee7c9a5f-fcae-4444-97de-ead5d577f3ce:localhost:node-d2df64c6-164b-48ca-99a2-43cb8aacce99:Node d2df64c6-164b-48ca-99a2-43cb8aacce99 :: true |
createSubnodes | 1.049s |
2022-02-17 04:09:20 |
2022-02-17 04:09:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:09:20 | ------------------------------------ 2022-02-17 04:09:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-baf0c87c-b739-4300-bc5f-f0e539850aa3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node baf0c87c-b739-4300-bc5f-f0e539850aa3</title></pubsub></data> 2022-02-17 04:09:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 04:09:21 | [Mutex] waiting for: [received:nodes:d7a73510-9a5b-4c74-968a-c32f1dcdfc6c:localhost] 2022-02-17 04:09:21 | [Mutex] waiting for: [received:nodes:d7a73510-9a5b-4c74-968a-c32f1dcdfc6c:localhost] 2022-02-17 04:09:21 | [Mutex] received everything. 2022-02-17 04:09:21 | [Mutex] isItemNotified: received:node:d7a73510-9a5b-4c74-968a-c32f1dcdfc6c:localhost:node-baf0c87c-b739-4300-bc5f-f0e539850aa3:Node baf0c87c-b739-4300-bc5f-f0e539850aa3 :: true |
deleteNodes | 1.018s |
2022-02-17 04:09:26 |
2022-02-17 04:09:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:09:26 | ------------------------------------ 2022-02-17 04:09:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-baf0c87c-b739-4300-bc5f-f0e539850aa3</node></data> 2022-02-17 04:09:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 04:09:27 | [Mutex] waiting for: [received:nodes:fc6e23f8-5eac-40e6-a29c-0dfb48f2326c:localhost] 2022-02-17 04:09:27 | [Mutex] waiting for: [received:nodes:fc6e23f8-5eac-40e6-a29c-0dfb48f2326c:localhost] 2022-02-17 04:09:27 | [Mutex] received everything. 2022-02-17 04:09:27 | [Mutex] isItemNotified: received:node:fc6e23f8-5eac-40e6-a29c-0dfb48f2326c:localhost:node-baf0c87c-b739-4300-bc5f-f0e539850aa3:Node baf0c87c-b739-4300-bc5f-f0e539850aa3 :: false |
deleteSubnodes | 1.157s |
2022-02-17 04:09:25 |
2022-02-17 04:09:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:09:25 | ------------------------------------ 2022-02-17 04:09:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d2df64c6-164b-48ca-99a2-43cb8aacce99</node></data> 2022-02-17 04:09:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-17 04:09:26 | [Mutex] waiting for: [received:nodes:11dfada8-e2fb-4883-b8ad-2827cd9d939e:localhost] 2022-02-17 04:09:26 | [Mutex] received everything. 2022-02-17 04:09:26 | [Mutex] isItemNotified: received:node:11dfada8-e2fb-4883-b8ad-2827cd9d939e:localhost:node-d2df64c6-164b-48ca-99a2-43cb8aacce99:Node d2df64c6-164b-48ca-99a2-43cb8aacce99 :: false 2022-02-17 04:09:26 | [Mutex] waiting for: [received:nodes:20ca545e-11b9-4f70-a01f-47b59a3f9f57:localhost] 2022-02-17 04:09:26 | [Mutex] received everything. 2022-02-17 04:09:26 | [Mutex] isItemNotified: received:node:20ca545e-11b9-4f70-a01f-47b59a3f9f57:localhost:node-d2df64c6-164b-48ca-99a2-43cb8aacce99:Node d2df64c6-164b-48ca-99a2-43cb8aacce99 :: false |
publishItemsToNodes | 0.221s |
2022-02-17 04:09:23 |
2022-02-17 04:09:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:09:23 | ------------------------------------ 2022-02-17 04:09:23 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d2df64c6-164b-48ca-99a2-43cb8aacce99</node><item-id>item-713cf935-7e13-4865-8a1b-6ef4c0fd2ae4</item-id><entry><test>item-713cf935-7e13-4865-8a1b-6ef4c0fd2ae4</test></entry></data> 2022-02-17 04:09: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-713cf935-7e13-4865-8a1b-6ef4c0fd2ae4</value></item-id></result> 2022-02-17 04:09:23 | [Mutex] waiting for: [published:item:notifieditem-713cf935-7e13-4865-8a1b-6ef4c0fd2ae4:admin@test-domain.com] 2022-02-17 04:09:23 | [Mutex] received everything. 2022-02-17 04:09:23 | [Mutex] isItemNotified: published:item:notifieditem-713cf935-7e13-4865-8a1b-6ef4c0fd2ae4:admin@test-domain.com :: true |
retractItemsFromNodes | 0.391s |
2022-02-17 04:09:24 |
2022-02-17 04:09:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:09:24 | ------------------------------------ 2022-02-17 04:09:24 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d2df64c6-164b-48ca-99a2-43cb8aacce99</node><item-id>item-713cf935-7e13-4865-8a1b-6ef4c0fd2ae4</item-id></data> 2022-02-17 04:09:24 | 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-713cf935-7e13-4865-8a1b-6ef4c0fd2ae4</value></item-id></result> 2022-02-17 04:09:24 | [Mutex] received everything. 2022-02-17 04:09:24 | [Mutex] isItemNotified: retracted:item:notifieditem-713cf935-7e13-4865-8a1b-6ef4c0fd2ae4:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.368s |
2022-02-17 04:09:23 |
2022-02-17 04:09:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:09:23 | ------------------------------------ 2022-02-17 04:09:23 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d2df64c6-164b-48ca-99a2-43cb8aacce99</node><item-id>item-713cf935-7e13-4865-8a1b-6ef4c0fd2ae4</item-id></data> 2022-02-17 04:09: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-d2df64c6-164b-48ca-99a2-43cb8aacce99</value></node><item-id type="text-single" label="Item ID"><value>item-713cf935-7e13-4865-8a1b-6ef4c0fd2ae4</value></item-id><item type="text-multi" label="Item"><value><item id="item-713cf935-7e13-4865-8a1b-6ef4c0fd2ae4"><test>item-713cf935-7e13-4865-8a1b-6ef4c0fd2ae4</test></item></value></item></result> 2022-02-17 04:09:23 | [Mutex] notify: [retrieved:item:item-713cf935-7e13-4865-8a1b-6ef4c0fd2ae4:payload-matches:true:localhost] 2022-02-17 04:09:23 | [Mutex] received everything. 2022-02-17 04:09:23 | [Mutex] isItemNotified: retrieved:item:item-713cf935-7e13-4865-8a1b-6ef4c0fd2ae4:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-02-17 04:09:23 |
2022-02-17 04:09:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:09:23 | ------------------------------------ 2022-02-17 04:09:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-17 04:09:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-baf0c87c-b739-4300-bc5f-f0e539850aa3</value><value>test</value><value>node-d2df64c6-164b-48ca-99a2-43cb8aacce99</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-02-17 04:09:23 |
2022-02-17 04:09:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:09:23 | ------------------------------------ 2022-02-17 04:09: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-d2df64c6-164b-48ca-99a2-43cb8aacce99)</node-pattern></data> 2022-02-17 04:09:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.136s |
2022-02-17 04:09:22 |
2022-02-17 04:09:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:09:22 | ------------------------------------ 2022-02-17 04:09:22 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d2df64c6-164b-48ca-99a2-43cb8aacce99</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-17 04:09: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.151s |
2022-02-17 04:09:24 |
2022-02-17 04:09:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-17 04:09:24 | ------------------------------------ 2022-02-17 04:09:24 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d2df64c6-164b-48ca-99a2-43cb8aacce99</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-17 04:09:24 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |