Test duration : 9.595s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.106s |
2023-03-17 22:59:39 |
2023-03-17 22:59:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:59:39 | ------------------------------------ 2023-03-17 22:59:39 | [Mutex] waiting for: [configured:node:node-037e7bfa-2c16-4033-8c38-1f4d81c878f3:node-452907fb-7e31-45dd-90b9-65a955dfe7b2] 2023-03-17 22:59:39 | [Mutex] received everything. 2023-03-17 22:59:39 | [Mutex] isItemNotified: configured:node:node-037e7bfa-2c16-4033-8c38-1f4d81c878f3:node-452907fb-7e31-45dd-90b9-65a955dfe7b2 :: true 2023-03-17 22:59:40 | [Mutex] waiting for: [received:nodes:51530a43-1c2e-4f32-b458-d1122279899d:localhost] 2023-03-17 22:59:40 | [Mutex] received everything. 2023-03-17 22:59:40 | [Mutex] isItemNotified: received:node:51530a43-1c2e-4f32-b458-d1122279899d:localhost:node-037e7bfa-2c16-4033-8c38-1f4d81c878f3:Node 037e7bfa-2c16-4033-8c38-1f4d81c878f3 :: true 2023-03-17 22:59:40 | [Mutex] waiting for: [received:nodes:04b19556-c152-4280-a5db-9d3b4bbf72ea:localhost] 2023-03-17 22:59:40 | [Mutex] received everything. 2023-03-17 22:59:40 | [Mutex] isItemNotified: received:node:04b19556-c152-4280-a5db-9d3b4bbf72ea:localhost:node-037e7bfa-2c16-4033-8c38-1f4d81c878f3:Node 037e7bfa-2c16-4033-8c38-1f4d81c878f3 :: false |
createNodes | 1.453s |
2023-03-17 22:59:36 |
2023-03-17 22:59:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:59:36 | ------------------------------------ 2023-03-17 22:59:36 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-037e7bfa-2c16-4033-8c38-1f4d81c878f3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 037e7bfa-2c16-4033-8c38-1f4d81c878f3</title></pubsub></data> 2023-03-17 22:59:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-17 22:59:38 | [Mutex] waiting for: [received:nodes:8449d26e-6b4a-4a7d-83f3-87092d07765a:localhost] 2023-03-17 22:59:38 | [Mutex] waiting for: [received:nodes:8449d26e-6b4a-4a7d-83f3-87092d07765a:localhost] 2023-03-17 22:59:38 | [Mutex] waiting for: [received:nodes:8449d26e-6b4a-4a7d-83f3-87092d07765a:localhost] 2023-03-17 22:59:38 | [Mutex] waiting for: [received:nodes:8449d26e-6b4a-4a7d-83f3-87092d07765a:localhost] 2023-03-17 22:59:38 | [Mutex] received everything. 2023-03-17 22:59:38 | [Mutex] isItemNotified: received:node:8449d26e-6b4a-4a7d-83f3-87092d07765a:localhost:node-037e7bfa-2c16-4033-8c38-1f4d81c878f3:Node 037e7bfa-2c16-4033-8c38-1f4d81c878f3 :: true |
createSubnodes | 1.022s |
2023-03-17 22:59:38 |
2023-03-17 22:59:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:59:38 | ------------------------------------ 2023-03-17 22:59:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-452907fb-7e31-45dd-90b9-65a955dfe7b2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 452907fb-7e31-45dd-90b9-65a955dfe7b2</title></pubsub></data> 2023-03-17 22:59:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-17 22:59:39 | [Mutex] waiting for: [received:nodes:bcf265ae-805e-4a04-abb9-7528ea402ec5:localhost] 2023-03-17 22:59:39 | [Mutex] waiting for: [received:nodes:bcf265ae-805e-4a04-abb9-7528ea402ec5:localhost] 2023-03-17 22:59:39 | [Mutex] waiting for: [received:nodes:bcf265ae-805e-4a04-abb9-7528ea402ec5:localhost] 2023-03-17 22:59:39 | [Mutex] waiting for: [received:nodes:bcf265ae-805e-4a04-abb9-7528ea402ec5:localhost] 2023-03-17 22:59:39 | [Mutex] received everything. 2023-03-17 22:59:39 | [Mutex] isItemNotified: received:node:bcf265ae-805e-4a04-abb9-7528ea402ec5:localhost:node-452907fb-7e31-45dd-90b9-65a955dfe7b2:Node 452907fb-7e31-45dd-90b9-65a955dfe7b2 :: true |
deleteNodes | 1.030s |
2023-03-17 22:59:44 |
2023-03-17 22:59:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:59:44 | ------------------------------------ 2023-03-17 22:59:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-452907fb-7e31-45dd-90b9-65a955dfe7b2</node></data> 2023-03-17 22:59:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-17 22:59:45 | [Mutex] waiting for: [received:nodes:b1a3571e-8b4e-4fa1-9c50-6efa3c97e08d:localhost] 2023-03-17 22:59:45 | [Mutex] waiting for: [received:nodes:b1a3571e-8b4e-4fa1-9c50-6efa3c97e08d:localhost] 2023-03-17 22:59:45 | [Mutex] waiting for: [received:nodes:b1a3571e-8b4e-4fa1-9c50-6efa3c97e08d:localhost] 2023-03-17 22:59:45 | [Mutex] received everything. 2023-03-17 22:59:45 | [Mutex] isItemNotified: received:node:b1a3571e-8b4e-4fa1-9c50-6efa3c97e08d:localhost:node-452907fb-7e31-45dd-90b9-65a955dfe7b2:Node 452907fb-7e31-45dd-90b9-65a955dfe7b2 :: false |
deleteSubnodes | 1.126s |
2023-03-17 22:59:43 |
2023-03-17 22:59:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:59:43 | ------------------------------------ 2023-03-17 22:59:43 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-037e7bfa-2c16-4033-8c38-1f4d81c878f3</node></data> 2023-03-17 22:59:43 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-17 22:59:44 | [Mutex] waiting for: [received:nodes:5211816e-597c-4bf4-a0df-bb22bbfae034:localhost] 2023-03-17 22:59:44 | [Mutex] waiting for: [received:nodes:5211816e-597c-4bf4-a0df-bb22bbfae034:localhost] 2023-03-17 22:59:44 | [Mutex] waiting for: [received:nodes:5211816e-597c-4bf4-a0df-bb22bbfae034:localhost] 2023-03-17 22:59:44 | [Mutex] waiting for: [received:nodes:5211816e-597c-4bf4-a0df-bb22bbfae034:localhost] 2023-03-17 22:59:44 | [Mutex] received everything. 2023-03-17 22:59:44 | [Mutex] isItemNotified: received:node:5211816e-597c-4bf4-a0df-bb22bbfae034:localhost:node-037e7bfa-2c16-4033-8c38-1f4d81c878f3:Node 037e7bfa-2c16-4033-8c38-1f4d81c878f3 :: false 2023-03-17 22:59:44 | [Mutex] waiting for: [received:nodes:4e1a4a4d-82c4-4f2c-a31b-b1b51b3a199c:localhost] 2023-03-17 22:59:44 | [Mutex] received everything. 2023-03-17 22:59:44 | [Mutex] isItemNotified: received:node:4e1a4a4d-82c4-4f2c-a31b-b1b51b3a199c:localhost:node-037e7bfa-2c16-4033-8c38-1f4d81c878f3:Node 037e7bfa-2c16-4033-8c38-1f4d81c878f3 :: false |
publishItemsToNodes | 0.281s |
2023-03-17 22:59:41 |
2023-03-17 22:59:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:59:41 | ------------------------------------ 2023-03-17 22:59:41 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-037e7bfa-2c16-4033-8c38-1f4d81c878f3</node><item-id>item-7a78bb5a-335b-48fa-99d0-c4569a834736</item-id><entry><test>item-7a78bb5a-335b-48fa-99d0-c4569a834736</test></entry></data> 2023-03-17 22:59:41 | 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-7a78bb5a-335b-48fa-99d0-c4569a834736</value></item-id></result> 2023-03-17 22:59:41 | [Mutex] waiting for: [published:item:notifieditem-7a78bb5a-335b-48fa-99d0-c4569a834736:admin@test-domain.com] 2023-03-17 22:59:41 | [Mutex] received everything. 2023-03-17 22:59:41 | [Mutex] isItemNotified: published:item:notifieditem-7a78bb5a-335b-48fa-99d0-c4569a834736:admin@test-domain.com :: true |
retractItemsFromNodes | 0.292s |
2023-03-17 22:59:42 |
2023-03-17 22:59:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:59:42 | ------------------------------------ 2023-03-17 22:59:42 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-037e7bfa-2c16-4033-8c38-1f4d81c878f3</node><item-id>item-7a78bb5a-335b-48fa-99d0-c4569a834736</item-id></data> 2023-03-17 22:59:42 | 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-7a78bb5a-335b-48fa-99d0-c4569a834736</value></item-id></result> 2023-03-17 22:59:42 | [Mutex] received everything. 2023-03-17 22:59:42 | [Mutex] isItemNotified: retracted:item:notifieditem-7a78bb5a-335b-48fa-99d0-c4569a834736:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.211s |
2023-03-17 22:59:41 |
2023-03-17 22:59:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:59:41 | ------------------------------------ 2023-03-17 22:59:41 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-037e7bfa-2c16-4033-8c38-1f4d81c878f3</node><item-id>item-7a78bb5a-335b-48fa-99d0-c4569a834736</item-id></data> 2023-03-17 22:59:42 | 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-037e7bfa-2c16-4033-8c38-1f4d81c878f3</value></node><item-id type="text-single" label="Item ID"><value>item-7a78bb5a-335b-48fa-99d0-c4569a834736</value></item-id><item type="text-multi" label="Item"><value><item id="item-7a78bb5a-335b-48fa-99d0-c4569a834736"><test>item-7a78bb5a-335b-48fa-99d0-c4569a834736</test></item></value></item></result> 2023-03-17 22:59:42 | [Mutex] notify: [retrieved:item:item-7a78bb5a-335b-48fa-99d0-c4569a834736:payload-matches:true:localhost] 2023-03-17 22:59:42 | [Mutex] received everything. 2023-03-17 22:59:42 | [Mutex] isItemNotified: retrieved:item:item-7a78bb5a-335b-48fa-99d0-c4569a834736:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2023-03-17 22:59:42 |
2023-03-17 22:59:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:59:42 | ------------------------------------ 2023-03-17 22:59:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-17 22:59:42 | 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-037e7bfa-2c16-4033-8c38-1f4d81c878f3</value><value>node-452907fb-7e31-45dd-90b9-65a955dfe7b2</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2023-03-17 22:59:42 |
2023-03-17 22:59:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:59:42 | ------------------------------------ 2023-03-17 22:59:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-037e7bfa-2c16-4033-8c38-1f4d81c878f3)</node-pattern></data> 2023-03-17 22:59:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.159s |
2023-03-17 22:59:40 |
2023-03-17 22:59:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:59:40 | ------------------------------------ 2023-03-17 22:59:40 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-037e7bfa-2c16-4033-8c38-1f4d81c878f3</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-17 22:59:40 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.128s |
2023-03-17 22:59:42 |
2023-03-17 22:59:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:59:42 | ------------------------------------ 2023-03-17 22:59:42 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-037e7bfa-2c16-4033-8c38-1f4d81c878f3</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-17 22:59:42 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |