Test duration : 9.396s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.109s |
2023-06-22 22:30:35 |
2023-06-22 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-22 22:30:35 | ------------------------------------ 2023-06-22 22:30:35 | [Mutex] waiting for: [configured:node:node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa:node-a9325281-bb3e-46dc-b6ec-092fec84596b] 2023-06-22 22:30:35 | [Mutex] received everything. 2023-06-22 22:30:35 | [Mutex] isItemNotified: configured:node:node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa:node-a9325281-bb3e-46dc-b6ec-092fec84596b :: true 2023-06-22 22:30:36 | [Mutex] waiting for: [received:nodes:fdef706c-2ba8-4ad6-84f6-0385c42670f9:localhost] 2023-06-22 22:30:36 | [Mutex] received everything. 2023-06-22 22:30:36 | [Mutex] isItemNotified: received:node:fdef706c-2ba8-4ad6-84f6-0385c42670f9:localhost:node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa:Node 41a92c1b-60ea-4cf9-a833-7243bd85bdfa :: true 2023-06-22 22:30:36 | [Mutex] waiting for: [received:nodes:659859ae-b492-44d2-91fe-e8bb65e47c68:localhost] 2023-06-22 22:30:36 | [Mutex] waiting for: [received:nodes:659859ae-b492-44d2-91fe-e8bb65e47c68:localhost] 2023-06-22 22:30:36 | [Mutex] waiting for: [received:nodes:659859ae-b492-44d2-91fe-e8bb65e47c68:localhost] 2023-06-22 22:30:36 | [Mutex] waiting for: [received:nodes:659859ae-b492-44d2-91fe-e8bb65e47c68:localhost] 2023-06-22 22:30:36 | [Mutex] received everything. 2023-06-22 22:30:36 | [Mutex] isItemNotified: received:node:659859ae-b492-44d2-91fe-e8bb65e47c68:localhost:node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa:Node 41a92c1b-60ea-4cf9-a833-7243bd85bdfa :: false |
createNodes | 1.401s |
2023-06-22 22:30:33 |
2023-06-22 22:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-22 22:30:33 | ------------------------------------ 2023-06-22 22:30:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 41a92c1b-60ea-4cf9-a833-7243bd85bdfa</title></pubsub></data> 2023-06-22 22:30:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-22 22:30:34 | [Mutex] waiting for: [received:nodes:40fdd6a2-8276-44d6-b5c3-86a2c59add46:localhost] 2023-06-22 22:30:34 | [Mutex] waiting for: [received:nodes:40fdd6a2-8276-44d6-b5c3-86a2c59add46:localhost] 2023-06-22 22:30:34 | [Mutex] waiting for: [received:nodes:40fdd6a2-8276-44d6-b5c3-86a2c59add46:localhost] 2023-06-22 22:30:34 | [Mutex] received everything. 2023-06-22 22:30:34 | [Mutex] isItemNotified: received:node:40fdd6a2-8276-44d6-b5c3-86a2c59add46:localhost:node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa:Node 41a92c1b-60ea-4cf9-a833-7243bd85bdfa :: true |
createSubnodes | 1.033s |
2023-06-22 22:30:34 |
2023-06-22 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-22 22:30:34 | ------------------------------------ 2023-06-22 22:30:34 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a9325281-bb3e-46dc-b6ec-092fec84596b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a9325281-bb3e-46dc-b6ec-092fec84596b</title></pubsub></data> 2023-06-22 22:30:34 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-22 22:30:35 | [Mutex] waiting for: [received:nodes:7eeae38a-4b50-48f1-947a-211271f37d82:localhost] 2023-06-22 22:30:35 | [Mutex] waiting for: [received:nodes:7eeae38a-4b50-48f1-947a-211271f37d82:localhost] 2023-06-22 22:30:35 | [Mutex] waiting for: [received:nodes:7eeae38a-4b50-48f1-947a-211271f37d82:localhost] 2023-06-22 22:30:35 | [Mutex] waiting for: [received:nodes:7eeae38a-4b50-48f1-947a-211271f37d82:localhost] 2023-06-22 22:30:35 | [Mutex] received everything. 2023-06-22 22:30:35 | [Mutex] isItemNotified: received:node:7eeae38a-4b50-48f1-947a-211271f37d82:localhost:node-a9325281-bb3e-46dc-b6ec-092fec84596b:Node a9325281-bb3e-46dc-b6ec-092fec84596b :: true |
deleteNodes | 1.019s |
2023-06-22 22:30:40 |
2023-06-22 22:30:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-22 22:30:40 | ------------------------------------ 2023-06-22 22:30:40 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a9325281-bb3e-46dc-b6ec-092fec84596b</node></data> 2023-06-22 22:30:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-22 22:30:41 | [Mutex] waiting for: [received:nodes:c8d42e3f-dbe7-430e-b9bf-fdaf85047e48:localhost] 2023-06-22 22:30:41 | [Mutex] waiting for: [received:nodes:c8d42e3f-dbe7-430e-b9bf-fdaf85047e48:localhost] 2023-06-22 22:30:41 | [Mutex] waiting for: [received:nodes:c8d42e3f-dbe7-430e-b9bf-fdaf85047e48:localhost] 2023-06-22 22:30:41 | [Mutex] received everything. 2023-06-22 22:30:41 | [Mutex] isItemNotified: received:node:c8d42e3f-dbe7-430e-b9bf-fdaf85047e48:localhost:node-a9325281-bb3e-46dc-b6ec-092fec84596b:Node a9325281-bb3e-46dc-b6ec-092fec84596b :: false |
deleteSubnodes | 1.106s |
2023-06-22 22:30:39 |
2023-06-22 22:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-22 22:30:39 | ------------------------------------ 2023-06-22 22:30:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa</node></data> 2023-06-22 22:30:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-22 22:30:40 | [Mutex] waiting for: [received:nodes:39adcc06-427d-42bf-b977-9e474e82eb8a:localhost] 2023-06-22 22:30:40 | [Mutex] waiting for: [received:nodes:39adcc06-427d-42bf-b977-9e474e82eb8a:localhost] 2023-06-22 22:30:40 | [Mutex] waiting for: [received:nodes:39adcc06-427d-42bf-b977-9e474e82eb8a:localhost] 2023-06-22 22:30:40 | [Mutex] waiting for: [received:nodes:39adcc06-427d-42bf-b977-9e474e82eb8a:localhost] 2023-06-22 22:30:40 | [Mutex] received everything. 2023-06-22 22:30:40 | [Mutex] isItemNotified: received:node:39adcc06-427d-42bf-b977-9e474e82eb8a:localhost:node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa:Node 41a92c1b-60ea-4cf9-a833-7243bd85bdfa :: false 2023-06-22 22:30:40 | [Mutex] waiting for: [received:nodes:c60e3d75-c499-4411-add1-6dfae933a01a:localhost] 2023-06-22 22:30:40 | [Mutex] received everything. 2023-06-22 22:30:40 | [Mutex] isItemNotified: received:node:c60e3d75-c499-4411-add1-6dfae933a01a:localhost:node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa:Node 41a92c1b-60ea-4cf9-a833-7243bd85bdfa :: false |
publishItemsToNodes | 0.225s |
2023-06-22 22:30:37 |
2023-06-22 22:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-22 22:30:37 | ------------------------------------ 2023-06-22 22:30:37 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa</node><item-id>item-d0804379-1bce-4b34-bf50-ad9060ec2af4</item-id><entry><test>item-d0804379-1bce-4b34-bf50-ad9060ec2af4</test></entry></data> 2023-06-22 22:30:37 | 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-d0804379-1bce-4b34-bf50-ad9060ec2af4</value></item-id></result> 2023-06-22 22:30:37 | [Mutex] waiting for: [published:item:notifieditem-d0804379-1bce-4b34-bf50-ad9060ec2af4:admin@test-domain.com] 2023-06-22 22:30:37 | [Mutex] received everything. 2023-06-22 22:30:37 | [Mutex] isItemNotified: published:item:notifieditem-d0804379-1bce-4b34-bf50-ad9060ec2af4:admin@test-domain.com :: true |
retractItemsFromNodes | 0.264s |
2023-06-22 22:30:38 |
2023-06-22 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-22 22:30:38 | ------------------------------------ 2023-06-22 22:30:38 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa</node><item-id>item-d0804379-1bce-4b34-bf50-ad9060ec2af4</item-id></data> 2023-06-22 22:30:38 | 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-d0804379-1bce-4b34-bf50-ad9060ec2af4</value></item-id></result> 2023-06-22 22:30:38 | [Mutex] received everything. 2023-06-22 22:30:38 | [Mutex] isItemNotified: retracted:item:notifieditem-d0804379-1bce-4b34-bf50-ad9060ec2af4:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.245s |
2023-06-22 22:30:37 |
2023-06-22 22:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-22 22:30:37 | ------------------------------------ 2023-06-22 22:30:37 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa</node><item-id>item-d0804379-1bce-4b34-bf50-ad9060ec2af4</item-id></data> 2023-06-22 22:30:38 | 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-41a92c1b-60ea-4cf9-a833-7243bd85bdfa</value></node><item-id type="text-single" label="Item ID"><value>item-d0804379-1bce-4b34-bf50-ad9060ec2af4</value></item-id><item type="text-multi" label="Item"><value><item id="item-d0804379-1bce-4b34-bf50-ad9060ec2af4"><test>item-d0804379-1bce-4b34-bf50-ad9060ec2af4</test></item></value></item></result> 2023-06-22 22:30:38 | [Mutex] notify: [retrieved:item:item-d0804379-1bce-4b34-bf50-ad9060ec2af4:payload-matches:true:localhost] 2023-06-22 22:30:38 | [Mutex] received everything. 2023-06-22 22:30:38 | [Mutex] isItemNotified: retrieved:item:item-d0804379-1bce-4b34-bf50-ad9060ec2af4:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-06-22 22:30:38 |
2023-06-22 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-22 22:30:38 | ------------------------------------ 2023-06-22 22:30:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-06-22 22:30:38 | 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-a9325281-bb3e-46dc-b6ec-092fec84596b</value><value>node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2023-06-22 22:30:38 |
2023-06-22 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-22 22:30:38 | ------------------------------------ 2023-06-22 22:30:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa)</node-pattern></data> 2023-06-22 22:30:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.111s |
2023-06-22 22:30:36 |
2023-06-22 22:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-22 22:30:36 | ------------------------------------ 2023-06-22 22:30:36 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-22 22:30:36 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.223s |
2023-06-22 22:30:38 |
2023-06-22 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-22 22:30:38 | ------------------------------------ 2023-06-22 22:30:38 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-41a92c1b-60ea-4cf9-a833-7243bd85bdfa</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-22 22:30:38 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |