Test duration : 9.620s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.089s |
2022-05-29 22:51:35 |
2022-05-29 22:51:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-29 22:51:35 | ------------------------------------ 2022-05-29 22:51:35 | [Mutex] waiting for: [configured:node:node-bcec8d9b-5a07-490b-806e-ec8d76868377:node-21aca342-aa7a-43ea-a09c-f9ef010589d8] 2022-05-29 22:51:35 | [Mutex] received everything. 2022-05-29 22:51:35 | [Mutex] isItemNotified: configured:node:node-bcec8d9b-5a07-490b-806e-ec8d76868377:node-21aca342-aa7a-43ea-a09c-f9ef010589d8 :: true 2022-05-29 22:51:36 | [Mutex] waiting for: [received:nodes:1fd80ed7-9114-47da-8c29-39930ee1d37f:localhost] 2022-05-29 22:51:36 | [Mutex] received everything. 2022-05-29 22:51:36 | [Mutex] isItemNotified: received:node:1fd80ed7-9114-47da-8c29-39930ee1d37f:localhost:node-bcec8d9b-5a07-490b-806e-ec8d76868377:Node bcec8d9b-5a07-490b-806e-ec8d76868377 :: true 2022-05-29 22:51:36 | [Mutex] waiting for: [received:nodes:74d85d35-d228-42fb-aa20-69dcd857d20f:localhost] 2022-05-29 22:51:36 | [Mutex] received everything. 2022-05-29 22:51:36 | [Mutex] isItemNotified: received:node:74d85d35-d228-42fb-aa20-69dcd857d20f:localhost:node-bcec8d9b-5a07-490b-806e-ec8d76868377:Node bcec8d9b-5a07-490b-806e-ec8d76868377 :: false |
createNodes | 1.434s |
2022-05-29 22:51:33 |
2022-05-29 22:51:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-29 22:51:33 | ------------------------------------ 2022-05-29 22:51:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bcec8d9b-5a07-490b-806e-ec8d76868377</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bcec8d9b-5a07-490b-806e-ec8d76868377</title></pubsub></data> 2022-05-29 22:51:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-29 22:51:34 | [Mutex] waiting for: [received:nodes:9ff6436b-0a90-436b-9a78-771abd106af3:localhost] 2022-05-29 22:51:34 | [Mutex] waiting for: [received:nodes:9ff6436b-0a90-436b-9a78-771abd106af3:localhost] 2022-05-29 22:51:34 | [Mutex] received everything. 2022-05-29 22:51:34 | [Mutex] isItemNotified: received:node:9ff6436b-0a90-436b-9a78-771abd106af3:localhost:node-bcec8d9b-5a07-490b-806e-ec8d76868377:Node bcec8d9b-5a07-490b-806e-ec8d76868377 :: true |
createSubnodes | 1.024s |
2022-05-29 22:51:34 |
2022-05-29 22:51:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-29 22:51:34 | ------------------------------------ 2022-05-29 22:51:34 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-21aca342-aa7a-43ea-a09c-f9ef010589d8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 21aca342-aa7a-43ea-a09c-f9ef010589d8</title></pubsub></data> 2022-05-29 22:51:34 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-29 22:51:35 | [Mutex] waiting for: [received:nodes:7a31990f-6c86-43fc-8f84-ba9e549a60a4:localhost] 2022-05-29 22:51:35 | [Mutex] received everything. 2022-05-29 22:51:35 | [Mutex] isItemNotified: received:node:7a31990f-6c86-43fc-8f84-ba9e549a60a4:localhost:node-21aca342-aa7a-43ea-a09c-f9ef010589d8:Node 21aca342-aa7a-43ea-a09c-f9ef010589d8 :: true |
deleteNodes | 1.016s |
2022-05-29 22:51:41 |
2022-05-29 22:51:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-29 22:51:41 | ------------------------------------ 2022-05-29 22:51:41 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-21aca342-aa7a-43ea-a09c-f9ef010589d8</node></data> 2022-05-29 22:51:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-29 22:51:42 | [Mutex] waiting for: [received:nodes:a007a0de-f608-4d22-9cf8-85e4ae06dec4:localhost] 2022-05-29 22:51:42 | [Mutex] received everything. 2022-05-29 22:51:42 | [Mutex] isItemNotified: received:node:a007a0de-f608-4d22-9cf8-85e4ae06dec4:localhost:node-21aca342-aa7a-43ea-a09c-f9ef010589d8:Node 21aca342-aa7a-43ea-a09c-f9ef010589d8 :: false |
deleteSubnodes | 1.121s |
2022-05-29 22:51:40 |
2022-05-29 22:51:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-29 22:51:40 | ------------------------------------ 2022-05-29 22:51:40 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bcec8d9b-5a07-490b-806e-ec8d76868377</node></data> 2022-05-29 22:51:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-29 22:51:41 | [Mutex] waiting for: [received:nodes:9d1d500d-9c8f-4de5-a881-4e4aa28e0ff8:localhost] 2022-05-29 22:51:41 | [Mutex] waiting for: [received:nodes:9d1d500d-9c8f-4de5-a881-4e4aa28e0ff8:localhost] 2022-05-29 22:51:41 | [Mutex] waiting for: [received:nodes:9d1d500d-9c8f-4de5-a881-4e4aa28e0ff8:localhost] 2022-05-29 22:51:41 | [Mutex] waiting for: [received:nodes:9d1d500d-9c8f-4de5-a881-4e4aa28e0ff8:localhost] 2022-05-29 22:51:41 | [Mutex] received everything. 2022-05-29 22:51:41 | [Mutex] isItemNotified: received:node:9d1d500d-9c8f-4de5-a881-4e4aa28e0ff8:localhost:node-bcec8d9b-5a07-490b-806e-ec8d76868377:Node bcec8d9b-5a07-490b-806e-ec8d76868377 :: false 2022-05-29 22:51:41 | [Mutex] waiting for: [received:nodes:df8c6e8c-9209-4a71-ad1c-21946d5dbd26:localhost] 2022-05-29 22:51:41 | [Mutex] received everything. 2022-05-29 22:51:41 | [Mutex] isItemNotified: received:node:df8c6e8c-9209-4a71-ad1c-21946d5dbd26:localhost:node-bcec8d9b-5a07-490b-806e-ec8d76868377:Node bcec8d9b-5a07-490b-806e-ec8d76868377 :: false |
publishItemsToNodes | 0.253s |
2022-05-29 22:51:38 |
2022-05-29 22:51:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-29 22:51:38 | ------------------------------------ 2022-05-29 22:51:38 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-bcec8d9b-5a07-490b-806e-ec8d76868377</node><item-id>item-cbcb0aa8-9cc3-4ae2-a895-2abdaedcfd97</item-id><entry><test>item-cbcb0aa8-9cc3-4ae2-a895-2abdaedcfd97</test></entry></data> 2022-05-29 22:51:38 | 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-cbcb0aa8-9cc3-4ae2-a895-2abdaedcfd97</value></item-id></result> 2022-05-29 22:51:38 | [Mutex] waiting for: [published:item:notifieditem-cbcb0aa8-9cc3-4ae2-a895-2abdaedcfd97:admin@test-domain.com] 2022-05-29 22:51:38 | [Mutex] received everything. 2022-05-29 22:51:38 | [Mutex] isItemNotified: published:item:notifieditem-cbcb0aa8-9cc3-4ae2-a895-2abdaedcfd97:admin@test-domain.com :: true |
retractItemsFromNodes | 0.261s |
2022-05-29 22:51:38 |
2022-05-29 22:51:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-29 22:51:38 | ------------------------------------ 2022-05-29 22:51:38 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-bcec8d9b-5a07-490b-806e-ec8d76868377</node><item-id>item-cbcb0aa8-9cc3-4ae2-a895-2abdaedcfd97</item-id></data> 2022-05-29 22:51:38 | 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-cbcb0aa8-9cc3-4ae2-a895-2abdaedcfd97</value></item-id></result> 2022-05-29 22:51:38 | [Mutex] waiting for: [retracted:item:notifieditem-cbcb0aa8-9cc3-4ae2-a895-2abdaedcfd97:admin@test-domain.com] 2022-05-29 22:51:38 | [Mutex] received everything. 2022-05-29 22:51:38 | [Mutex] isItemNotified: retracted:item:notifieditem-cbcb0aa8-9cc3-4ae2-a895-2abdaedcfd97:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.242s |
2022-05-29 22:51:38 |
2022-05-29 22:51:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-29 22:51:38 | ------------------------------------ 2022-05-29 22:51:38 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-bcec8d9b-5a07-490b-806e-ec8d76868377</node><item-id>item-cbcb0aa8-9cc3-4ae2-a895-2abdaedcfd97</item-id></data> 2022-05-29 22:51:38 | 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-bcec8d9b-5a07-490b-806e-ec8d76868377</value></node><item-id label="Item ID" type="text-single"><value>item-cbcb0aa8-9cc3-4ae2-a895-2abdaedcfd97</value></item-id><item label="Item" type="text-multi"><value><item id="item-cbcb0aa8-9cc3-4ae2-a895-2abdaedcfd97"><test>item-cbcb0aa8-9cc3-4ae2-a895-2abdaedcfd97</test></item></value></item></result> 2022-05-29 22:51:38 | [Mutex] notify: [retrieved:item:item-cbcb0aa8-9cc3-4ae2-a895-2abdaedcfd97:payload-matches:true:localhost] 2022-05-29 22:51:38 | [Mutex] received everything. 2022-05-29 22:51:38 | [Mutex] isItemNotified: retrieved:item:item-cbcb0aa8-9cc3-4ae2-a895-2abdaedcfd97:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2022-05-29 22:51:38 |
2022-05-29 22:51:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-29 22:51:38 | ------------------------------------ 2022-05-29 22:51:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-29 22:51:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-bcec8d9b-5a07-490b-806e-ec8d76868377</value><value>node-21aca342-aa7a-43ea-a09c-f9ef010589d8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-05-29 22:51:38 |
2022-05-29 22:51:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-29 22:51:38 | ------------------------------------ 2022-05-29 22:51:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bcec8d9b-5a07-490b-806e-ec8d76868377)</node-pattern></data> 2022-05-29 22:51:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.160s |
2022-05-29 22:51:36 |
2022-05-29 22:51:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-29 22:51:36 | ------------------------------------ 2022-05-29 22:51:36 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-bcec8d9b-5a07-490b-806e-ec8d76868377</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-29 22:51:37 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.238s |
2022-05-29 22:51:38 |
2022-05-29 22:51:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-29 22:51:38 | ------------------------------------ 2022-05-29 22:51:38 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-bcec8d9b-5a07-490b-806e-ec8d76868377</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-29 22:51:39 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |