Generated by TestNG with ReportNG at 22:14 PDT on Sunday 21 March 2021
root@eaa73862192b / 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.049s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2021-03-21 22:30:33 |

2021-03-21 22:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:30:33 | ------------------------------------

2021-03-21 22:30:33 | [Mutex] waiting for: [configured:node:node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7:node-9c71b2ef-5007-4f69-acfc-c94437c51405]

2021-03-21 22:30:33 | [Mutex] received everything.

2021-03-21 22:30:33 | [Mutex] isItemNotified: configured:node:node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7:node-9c71b2ef-5007-4f69-acfc-c94437c51405 :: true

2021-03-21 22:30:34 | [Mutex] waiting for: [received:nodes:c98b5d79-28b3-4da5-83e0-a1f040aab261:localhost]

2021-03-21 22:30:34 | [Mutex] received everything.

2021-03-21 22:30:34 | [Mutex] isItemNotified: received:node:c98b5d79-28b3-4da5-83e0-a1f040aab261:localhost:node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7:Node bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7 :: true

2021-03-21 22:30:34 | [Mutex] waiting for: [received:nodes:256cffca-c657-4450-903a-ae1a8c5f817c:localhost]

2021-03-21 22:30:34 | [Mutex] received everything.

2021-03-21 22:30:34 | [Mutex] isItemNotified: received:node:256cffca-c657-4450-903a-ae1a8c5f817c:localhost:node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7:Node bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7 :: false

createNodes 1.541s
2021-03-21 22:30:30 |

2021-03-21 22:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:30:30 | ------------------------------------

2021-03-21 22:30:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7</title></pubsub></data>

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

2021-03-21 22:30:32 | [Mutex] waiting for: [received:nodes:bcd0bf1f-29cc-40b6-aa77-1b80eb2a5a7b:localhost]

2021-03-21 22:30:32 | [Mutex] received everything.

2021-03-21 22:30:32 | [Mutex] isItemNotified: received:node:bcd0bf1f-29cc-40b6-aa77-1b80eb2a5a7b:localhost:node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7:Node bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7 :: true

createSubnodes 1.026s
2021-03-21 22:30:32 |

2021-03-21 22:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:30:32 | ------------------------------------

2021-03-21 22:30:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9c71b2ef-5007-4f69-acfc-c94437c51405</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9c71b2ef-5007-4f69-acfc-c94437c51405</title></pubsub></data>

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

2021-03-21 22:30:33 | [Mutex] waiting for: [received:nodes:5f793a01-b04e-40c4-8c22-3cc7978dcfa1:localhost]

2021-03-21 22:30:33 | [Mutex] received everything.

2021-03-21 22:30:33 | [Mutex] isItemNotified: received:node:5f793a01-b04e-40c4-8c22-3cc7978dcfa1:localhost:node-9c71b2ef-5007-4f69-acfc-c94437c51405:Node 9c71b2ef-5007-4f69-acfc-c94437c51405 :: true

deleteNodes 1.018s
2021-03-21 22:30:38 |

2021-03-21 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:30:38 | ------------------------------------

2021-03-21 22:30:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9c71b2ef-5007-4f69-acfc-c94437c51405</node></data>

2021-03-21 22:30:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-21 22:30:39 | [Mutex] waiting for: [received:nodes:4dec8ba8-6ab4-4c82-9e26-1ddcdcaeb621:localhost]

2021-03-21 22:30:39 | [Mutex] received everything.

2021-03-21 22:30:39 | [Mutex] isItemNotified: received:node:4dec8ba8-6ab4-4c82-9e26-1ddcdcaeb621:localhost:node-9c71b2ef-5007-4f69-acfc-c94437c51405:Node 9c71b2ef-5007-4f69-acfc-c94437c51405 :: false

deleteSubnodes 1.107s
2021-03-21 22:30:37 |

2021-03-21 22:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:30:37 | ------------------------------------

2021-03-21 22:30:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7</node></data>

2021-03-21 22:30:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-21 22:30:38 | [Mutex] waiting for: [received:nodes:ee5e9d1f-42a5-4b35-abed-4230d29b670e:localhost]

2021-03-21 22:30:38 | [Mutex] received everything.

2021-03-21 22:30:38 | [Mutex] isItemNotified: received:node:ee5e9d1f-42a5-4b35-abed-4230d29b670e:localhost:node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7:Node bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7 :: false

2021-03-21 22:30:38 | [Mutex] waiting for: [received:nodes:8f8c985a-8fe6-47bb-a1cd-ddb6741c2e7e:localhost]

2021-03-21 22:30:38 | [Mutex] received everything.

2021-03-21 22:30:38 | [Mutex] isItemNotified: received:node:8f8c985a-8fe6-47bb-a1cd-ddb6741c2e7e:localhost:node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7:Node bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7 :: false

publishItemsToNodes 0.261s
2021-03-21 22:30:35 |

2021-03-21 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:30:35 | ------------------------------------

2021-03-21 22:30:35 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7</node><item-id>item-9577ec56-41c2-432d-926b-56b32743006a</item-id><entry><test>item-9577ec56-41c2-432d-926b-56b32743006a</test></entry></data>

2021-03-21 22:30:35 | 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-9577ec56-41c2-432d-926b-56b32743006a</value></item-id></result>

2021-03-21 22:30:35 | [Mutex] received everything.

2021-03-21 22:30:35 | [Mutex] isItemNotified: published:item:notifieditem-9577ec56-41c2-432d-926b-56b32743006a:admin@test-domain.com :: true

retractItemsFromNodes 0.312s
2021-03-21 22:30:35 |

2021-03-21 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:30:35 | ------------------------------------

2021-03-21 22:30:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7</node><item-id>item-9577ec56-41c2-432d-926b-56b32743006a</item-id></data>

2021-03-21 22:30:36 | 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-9577ec56-41c2-432d-926b-56b32743006a</value></item-id></result>

2021-03-21 22:30:36 | [Mutex] received everything.

2021-03-21 22:30:36 | [Mutex] isItemNotified: retracted:item:notifieditem-9577ec56-41c2-432d-926b-56b32743006a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.250s
2021-03-21 22:30:35 |

2021-03-21 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:30:35 | ------------------------------------

2021-03-21 22:30:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7</node><item-id>item-9577ec56-41c2-432d-926b-56b32743006a</item-id></data>

2021-03-21 22:30:35 | 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-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7</value></node><item-id label="Item ID" type="text-single"><value>item-9577ec56-41c2-432d-926b-56b32743006a</value></item-id><item label="Item" type="text-multi"><value><item id="item-9577ec56-41c2-432d-926b-56b32743006a"><test>item-9577ec56-41c2-432d-926b-56b32743006a</test></item></value></item></result>

2021-03-21 22:30:35 | [Mutex] notify: [retrieved:item:item-9577ec56-41c2-432d-926b-56b32743006a:payload-matches:true:localhost]

2021-03-21 22:30:35 | [Mutex] received everything.

2021-03-21 22:30:35 | [Mutex] isItemNotified: retrieved:item:item-9577ec56-41c2-432d-926b-56b32743006a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-03-21 22:30:35 |

2021-03-21 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:30:35 | ------------------------------------

2021-03-21 22:30:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-21 22:30:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-9c71b2ef-5007-4f69-acfc-c94437c51405</value><value>test</value><value>node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.063s
2021-03-21 22:30:35 |

2021-03-21 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:30:35 | ------------------------------------

2021-03-21 22:30:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7)</node-pattern></data>

2021-03-21 22:30:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.097s
2021-03-21 22:30:34 |

2021-03-21 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:30:34 | ------------------------------------

2021-03-21 22:30:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-21 22:30:34 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.284s
2021-03-21 22:30:36 |

2021-03-21 22:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:30:36 | ------------------------------------

2021-03-21 22:30:36 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-bfc6aa6f-e166-46c6-bec6-5db97b4c1aa7</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-21 22:30:36 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>