Test duration : 9.458s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.107s |
2022-12-30 09:40:46 |
2022-12-30 09:40:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 09:40:46 | ------------------------------------ 2022-12-30 09:40:46 | [Mutex] waiting for: [configured:node:node-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500:node-0849d247-40e2-4a67-926d-b4d985c79e23] 2022-12-30 09:40:46 | [Mutex] received everything. 2022-12-30 09:40:46 | [Mutex] isItemNotified: configured:node:node-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500:node-0849d247-40e2-4a67-926d-b4d985c79e23 :: true 2022-12-30 09:40:47 | [Mutex] waiting for: [received:nodes:4e7c599e-2b3b-46f0-93e2-7820e0f37b58:localhost] 2022-12-30 09:40:47 | [Mutex] received everything. 2022-12-30 09:40:47 | [Mutex] isItemNotified: received:node:4e7c599e-2b3b-46f0-93e2-7820e0f37b58:localhost:node-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500:Node 4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500 :: true 2022-12-30 09:40:47 | [Mutex] waiting for: [received:nodes:47866cfc-0627-497f-9f6a-c825dab5883b:localhost] 2022-12-30 09:40:47 | [Mutex] waiting for: [received:nodes:47866cfc-0627-497f-9f6a-c825dab5883b:localhost] 2022-12-30 09:40:47 | [Mutex] received everything. 2022-12-30 09:40:47 | [Mutex] isItemNotified: received:node:47866cfc-0627-497f-9f6a-c825dab5883b:localhost:node-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500:Node 4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500 :: false |
createNodes | 1.407s |
2022-12-30 09:40:43 |
2022-12-30 09:40:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 09:40:43 | ------------------------------------ 2022-12-30 09:40:43 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500</title></pubsub></data> 2022-12-30 09:40:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 09:40:45 | [Mutex] waiting for: [received:nodes:6b2b58c5-041f-4759-8495-1cbb199f51b2:localhost] 2022-12-30 09:40:45 | [Mutex] waiting for: [received:nodes:6b2b58c5-041f-4759-8495-1cbb199f51b2:localhost] 2022-12-30 09:40:45 | [Mutex] waiting for: [received:nodes:6b2b58c5-041f-4759-8495-1cbb199f51b2:localhost] 2022-12-30 09:40:45 | [Mutex] received everything. 2022-12-30 09:40:45 | [Mutex] isItemNotified: received:node:6b2b58c5-041f-4759-8495-1cbb199f51b2:localhost:node-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500:Node 4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500 :: true |
createSubnodes | 1.029s |
2022-12-30 09:40:45 |
2022-12-30 09:40:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 09:40:45 | ------------------------------------ 2022-12-30 09:40:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0849d247-40e2-4a67-926d-b4d985c79e23</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0849d247-40e2-4a67-926d-b4d985c79e23</title></pubsub></data> 2022-12-30 09:40:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 09:40:46 | [Mutex] waiting for: [received:nodes:40bfaefc-de69-4ec2-ac62-f408d4df8fc3:localhost] 2022-12-30 09:40:46 | [Mutex] waiting for: [received:nodes:40bfaefc-de69-4ec2-ac62-f408d4df8fc3:localhost] 2022-12-30 09:40:46 | [Mutex] waiting for: [received:nodes:40bfaefc-de69-4ec2-ac62-f408d4df8fc3:localhost] 2022-12-30 09:40:46 | [Mutex] waiting for: [received:nodes:40bfaefc-de69-4ec2-ac62-f408d4df8fc3:localhost] 2022-12-30 09:40:46 | [Mutex] received everything. 2022-12-30 09:40:46 | [Mutex] isItemNotified: received:node:40bfaefc-de69-4ec2-ac62-f408d4df8fc3:localhost:node-0849d247-40e2-4a67-926d-b4d985c79e23:Node 0849d247-40e2-4a67-926d-b4d985c79e23 :: true |
deleteNodes | 1.018s |
2022-12-30 09:40:51 |
2022-12-30 09:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 09:40:51 | ------------------------------------ 2022-12-30 09:40:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0849d247-40e2-4a67-926d-b4d985c79e23</node></data> 2022-12-30 09:40:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 09:40:52 | [Mutex] waiting for: [received:nodes:35344456-4853-4ff8-b631-5afd1d3983b1:localhost] 2022-12-30 09:40:52 | [Mutex] waiting for: [received:nodes:35344456-4853-4ff8-b631-5afd1d3983b1:localhost] 2022-12-30 09:40:52 | [Mutex] waiting for: [received:nodes:35344456-4853-4ff8-b631-5afd1d3983b1:localhost] 2022-12-30 09:40:52 | [Mutex] received everything. 2022-12-30 09:40:52 | [Mutex] isItemNotified: received:node:35344456-4853-4ff8-b631-5afd1d3983b1:localhost:node-0849d247-40e2-4a67-926d-b4d985c79e23:Node 0849d247-40e2-4a67-926d-b4d985c79e23 :: false |
deleteSubnodes | 1.149s |
2022-12-30 09:40:50 |
2022-12-30 09:40:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 09:40:50 | ------------------------------------ 2022-12-30 09:40:50 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500</node></data> 2022-12-30 09:40:50 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 09:40:51 | [Mutex] waiting for: [received:nodes:102d8a54-3c55-473b-a8d4-ffea885f33b5:localhost] 2022-12-30 09:40:51 | [Mutex] waiting for: [received:nodes:102d8a54-3c55-473b-a8d4-ffea885f33b5:localhost] 2022-12-30 09:40:51 | [Mutex] waiting for: [received:nodes:102d8a54-3c55-473b-a8d4-ffea885f33b5:localhost] 2022-12-30 09:40:51 | [Mutex] received everything. 2022-12-30 09:40:51 | [Mutex] isItemNotified: received:node:102d8a54-3c55-473b-a8d4-ffea885f33b5:localhost:node-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500:Node 4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500 :: false 2022-12-30 09:40:51 | [Mutex] waiting for: [received:nodes:83005ba9-7557-452e-bcd0-2f52920a6d72:localhost] 2022-12-30 09:40:51 | [Mutex] received everything. 2022-12-30 09:40:51 | [Mutex] isItemNotified: received:node:83005ba9-7557-452e-bcd0-2f52920a6d72:localhost:node-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500:Node 4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500 :: false |
publishItemsToNodes | 0.198s |
2022-12-30 09:40:48 |
2022-12-30 09:40:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 09:40:48 | ------------------------------------ 2022-12-30 09:40:48 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500</node><item-id>item-4075c50f-1dfe-4e7b-bc2e-1aa39d2b4022</item-id><entry><test>item-4075c50f-1dfe-4e7b-bc2e-1aa39d2b4022</test></entry></data> 2022-12-30 09:40:48 | 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-4075c50f-1dfe-4e7b-bc2e-1aa39d2b4022</value></item-id></result> 2022-12-30 09:40:48 | [Mutex] waiting for: [published:item:notifieditem-4075c50f-1dfe-4e7b-bc2e-1aa39d2b4022:admin@test-domain.com] 2022-12-30 09:40:48 | [Mutex] received everything. 2022-12-30 09:40:48 | [Mutex] isItemNotified: published:item:notifieditem-4075c50f-1dfe-4e7b-bc2e-1aa39d2b4022:admin@test-domain.com :: true |
retractItemsFromNodes | 0.267s |
2022-12-30 09:40:49 |
2022-12-30 09:40:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 09:40:49 | ------------------------------------ 2022-12-30 09:40:49 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500</node><item-id>item-4075c50f-1dfe-4e7b-bc2e-1aa39d2b4022</item-id></data> 2022-12-30 09:40:49 | 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-4075c50f-1dfe-4e7b-bc2e-1aa39d2b4022</value></item-id></result> 2022-12-30 09:40:49 | [Mutex] received everything. 2022-12-30 09:40:49 | [Mutex] isItemNotified: retracted:item:notifieditem-4075c50f-1dfe-4e7b-bc2e-1aa39d2b4022:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.212s |
2022-12-30 09:40:48 |
2022-12-30 09:40:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 09:40:48 | ------------------------------------ 2022-12-30 09:40:48 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500</node><item-id>item-4075c50f-1dfe-4e7b-bc2e-1aa39d2b4022</item-id></data> 2022-12-30 09:40:48 | 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-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500</value></node><item-id label="Item ID" type="text-single"><value>item-4075c50f-1dfe-4e7b-bc2e-1aa39d2b4022</value></item-id><item label="Item" type="text-multi"><value><item id="item-4075c50f-1dfe-4e7b-bc2e-1aa39d2b4022"><test>item-4075c50f-1dfe-4e7b-bc2e-1aa39d2b4022</test></item></value></item></result> 2022-12-30 09:40:48 | [Mutex] notify: [retrieved:item:item-4075c50f-1dfe-4e7b-bc2e-1aa39d2b4022:payload-matches:true:localhost] 2022-12-30 09:40:48 | [Mutex] received everything. 2022-12-30 09:40:48 | [Mutex] isItemNotified: retrieved:item:item-4075c50f-1dfe-4e7b-bc2e-1aa39d2b4022:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-12-30 09:40:48 |
2022-12-30 09:40:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 09:40:48 | ------------------------------------ 2022-12-30 09:40:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-30 09:40:49 | 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-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500</value><value>node-0849d247-40e2-4a67-926d-b4d985c79e23</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-12-30 09:40:49 |
2022-12-30 09:40:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 09:40:49 | ------------------------------------ 2022-12-30 09:40:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500)</node-pattern></data> 2022-12-30 09:40:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.179s |
2022-12-30 09:40:47 |
2022-12-30 09:40:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 09:40:47 | ------------------------------------ 2022-12-30 09:40:47 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-30 09:40:47 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.198s |
2022-12-30 09:40:49 |
2022-12-30 09:40:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 09:40:49 | ------------------------------------ 2022-12-30 09:40:49 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4772dd31-b6dd-4dbf-b7e5-d5a3d5bb7500</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-30 09:40:49 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |