Test duration : 9.579s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.094s |
2022-05-26 23:15:21 |
2022-05-26 23:15:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 23:15:21 | ------------------------------------ 2022-05-26 23:15:21 | [Mutex] waiting for: [configured:node:node-5a294131-293a-46dd-9427-486c021e0bd0:node-44cc14f4-44ea-4758-923a-bef15ad89a4f] 2022-05-26 23:15:21 | [Mutex] received everything. 2022-05-26 23:15:21 | [Mutex] isItemNotified: configured:node:node-5a294131-293a-46dd-9427-486c021e0bd0:node-44cc14f4-44ea-4758-923a-bef15ad89a4f :: true 2022-05-26 23:15:22 | [Mutex] waiting for: [received:nodes:d0adb21a-d425-4f65-9d9d-83979eccfe47:localhost] 2022-05-26 23:15:22 | [Mutex] received everything. 2022-05-26 23:15:22 | [Mutex] isItemNotified: received:node:d0adb21a-d425-4f65-9d9d-83979eccfe47:localhost:node-5a294131-293a-46dd-9427-486c021e0bd0:Node 5a294131-293a-46dd-9427-486c021e0bd0 :: true 2022-05-26 23:15:22 | [Mutex] waiting for: [received:nodes:4e25af87-c0a4-42fa-bea7-9dc62f2c10f4:localhost] 2022-05-26 23:15:22 | [Mutex] received everything. 2022-05-26 23:15:22 | [Mutex] isItemNotified: received:node:4e25af87-c0a4-42fa-bea7-9dc62f2c10f4:localhost:node-5a294131-293a-46dd-9427-486c021e0bd0:Node 5a294131-293a-46dd-9427-486c021e0bd0 :: false |
createNodes | 1.466s |
2022-05-26 23:15:19 |
2022-05-26 23:15:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 23:15:19 | ------------------------------------ 2022-05-26 23:15:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5a294131-293a-46dd-9427-486c021e0bd0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5a294131-293a-46dd-9427-486c021e0bd0</title></pubsub></data> 2022-05-26 23:15:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-26 23:15:20 | [Mutex] waiting for: [received:nodes:709f54dc-2fb2-4062-af99-ed1ae063f21c:localhost] 2022-05-26 23:15:20 | [Mutex] received everything. 2022-05-26 23:15:20 | [Mutex] isItemNotified: received:node:709f54dc-2fb2-4062-af99-ed1ae063f21c:localhost:node-5a294131-293a-46dd-9427-486c021e0bd0:Node 5a294131-293a-46dd-9427-486c021e0bd0 :: true |
createSubnodes | 1.020s |
2022-05-26 23:15:20 |
2022-05-26 23:15:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 23:15:20 | ------------------------------------ 2022-05-26 23:15:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-44cc14f4-44ea-4758-923a-bef15ad89a4f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 44cc14f4-44ea-4758-923a-bef15ad89a4f</title></pubsub></data> 2022-05-26 23:15:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-26 23:15:21 | [Mutex] waiting for: [received:nodes:e268a7c4-b701-4d58-81e1-5ec687b86dc3:localhost] 2022-05-26 23:15:21 | [Mutex] received everything. 2022-05-26 23:15:21 | [Mutex] isItemNotified: received:node:e268a7c4-b701-4d58-81e1-5ec687b86dc3:localhost:node-44cc14f4-44ea-4758-923a-bef15ad89a4f:Node 44cc14f4-44ea-4758-923a-bef15ad89a4f :: true |
deleteNodes | 1.025s |
2022-05-26 23:15:27 |
2022-05-26 23:15:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 23:15:27 | ------------------------------------ 2022-05-26 23:15:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-44cc14f4-44ea-4758-923a-bef15ad89a4f</node></data> 2022-05-26 23:15:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-26 23:15:28 | [Mutex] waiting for: [received:nodes:168045a1-4e91-41f2-9f7c-fa2745c358af:localhost] 2022-05-26 23:15:28 | [Mutex] waiting for: [received:nodes:168045a1-4e91-41f2-9f7c-fa2745c358af:localhost] 2022-05-26 23:15:28 | [Mutex] received everything. 2022-05-26 23:15:28 | [Mutex] isItemNotified: received:node:168045a1-4e91-41f2-9f7c-fa2745c358af:localhost:node-44cc14f4-44ea-4758-923a-bef15ad89a4f:Node 44cc14f4-44ea-4758-923a-bef15ad89a4f :: false |
deleteSubnodes | 1.222s |
2022-05-26 23:15:25 |
2022-05-26 23:15:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 23:15:25 | ------------------------------------ 2022-05-26 23:15:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5a294131-293a-46dd-9427-486c021e0bd0</node></data> 2022-05-26 23:15:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-26 23:15:27 | [Mutex] waiting for: [received:nodes:fc90413a-60fe-41f7-8bf2-1cc73178bfef:localhost] 2022-05-26 23:15:27 | [Mutex] waiting for: [received:nodes:fc90413a-60fe-41f7-8bf2-1cc73178bfef:localhost] 2022-05-26 23:15:27 | [Mutex] received everything. 2022-05-26 23:15:27 | [Mutex] isItemNotified: received:node:fc90413a-60fe-41f7-8bf2-1cc73178bfef:localhost:node-5a294131-293a-46dd-9427-486c021e0bd0:Node 5a294131-293a-46dd-9427-486c021e0bd0 :: false 2022-05-26 23:15:27 | [Mutex] waiting for: [received:nodes:ff1eb60d-c76c-44b6-9668-b2f3cb8779e6:localhost] 2022-05-26 23:15:27 | [Mutex] received everything. 2022-05-26 23:15:27 | [Mutex] isItemNotified: received:node:ff1eb60d-c76c-44b6-9668-b2f3cb8779e6:localhost:node-5a294131-293a-46dd-9427-486c021e0bd0:Node 5a294131-293a-46dd-9427-486c021e0bd0 :: false |
publishItemsToNodes | 0.257s |
2022-05-26 23:15:23 |
2022-05-26 23:15:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 23:15:23 | ------------------------------------ 2022-05-26 23:15:23 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5a294131-293a-46dd-9427-486c021e0bd0</node><item-id>item-9047b20b-860d-446a-8e51-48d1f2d2f6e7</item-id><entry><test>item-9047b20b-860d-446a-8e51-48d1f2d2f6e7</test></entry></data> 2022-05-26 23:15:24 | 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-9047b20b-860d-446a-8e51-48d1f2d2f6e7</value></item-id></result> 2022-05-26 23:15:24 | [Mutex] received everything. 2022-05-26 23:15:24 | [Mutex] isItemNotified: published:item:notifieditem-9047b20b-860d-446a-8e51-48d1f2d2f6e7:admin@test-domain.com :: true |
retractItemsFromNodes | 0.243s |
2022-05-26 23:15:24 |
2022-05-26 23:15:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 23:15:24 | ------------------------------------ 2022-05-26 23:15:24 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5a294131-293a-46dd-9427-486c021e0bd0</node><item-id>item-9047b20b-860d-446a-8e51-48d1f2d2f6e7</item-id></data> 2022-05-26 23:15:24 | 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-9047b20b-860d-446a-8e51-48d1f2d2f6e7</value></item-id></result> 2022-05-26 23:15:24 | [Mutex] received everything. 2022-05-26 23:15:24 | [Mutex] isItemNotified: retracted:item:notifieditem-9047b20b-860d-446a-8e51-48d1f2d2f6e7:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.239s |
2022-05-26 23:15:24 |
2022-05-26 23:15:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 23:15:24 | ------------------------------------ 2022-05-26 23:15:24 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5a294131-293a-46dd-9427-486c021e0bd0</node><item-id>item-9047b20b-860d-446a-8e51-48d1f2d2f6e7</item-id></data> 2022-05-26 23:15:24 | 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-5a294131-293a-46dd-9427-486c021e0bd0</value></node><item-id type="text-single" label="Item ID"><value>item-9047b20b-860d-446a-8e51-48d1f2d2f6e7</value></item-id><item type="text-multi" label="Item"><value><item id="item-9047b20b-860d-446a-8e51-48d1f2d2f6e7"><test>item-9047b20b-860d-446a-8e51-48d1f2d2f6e7</test></item></value></item></result> 2022-05-26 23:15:24 | [Mutex] notify: [retrieved:item:item-9047b20b-860d-446a-8e51-48d1f2d2f6e7:payload-matches:true:localhost] 2022-05-26 23:15:24 | [Mutex] received everything. 2022-05-26 23:15:24 | [Mutex] isItemNotified: retrieved:item:item-9047b20b-860d-446a-8e51-48d1f2d2f6e7:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2022-05-26 23:15:24 |
2022-05-26 23:15:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 23:15:24 | ------------------------------------ 2022-05-26 23:15:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-26 23:15:24 | 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-44cc14f4-44ea-4758-923a-bef15ad89a4f</value><value>node-5a294131-293a-46dd-9427-486c021e0bd0</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-05-26 23:15:24 |
2022-05-26 23:15:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 23:15:24 | ------------------------------------ 2022-05-26 23:15:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5a294131-293a-46dd-9427-486c021e0bd0)</node-pattern></data> 2022-05-26 23:15:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.118s |
2022-05-26 23:15:22 |
2022-05-26 23:15:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 23:15:22 | ------------------------------------ 2022-05-26 23:15:22 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5a294131-293a-46dd-9427-486c021e0bd0</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-26 23:15:22 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.211s |
2022-05-26 23:15:24 |
2022-05-26 23:15:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-26 23:15:24 | ------------------------------------ 2022-05-26 23:15:24 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5a294131-293a-46dd-9427-486c021e0bd0</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-26 23:15:24 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |