Test duration : 9.335s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2023-01-10 22:08:42 |
2023-01-10 22:08:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 22:08:42 | ------------------------------------ 2023-01-10 22:08:42 | [Mutex] waiting for: [configured:node:node-fecd3e76-3873-437b-9dfc-7658a61711b7:node-aa0f6846-e4e2-49bc-9603-9c5faeb2375b] 2023-01-10 22:08:42 | [Mutex] received everything. 2023-01-10 22:08:42 | [Mutex] isItemNotified: configured:node:node-fecd3e76-3873-437b-9dfc-7658a61711b7:node-aa0f6846-e4e2-49bc-9603-9c5faeb2375b :: true 2023-01-10 22:08:43 | [Mutex] waiting for: [received:nodes:95241627-de7e-4489-9f59-5370035511be:localhost] 2023-01-10 22:08:43 | [Mutex] received everything. 2023-01-10 22:08:43 | [Mutex] isItemNotified: received:node:95241627-de7e-4489-9f59-5370035511be:localhost:node-fecd3e76-3873-437b-9dfc-7658a61711b7:Node fecd3e76-3873-437b-9dfc-7658a61711b7 :: true 2023-01-10 22:08:43 | [Mutex] waiting for: [received:nodes:af26afe5-168b-49b0-9afe-c99ea8c2e7f6:localhost] 2023-01-10 22:08:43 | [Mutex] waiting for: [received:nodes:af26afe5-168b-49b0-9afe-c99ea8c2e7f6:localhost] 2023-01-10 22:08:43 | [Mutex] waiting for: [received:nodes:af26afe5-168b-49b0-9afe-c99ea8c2e7f6:localhost] 2023-01-10 22:08:43 | [Mutex] waiting for: [received:nodes:af26afe5-168b-49b0-9afe-c99ea8c2e7f6:localhost] 2023-01-10 22:08:43 | [Mutex] received everything. 2023-01-10 22:08:43 | [Mutex] isItemNotified: received:node:af26afe5-168b-49b0-9afe-c99ea8c2e7f6:localhost:node-fecd3e76-3873-437b-9dfc-7658a61711b7:Node fecd3e76-3873-437b-9dfc-7658a61711b7 :: false |
createNodes | 1.408s |
2023-01-10 22:08:40 |
2023-01-10 22:08:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 22:08:40 | ------------------------------------ 2023-01-10 22:08:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fecd3e76-3873-437b-9dfc-7658a61711b7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fecd3e76-3873-437b-9dfc-7658a61711b7</title></pubsub></data> 2023-01-10 22:08:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-10 22:08:41 | [Mutex] waiting for: [received:nodes:6924ef16-3378-4a0c-87d0-ce7f7c5451f3:localhost] 2023-01-10 22:08:41 | [Mutex] waiting for: [received:nodes:6924ef16-3378-4a0c-87d0-ce7f7c5451f3:localhost] 2023-01-10 22:08:41 | [Mutex] waiting for: [received:nodes:6924ef16-3378-4a0c-87d0-ce7f7c5451f3:localhost] 2023-01-10 22:08:41 | [Mutex] received everything. 2023-01-10 22:08:41 | [Mutex] isItemNotified: received:node:6924ef16-3378-4a0c-87d0-ce7f7c5451f3:localhost:node-fecd3e76-3873-437b-9dfc-7658a61711b7:Node fecd3e76-3873-437b-9dfc-7658a61711b7 :: true |
createSubnodes | 1.022s |
2023-01-10 22:08:41 |
2023-01-10 22:08:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 22:08:41 | ------------------------------------ 2023-01-10 22:08:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-aa0f6846-e4e2-49bc-9603-9c5faeb2375b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node aa0f6846-e4e2-49bc-9603-9c5faeb2375b</title></pubsub></data> 2023-01-10 22:08:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-10 22:08:42 | [Mutex] waiting for: [received:nodes:2bc813f9-3364-4110-9fbe-f3a46097f9c3:localhost] 2023-01-10 22:08:42 | [Mutex] waiting for: [received:nodes:2bc813f9-3364-4110-9fbe-f3a46097f9c3:localhost] 2023-01-10 22:08:42 | [Mutex] waiting for: [received:nodes:2bc813f9-3364-4110-9fbe-f3a46097f9c3:localhost] 2023-01-10 22:08:42 | [Mutex] waiting for: [received:nodes:2bc813f9-3364-4110-9fbe-f3a46097f9c3:localhost] 2023-01-10 22:08:42 | [Mutex] received everything. 2023-01-10 22:08:42 | [Mutex] isItemNotified: received:node:2bc813f9-3364-4110-9fbe-f3a46097f9c3:localhost:node-aa0f6846-e4e2-49bc-9603-9c5faeb2375b:Node aa0f6846-e4e2-49bc-9603-9c5faeb2375b :: true |
deleteNodes | 1.022s |
2023-01-10 22:08:48 |
2023-01-10 22:08:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 22:08:48 | ------------------------------------ 2023-01-10 22:08:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-aa0f6846-e4e2-49bc-9603-9c5faeb2375b</node></data> 2023-01-10 22:08:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-10 22:08:49 | [Mutex] waiting for: [received:nodes:3d670f77-ee6f-46f6-bac1-e26d71c0c6ed:localhost] 2023-01-10 22:08:49 | [Mutex] waiting for: [received:nodes:3d670f77-ee6f-46f6-bac1-e26d71c0c6ed:localhost] 2023-01-10 22:08:49 | [Mutex] waiting for: [received:nodes:3d670f77-ee6f-46f6-bac1-e26d71c0c6ed:localhost] 2023-01-10 22:08:49 | [Mutex] received everything. 2023-01-10 22:08:49 | [Mutex] isItemNotified: received:node:3d670f77-ee6f-46f6-bac1-e26d71c0c6ed:localhost:node-aa0f6846-e4e2-49bc-9603-9c5faeb2375b:Node aa0f6846-e4e2-49bc-9603-9c5faeb2375b :: false |
deleteSubnodes | 1.139s |
2023-01-10 22:08:47 |
2023-01-10 22:08:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 22:08:47 | ------------------------------------ 2023-01-10 22:08:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fecd3e76-3873-437b-9dfc-7658a61711b7</node></data> 2023-01-10 22:08:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-10 22:08:48 | [Mutex] waiting for: [received:nodes:d16f8893-e95e-45da-9998-ac03a04489dc:localhost] 2023-01-10 22:08:48 | [Mutex] waiting for: [received:nodes:d16f8893-e95e-45da-9998-ac03a04489dc:localhost] 2023-01-10 22:08:48 | [Mutex] waiting for: [received:nodes:d16f8893-e95e-45da-9998-ac03a04489dc:localhost] 2023-01-10 22:08:48 | [Mutex] waiting for: [received:nodes:d16f8893-e95e-45da-9998-ac03a04489dc:localhost] 2023-01-10 22:08:48 | [Mutex] received everything. 2023-01-10 22:08:48 | [Mutex] isItemNotified: received:node:d16f8893-e95e-45da-9998-ac03a04489dc:localhost:node-fecd3e76-3873-437b-9dfc-7658a61711b7:Node fecd3e76-3873-437b-9dfc-7658a61711b7 :: false 2023-01-10 22:08:48 | [Mutex] waiting for: [received:nodes:b911e8df-f42a-4509-8434-1b322b8b7093:localhost] 2023-01-10 22:08:48 | [Mutex] received everything. 2023-01-10 22:08:48 | [Mutex] isItemNotified: received:node:b911e8df-f42a-4509-8434-1b322b8b7093:localhost:node-fecd3e76-3873-437b-9dfc-7658a61711b7:Node fecd3e76-3873-437b-9dfc-7658a61711b7 :: false |
publishItemsToNodes | 0.197s |
2023-01-10 22:08:45 |
2023-01-10 22:08:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 22:08:45 | ------------------------------------ 2023-01-10 22:08:45 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-fecd3e76-3873-437b-9dfc-7658a61711b7</node><item-id>item-6985f6ea-6ed0-478e-a96e-bd5fe5862d35</item-id><entry><test>item-6985f6ea-6ed0-478e-a96e-bd5fe5862d35</test></entry></data> 2023-01-10 22:08: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-6985f6ea-6ed0-478e-a96e-bd5fe5862d35</value></item-id></result> 2023-01-10 22:08:45 | [Mutex] waiting for: [published:item:notifieditem-6985f6ea-6ed0-478e-a96e-bd5fe5862d35:admin@test-domain.com] 2023-01-10 22:08:45 | [Mutex] received everything. 2023-01-10 22:08:45 | [Mutex] isItemNotified: published:item:notifieditem-6985f6ea-6ed0-478e-a96e-bd5fe5862d35:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2023-01-10 22:08:45 |
2023-01-10 22:08:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 22:08:45 | ------------------------------------ 2023-01-10 22:08:45 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-fecd3e76-3873-437b-9dfc-7658a61711b7</node><item-id>item-6985f6ea-6ed0-478e-a96e-bd5fe5862d35</item-id></data> 2023-01-10 22:08:45 | 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-6985f6ea-6ed0-478e-a96e-bd5fe5862d35</value></item-id></result> 2023-01-10 22:08:45 | [Mutex] received everything. 2023-01-10 22:08:45 | [Mutex] isItemNotified: retracted:item:notifieditem-6985f6ea-6ed0-478e-a96e-bd5fe5862d35:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.218s |
2023-01-10 22:08:45 |
2023-01-10 22:08:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 22:08:45 | ------------------------------------ 2023-01-10 22:08:45 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-fecd3e76-3873-437b-9dfc-7658a61711b7</node><item-id>item-6985f6ea-6ed0-478e-a96e-bd5fe5862d35</item-id></data> 2023-01-10 22:08:45 | 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-fecd3e76-3873-437b-9dfc-7658a61711b7</value></node><item-id label="Item ID" type="text-single"><value>item-6985f6ea-6ed0-478e-a96e-bd5fe5862d35</value></item-id><item label="Item" type="text-multi"><value><item id="item-6985f6ea-6ed0-478e-a96e-bd5fe5862d35"><test>item-6985f6ea-6ed0-478e-a96e-bd5fe5862d35</test></item></value></item></result> 2023-01-10 22:08:45 | [Mutex] notify: [retrieved:item:item-6985f6ea-6ed0-478e-a96e-bd5fe5862d35:payload-matches:true:localhost] 2023-01-10 22:08:45 | [Mutex] received everything. 2023-01-10 22:08:45 | [Mutex] isItemNotified: retrieved:item:item-6985f6ea-6ed0-478e-a96e-bd5fe5862d35:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-01-10 22:08:45 |
2023-01-10 22:08:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 22:08:45 | ------------------------------------ 2023-01-10 22:08:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-01-10 22:08:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-aa0f6846-e4e2-49bc-9603-9c5faeb2375b</value><value>node-fecd3e76-3873-437b-9dfc-7658a61711b7</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2023-01-10 22:08:45 |
2023-01-10 22:08:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 22:08:45 | ------------------------------------ 2023-01-10 22:08:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fecd3e76-3873-437b-9dfc-7658a61711b7)</node-pattern></data> 2023-01-10 22:08:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.115s |
2023-01-10 22:08:43 |
2023-01-10 22:08:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 22:08:43 | ------------------------------------ 2023-01-10 22:08:43 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-fecd3e76-3873-437b-9dfc-7658a61711b7</node><jids><value>admin@test-domain.com</value></jids></data> 2023-01-10 22:08: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.199s |
2023-01-10 22:08:45 |
2023-01-10 22:08:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 22:08:45 | ------------------------------------ 2023-01-10 22:08:45 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-fecd3e76-3873-437b-9dfc-7658a61711b7</node><jids><value>admin@test-domain.com</value></jids></data> 2023-01-10 22:08:46 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |