Test duration : 9.498s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.108s |
2022-04-14 22:48:43 |
2022-04-14 22:48:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:48:43 | ------------------------------------ 2022-04-14 22:48:43 | [Mutex] waiting for: [configured:node:node-88d97943-37fd-48f2-9624-8dcd4e8092d4:node-6cb54482-6339-4002-87f7-65ae9c32ace7] 2022-04-14 22:48:43 | [Mutex] received everything. 2022-04-14 22:48:43 | [Mutex] isItemNotified: configured:node:node-88d97943-37fd-48f2-9624-8dcd4e8092d4:node-6cb54482-6339-4002-87f7-65ae9c32ace7 :: true 2022-04-14 22:48:44 | [Mutex] waiting for: [received:nodes:ce1529c3-74db-4f65-a982-bce769854f47:localhost] 2022-04-14 22:48:44 | [Mutex] received everything. 2022-04-14 22:48:44 | [Mutex] isItemNotified: received:node:ce1529c3-74db-4f65-a982-bce769854f47:localhost:node-88d97943-37fd-48f2-9624-8dcd4e8092d4:Node 88d97943-37fd-48f2-9624-8dcd4e8092d4 :: true 2022-04-14 22:48:44 | [Mutex] waiting for: [received:nodes:0e3ca7ab-72d5-4de7-a8a2-5e8058de7854:localhost] 2022-04-14 22:48:44 | [Mutex] waiting for: [received:nodes:0e3ca7ab-72d5-4de7-a8a2-5e8058de7854:localhost] 2022-04-14 22:48:44 | [Mutex] received everything. 2022-04-14 22:48:44 | [Mutex] isItemNotified: received:node:0e3ca7ab-72d5-4de7-a8a2-5e8058de7854:localhost:node-88d97943-37fd-48f2-9624-8dcd4e8092d4:Node 88d97943-37fd-48f2-9624-8dcd4e8092d4 :: false |
createNodes | 1.432s |
2022-04-14 22:48:40 |
2022-04-14 22:48:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:48:40 | ------------------------------------ 2022-04-14 22:48:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-88d97943-37fd-48f2-9624-8dcd4e8092d4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 88d97943-37fd-48f2-9624-8dcd4e8092d4</title></pubsub></data> 2022-04-14 22:48:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 22:48:42 | [Mutex] waiting for: [received:nodes:aa2d293b-03ac-4c6d-b6a0-41334e22cbd8:localhost] 2022-04-14 22:48:42 | [Mutex] received everything. 2022-04-14 22:48:42 | [Mutex] isItemNotified: received:node:aa2d293b-03ac-4c6d-b6a0-41334e22cbd8:localhost:node-88d97943-37fd-48f2-9624-8dcd4e8092d4:Node 88d97943-37fd-48f2-9624-8dcd4e8092d4 :: true |
createSubnodes | 1.038s |
2022-04-14 22:48:42 |
2022-04-14 22:48:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:48:42 | ------------------------------------ 2022-04-14 22:48:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6cb54482-6339-4002-87f7-65ae9c32ace7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6cb54482-6339-4002-87f7-65ae9c32ace7</title></pubsub></data> 2022-04-14 22:48:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 22:48:43 | [Mutex] waiting for: [received:nodes:56ff9db6-1fd8-4889-8944-424d865f2819:localhost] 2022-04-14 22:48:43 | [Mutex] received everything. 2022-04-14 22:48:43 | [Mutex] isItemNotified: received:node:56ff9db6-1fd8-4889-8944-424d865f2819:localhost:node-6cb54482-6339-4002-87f7-65ae9c32ace7:Node 6cb54482-6339-4002-87f7-65ae9c32ace7 :: true |
deleteNodes | 1.022s |
2022-04-14 22:48:48 |
2022-04-14 22:48:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:48:48 | ------------------------------------ 2022-04-14 22:48:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6cb54482-6339-4002-87f7-65ae9c32ace7</node></data> 2022-04-14 22:48:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 22:48:49 | [Mutex] waiting for: [received:nodes:8c37b535-abd0-4ef2-8305-73c8c94c8a13:localhost] 2022-04-14 22:48:49 | [Mutex] waiting for: [received:nodes:8c37b535-abd0-4ef2-8305-73c8c94c8a13:localhost] 2022-04-14 22:48:49 | [Mutex] received everything. 2022-04-14 22:48:49 | [Mutex] isItemNotified: received:node:8c37b535-abd0-4ef2-8305-73c8c94c8a13:localhost:node-6cb54482-6339-4002-87f7-65ae9c32ace7:Node 6cb54482-6339-4002-87f7-65ae9c32ace7 :: false |
deleteSubnodes | 1.122s |
2022-04-14 22:48:47 |
2022-04-14 22:48:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:48:47 | ------------------------------------ 2022-04-14 22:48:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-88d97943-37fd-48f2-9624-8dcd4e8092d4</node></data> 2022-04-14 22:48:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 22:48:48 | [Mutex] waiting for: [received:nodes:f21e1b0d-3e20-4b29-b6db-7d499c2bb926:localhost] 2022-04-14 22:48:48 | [Mutex] received everything. 2022-04-14 22:48:48 | [Mutex] isItemNotified: received:node:f21e1b0d-3e20-4b29-b6db-7d499c2bb926:localhost:node-88d97943-37fd-48f2-9624-8dcd4e8092d4:Node 88d97943-37fd-48f2-9624-8dcd4e8092d4 :: false 2022-04-14 22:48:48 | [Mutex] waiting for: [received:nodes:5c04e3d5-78ef-424f-b684-761b1948d377:localhost] 2022-04-14 22:48:48 | [Mutex] received everything. 2022-04-14 22:48:48 | [Mutex] isItemNotified: received:node:5c04e3d5-78ef-424f-b684-761b1948d377:localhost:node-88d97943-37fd-48f2-9624-8dcd4e8092d4:Node 88d97943-37fd-48f2-9624-8dcd4e8092d4 :: false |
publishItemsToNodes | 0.226s |
2022-04-14 22:48:45 |
2022-04-14 22:48:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:48:45 | ------------------------------------ 2022-04-14 22:48:45 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-88d97943-37fd-48f2-9624-8dcd4e8092d4</node><item-id>item-c9cbca83-d7c8-4bae-9a81-7697be3d5957</item-id><entry><test>item-c9cbca83-d7c8-4bae-9a81-7697be3d5957</test></entry></data> 2022-04-14 22:48:45 | 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-c9cbca83-d7c8-4bae-9a81-7697be3d5957</value></item-id></result> 2022-04-14 22:48:45 | [Mutex] waiting for: [published:item:notifieditem-c9cbca83-d7c8-4bae-9a81-7697be3d5957:admin@test-domain.com] 2022-04-14 22:48:45 | [Mutex] received everything. 2022-04-14 22:48:45 | [Mutex] isItemNotified: published:item:notifieditem-c9cbca83-d7c8-4bae-9a81-7697be3d5957:admin@test-domain.com :: true |
retractItemsFromNodes | 0.199s |
2022-04-14 22:48:46 |
2022-04-14 22:48:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:48:46 | ------------------------------------ 2022-04-14 22:48:46 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-88d97943-37fd-48f2-9624-8dcd4e8092d4</node><item-id>item-c9cbca83-d7c8-4bae-9a81-7697be3d5957</item-id></data> 2022-04-14 22:48:46 | 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-c9cbca83-d7c8-4bae-9a81-7697be3d5957</value></item-id></result> 2022-04-14 22:48:46 | [Mutex] received everything. 2022-04-14 22:48:46 | [Mutex] isItemNotified: retracted:item:notifieditem-c9cbca83-d7c8-4bae-9a81-7697be3d5957:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.146s |
2022-04-14 22:48:45 |
2022-04-14 22:48:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:48:45 | ------------------------------------ 2022-04-14 22:48:45 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-88d97943-37fd-48f2-9624-8dcd4e8092d4</node><item-id>item-c9cbca83-d7c8-4bae-9a81-7697be3d5957</item-id></data> 2022-04-14 22:48:45 | 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-88d97943-37fd-48f2-9624-8dcd4e8092d4</value></node><item-id type="text-single" label="Item ID"><value>item-c9cbca83-d7c8-4bae-9a81-7697be3d5957</value></item-id><item type="text-multi" label="Item"><value><item id="item-c9cbca83-d7c8-4bae-9a81-7697be3d5957"><test>item-c9cbca83-d7c8-4bae-9a81-7697be3d5957</test></item></value></item></result> 2022-04-14 22:48:45 | [Mutex] notify: [retrieved:item:item-c9cbca83-d7c8-4bae-9a81-7697be3d5957:payload-matches:true:localhost] 2022-04-14 22:48:45 | [Mutex] received everything. 2022-04-14 22:48:45 | [Mutex] isItemNotified: retrieved:item:item-c9cbca83-d7c8-4bae-9a81-7697be3d5957:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2022-04-14 22:48:45 |
2022-04-14 22:48:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:48:45 | ------------------------------------ 2022-04-14 22:48:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-04-14 22:48:46 | 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-6cb54482-6339-4002-87f7-65ae9c32ace7</value><value>node-88d97943-37fd-48f2-9624-8dcd4e8092d4</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-04-14 22:48:46 |
2022-04-14 22:48:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:48:46 | ------------------------------------ 2022-04-14 22:48:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-88d97943-37fd-48f2-9624-8dcd4e8092d4)</node-pattern></data> 2022-04-14 22:48:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.165s |
2022-04-14 22:48:44 |
2022-04-14 22:48:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:48:44 | ------------------------------------ 2022-04-14 22:48:44 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-88d97943-37fd-48f2-9624-8dcd4e8092d4</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-14 22:48:44 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.235s |
2022-04-14 22:48:46 |
2022-04-14 22:48:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 22:48:46 | ------------------------------------ 2022-04-14 22:48:46 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-88d97943-37fd-48f2-9624-8dcd4e8092d4</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-14 22:48:46 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |