Generated by TestNG with ReportNG at 09:05 PST on Tuesday 21 December 2021
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 10.222s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.146s
2021-12-21 09:20:11 |

2021-12-21 09:20:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-21 09:20:11 | ------------------------------------

2021-12-21 09:20:11 | [Mutex] waiting for: [configured:node:node-446c8147-77f2-476f-9bfc-154c435b721c:node-83527e49-6cab-43a8-9c16-7c84b4822a5c]

2021-12-21 09:20:12 | [Mutex] received everything.

2021-12-21 09:20:12 | [Mutex] isItemNotified: configured:node:node-446c8147-77f2-476f-9bfc-154c435b721c:node-83527e49-6cab-43a8-9c16-7c84b4822a5c :: true

2021-12-21 09:20:13 | [Mutex] waiting for: [received:nodes:85d1b1b4-9737-46c2-aaff-3e6830811c1c:localhost]

2021-12-21 09:20:13 | [Mutex] received everything.

2021-12-21 09:20:13 | [Mutex] isItemNotified: received:node:85d1b1b4-9737-46c2-aaff-3e6830811c1c:localhost:node-446c8147-77f2-476f-9bfc-154c435b721c:Node 446c8147-77f2-476f-9bfc-154c435b721c :: true

2021-12-21 09:20:13 | [Mutex] waiting for: [received:nodes:79bb7f40-b95a-4864-857e-f3b6d5956231:localhost]

2021-12-21 09:20:13 | [Mutex] received everything.

2021-12-21 09:20:13 | [Mutex] isItemNotified: received:node:79bb7f40-b95a-4864-857e-f3b6d5956231:localhost:node-446c8147-77f2-476f-9bfc-154c435b721c:Node 446c8147-77f2-476f-9bfc-154c435b721c :: false

createNodes 1.534s
2021-12-21 09:20:09 |

2021-12-21 09:20:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-21 09:20:09 | ------------------------------------

2021-12-21 09:20:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-446c8147-77f2-476f-9bfc-154c435b721c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 446c8147-77f2-476f-9bfc-154c435b721c</title></pubsub></data>

2021-12-21 09:20:09 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-21 09:20:10 | [Mutex] waiting for: [received:nodes:e5387f60-ca93-4e45-900d-db5ca8f84880:localhost]

2021-12-21 09:20:10 | [Mutex] received everything.

2021-12-21 09:20:10 | [Mutex] isItemNotified: received:node:e5387f60-ca93-4e45-900d-db5ca8f84880:localhost:node-446c8147-77f2-476f-9bfc-154c435b721c:Node 446c8147-77f2-476f-9bfc-154c435b721c :: true

createSubnodes 1.029s
2021-12-21 09:20:10 |

2021-12-21 09:20:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-21 09:20:10 | ------------------------------------

2021-12-21 09:20:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-83527e49-6cab-43a8-9c16-7c84b4822a5c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 83527e49-6cab-43a8-9c16-7c84b4822a5c</title></pubsub></data>

2021-12-21 09:20:10 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-21 09:20:11 | [Mutex] waiting for: [received:nodes:6a538085-f2bc-4bf8-a4dc-06eec3aad728:localhost]

2021-12-21 09:20:11 | [Mutex] received everything.

2021-12-21 09:20:11 | [Mutex] isItemNotified: received:node:6a538085-f2bc-4bf8-a4dc-06eec3aad728:localhost:node-83527e49-6cab-43a8-9c16-7c84b4822a5c:Node 83527e49-6cab-43a8-9c16-7c84b4822a5c :: true

deleteNodes 1.022s
2021-12-21 09:20:17 |

2021-12-21 09:20:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-21 09:20:17 | ------------------------------------

2021-12-21 09:20:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-83527e49-6cab-43a8-9c16-7c84b4822a5c</node></data>

2021-12-21 09:20:17 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-21 09:20:18 | [Mutex] waiting for: [received:nodes:35ce366f-238b-45c8-ad65-27cc9502c0dc:localhost]

2021-12-21 09:20:18 | [Mutex] waiting for: [received:nodes:35ce366f-238b-45c8-ad65-27cc9502c0dc:localhost]

2021-12-21 09:20:18 | [Mutex] received everything.

2021-12-21 09:20:18 | [Mutex] isItemNotified: received:node:35ce366f-238b-45c8-ad65-27cc9502c0dc:localhost:node-83527e49-6cab-43a8-9c16-7c84b4822a5c:Node 83527e49-6cab-43a8-9c16-7c84b4822a5c :: false

deleteSubnodes 1.156s
2021-12-21 09:20:16 |

2021-12-21 09:20:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-21 09:20:16 | ------------------------------------

2021-12-21 09:20:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-446c8147-77f2-476f-9bfc-154c435b721c</node></data>

2021-12-21 09:20:16 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-21 09:20:17 | [Mutex] waiting for: [received:nodes:7c071432-aa34-44c1-afbb-58005b0dd354:localhost]

2021-12-21 09:20:17 | [Mutex] waiting for: [received:nodes:7c071432-aa34-44c1-afbb-58005b0dd354:localhost]

2021-12-21 09:20:17 | [Mutex] received everything.

2021-12-21 09:20:17 | [Mutex] isItemNotified: received:node:7c071432-aa34-44c1-afbb-58005b0dd354:localhost:node-446c8147-77f2-476f-9bfc-154c435b721c:Node 446c8147-77f2-476f-9bfc-154c435b721c :: false

2021-12-21 09:20:17 | [Mutex] waiting for: [received:nodes:436d2e4c-8c53-4850-8d09-c311a943533b:localhost]

2021-12-21 09:20:17 | [Mutex] received everything.

2021-12-21 09:20:17 | [Mutex] isItemNotified: received:node:436d2e4c-8c53-4850-8d09-c311a943533b:localhost:node-446c8147-77f2-476f-9bfc-154c435b721c:Node 446c8147-77f2-476f-9bfc-154c435b721c :: false

publishItemsToNodes 0.259s
2021-12-21 09:20:14 |

2021-12-21 09:20:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-21 09:20:14 | ------------------------------------

2021-12-21 09:20:14 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-446c8147-77f2-476f-9bfc-154c435b721c</node><item-id>item-c968081b-602b-4e73-a6f3-e178393dbde7</item-id><entry><test>item-c968081b-602b-4e73-a6f3-e178393dbde7</test></entry></data>

2021-12-21 09:20:14 | 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-c968081b-602b-4e73-a6f3-e178393dbde7</value></item-id></result>

2021-12-21 09:20:14 | [Mutex] received everything.

2021-12-21 09:20:14 | [Mutex] isItemNotified: published:item:notifieditem-c968081b-602b-4e73-a6f3-e178393dbde7:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2021-12-21 09:20:14 |

2021-12-21 09:20:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-21 09:20:14 | ------------------------------------

2021-12-21 09:20:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-446c8147-77f2-476f-9bfc-154c435b721c</node><item-id>item-c968081b-602b-4e73-a6f3-e178393dbde7</item-id></data>

2021-12-21 09:20:15 | 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-c968081b-602b-4e73-a6f3-e178393dbde7</value></item-id></result>

2021-12-21 09:20:15 | [Mutex] received everything.

2021-12-21 09:20:15 | [Mutex] isItemNotified: retracted:item:notifieditem-c968081b-602b-4e73-a6f3-e178393dbde7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.317s
2021-12-21 09:20:14 |

2021-12-21 09:20:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-21 09:20:14 | ------------------------------------

2021-12-21 09:20:14 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-446c8147-77f2-476f-9bfc-154c435b721c</node><item-id>item-c968081b-602b-4e73-a6f3-e178393dbde7</item-id></data>

2021-12-21 09:20:14 | 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-446c8147-77f2-476f-9bfc-154c435b721c</value></node><item-id type="text-single" label="Item ID"><value>item-c968081b-602b-4e73-a6f3-e178393dbde7</value></item-id><item type="text-multi" label="Item"><value><item id="item-c968081b-602b-4e73-a6f3-e178393dbde7"><test>item-c968081b-602b-4e73-a6f3-e178393dbde7</test></item></value></item></result>

2021-12-21 09:20:14 | [Mutex] notify: [retrieved:item:item-c968081b-602b-4e73-a6f3-e178393dbde7:payload-matches:true:localhost]

2021-12-21 09:20:14 | [Mutex] received everything.

2021-12-21 09:20:14 | [Mutex] isItemNotified: retrieved:item:item-c968081b-602b-4e73-a6f3-e178393dbde7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-12-21 09:20:14 |

2021-12-21 09:20:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-21 09:20:14 | ------------------------------------

2021-12-21 09:20:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-12-21 09:20:14 | 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-446c8147-77f2-476f-9bfc-154c435b721c</value><value>node-83527e49-6cab-43a8-9c16-7c84b4822a5c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-12-21 09:20:14 |

2021-12-21 09:20:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-21 09:20:14 | ------------------------------------

2021-12-21 09:20:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-446c8147-77f2-476f-9bfc-154c435b721c)</node-pattern></data>

2021-12-21 09:20:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.233s
2021-12-21 09:20:13 |

2021-12-21 09:20:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-21 09:20:13 | ------------------------------------

2021-12-21 09:20:13 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-446c8147-77f2-476f-9bfc-154c435b721c</node><jids><value>admin@test-domain.com</value></jids></data>

2021-12-21 09:20:13 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.267s
2021-12-21 09:20:15 |

2021-12-21 09:20:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-21 09:20:15 | ------------------------------------

2021-12-21 09:20:15 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-446c8147-77f2-476f-9bfc-154c435b721c</node><jids><value>admin@test-domain.com</value></jids></data>

2021-12-21 09:20:15 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>