Generated by TestNG with ReportNG at 21:17 PST on Wednesday 23 February 2022
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.462s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.048s
2022-02-23 21:33:14 |

2022-02-23 21:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:33:14 | ------------------------------------

2022-02-23 21:33:14 | [Mutex] waiting for: [configured:node:node-adb88e2c-e073-44bc-a4ed-5f8da9d17585:node-f080ac1e-31a6-410a-a2be-209f2d0633e8]

2022-02-23 21:33:14 | [Mutex] received everything.

2022-02-23 21:33:14 | [Mutex] isItemNotified: configured:node:node-adb88e2c-e073-44bc-a4ed-5f8da9d17585:node-f080ac1e-31a6-410a-a2be-209f2d0633e8 :: true

2022-02-23 21:33:15 | [Mutex] waiting for: [received:nodes:7257f4d5-3ea9-46a8-9362-49d9fb218082:localhost]

2022-02-23 21:33:15 | [Mutex] received everything.

2022-02-23 21:33:15 | [Mutex] isItemNotified: received:node:7257f4d5-3ea9-46a8-9362-49d9fb218082:localhost:node-adb88e2c-e073-44bc-a4ed-5f8da9d17585:Node adb88e2c-e073-44bc-a4ed-5f8da9d17585 :: true

2022-02-23 21:33:15 | [Mutex] waiting for: [received:nodes:286831a9-6867-4f45-a944-087440bcc1bc:localhost]

2022-02-23 21:33:15 | [Mutex] waiting for: [received:nodes:286831a9-6867-4f45-a944-087440bcc1bc:localhost]

2022-02-23 21:33:15 | [Mutex] received everything.

2022-02-23 21:33:15 | [Mutex] isItemNotified: received:node:286831a9-6867-4f45-a944-087440bcc1bc:localhost:node-adb88e2c-e073-44bc-a4ed-5f8da9d17585:Node adb88e2c-e073-44bc-a4ed-5f8da9d17585 :: false

createNodes 1.652s
2022-02-23 21:33:11 |

2022-02-23 21:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:33:11 | ------------------------------------

2022-02-23 21:33:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-adb88e2c-e073-44bc-a4ed-5f8da9d17585</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node adb88e2c-e073-44bc-a4ed-5f8da9d17585</title></pubsub></data>

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

2022-02-23 21:33:13 | [Mutex] waiting for: [received:nodes:7d470d87-8333-4c8f-9b48-5393a0236392:localhost]

2022-02-23 21:33:13 | [Mutex] received everything.

2022-02-23 21:33:13 | [Mutex] isItemNotified: received:node:7d470d87-8333-4c8f-9b48-5393a0236392:localhost:node-adb88e2c-e073-44bc-a4ed-5f8da9d17585:Node adb88e2c-e073-44bc-a4ed-5f8da9d17585 :: true

createSubnodes 1.033s
2022-02-23 21:33:13 |

2022-02-23 21:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:33:13 | ------------------------------------

2022-02-23 21:33:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f080ac1e-31a6-410a-a2be-209f2d0633e8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f080ac1e-31a6-410a-a2be-209f2d0633e8</title></pubsub></data>

2022-02-23 21:33:13 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-23 21:33:14 | [Mutex] waiting for: [received:nodes:c6cae8fb-0fc1-4bda-bd1e-0e83583fcb40:localhost]

2022-02-23 21:33:14 | [Mutex] waiting for: [received:nodes:c6cae8fb-0fc1-4bda-bd1e-0e83583fcb40:localhost]

2022-02-23 21:33:14 | [Mutex] waiting for: [received:nodes:c6cae8fb-0fc1-4bda-bd1e-0e83583fcb40:localhost]

2022-02-23 21:33:14 | [Mutex] received everything.

2022-02-23 21:33:14 | [Mutex] isItemNotified: received:node:c6cae8fb-0fc1-4bda-bd1e-0e83583fcb40:localhost:node-f080ac1e-31a6-410a-a2be-209f2d0633e8:Node f080ac1e-31a6-410a-a2be-209f2d0633e8 :: true

deleteNodes 1.026s
2022-02-23 21:33:20 |

2022-02-23 21:33:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:33:20 | ------------------------------------

2022-02-23 21:33:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f080ac1e-31a6-410a-a2be-209f2d0633e8</node></data>

2022-02-23 21:33:20 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-23 21:33:21 | [Mutex] waiting for: [received:nodes:4b361e4f-a85b-4fe0-bf9e-6bf18082a494:localhost]

2022-02-23 21:33:21 | [Mutex] received everything.

2022-02-23 21:33:21 | [Mutex] isItemNotified: received:node:4b361e4f-a85b-4fe0-bf9e-6bf18082a494:localhost:node-f080ac1e-31a6-410a-a2be-209f2d0633e8:Node f080ac1e-31a6-410a-a2be-209f2d0633e8 :: false

deleteSubnodes 1.158s
2022-02-23 21:33:19 |

2022-02-23 21:33:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:33:19 | ------------------------------------

2022-02-23 21:33:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-adb88e2c-e073-44bc-a4ed-5f8da9d17585</node></data>

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

2022-02-23 21:33:20 | [Mutex] waiting for: [received:nodes:5a8f53d6-2f79-4d58-b253-aca0ee055c80:localhost]

2022-02-23 21:33:20 | [Mutex] waiting for: [received:nodes:5a8f53d6-2f79-4d58-b253-aca0ee055c80:localhost]

2022-02-23 21:33:20 | [Mutex] received everything.

2022-02-23 21:33:20 | [Mutex] isItemNotified: received:node:5a8f53d6-2f79-4d58-b253-aca0ee055c80:localhost:node-adb88e2c-e073-44bc-a4ed-5f8da9d17585:Node adb88e2c-e073-44bc-a4ed-5f8da9d17585 :: false

2022-02-23 21:33:20 | [Mutex] waiting for: [received:nodes:6109984c-8168-4224-98aa-dec5d9a7d329:localhost]

2022-02-23 21:33:20 | [Mutex] received everything.

2022-02-23 21:33:20 | [Mutex] isItemNotified: received:node:6109984c-8168-4224-98aa-dec5d9a7d329:localhost:node-adb88e2c-e073-44bc-a4ed-5f8da9d17585:Node adb88e2c-e073-44bc-a4ed-5f8da9d17585 :: false

publishItemsToNodes 0.338s
2022-02-23 21:33:16 |

2022-02-23 21:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:33:16 | ------------------------------------

2022-02-23 21:33:16 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-adb88e2c-e073-44bc-a4ed-5f8da9d17585</node><item-id>item-115f9701-7a4e-4398-b41d-4346cfca4985</item-id><entry><test>item-115f9701-7a4e-4398-b41d-4346cfca4985</test></entry></data>

2022-02-23 21:33:17 | 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-115f9701-7a4e-4398-b41d-4346cfca4985</value></item-id></result>

2022-02-23 21:33:17 | [Mutex] waiting for: [published:item:notifieditem-115f9701-7a4e-4398-b41d-4346cfca4985:admin@test-domain.com]

2022-02-23 21:33:17 | [Mutex] received everything.

2022-02-23 21:33:17 | [Mutex] isItemNotified: published:item:notifieditem-115f9701-7a4e-4398-b41d-4346cfca4985:admin@test-domain.com :: true

retractItemsFromNodes 0.383s
2022-02-23 21:33:17 |

2022-02-23 21:33:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:33:17 | ------------------------------------

2022-02-23 21:33:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-adb88e2c-e073-44bc-a4ed-5f8da9d17585</node><item-id>item-115f9701-7a4e-4398-b41d-4346cfca4985</item-id></data>

2022-02-23 21:33:17 | 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-115f9701-7a4e-4398-b41d-4346cfca4985</value></item-id></result>

2022-02-23 21:33:17 | [Mutex] received everything.

2022-02-23 21:33:17 | [Mutex] isItemNotified: retracted:item:notifieditem-115f9701-7a4e-4398-b41d-4346cfca4985:admin@test-domain.com :: true

retrieveItemsFromNodes 0.221s
2022-02-23 21:33:17 |

2022-02-23 21:33:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:33:17 | ------------------------------------

2022-02-23 21:33:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-adb88e2c-e073-44bc-a4ed-5f8da9d17585</node><item-id>item-115f9701-7a4e-4398-b41d-4346cfca4985</item-id></data>

2022-02-23 21:33:17 | 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-adb88e2c-e073-44bc-a4ed-5f8da9d17585</value></node><item-id type="text-single" label="Item ID"><value>item-115f9701-7a4e-4398-b41d-4346cfca4985</value></item-id><item type="text-multi" label="Item"><value><item id="item-115f9701-7a4e-4398-b41d-4346cfca4985"><test>item-115f9701-7a4e-4398-b41d-4346cfca4985</test></item></value></item></result>

2022-02-23 21:33:17 | [Mutex] notify: [retrieved:item:item-115f9701-7a4e-4398-b41d-4346cfca4985:payload-matches:true:localhost]

2022-02-23 21:33:17 | [Mutex] received everything.

2022-02-23 21:33:17 | [Mutex] isItemNotified: retrieved:item:item-115f9701-7a4e-4398-b41d-4346cfca4985:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.058s
2022-02-23 21:33:17 |

2022-02-23 21:33:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:33:17 | ------------------------------------

2022-02-23 21:33:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-23 21:33:17 | 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-adb88e2c-e073-44bc-a4ed-5f8da9d17585</value><value>node-f080ac1e-31a6-410a-a2be-209f2d0633e8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-23 21:33:17 |

2022-02-23 21:33:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:33:17 | ------------------------------------

2022-02-23 21:33:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-adb88e2c-e073-44bc-a4ed-5f8da9d17585)</node-pattern></data>

2022-02-23 21:33:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.182s
2022-02-23 21:33:15 |

2022-02-23 21:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:33:15 | ------------------------------------

2022-02-23 21:33:15 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-adb88e2c-e073-44bc-a4ed-5f8da9d17585</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-23 21:33:15 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.251s
2022-02-23 21:33:17 |

2022-02-23 21:33:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:33:17 | ------------------------------------

2022-02-23 21:33:17 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-adb88e2c-e073-44bc-a4ed-5f8da9d17585</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-23 21:33:18 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>