Test duration : 9.917s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.085s |
2020-09-02 22:47:22 |
2020-09-02 22:47:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:47:22 | ------------------------------------ 2020-09-02 22:47:22 | [Mutex] waiting for: [configured:node:node-1de2543e-97cc-4116-9269-2a62f925feda:node-6f9bfbc0-655c-4a35-a633-5ad8a8fa5d13] 2020-09-02 22:47:22 | [Mutex] received everything. 2020-09-02 22:47:22 | [Mutex] isItemNotified: configured:node:node-1de2543e-97cc-4116-9269-2a62f925feda:node-6f9bfbc0-655c-4a35-a633-5ad8a8fa5d13 :: true 2020-09-02 22:47:23 | [Mutex] waiting for: [received:nodes:577a2367-3947-4226-ba4b-1d12e0015c8a:localhost] 2020-09-02 22:47:23 | [Mutex] received everything. 2020-09-02 22:47:23 | [Mutex] isItemNotified: received:node:577a2367-3947-4226-ba4b-1d12e0015c8a:localhost:node-1de2543e-97cc-4116-9269-2a62f925feda:Node 1de2543e-97cc-4116-9269-2a62f925feda :: true 2020-09-02 22:47:23 | [Mutex] waiting for: [received:nodes:ed8727bd-bb73-4c90-b653-d92f2aa99e14:localhost] 2020-09-02 22:47:23 | [Mutex] received everything. 2020-09-02 22:47:23 | [Mutex] isItemNotified: received:node:ed8727bd-bb73-4c90-b653-d92f2aa99e14:localhost:node-1de2543e-97cc-4116-9269-2a62f925feda:Node 1de2543e-97cc-4116-9269-2a62f925feda :: false |
createNodes | 1.487s |
2020-09-02 22:47:19 |
2020-09-02 22:47:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:47:19 | ------------------------------------ 2020-09-02 22:47:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1de2543e-97cc-4116-9269-2a62f925feda</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1de2543e-97cc-4116-9269-2a62f925feda</title></pubsub></data> 2020-09-02 22:47:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 22:47:21 | [Mutex] waiting for: [received:nodes:27601b0c-df23-4882-a6b1-ad5bc2e212d1:localhost] 2020-09-02 22:47:21 | [Mutex] waiting for: [received:nodes:27601b0c-df23-4882-a6b1-ad5bc2e212d1:localhost] 2020-09-02 22:47:21 | [Mutex] received everything. 2020-09-02 22:47:21 | [Mutex] isItemNotified: received:node:27601b0c-df23-4882-a6b1-ad5bc2e212d1:localhost:node-1de2543e-97cc-4116-9269-2a62f925feda:Node 1de2543e-97cc-4116-9269-2a62f925feda :: true |
createSubnodes | 1.027s |
2020-09-02 22:47:21 |
2020-09-02 22:47:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:47:21 | ------------------------------------ 2020-09-02 22:47:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6f9bfbc0-655c-4a35-a633-5ad8a8fa5d13</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6f9bfbc0-655c-4a35-a633-5ad8a8fa5d13</title></pubsub></data> 2020-09-02 22:47:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 22:47:22 | [Mutex] waiting for: [received:nodes:03976fdc-7f45-495d-b512-89b279019d08:localhost] 2020-09-02 22:47:22 | [Mutex] waiting for: [received:nodes:03976fdc-7f45-495d-b512-89b279019d08:localhost] 2020-09-02 22:47:22 | [Mutex] received everything. 2020-09-02 22:47:22 | [Mutex] isItemNotified: received:node:03976fdc-7f45-495d-b512-89b279019d08:localhost:node-6f9bfbc0-655c-4a35-a633-5ad8a8fa5d13:Node 6f9bfbc0-655c-4a35-a633-5ad8a8fa5d13 :: true |
deleteNodes | 1.017s |
2020-09-02 22:47:27 |
2020-09-02 22:47:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:47:27 | ------------------------------------ 2020-09-02 22:47:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6f9bfbc0-655c-4a35-a633-5ad8a8fa5d13</node></data> 2020-09-02 22:47:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 22:47:28 | [Mutex] waiting for: [received:nodes:c93a6089-a7e9-41f2-8537-9554e1b12dcc:localhost] 2020-09-02 22:47:28 | [Mutex] received everything. 2020-09-02 22:47:28 | [Mutex] isItemNotified: received:node:c93a6089-a7e9-41f2-8537-9554e1b12dcc:localhost:node-6f9bfbc0-655c-4a35-a633-5ad8a8fa5d13:Node 6f9bfbc0-655c-4a35-a633-5ad8a8fa5d13 :: false |
deleteSubnodes | 1.102s |
2020-09-02 22:47:26 |
2020-09-02 22:47:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:47:26 | ------------------------------------ 2020-09-02 22:47:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1de2543e-97cc-4116-9269-2a62f925feda</node></data> 2020-09-02 22:47:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 22:47:27 | [Mutex] waiting for: [received:nodes:952207c0-e844-4b91-b12e-9a926e4df57b:localhost] 2020-09-02 22:47:27 | [Mutex] received everything. 2020-09-02 22:47:27 | [Mutex] isItemNotified: received:node:952207c0-e844-4b91-b12e-9a926e4df57b:localhost:node-1de2543e-97cc-4116-9269-2a62f925feda:Node 1de2543e-97cc-4116-9269-2a62f925feda :: false 2020-09-02 22:47:27 | [Mutex] waiting for: [received:nodes:9683bb64-7176-4d00-98d8-1d96113dc495:localhost] 2020-09-02 22:47:27 | [Mutex] received everything. 2020-09-02 22:47:27 | [Mutex] isItemNotified: received:node:9683bb64-7176-4d00-98d8-1d96113dc495:localhost:node-1de2543e-97cc-4116-9269-2a62f925feda:Node 1de2543e-97cc-4116-9269-2a62f925feda :: false |
publishItemsToNodes | 0.225s |
2020-09-02 22:47:24 |
2020-09-02 22:47:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:47:24 | ------------------------------------ 2020-09-02 22:47:24 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1de2543e-97cc-4116-9269-2a62f925feda</node><item-id>item-5366612e-b3d7-4e93-aac3-8fb59fc61256</item-id><entry><test>item-5366612e-b3d7-4e93-aac3-8fb59fc61256</test></entry></data> 2020-09-02 22:47:24 | 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-5366612e-b3d7-4e93-aac3-8fb59fc61256</value></item-id></result> 2020-09-02 22:47:24 | [Mutex] received everything. 2020-09-02 22:47:24 | [Mutex] isItemNotified: published:item:notifieditem-5366612e-b3d7-4e93-aac3-8fb59fc61256:admin@test-domain.com :: true |
retractItemsFromNodes | 0.299s |
2020-09-02 22:47:24 |
2020-09-02 22:47:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:47:24 | ------------------------------------ 2020-09-02 22:47:24 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1de2543e-97cc-4116-9269-2a62f925feda</node><item-id>item-5366612e-b3d7-4e93-aac3-8fb59fc61256</item-id></data> 2020-09-02 22:47:25 | 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-5366612e-b3d7-4e93-aac3-8fb59fc61256</value></item-id></result> 2020-09-02 22:47:25 | [Mutex] received everything. 2020-09-02 22:47:25 | [Mutex] isItemNotified: retracted:item:notifieditem-5366612e-b3d7-4e93-aac3-8fb59fc61256:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.269s |
2020-09-02 22:47:24 |
2020-09-02 22:47:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:47:24 | ------------------------------------ 2020-09-02 22:47:24 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1de2543e-97cc-4116-9269-2a62f925feda</node><item-id>item-5366612e-b3d7-4e93-aac3-8fb59fc61256</item-id></data> 2020-09-02 22:47:24 | 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-1de2543e-97cc-4116-9269-2a62f925feda</value></node><item-id label="Item ID" type="text-single"><value>item-5366612e-b3d7-4e93-aac3-8fb59fc61256</value></item-id><item label="Item" type="text-multi"><value><item id="item-5366612e-b3d7-4e93-aac3-8fb59fc61256"><test>item-5366612e-b3d7-4e93-aac3-8fb59fc61256</test></item></value></item></result> 2020-09-02 22:47:24 | [Mutex] notify: [retrieved:item:item-5366612e-b3d7-4e93-aac3-8fb59fc61256:payload-matches:true:localhost] 2020-09-02 22:47:24 | [Mutex] received everything. 2020-09-02 22:47:24 | [Mutex] isItemNotified: retrieved:item:item-5366612e-b3d7-4e93-aac3-8fb59fc61256:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-02 22:47:24 |
2020-09-02 22:47:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:47:24 | ------------------------------------ 2020-09-02 22:47:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-02 22:47:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-6f9bfbc0-655c-4a35-a633-5ad8a8fa5d13</value><value>node-1de2543e-97cc-4116-9269-2a62f925feda</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-09-02 22:47:24 |
2020-09-02 22:47:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:47:24 | ------------------------------------ 2020-09-02 22:47: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-1de2543e-97cc-4116-9269-2a62f925feda)</node-pattern></data> 2020-09-02 22:47:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.141s |
2020-09-02 22:47:23 |
2020-09-02 22:47:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:47:23 | ------------------------------------ 2020-09-02 22:47:23 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1de2543e-97cc-4116-9269-2a62f925feda</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-02 22:47:23 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.271s |
2020-09-02 22:47:25 |
2020-09-02 22:47:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 22:47:25 | ------------------------------------ 2020-09-02 22:47:25 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1de2543e-97cc-4116-9269-2a62f925feda</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-02 22:47:25 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |