Generated by TestNG with ReportNG at 21:18 PST on Monday 14 February 2022
root@f29ef40080b5 / 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.283s

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

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

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

2022-02-14 21:33:07 | [Mutex] waiting for: [configured:node:node-efd957b1-4d94-4007-994f-2b1d96b4f3cb:node-e50b9155-eabd-4d2d-8748-4c899dcd6b7a]

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

2022-02-14 21:33:08 | [Mutex] isItemNotified: configured:node:node-efd957b1-4d94-4007-994f-2b1d96b4f3cb:node-e50b9155-eabd-4d2d-8748-4c899dcd6b7a :: true

2022-02-14 21:33:09 | [Mutex] waiting for: [received:nodes:151db1cc-3b56-47f4-8425-145d5903cb2f:localhost]

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

2022-02-14 21:33:09 | [Mutex] isItemNotified: received:node:151db1cc-3b56-47f4-8425-145d5903cb2f:localhost:node-efd957b1-4d94-4007-994f-2b1d96b4f3cb:Node efd957b1-4d94-4007-994f-2b1d96b4f3cb :: true

2022-02-14 21:33:09 | [Mutex] waiting for: [received:nodes:2b3e329b-f63e-44c3-9abc-e6bc2dba13e0:localhost]

2022-02-14 21:33:09 | [Mutex] waiting for: [received:nodes:2b3e329b-f63e-44c3-9abc-e6bc2dba13e0:localhost]

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

2022-02-14 21:33:09 | [Mutex] isItemNotified: received:node:2b3e329b-f63e-44c3-9abc-e6bc2dba13e0:localhost:node-efd957b1-4d94-4007-994f-2b1d96b4f3cb:Node efd957b1-4d94-4007-994f-2b1d96b4f3cb :: false

createNodes 1.501s
2022-02-14 21:33:05 |

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

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

2022-02-14 21:33:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-efd957b1-4d94-4007-994f-2b1d96b4f3cb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node efd957b1-4d94-4007-994f-2b1d96b4f3cb</title></pubsub></data>

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

2022-02-14 21:33:06 | [Mutex] waiting for: [received:nodes:3d95a662-8a1f-4124-8bd4-dc8c16b3df81:localhost]

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

2022-02-14 21:33:06 | [Mutex] isItemNotified: received:node:3d95a662-8a1f-4124-8bd4-dc8c16b3df81:localhost:node-efd957b1-4d94-4007-994f-2b1d96b4f3cb:Node efd957b1-4d94-4007-994f-2b1d96b4f3cb :: true

createSubnodes 1.029s
2022-02-14 21:33:06 |

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

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

2022-02-14 21:33:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e50b9155-eabd-4d2d-8748-4c899dcd6b7a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e50b9155-eabd-4d2d-8748-4c899dcd6b7a</title></pubsub></data>

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

2022-02-14 21:33:07 | [Mutex] waiting for: [received:nodes:3b6581c8-4cc5-491d-949e-e1772a9116a0:localhost]

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

2022-02-14 21:33:07 | [Mutex] isItemNotified: received:node:3b6581c8-4cc5-491d-949e-e1772a9116a0:localhost:node-e50b9155-eabd-4d2d-8748-4c899dcd6b7a:Node e50b9155-eabd-4d2d-8748-4c899dcd6b7a :: true

deleteNodes 1.022s
2022-02-14 21:33:13 |

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

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

2022-02-14 21:33:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e50b9155-eabd-4d2d-8748-4c899dcd6b7a</node></data>

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

2022-02-14 21:33:14 | [Mutex] waiting for: [received:nodes:7a8b9de5-e237-4f2c-aec9-9c9d67005d5e:localhost]

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

2022-02-14 21:33:14 | [Mutex] isItemNotified: received:node:7a8b9de5-e237-4f2c-aec9-9c9d67005d5e:localhost:node-e50b9155-eabd-4d2d-8748-4c899dcd6b7a:Node e50b9155-eabd-4d2d-8748-4c899dcd6b7a :: false

deleteSubnodes 1.142s
2022-02-14 21:33:12 |

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

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

2022-02-14 21:33:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-efd957b1-4d94-4007-994f-2b1d96b4f3cb</node></data>

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

2022-02-14 21:33:13 | [Mutex] waiting for: [received:nodes:18ca84a4-2a2b-45f4-a438-c9c2e523bf54:localhost]

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

2022-02-14 21:33:13 | [Mutex] isItemNotified: received:node:18ca84a4-2a2b-45f4-a438-c9c2e523bf54:localhost:node-efd957b1-4d94-4007-994f-2b1d96b4f3cb:Node efd957b1-4d94-4007-994f-2b1d96b4f3cb :: false

2022-02-14 21:33:13 | [Mutex] waiting for: [received:nodes:99b122d8-fa1a-45c3-a94c-a9a3539dba62:localhost]

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

2022-02-14 21:33:13 | [Mutex] isItemNotified: received:node:99b122d8-fa1a-45c3-a94c-a9a3539dba62:localhost:node-efd957b1-4d94-4007-994f-2b1d96b4f3cb:Node efd957b1-4d94-4007-994f-2b1d96b4f3cb :: false

publishItemsToNodes 0.324s
2022-02-14 21:33:10 |

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

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

2022-02-14 21:33:10 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-efd957b1-4d94-4007-994f-2b1d96b4f3cb</node><item-id>item-3ac9c973-f1e8-4572-a5c4-18a28f860815</item-id><entry><test>item-3ac9c973-f1e8-4572-a5c4-18a28f860815</test></entry></data>

2022-02-14 21:33:10 | 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-3ac9c973-f1e8-4572-a5c4-18a28f860815</value></item-id></result>

2022-02-14 21:33:10 | [Mutex] waiting for: [published:item:notifieditem-3ac9c973-f1e8-4572-a5c4-18a28f860815:admin@test-domain.com]

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

2022-02-14 21:33:10 | [Mutex] isItemNotified: published:item:notifieditem-3ac9c973-f1e8-4572-a5c4-18a28f860815:admin@test-domain.com :: true

retractItemsFromNodes 0.319s
2022-02-14 21:33:10 |

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

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

2022-02-14 21:33:10 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-efd957b1-4d94-4007-994f-2b1d96b4f3cb</node><item-id>item-3ac9c973-f1e8-4572-a5c4-18a28f860815</item-id></data>

2022-02-14 21:33:11 | 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-3ac9c973-f1e8-4572-a5c4-18a28f860815</value></item-id></result>

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

2022-02-14 21:33:11 | [Mutex] isItemNotified: retracted:item:notifieditem-3ac9c973-f1e8-4572-a5c4-18a28f860815:admin@test-domain.com :: true

retrieveItemsFromNodes 0.276s
2022-02-14 21:33:10 |

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

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

2022-02-14 21:33:10 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-efd957b1-4d94-4007-994f-2b1d96b4f3cb</node><item-id>item-3ac9c973-f1e8-4572-a5c4-18a28f860815</item-id></data>

2022-02-14 21:33:10 | 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-efd957b1-4d94-4007-994f-2b1d96b4f3cb</value></node><item-id type="text-single" label="Item ID"><value>item-3ac9c973-f1e8-4572-a5c4-18a28f860815</value></item-id><item type="text-multi" label="Item"><value><item id="item-3ac9c973-f1e8-4572-a5c4-18a28f860815"><test>item-3ac9c973-f1e8-4572-a5c4-18a28f860815</test></item></value></item></result>

2022-02-14 21:33:10 | [Mutex] notify: [retrieved:item:item-3ac9c973-f1e8-4572-a5c4-18a28f860815:payload-matches:true:localhost]

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

2022-02-14 21:33:10 | [Mutex] isItemNotified: retrieved:item:item-3ac9c973-f1e8-4572-a5c4-18a28f860815:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-02-14 21:33:10 |

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

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

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

2022-02-14 21:33:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-efd957b1-4d94-4007-994f-2b1d96b4f3cb</value><value>test</value><value>node-e50b9155-eabd-4d2d-8748-4c899dcd6b7a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-14 21:33:10 |

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

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

2022-02-14 21:33:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-efd957b1-4d94-4007-994f-2b1d96b4f3cb)</node-pattern></data>

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

subscribeNodes 1.153s
2022-02-14 21:33:09 |

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

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

2022-02-14 21:33:09 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-efd957b1-4d94-4007-994f-2b1d96b4f3cb</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.211s
2022-02-14 21:33:11 |

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

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

2022-02-14 21:33:11 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-efd957b1-4d94-4007-994f-2b1d96b4f3cb</node><jids><value>admin@test-domain.com</value></jids></data>

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