Generated by TestNG with ReportNG at 22:23 PDT on Thursday 19 May 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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 : 9.364s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.084s
2022-05-19 22:38:29 |

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

2022-05-19 22:38:29 | ------------------------------------

2022-05-19 22:38:29 | [Mutex] waiting for: [configured:node:node-596f0837-3dd8-4752-80eb-0148121109dd:node-c97e0df0-f0d9-494b-bf4c-06ec920c342a]

2022-05-19 22:38:29 | [Mutex] received everything.

2022-05-19 22:38:29 | [Mutex] isItemNotified: configured:node:node-596f0837-3dd8-4752-80eb-0148121109dd:node-c97e0df0-f0d9-494b-bf4c-06ec920c342a :: true

2022-05-19 22:38:30 | [Mutex] waiting for: [received:nodes:ea7a7add-28fc-4bab-8e6e-eff440316781:localhost]

2022-05-19 22:38:30 | [Mutex] received everything.

2022-05-19 22:38:30 | [Mutex] isItemNotified: received:node:ea7a7add-28fc-4bab-8e6e-eff440316781:localhost:node-596f0837-3dd8-4752-80eb-0148121109dd:Node 596f0837-3dd8-4752-80eb-0148121109dd :: true

2022-05-19 22:38:30 | [Mutex] waiting for: [received:nodes:bb397e50-578a-4209-b695-2f5070e92c42:localhost]

2022-05-19 22:38:30 | [Mutex] received everything.

2022-05-19 22:38:30 | [Mutex] isItemNotified: received:node:bb397e50-578a-4209-b695-2f5070e92c42:localhost:node-596f0837-3dd8-4752-80eb-0148121109dd:Node 596f0837-3dd8-4752-80eb-0148121109dd :: false

createNodes 1.374s
2022-05-19 22:38:27 |

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

2022-05-19 22:38:27 | ------------------------------------

2022-05-19 22:38:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-596f0837-3dd8-4752-80eb-0148121109dd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 596f0837-3dd8-4752-80eb-0148121109dd</title></pubsub></data>

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

2022-05-19 22:38:28 | [Mutex] waiting for: [received:nodes:1376fb29-648d-4ee4-8f1f-cdb114812279:localhost]

2022-05-19 22:38:28 | [Mutex] received everything.

2022-05-19 22:38:28 | [Mutex] isItemNotified: received:node:1376fb29-648d-4ee4-8f1f-cdb114812279:localhost:node-596f0837-3dd8-4752-80eb-0148121109dd:Node 596f0837-3dd8-4752-80eb-0148121109dd :: true

createSubnodes 1.060s
2022-05-19 22:38:28 |

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

2022-05-19 22:38:28 | ------------------------------------

2022-05-19 22:38:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c97e0df0-f0d9-494b-bf4c-06ec920c342a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c97e0df0-f0d9-494b-bf4c-06ec920c342a</title></pubsub></data>

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

2022-05-19 22:38:29 | [Mutex] waiting for: [received:nodes:21a2b6ab-adb9-466e-b6ca-b2e8f26184ad:localhost]

2022-05-19 22:38:29 | [Mutex] waiting for: [received:nodes:21a2b6ab-adb9-466e-b6ca-b2e8f26184ad:localhost]

2022-05-19 22:38:29 | [Mutex] received everything.

2022-05-19 22:38:29 | [Mutex] isItemNotified: received:node:21a2b6ab-adb9-466e-b6ca-b2e8f26184ad:localhost:node-c97e0df0-f0d9-494b-bf4c-06ec920c342a:Node c97e0df0-f0d9-494b-bf4c-06ec920c342a :: true

deleteNodes 1.018s
2022-05-19 22:38:35 |

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

2022-05-19 22:38:35 | ------------------------------------

2022-05-19 22:38:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c97e0df0-f0d9-494b-bf4c-06ec920c342a</node></data>

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

2022-05-19 22:38:36 | [Mutex] waiting for: [received:nodes:b6842002-f0fb-40d4-8c49-cfa4be5c2060:localhost]

2022-05-19 22:38:36 | [Mutex] received everything.

2022-05-19 22:38:36 | [Mutex] isItemNotified: received:node:b6842002-f0fb-40d4-8c49-cfa4be5c2060:localhost:node-c97e0df0-f0d9-494b-bf4c-06ec920c342a:Node c97e0df0-f0d9-494b-bf4c-06ec920c342a :: false

deleteSubnodes 1.162s
2022-05-19 22:38:33 |

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

2022-05-19 22:38:33 | ------------------------------------

2022-05-19 22:38:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-596f0837-3dd8-4752-80eb-0148121109dd</node></data>

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

2022-05-19 22:38:35 | [Mutex] waiting for: [received:nodes:0a9d79f2-82b4-4ffb-8a35-fe9f10f7fd45:localhost]

2022-05-19 22:38:35 | [Mutex] received everything.

2022-05-19 22:38:35 | [Mutex] isItemNotified: received:node:0a9d79f2-82b4-4ffb-8a35-fe9f10f7fd45:localhost:node-596f0837-3dd8-4752-80eb-0148121109dd:Node 596f0837-3dd8-4752-80eb-0148121109dd :: false

2022-05-19 22:38:35 | [Mutex] waiting for: [received:nodes:0d67bfbc-4b83-4952-885b-65d89a3cfdc8:localhost]

2022-05-19 22:38:35 | [Mutex] received everything.

2022-05-19 22:38:35 | [Mutex] isItemNotified: received:node:0d67bfbc-4b83-4952-885b-65d89a3cfdc8:localhost:node-596f0837-3dd8-4752-80eb-0148121109dd:Node 596f0837-3dd8-4752-80eb-0148121109dd :: false

publishItemsToNodes 0.197s
2022-05-19 22:38:31 |

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

2022-05-19 22:38:31 | ------------------------------------

2022-05-19 22:38:31 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-596f0837-3dd8-4752-80eb-0148121109dd</node><item-id>item-d4658a51-d4f3-4fa9-a844-85a81b48e0d8</item-id><entry><test>item-d4658a51-d4f3-4fa9-a844-85a81b48e0d8</test></entry></data>

2022-05-19 22:38:32 | 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-d4658a51-d4f3-4fa9-a844-85a81b48e0d8</value></item-id></result>

2022-05-19 22:38:32 | [Mutex] waiting for: [published:item:notifieditem-d4658a51-d4f3-4fa9-a844-85a81b48e0d8:admin@test-domain.com]

2022-05-19 22:38:32 | [Mutex] received everything.

2022-05-19 22:38:32 | [Mutex] isItemNotified: published:item:notifieditem-d4658a51-d4f3-4fa9-a844-85a81b48e0d8:admin@test-domain.com :: true

retractItemsFromNodes 0.239s
2022-05-19 22:38:32 |

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

2022-05-19 22:38:32 | ------------------------------------

2022-05-19 22:38:32 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-596f0837-3dd8-4752-80eb-0148121109dd</node><item-id>item-d4658a51-d4f3-4fa9-a844-85a81b48e0d8</item-id></data>

2022-05-19 22:38:32 | 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-d4658a51-d4f3-4fa9-a844-85a81b48e0d8</value></item-id></result>

2022-05-19 22:38:32 | [Mutex] received everything.

2022-05-19 22:38:32 | [Mutex] isItemNotified: retracted:item:notifieditem-d4658a51-d4f3-4fa9-a844-85a81b48e0d8:admin@test-domain.com :: true

retrieveItemsFromNodes 0.132s
2022-05-19 22:38:32 |

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

2022-05-19 22:38:32 | ------------------------------------

2022-05-19 22:38:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-596f0837-3dd8-4752-80eb-0148121109dd</node><item-id>item-d4658a51-d4f3-4fa9-a844-85a81b48e0d8</item-id></data>

2022-05-19 22:38:32 | 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-596f0837-3dd8-4752-80eb-0148121109dd</value></node><item-id type="text-single" label="Item ID"><value>item-d4658a51-d4f3-4fa9-a844-85a81b48e0d8</value></item-id><item type="text-multi" label="Item"><value><item id="item-d4658a51-d4f3-4fa9-a844-85a81b48e0d8"><test>item-d4658a51-d4f3-4fa9-a844-85a81b48e0d8</test></item></value></item></result>

2022-05-19 22:38:32 | [Mutex] notify: [retrieved:item:item-d4658a51-d4f3-4fa9-a844-85a81b48e0d8:payload-matches:true:localhost]

2022-05-19 22:38:32 | [Mutex] received everything.

2022-05-19 22:38:32 | [Mutex] isItemNotified: retrieved:item:item-d4658a51-d4f3-4fa9-a844-85a81b48e0d8:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-19 22:38:32 |

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

2022-05-19 22:38:32 | ------------------------------------

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

2022-05-19 22:38:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-c97e0df0-f0d9-494b-bf4c-06ec920c342a</value><value>test</value><value>node-596f0837-3dd8-4752-80eb-0148121109dd</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-19 22:38:32 |

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

2022-05-19 22:38:32 | ------------------------------------

2022-05-19 22:38:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-596f0837-3dd8-4752-80eb-0148121109dd)</node-pattern></data>

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

subscribeNodes 1.140s
2022-05-19 22:38:30 |

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

2022-05-19 22:38:30 | ------------------------------------

2022-05-19 22:38:30 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-596f0837-3dd8-4752-80eb-0148121109dd</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.235s
2022-05-19 22:38:32 |

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

2022-05-19 22:38:32 | ------------------------------------

2022-05-19 22:38:32 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-596f0837-3dd8-4752-80eb-0148121109dd</node><jids><value>admin@test-domain.com</value></jids></data>

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