Test duration : 9.597s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2023-02-15 21:30:28 |
2023-02-15 21:30:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 21:30:28 | ------------------------------------ 2023-02-15 21:30:28 | [Mutex] waiting for: [configured:node:node-89765b3a-99c0-4af2-b882-368bcce9ac22:node-81be5de1-fad3-43ae-acf1-2f7c23478cfb] 2023-02-15 21:30:28 | [Mutex] received everything. 2023-02-15 21:30:28 | [Mutex] isItemNotified: configured:node:node-89765b3a-99c0-4af2-b882-368bcce9ac22:node-81be5de1-fad3-43ae-acf1-2f7c23478cfb :: true 2023-02-15 21:30:29 | [Mutex] waiting for: [received:nodes:5c9053aa-0fff-490b-82a3-b35e5c8d8c05:localhost] 2023-02-15 21:30:29 | [Mutex] received everything. 2023-02-15 21:30:29 | [Mutex] isItemNotified: received:node:5c9053aa-0fff-490b-82a3-b35e5c8d8c05:localhost:node-89765b3a-99c0-4af2-b882-368bcce9ac22:Node 89765b3a-99c0-4af2-b882-368bcce9ac22 :: true 2023-02-15 21:30:29 | [Mutex] waiting for: [received:nodes:21381a03-9b52-406b-ac51-ed9baa4fbdeb:localhost] 2023-02-15 21:30:29 | [Mutex] waiting for: [received:nodes:21381a03-9b52-406b-ac51-ed9baa4fbdeb:localhost] 2023-02-15 21:30:29 | [Mutex] waiting for: [received:nodes:21381a03-9b52-406b-ac51-ed9baa4fbdeb:localhost] 2023-02-15 21:30:29 | [Mutex] waiting for: [received:nodes:21381a03-9b52-406b-ac51-ed9baa4fbdeb:localhost] 2023-02-15 21:30:29 | [Mutex] received everything. 2023-02-15 21:30:29 | [Mutex] isItemNotified: received:node:21381a03-9b52-406b-ac51-ed9baa4fbdeb:localhost:node-89765b3a-99c0-4af2-b882-368bcce9ac22:Node 89765b3a-99c0-4af2-b882-368bcce9ac22 :: false |
createNodes | 1.515s |
2023-02-15 21:30:25 |
2023-02-15 21:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 21:30:25 | ------------------------------------ 2023-02-15 21:30:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-89765b3a-99c0-4af2-b882-368bcce9ac22</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 89765b3a-99c0-4af2-b882-368bcce9ac22</title></pubsub></data> 2023-02-15 21:30:26 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-15 21:30:27 | [Mutex] waiting for: [received:nodes:9a8f8fd4-4160-4e7e-b06d-69c3281e33da:localhost] 2023-02-15 21:30:27 | [Mutex] waiting for: [received:nodes:9a8f8fd4-4160-4e7e-b06d-69c3281e33da:localhost] 2023-02-15 21:30:27 | [Mutex] waiting for: [received:nodes:9a8f8fd4-4160-4e7e-b06d-69c3281e33da:localhost] 2023-02-15 21:30:27 | [Mutex] received everything. 2023-02-15 21:30:27 | [Mutex] isItemNotified: received:node:9a8f8fd4-4160-4e7e-b06d-69c3281e33da:localhost:node-89765b3a-99c0-4af2-b882-368bcce9ac22:Node 89765b3a-99c0-4af2-b882-368bcce9ac22 :: true |
createSubnodes | 1.027s |
2023-02-15 21:30:27 |
2023-02-15 21:30:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 21:30:27 | ------------------------------------ 2023-02-15 21:30:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-81be5de1-fad3-43ae-acf1-2f7c23478cfb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 81be5de1-fad3-43ae-acf1-2f7c23478cfb</title></pubsub></data> 2023-02-15 21:30:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-15 21:30:28 | [Mutex] waiting for: [received:nodes:179a37ff-503a-4a02-b307-afa94c0e59eb:localhost] 2023-02-15 21:30:28 | [Mutex] received everything. 2023-02-15 21:30:28 | [Mutex] isItemNotified: received:node:179a37ff-503a-4a02-b307-afa94c0e59eb:localhost:node-81be5de1-fad3-43ae-acf1-2f7c23478cfb:Node 81be5de1-fad3-43ae-acf1-2f7c23478cfb :: true |
deleteNodes | 1.021s |
2023-02-15 21:30:33 |
2023-02-15 21:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 21:30:33 | ------------------------------------ 2023-02-15 21:30:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-81be5de1-fad3-43ae-acf1-2f7c23478cfb</node></data> 2023-02-15 21:30:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-15 21:30:34 | [Mutex] waiting for: [received:nodes:417de623-fb02-4d04-a7d0-cc999ba294c1:localhost] 2023-02-15 21:30:34 | [Mutex] waiting for: [received:nodes:417de623-fb02-4d04-a7d0-cc999ba294c1:localhost] 2023-02-15 21:30:34 | [Mutex] waiting for: [received:nodes:417de623-fb02-4d04-a7d0-cc999ba294c1:localhost] 2023-02-15 21:30:34 | [Mutex] received everything. 2023-02-15 21:30:34 | [Mutex] isItemNotified: received:node:417de623-fb02-4d04-a7d0-cc999ba294c1:localhost:node-81be5de1-fad3-43ae-acf1-2f7c23478cfb:Node 81be5de1-fad3-43ae-acf1-2f7c23478cfb :: false |
deleteSubnodes | 1.143s |
2023-02-15 21:30:32 |
2023-02-15 21:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 21:30:32 | ------------------------------------ 2023-02-15 21:30:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-89765b3a-99c0-4af2-b882-368bcce9ac22</node></data> 2023-02-15 21:30:32 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-15 21:30:33 | [Mutex] waiting for: [received:nodes:5287e0e5-4354-40cc-9fe8-28e2cc312a80:localhost] 2023-02-15 21:30:33 | [Mutex] waiting for: [received:nodes:5287e0e5-4354-40cc-9fe8-28e2cc312a80:localhost] 2023-02-15 21:30:33 | [Mutex] received everything. 2023-02-15 21:30:33 | [Mutex] isItemNotified: received:node:5287e0e5-4354-40cc-9fe8-28e2cc312a80:localhost:node-89765b3a-99c0-4af2-b882-368bcce9ac22:Node 89765b3a-99c0-4af2-b882-368bcce9ac22 :: false 2023-02-15 21:30:33 | [Mutex] waiting for: [received:nodes:d606a00b-fbdf-4fdf-a309-5ee86d74c12d:localhost] 2023-02-15 21:30:33 | [Mutex] received everything. 2023-02-15 21:30:33 | [Mutex] isItemNotified: received:node:d606a00b-fbdf-4fdf-a309-5ee86d74c12d:localhost:node-89765b3a-99c0-4af2-b882-368bcce9ac22:Node 89765b3a-99c0-4af2-b882-368bcce9ac22 :: false |
publishItemsToNodes | 0.206s |
2023-02-15 21:30:30 |
2023-02-15 21:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 21:30:30 | ------------------------------------ 2023-02-15 21:30:30 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-89765b3a-99c0-4af2-b882-368bcce9ac22</node><item-id>item-894bc135-033e-4bdc-8fb1-79956f2115b9</item-id><entry><test>item-894bc135-033e-4bdc-8fb1-79956f2115b9</test></entry></data> 2023-02-15 21:30:30 | 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-894bc135-033e-4bdc-8fb1-79956f2115b9</value></item-id></result> 2023-02-15 21:30:30 | [Mutex] waiting for: [published:item:notifieditem-894bc135-033e-4bdc-8fb1-79956f2115b9:admin@test-domain.com] 2023-02-15 21:30:30 | [Mutex] received everything. 2023-02-15 21:30:30 | [Mutex] isItemNotified: published:item:notifieditem-894bc135-033e-4bdc-8fb1-79956f2115b9:admin@test-domain.com :: true |
retractItemsFromNodes | 0.303s |
2023-02-15 21:30:30 |
2023-02-15 21:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 21:30:30 | ------------------------------------ 2023-02-15 21:30:30 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-89765b3a-99c0-4af2-b882-368bcce9ac22</node><item-id>item-894bc135-033e-4bdc-8fb1-79956f2115b9</item-id></data> 2023-02-15 21:30:31 | 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-894bc135-033e-4bdc-8fb1-79956f2115b9</value></item-id></result> 2023-02-15 21:30:31 | [Mutex] received everything. 2023-02-15 21:30:31 | [Mutex] isItemNotified: retracted:item:notifieditem-894bc135-033e-4bdc-8fb1-79956f2115b9:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.217s |
2023-02-15 21:30:30 |
2023-02-15 21:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 21:30:30 | ------------------------------------ 2023-02-15 21:30:30 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-89765b3a-99c0-4af2-b882-368bcce9ac22</node><item-id>item-894bc135-033e-4bdc-8fb1-79956f2115b9</item-id></data> 2023-02-15 21:30:30 | 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-89765b3a-99c0-4af2-b882-368bcce9ac22</value></node><item-id label="Item ID" type="text-single"><value>item-894bc135-033e-4bdc-8fb1-79956f2115b9</value></item-id><item label="Item" type="text-multi"><value><item id="item-894bc135-033e-4bdc-8fb1-79956f2115b9"><test>item-894bc135-033e-4bdc-8fb1-79956f2115b9</test></item></value></item></result> 2023-02-15 21:30:30 | [Mutex] notify: [retrieved:item:item-894bc135-033e-4bdc-8fb1-79956f2115b9:payload-matches:true:localhost] 2023-02-15 21:30:30 | [Mutex] received everything. 2023-02-15 21:30:30 | [Mutex] isItemNotified: retrieved:item:item-894bc135-033e-4bdc-8fb1-79956f2115b9:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-02-15 21:30:30 |
2023-02-15 21:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 21:30:30 | ------------------------------------ 2023-02-15 21:30:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-02-15 21:30:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-89765b3a-99c0-4af2-b882-368bcce9ac22</value><value>test</value><value>node-81be5de1-fad3-43ae-acf1-2f7c23478cfb</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2023-02-15 21:30:30 |
2023-02-15 21:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 21:30:30 | ------------------------------------ 2023-02-15 21:30:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-89765b3a-99c0-4af2-b882-368bcce9ac22)</node-pattern></data> 2023-02-15 21:30:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.115s |
2023-02-15 21:30:29 |
2023-02-15 21:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 21:30:29 | ------------------------------------ 2023-02-15 21:30:29 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-89765b3a-99c0-4af2-b882-368bcce9ac22</node><jids><value>admin@test-domain.com</value></jids></data> 2023-02-15 21:30:29 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.187s |
2023-02-15 21:30:31 |
2023-02-15 21:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 21:30:31 | ------------------------------------ 2023-02-15 21:30:31 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-89765b3a-99c0-4af2-b882-368bcce9ac22</node><jids><value>admin@test-domain.com</value></jids></data> 2023-02-15 21:30:31 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |