Test duration : 9.439s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.095s |
2022-08-12 22:32:53 |
2022-08-12 22:32:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-12 22:32:53 | ------------------------------------ 2022-08-12 22:32:53 | [Mutex] waiting for: [configured:node:node-3aef3fba-7e62-44e4-9330-3af215ec1fcc:node-abc1b149-c8a2-474c-9543-1cda2b31be6f] 2022-08-12 22:32:54 | [Mutex] received everything. 2022-08-12 22:32:54 | [Mutex] isItemNotified: configured:node:node-3aef3fba-7e62-44e4-9330-3af215ec1fcc:node-abc1b149-c8a2-474c-9543-1cda2b31be6f :: true 2022-08-12 22:32:55 | [Mutex] waiting for: [received:nodes:6951eabf-5ee7-46c6-b92e-96c49d6f8c48:localhost] 2022-08-12 22:32:55 | [Mutex] received everything. 2022-08-12 22:32:55 | [Mutex] isItemNotified: received:node:6951eabf-5ee7-46c6-b92e-96c49d6f8c48:localhost:node-3aef3fba-7e62-44e4-9330-3af215ec1fcc:Node 3aef3fba-7e62-44e4-9330-3af215ec1fcc :: true 2022-08-12 22:32:55 | [Mutex] waiting for: [received:nodes:35ca038e-035f-41c9-a78c-b0547fa8a259:localhost] 2022-08-12 22:32:55 | [Mutex] waiting for: [received:nodes:35ca038e-035f-41c9-a78c-b0547fa8a259:localhost] 2022-08-12 22:32:55 | [Mutex] received everything. 2022-08-12 22:32:55 | [Mutex] isItemNotified: received:node:35ca038e-035f-41c9-a78c-b0547fa8a259:localhost:node-3aef3fba-7e62-44e4-9330-3af215ec1fcc:Node 3aef3fba-7e62-44e4-9330-3af215ec1fcc :: false |
createNodes | 1.403s |
2022-08-12 22:32:51 |
2022-08-12 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-12 22:32:51 | ------------------------------------ 2022-08-12 22:32:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3aef3fba-7e62-44e4-9330-3af215ec1fcc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3aef3fba-7e62-44e4-9330-3af215ec1fcc</title></pubsub></data> 2022-08-12 22:32:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-12 22:32:52 | [Mutex] waiting for: [received:nodes:c9eeab2c-b68c-4433-98e2-b21f1997370a:localhost] 2022-08-12 22:32:52 | [Mutex] received everything. 2022-08-12 22:32:52 | [Mutex] isItemNotified: received:node:c9eeab2c-b68c-4433-98e2-b21f1997370a:localhost:node-3aef3fba-7e62-44e4-9330-3af215ec1fcc:Node 3aef3fba-7e62-44e4-9330-3af215ec1fcc :: true |
createSubnodes | 1.021s |
2022-08-12 22:32:52 |
2022-08-12 22:32:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-12 22:32:52 | ------------------------------------ 2022-08-12 22:32:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-abc1b149-c8a2-474c-9543-1cda2b31be6f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node abc1b149-c8a2-474c-9543-1cda2b31be6f</title></pubsub></data> 2022-08-12 22:32:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-12 22:32:53 | [Mutex] waiting for: [received:nodes:8d3b5142-d765-4e50-8ae6-7f783134d4f0:localhost] 2022-08-12 22:32:53 | [Mutex] received everything. 2022-08-12 22:32:53 | [Mutex] isItemNotified: received:node:8d3b5142-d765-4e50-8ae6-7f783134d4f0:localhost:node-abc1b149-c8a2-474c-9543-1cda2b31be6f:Node abc1b149-c8a2-474c-9543-1cda2b31be6f :: true |
deleteNodes | 1.016s |
2022-08-12 22:32:59 |
2022-08-12 22:32:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-12 22:32:59 | ------------------------------------ 2022-08-12 22:32:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-abc1b149-c8a2-474c-9543-1cda2b31be6f</node></data> 2022-08-12 22:32:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-12 22:33:00 | [Mutex] waiting for: [received:nodes:7b2c81f0-328c-4082-879d-2ed5c6004d0d:localhost] 2022-08-12 22:33:00 | [Mutex] waiting for: [received:nodes:7b2c81f0-328c-4082-879d-2ed5c6004d0d:localhost] 2022-08-12 22:33:00 | [Mutex] received everything. 2022-08-12 22:33:00 | [Mutex] isItemNotified: received:node:7b2c81f0-328c-4082-879d-2ed5c6004d0d:localhost:node-abc1b149-c8a2-474c-9543-1cda2b31be6f:Node abc1b149-c8a2-474c-9543-1cda2b31be6f :: false |
deleteSubnodes | 1.154s |
2022-08-12 22:32:58 |
2022-08-12 22:32:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-12 22:32:58 | ------------------------------------ 2022-08-12 22:32:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3aef3fba-7e62-44e4-9330-3af215ec1fcc</node></data> 2022-08-12 22:32:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-12 22:32:59 | [Mutex] waiting for: [received:nodes:2589d65b-b301-4881-94ad-86b237735689:localhost] 2022-08-12 22:32:59 | [Mutex] waiting for: [received:nodes:2589d65b-b301-4881-94ad-86b237735689:localhost] 2022-08-12 22:32:59 | [Mutex] received everything. 2022-08-12 22:32:59 | [Mutex] isItemNotified: received:node:2589d65b-b301-4881-94ad-86b237735689:localhost:node-3aef3fba-7e62-44e4-9330-3af215ec1fcc:Node 3aef3fba-7e62-44e4-9330-3af215ec1fcc :: false 2022-08-12 22:32:59 | [Mutex] waiting for: [received:nodes:63f12915-f5aa-496d-a3cf-4125cfdc0b8f:localhost] 2022-08-12 22:32:59 | [Mutex] received everything. 2022-08-12 22:32:59 | [Mutex] isItemNotified: received:node:63f12915-f5aa-496d-a3cf-4125cfdc0b8f:localhost:node-3aef3fba-7e62-44e4-9330-3af215ec1fcc:Node 3aef3fba-7e62-44e4-9330-3af215ec1fcc :: false |
publishItemsToNodes | 0.224s |
2022-08-12 22:32:56 |
2022-08-12 22:32:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-12 22:32:56 | ------------------------------------ 2022-08-12 22:32:56 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-3aef3fba-7e62-44e4-9330-3af215ec1fcc</node><item-id>item-22ecdbf5-3b08-41e6-b9e2-538bf57e5642</item-id><entry><test>item-22ecdbf5-3b08-41e6-b9e2-538bf57e5642</test></entry></data> 2022-08-12 22:32:56 | 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-22ecdbf5-3b08-41e6-b9e2-538bf57e5642</value></item-id></result> 2022-08-12 22:32:56 | [Mutex] waiting for: [published:item:notifieditem-22ecdbf5-3b08-41e6-b9e2-538bf57e5642:admin@test-domain.com] 2022-08-12 22:32:56 | [Mutex] received everything. 2022-08-12 22:32:56 | [Mutex] isItemNotified: published:item:notifieditem-22ecdbf5-3b08-41e6-b9e2-538bf57e5642:admin@test-domain.com :: true |
retractItemsFromNodes | 0.271s |
2022-08-12 22:32:56 |
2022-08-12 22:32:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-12 22:32:56 | ------------------------------------ 2022-08-12 22:32:56 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-3aef3fba-7e62-44e4-9330-3af215ec1fcc</node><item-id>item-22ecdbf5-3b08-41e6-b9e2-538bf57e5642</item-id></data> 2022-08-12 22:32:56 | 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-22ecdbf5-3b08-41e6-b9e2-538bf57e5642</value></item-id></result> 2022-08-12 22:32:56 | [Mutex] received everything. 2022-08-12 22:32:56 | [Mutex] isItemNotified: retracted:item:notifieditem-22ecdbf5-3b08-41e6-b9e2-538bf57e5642:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.198s |
2022-08-12 22:32:56 |
2022-08-12 22:32:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-12 22:32:56 | ------------------------------------ 2022-08-12 22:32:56 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-3aef3fba-7e62-44e4-9330-3af215ec1fcc</node><item-id>item-22ecdbf5-3b08-41e6-b9e2-538bf57e5642</item-id></data> 2022-08-12 22:32:56 | 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-3aef3fba-7e62-44e4-9330-3af215ec1fcc</value></node><item-id type="text-single" label="Item ID"><value>item-22ecdbf5-3b08-41e6-b9e2-538bf57e5642</value></item-id><item type="text-multi" label="Item"><value><item id="item-22ecdbf5-3b08-41e6-b9e2-538bf57e5642"><test>item-22ecdbf5-3b08-41e6-b9e2-538bf57e5642</test></item></value></item></result> 2022-08-12 22:32:56 | [Mutex] notify: [retrieved:item:item-22ecdbf5-3b08-41e6-b9e2-538bf57e5642:payload-matches:true:localhost] 2022-08-12 22:32:56 | [Mutex] received everything. 2022-08-12 22:32:56 | [Mutex] isItemNotified: retrieved:item:item-22ecdbf5-3b08-41e6-b9e2-538bf57e5642:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.054s |
2022-08-12 22:32:56 |
2022-08-12 22:32:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-12 22:32:56 | ------------------------------------ 2022-08-12 22:32:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-12 22:32:56 | 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-abc1b149-c8a2-474c-9543-1cda2b31be6f</value><value>node-3aef3fba-7e62-44e4-9330-3af215ec1fcc</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-08-12 22:32:56 |
2022-08-12 22:32:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-12 22:32:56 | ------------------------------------ 2022-08-12 22:32:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3aef3fba-7e62-44e4-9330-3af215ec1fcc)</node-pattern></data> 2022-08-12 22:32:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.110s |
2022-08-12 22:32:55 |
2022-08-12 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-12 22:32:55 | ------------------------------------ 2022-08-12 22:32:55 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-3aef3fba-7e62-44e4-9330-3af215ec1fcc</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-12 22:32:55 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.227s |
2022-08-12 22:32:56 |
2022-08-12 22:32:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-12 22:32:56 | ------------------------------------ 2022-08-12 22:32:56 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-3aef3fba-7e62-44e4-9330-3af215ec1fcc</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-12 22:32:57 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |