Test duration : 9.459s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2022-09-23 06:37:16 |
2022-09-23 06:37:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:37:16 | ------------------------------------ 2022-09-23 06:37:16 | [Mutex] waiting for: [configured:node:node-1413f0d2-baa8-4914-b2a5-412e4ccb8743:node-29c6ba52-3cdb-4023-964b-574cca9d305f] 2022-09-23 06:37:16 | [Mutex] received everything. 2022-09-23 06:37:16 | [Mutex] isItemNotified: configured:node:node-1413f0d2-baa8-4914-b2a5-412e4ccb8743:node-29c6ba52-3cdb-4023-964b-574cca9d305f :: true 2022-09-23 06:37:17 | [Mutex] waiting for: [received:nodes:5e36bd1b-0542-4834-ba91-f3b4d85fff57:localhost] 2022-09-23 06:37:17 | [Mutex] received everything. 2022-09-23 06:37:17 | [Mutex] isItemNotified: received:node:5e36bd1b-0542-4834-ba91-f3b4d85fff57:localhost:node-1413f0d2-baa8-4914-b2a5-412e4ccb8743:Node 1413f0d2-baa8-4914-b2a5-412e4ccb8743 :: true 2022-09-23 06:37:17 | [Mutex] waiting for: [received:nodes:887abaec-0297-40f6-941c-e80cc7e1cae4:localhost] 2022-09-23 06:37:17 | [Mutex] waiting for: [received:nodes:887abaec-0297-40f6-941c-e80cc7e1cae4:localhost] 2022-09-23 06:37:17 | [Mutex] received everything. 2022-09-23 06:37:17 | [Mutex] isItemNotified: received:node:887abaec-0297-40f6-941c-e80cc7e1cae4:localhost:node-1413f0d2-baa8-4914-b2a5-412e4ccb8743:Node 1413f0d2-baa8-4914-b2a5-412e4ccb8743 :: false |
createNodes | 1.446s |
2022-09-23 06:37:14 |
2022-09-23 06:37:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:37:14 | ------------------------------------ 2022-09-23 06:37:14 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1413f0d2-baa8-4914-b2a5-412e4ccb8743</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1413f0d2-baa8-4914-b2a5-412e4ccb8743</title></pubsub></data> 2022-09-23 06:37:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-23 06:37:15 | [Mutex] waiting for: [received:nodes:c54ca0dc-a2e7-4490-82d3-3b276d515101:localhost] 2022-09-23 06:37:15 | [Mutex] waiting for: [received:nodes:c54ca0dc-a2e7-4490-82d3-3b276d515101:localhost] 2022-09-23 06:37:15 | [Mutex] received everything. 2022-09-23 06:37:15 | [Mutex] isItemNotified: received:node:c54ca0dc-a2e7-4490-82d3-3b276d515101:localhost:node-1413f0d2-baa8-4914-b2a5-412e4ccb8743:Node 1413f0d2-baa8-4914-b2a5-412e4ccb8743 :: true |
createSubnodes | 1.024s |
2022-09-23 06:37:15 |
2022-09-23 06:37:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:37:15 | ------------------------------------ 2022-09-23 06:37:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-29c6ba52-3cdb-4023-964b-574cca9d305f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 29c6ba52-3cdb-4023-964b-574cca9d305f</title></pubsub></data> 2022-09-23 06:37:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-23 06:37:16 | [Mutex] waiting for: [received:nodes:3c1a88ff-cefc-4401-ac14-d2cda62dae62:localhost] 2022-09-23 06:37:16 | [Mutex] waiting for: [received:nodes:3c1a88ff-cefc-4401-ac14-d2cda62dae62:localhost] 2022-09-23 06:37:16 | [Mutex] received everything. 2022-09-23 06:37:16 | [Mutex] isItemNotified: received:node:3c1a88ff-cefc-4401-ac14-d2cda62dae62:localhost:node-29c6ba52-3cdb-4023-964b-574cca9d305f:Node 29c6ba52-3cdb-4023-964b-574cca9d305f :: true |
deleteNodes | 1.017s |
2022-09-23 06:37:22 |
2022-09-23 06:37:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:37:22 | ------------------------------------ 2022-09-23 06:37:22 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-29c6ba52-3cdb-4023-964b-574cca9d305f</node></data> 2022-09-23 06:37:22 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-23 06:37:23 | [Mutex] waiting for: [received:nodes:d1b2408a-6bc4-4133-92b4-2c7b34a1230b:localhost] 2022-09-23 06:37:23 | [Mutex] received everything. 2022-09-23 06:37:23 | [Mutex] isItemNotified: received:node:d1b2408a-6bc4-4133-92b4-2c7b34a1230b:localhost:node-29c6ba52-3cdb-4023-964b-574cca9d305f:Node 29c6ba52-3cdb-4023-964b-574cca9d305f :: false |
deleteSubnodes | 1.131s |
2022-09-23 06:37:21 |
2022-09-23 06:37:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:37:21 | ------------------------------------ 2022-09-23 06:37:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1413f0d2-baa8-4914-b2a5-412e4ccb8743</node></data> 2022-09-23 06:37:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-23 06:37:22 | [Mutex] waiting for: [received:nodes:a40eccc6-36b5-4bdc-a5c7-2687c038eace:localhost] 2022-09-23 06:37:22 | [Mutex] received everything. 2022-09-23 06:37:22 | [Mutex] isItemNotified: received:node:a40eccc6-36b5-4bdc-a5c7-2687c038eace:localhost:node-1413f0d2-baa8-4914-b2a5-412e4ccb8743:Node 1413f0d2-baa8-4914-b2a5-412e4ccb8743 :: false 2022-09-23 06:37:22 | [Mutex] waiting for: [received:nodes:d0c0f804-21c8-4f7a-a7c6-0b3dfe2f2e9b:localhost] 2022-09-23 06:37:22 | [Mutex] received everything. 2022-09-23 06:37:22 | [Mutex] isItemNotified: received:node:d0c0f804-21c8-4f7a-a7c6-0b3dfe2f2e9b:localhost:node-1413f0d2-baa8-4914-b2a5-412e4ccb8743:Node 1413f0d2-baa8-4914-b2a5-412e4ccb8743 :: false |
publishItemsToNodes | 0.195s |
2022-09-23 06:37:19 |
2022-09-23 06:37:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:37:19 | ------------------------------------ 2022-09-23 06:37:19 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1413f0d2-baa8-4914-b2a5-412e4ccb8743</node><item-id>item-e26729dd-0730-4ea2-a2b6-1447fd0eeaae</item-id><entry><test>item-e26729dd-0730-4ea2-a2b6-1447fd0eeaae</test></entry></data> 2022-09-23 06:37:19 | 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-e26729dd-0730-4ea2-a2b6-1447fd0eeaae</value></item-id></result> 2022-09-23 06:37:19 | [Mutex] received everything. 2022-09-23 06:37:19 | [Mutex] isItemNotified: published:item:notifieditem-e26729dd-0730-4ea2-a2b6-1447fd0eeaae:admin@test-domain.com :: true |
retractItemsFromNodes | 0.272s |
2022-09-23 06:37:19 |
2022-09-23 06:37:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:37:19 | ------------------------------------ 2022-09-23 06:37:19 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1413f0d2-baa8-4914-b2a5-412e4ccb8743</node><item-id>item-e26729dd-0730-4ea2-a2b6-1447fd0eeaae</item-id></data> 2022-09-23 06:37:19 | 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-e26729dd-0730-4ea2-a2b6-1447fd0eeaae</value></item-id></result> 2022-09-23 06:37:19 | [Mutex] received everything. 2022-09-23 06:37:19 | [Mutex] isItemNotified: retracted:item:notifieditem-e26729dd-0730-4ea2-a2b6-1447fd0eeaae:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.221s |
2022-09-23 06:37:19 |
2022-09-23 06:37:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:37:19 | ------------------------------------ 2022-09-23 06:37:19 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1413f0d2-baa8-4914-b2a5-412e4ccb8743</node><item-id>item-e26729dd-0730-4ea2-a2b6-1447fd0eeaae</item-id></data> 2022-09-23 06:37:19 | 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-1413f0d2-baa8-4914-b2a5-412e4ccb8743</value></node><item-id label="Item ID" type="text-single"><value>item-e26729dd-0730-4ea2-a2b6-1447fd0eeaae</value></item-id><item label="Item" type="text-multi"><value><item id="item-e26729dd-0730-4ea2-a2b6-1447fd0eeaae"><test>item-e26729dd-0730-4ea2-a2b6-1447fd0eeaae</test></item></value></item></result> 2022-09-23 06:37:19 | [Mutex] notify: [retrieved:item:item-e26729dd-0730-4ea2-a2b6-1447fd0eeaae:payload-matches:true:localhost] 2022-09-23 06:37:19 | [Mutex] received everything. 2022-09-23 06:37:19 | [Mutex] isItemNotified: retrieved:item:item-e26729dd-0730-4ea2-a2b6-1447fd0eeaae:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-09-23 06:37:19 |
2022-09-23 06:37:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:37:19 | ------------------------------------ 2022-09-23 06:37:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-09-23 06:37:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-29c6ba52-3cdb-4023-964b-574cca9d305f</value><value>test</value><value>node-1413f0d2-baa8-4914-b2a5-412e4ccb8743</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-09-23 06:37:19 |
2022-09-23 06:37:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:37:19 | ------------------------------------ 2022-09-23 06:37:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1413f0d2-baa8-4914-b2a5-412e4ccb8743)</node-pattern></data> 2022-09-23 06:37:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.157s |
2022-09-23 06:37:17 |
2022-09-23 06:37:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:37:17 | ------------------------------------ 2022-09-23 06:37:17 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1413f0d2-baa8-4914-b2a5-412e4ccb8743</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-23 06:37:18 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.167s |
2022-09-23 06:37:19 |
2022-09-23 06:37:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:37:19 | ------------------------------------ 2022-09-23 06:37:19 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1413f0d2-baa8-4914-b2a5-412e4ccb8743</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-23 06:37:20 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |