Generated by TestNG with ReportNG at 22:18 PDT on Wednesday 27 July 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.564s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2022-07-27 22:32:17 |

2022-07-27 22:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 22:32:17 | ------------------------------------

2022-07-27 22:32:17 | [Mutex] waiting for: [configured:node:node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40:node-8f18d732-de03-4551-9793-556ff28812e7]

2022-07-27 22:32:17 | [Mutex] received everything.

2022-07-27 22:32:17 | [Mutex] isItemNotified: configured:node:node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40:node-8f18d732-de03-4551-9793-556ff28812e7 :: true

2022-07-27 22:32:18 | [Mutex] waiting for: [received:nodes:c1b26121-adbb-495e-8089-427401753f82:localhost]

2022-07-27 22:32:18 | [Mutex] received everything.

2022-07-27 22:32:18 | [Mutex] isItemNotified: received:node:c1b26121-adbb-495e-8089-427401753f82:localhost:node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40:Node 13fd113f-e3e2-4de5-a3f2-775bd55bdb40 :: true

2022-07-27 22:32:18 | [Mutex] waiting for: [received:nodes:5ada9c69-4239-4515-a4e7-d350100f9586:localhost]

2022-07-27 22:32:18 | [Mutex] received everything.

2022-07-27 22:32:18 | [Mutex] isItemNotified: received:node:5ada9c69-4239-4515-a4e7-d350100f9586:localhost:node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40:Node 13fd113f-e3e2-4de5-a3f2-775bd55bdb40 :: false

createNodes 1.429s
2022-07-27 22:32:14 |

2022-07-27 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 22:32:14 | ------------------------------------

2022-07-27 22:32:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 13fd113f-e3e2-4de5-a3f2-775bd55bdb40</title></pubsub></data>

2022-07-27 22:32:15 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-27 22:32:16 | [Mutex] waiting for: [received:nodes:3c5a1ed5-e244-4460-90b1-8e09725d803a:localhost]

2022-07-27 22:32:16 | [Mutex] waiting for: [received:nodes:3c5a1ed5-e244-4460-90b1-8e09725d803a:localhost]

2022-07-27 22:32:16 | [Mutex] received everything.

2022-07-27 22:32:16 | [Mutex] isItemNotified: received:node:3c5a1ed5-e244-4460-90b1-8e09725d803a:localhost:node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40:Node 13fd113f-e3e2-4de5-a3f2-775bd55bdb40 :: true

createSubnodes 1.026s
2022-07-27 22:32:16 |

2022-07-27 22:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 22:32:16 | ------------------------------------

2022-07-27 22:32:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8f18d732-de03-4551-9793-556ff28812e7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8f18d732-de03-4551-9793-556ff28812e7</title></pubsub></data>

2022-07-27 22:32:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-27 22:32:17 | [Mutex] waiting for: [received:nodes:6569e8ca-9803-4a67-ae8d-55d5f1476b61:localhost]

2022-07-27 22:32:17 | [Mutex] received everything.

2022-07-27 22:32:17 | [Mutex] isItemNotified: received:node:6569e8ca-9803-4a67-ae8d-55d5f1476b61:localhost:node-8f18d732-de03-4551-9793-556ff28812e7:Node 8f18d732-de03-4551-9793-556ff28812e7 :: true

deleteNodes 1.020s
2022-07-27 22:32:22 |

2022-07-27 22:32:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 22:32:22 | ------------------------------------

2022-07-27 22:32:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8f18d732-de03-4551-9793-556ff28812e7</node></data>

2022-07-27 22:32:22 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-27 22:32:23 | [Mutex] waiting for: [received:nodes:efa50b54-439c-4194-8a00-2c802ce9dabc:localhost]

2022-07-27 22:32:23 | [Mutex] received everything.

2022-07-27 22:32:23 | [Mutex] isItemNotified: received:node:efa50b54-439c-4194-8a00-2c802ce9dabc:localhost:node-8f18d732-de03-4551-9793-556ff28812e7:Node 8f18d732-de03-4551-9793-556ff28812e7 :: false

deleteSubnodes 1.113s
2022-07-27 22:32:21 |

2022-07-27 22:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 22:32:21 | ------------------------------------

2022-07-27 22:32:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40</node></data>

2022-07-27 22:32:21 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-27 22:32:22 | [Mutex] waiting for: [received:nodes:a6d0c94f-9849-4c87-9547-c7b39d0937f0:localhost]

2022-07-27 22:32:22 | [Mutex] waiting for: [received:nodes:a6d0c94f-9849-4c87-9547-c7b39d0937f0:localhost]

2022-07-27 22:32:22 | [Mutex] waiting for: [received:nodes:a6d0c94f-9849-4c87-9547-c7b39d0937f0:localhost]

2022-07-27 22:32:22 | [Mutex] received everything.

2022-07-27 22:32:22 | [Mutex] isItemNotified: received:node:a6d0c94f-9849-4c87-9547-c7b39d0937f0:localhost:node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40:Node 13fd113f-e3e2-4de5-a3f2-775bd55bdb40 :: false

2022-07-27 22:32:22 | [Mutex] waiting for: [received:nodes:2efd8f2c-7518-45b6-8134-57261c1cc561:localhost]

2022-07-27 22:32:22 | [Mutex] received everything.

2022-07-27 22:32:22 | [Mutex] isItemNotified: received:node:2efd8f2c-7518-45b6-8134-57261c1cc561:localhost:node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40:Node 13fd113f-e3e2-4de5-a3f2-775bd55bdb40 :: false

publishItemsToNodes 0.221s
2022-07-27 22:32:19 |

2022-07-27 22:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 22:32:19 | ------------------------------------

2022-07-27 22:32:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40</node><item-id>item-4b95d908-4c2f-4202-980d-a62b7fa70b07</item-id><entry><test>item-4b95d908-4c2f-4202-980d-a62b7fa70b07</test></entry></data>

2022-07-27 22:32:19 | 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-4b95d908-4c2f-4202-980d-a62b7fa70b07</value></item-id></result>

2022-07-27 22:32:19 | [Mutex] waiting for: [published:item:notifieditem-4b95d908-4c2f-4202-980d-a62b7fa70b07:admin@test-domain.com]

2022-07-27 22:32:19 | [Mutex] received everything.

2022-07-27 22:32:19 | [Mutex] isItemNotified: published:item:notifieditem-4b95d908-4c2f-4202-980d-a62b7fa70b07:admin@test-domain.com :: true

retractItemsFromNodes 0.219s
2022-07-27 22:32:19 |

2022-07-27 22:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 22:32:19 | ------------------------------------

2022-07-27 22:32:19 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40</node><item-id>item-4b95d908-4c2f-4202-980d-a62b7fa70b07</item-id></data>

2022-07-27 22:32:20 | 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-4b95d908-4c2f-4202-980d-a62b7fa70b07</value></item-id></result>

2022-07-27 22:32:20 | [Mutex] received everything.

2022-07-27 22:32:20 | [Mutex] isItemNotified: retracted:item:notifieditem-4b95d908-4c2f-4202-980d-a62b7fa70b07:admin@test-domain.com :: true

retrieveItemsFromNodes 0.311s
2022-07-27 22:32:19 |

2022-07-27 22:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 22:32:19 | ------------------------------------

2022-07-27 22:32:19 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40</node><item-id>item-4b95d908-4c2f-4202-980d-a62b7fa70b07</item-id></data>

2022-07-27 22:32:19 | 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-13fd113f-e3e2-4de5-a3f2-775bd55bdb40</value></node><item-id type="text-single" label="Item ID"><value>item-4b95d908-4c2f-4202-980d-a62b7fa70b07</value></item-id><item type="text-multi" label="Item"><value><item id="item-4b95d908-4c2f-4202-980d-a62b7fa70b07"><test>item-4b95d908-4c2f-4202-980d-a62b7fa70b07</test></item></value></item></result>

2022-07-27 22:32:19 | [Mutex] notify: [retrieved:item:item-4b95d908-4c2f-4202-980d-a62b7fa70b07:payload-matches:true:localhost]

2022-07-27 22:32:19 | [Mutex] received everything.

2022-07-27 22:32:19 | [Mutex] isItemNotified: retrieved:item:item-4b95d908-4c2f-4202-980d-a62b7fa70b07:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-27 22:32:19 |

2022-07-27 22:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 22:32:19 | ------------------------------------

2022-07-27 22:32:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-27 22:32:19 | 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-8f18d732-de03-4551-9793-556ff28812e7</value><value>node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.056s
2022-07-27 22:32:19 |

2022-07-27 22:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 22:32:19 | ------------------------------------

2022-07-27 22:32:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40)</node-pattern></data>

2022-07-27 22:32:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.103s
2022-07-27 22:32:18 |

2022-07-27 22:32:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 22:32:18 | ------------------------------------

2022-07-27 22:32:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-27 22:32:18 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.215s
2022-07-27 22:32:20 |

2022-07-27 22:32:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 22:32:20 | ------------------------------------

2022-07-27 22:32:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-13fd113f-e3e2-4de5-a3f2-775bd55bdb40</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-27 22:32:20 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>