Generated by TestNG with ReportNG at 22:50 PDT on Tuesday 19 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.464s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2022-07-19 23:05:38 |

2022-07-19 23:05:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:05:38 | ------------------------------------

2022-07-19 23:05:38 | [Mutex] waiting for: [configured:node:node-7b85eddb-53fe-4e45-befc-84cef1160524:node-b8b76bb6-0d29-4b4f-ae4e-2195c0d5176f]

2022-07-19 23:05:38 | [Mutex] received everything.

2022-07-19 23:05:38 | [Mutex] isItemNotified: configured:node:node-7b85eddb-53fe-4e45-befc-84cef1160524:node-b8b76bb6-0d29-4b4f-ae4e-2195c0d5176f :: true

2022-07-19 23:05:39 | [Mutex] waiting for: [received:nodes:6e4d00d1-c847-459f-b045-fe475b09c652:localhost]

2022-07-19 23:05:39 | [Mutex] received everything.

2022-07-19 23:05:39 | [Mutex] isItemNotified: received:node:6e4d00d1-c847-459f-b045-fe475b09c652:localhost:node-7b85eddb-53fe-4e45-befc-84cef1160524:Node 7b85eddb-53fe-4e45-befc-84cef1160524 :: true

2022-07-19 23:05:39 | [Mutex] waiting for: [received:nodes:d934a45d-4aa8-4786-859f-0a5d3a8a4856:localhost]

2022-07-19 23:05:39 | [Mutex] received everything.

2022-07-19 23:05:39 | [Mutex] isItemNotified: received:node:d934a45d-4aa8-4786-859f-0a5d3a8a4856:localhost:node-7b85eddb-53fe-4e45-befc-84cef1160524:Node 7b85eddb-53fe-4e45-befc-84cef1160524 :: false

createNodes 1.405s
2022-07-19 23:05:35 |

2022-07-19 23:05:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:05:35 | ------------------------------------

2022-07-19 23:05:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7b85eddb-53fe-4e45-befc-84cef1160524</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7b85eddb-53fe-4e45-befc-84cef1160524</title></pubsub></data>

2022-07-19 23:05:36 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-19 23:05:37 | [Mutex] waiting for: [received:nodes:aa113b07-401b-4092-abbb-4d21f1739dc4:localhost]

2022-07-19 23:05:37 | [Mutex] received everything.

2022-07-19 23:05:37 | [Mutex] isItemNotified: received:node:aa113b07-401b-4092-abbb-4d21f1739dc4:localhost:node-7b85eddb-53fe-4e45-befc-84cef1160524:Node 7b85eddb-53fe-4e45-befc-84cef1160524 :: true

createSubnodes 1.022s
2022-07-19 23:05:37 |

2022-07-19 23:05:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:05:37 | ------------------------------------

2022-07-19 23:05:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b8b76bb6-0d29-4b4f-ae4e-2195c0d5176f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b8b76bb6-0d29-4b4f-ae4e-2195c0d5176f</title></pubsub></data>

2022-07-19 23:05:37 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-19 23:05:38 | [Mutex] waiting for: [received:nodes:d3cbf03e-5b22-4b5d-8eff-db689fabfd13:localhost]

2022-07-19 23:05:38 | [Mutex] received everything.

2022-07-19 23:05:38 | [Mutex] isItemNotified: received:node:d3cbf03e-5b22-4b5d-8eff-db689fabfd13:localhost:node-b8b76bb6-0d29-4b4f-ae4e-2195c0d5176f:Node b8b76bb6-0d29-4b4f-ae4e-2195c0d5176f :: true

deleteNodes 1.015s
2022-07-19 23:05:43 |

2022-07-19 23:05:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:05:43 | ------------------------------------

2022-07-19 23:05:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b8b76bb6-0d29-4b4f-ae4e-2195c0d5176f</node></data>

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

2022-07-19 23:05:44 | [Mutex] waiting for: [received:nodes:d631e664-7d7f-4439-b75c-ad1e7d3d5833:localhost]

2022-07-19 23:05:44 | [Mutex] received everything.

2022-07-19 23:05:44 | [Mutex] isItemNotified: received:node:d631e664-7d7f-4439-b75c-ad1e7d3d5833:localhost:node-b8b76bb6-0d29-4b4f-ae4e-2195c0d5176f:Node b8b76bb6-0d29-4b4f-ae4e-2195c0d5176f :: false

deleteSubnodes 1.139s
2022-07-19 23:05:42 |

2022-07-19 23:05:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:05:42 | ------------------------------------

2022-07-19 23:05:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7b85eddb-53fe-4e45-befc-84cef1160524</node></data>

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

2022-07-19 23:05:43 | [Mutex] waiting for: [received:nodes:97403614-9558-46ff-b357-6bfbce725ba9:localhost]

2022-07-19 23:05:43 | [Mutex] waiting for: [received:nodes:97403614-9558-46ff-b357-6bfbce725ba9:localhost]

2022-07-19 23:05:43 | [Mutex] received everything.

2022-07-19 23:05:43 | [Mutex] isItemNotified: received:node:97403614-9558-46ff-b357-6bfbce725ba9:localhost:node-7b85eddb-53fe-4e45-befc-84cef1160524:Node 7b85eddb-53fe-4e45-befc-84cef1160524 :: false

2022-07-19 23:05:43 | [Mutex] waiting for: [received:nodes:456f1983-3db9-4615-967c-abac95bdeb93:localhost]

2022-07-19 23:05:43 | [Mutex] received everything.

2022-07-19 23:05:43 | [Mutex] isItemNotified: received:node:456f1983-3db9-4615-967c-abac95bdeb93:localhost:node-7b85eddb-53fe-4e45-befc-84cef1160524:Node 7b85eddb-53fe-4e45-befc-84cef1160524 :: false

publishItemsToNodes 0.209s
2022-07-19 23:05:40 |

2022-07-19 23:05:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:05:40 | ------------------------------------

2022-07-19 23:05:40 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7b85eddb-53fe-4e45-befc-84cef1160524</node><item-id>item-fa5e03ec-c0f7-4104-831c-9ba5b0584858</item-id><entry><test>item-fa5e03ec-c0f7-4104-831c-9ba5b0584858</test></entry></data>

2022-07-19 23:05:40 | 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-fa5e03ec-c0f7-4104-831c-9ba5b0584858</value></item-id></result>

2022-07-19 23:05:40 | [Mutex] waiting for: [published:item:notifieditem-fa5e03ec-c0f7-4104-831c-9ba5b0584858:admin@test-domain.com]

2022-07-19 23:05:40 | [Mutex] received everything.

2022-07-19 23:05:40 | [Mutex] isItemNotified: published:item:notifieditem-fa5e03ec-c0f7-4104-831c-9ba5b0584858:admin@test-domain.com :: true

retractItemsFromNodes 0.306s
2022-07-19 23:05:41 |

2022-07-19 23:05:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:05:41 | ------------------------------------

2022-07-19 23:05:41 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7b85eddb-53fe-4e45-befc-84cef1160524</node><item-id>item-fa5e03ec-c0f7-4104-831c-9ba5b0584858</item-id></data>

2022-07-19 23:05:41 | 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-fa5e03ec-c0f7-4104-831c-9ba5b0584858</value></item-id></result>

2022-07-19 23:05:41 | [Mutex] waiting for: [retracted:item:notifieditem-fa5e03ec-c0f7-4104-831c-9ba5b0584858:admin@test-domain.com]

2022-07-19 23:05:41 | [Mutex] received everything.

2022-07-19 23:05:41 | [Mutex] isItemNotified: retracted:item:notifieditem-fa5e03ec-c0f7-4104-831c-9ba5b0584858:admin@test-domain.com :: true

retrieveItemsFromNodes 0.244s
2022-07-19 23:05:40 |

2022-07-19 23:05:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:05:40 | ------------------------------------

2022-07-19 23:05:40 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7b85eddb-53fe-4e45-befc-84cef1160524</node><item-id>item-fa5e03ec-c0f7-4104-831c-9ba5b0584858</item-id></data>

2022-07-19 23:05:40 | 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-7b85eddb-53fe-4e45-befc-84cef1160524</value></node><item-id type="text-single" label="Item ID"><value>item-fa5e03ec-c0f7-4104-831c-9ba5b0584858</value></item-id><item type="text-multi" label="Item"><value><item id="item-fa5e03ec-c0f7-4104-831c-9ba5b0584858"><test>item-fa5e03ec-c0f7-4104-831c-9ba5b0584858</test></item></value></item></result>

2022-07-19 23:05:40 | [Mutex] notify: [retrieved:item:item-fa5e03ec-c0f7-4104-831c-9ba5b0584858:payload-matches:true:localhost]

2022-07-19 23:05:40 | [Mutex] received everything.

2022-07-19 23:05:40 | [Mutex] isItemNotified: retrieved:item:item-fa5e03ec-c0f7-4104-831c-9ba5b0584858:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-19 23:05:40 |

2022-07-19 23:05:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:05:40 | ------------------------------------

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

2022-07-19 23:05:40 | 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-7b85eddb-53fe-4e45-befc-84cef1160524</value><value>node-b8b76bb6-0d29-4b4f-ae4e-2195c0d5176f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-19 23:05:40 |

2022-07-19 23:05:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:05:40 | ------------------------------------

2022-07-19 23:05:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7b85eddb-53fe-4e45-befc-84cef1160524)</node-pattern></data>

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

subscribeNodes 1.155s
2022-07-19 23:05:39 |

2022-07-19 23:05:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:05:39 | ------------------------------------

2022-07-19 23:05:39 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7b85eddb-53fe-4e45-befc-84cef1160524</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-19 23:05:39 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.190s
2022-07-19 23:05:41 |

2022-07-19 23:05:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:05:41 | ------------------------------------

2022-07-19 23:05:41 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7b85eddb-53fe-4e45-befc-84cef1160524</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-19 23:05:41 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>