Generated by TestNG with ReportNG at 23:43 PDT on Saturday 04 November 2023
root@8dfa9d99ff97 / Java 17.0.8 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.645s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2023-11-04 23:57:48 |

2023-11-04 23:57:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:57:48 | ------------------------------------

2023-11-04 23:57:48 | [Mutex] waiting for: [configured:node:node-d54801db-63f5-4c11-91f3-85618e5755fa:node-452e33ab-1cef-4128-b332-d71c0f4bff6b]

2023-11-04 23:57:48 | [Mutex] received everything.

2023-11-04 23:57:48 | [Mutex] isItemNotified: configured:node:node-d54801db-63f5-4c11-91f3-85618e5755fa:node-452e33ab-1cef-4128-b332-d71c0f4bff6b :: true

2023-11-04 23:57:49 | [Mutex] waiting for: [received:nodes:5be70fbc-977a-4541-befd-d23367c39ab1:localhost]

2023-11-04 23:57:49 | [Mutex] received everything.

2023-11-04 23:57:49 | [Mutex] isItemNotified: received:node:5be70fbc-977a-4541-befd-d23367c39ab1:localhost:node-d54801db-63f5-4c11-91f3-85618e5755fa:Node d54801db-63f5-4c11-91f3-85618e5755fa :: true

2023-11-04 23:57:49 | [Mutex] waiting for: [received:nodes:f6b7781a-215d-45f3-a530-efbe0d40d631:localhost]

2023-11-04 23:57:49 | [Mutex] waiting for: [received:nodes:f6b7781a-215d-45f3-a530-efbe0d40d631:localhost]

2023-11-04 23:57:49 | [Mutex] waiting for: [received:nodes:f6b7781a-215d-45f3-a530-efbe0d40d631:localhost]

2023-11-04 23:57:49 | [Mutex] waiting for: [received:nodes:f6b7781a-215d-45f3-a530-efbe0d40d631:localhost]

2023-11-04 23:57:49 | [Mutex] received everything.

2023-11-04 23:57:49 | [Mutex] isItemNotified: received:node:f6b7781a-215d-45f3-a530-efbe0d40d631:localhost:node-d54801db-63f5-4c11-91f3-85618e5755fa:Node d54801db-63f5-4c11-91f3-85618e5755fa :: false

createNodes 1.537s
2023-11-04 23:57:46 |

2023-11-04 23:57:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:57:46 | ------------------------------------

2023-11-04 23:57:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d54801db-63f5-4c11-91f3-85618e5755fa</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d54801db-63f5-4c11-91f3-85618e5755fa</title></pubsub></data>

2023-11-04 23:57:46 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-04 23:57:47 | [Mutex] waiting for: [received:nodes:fd3feb3a-b1a1-45ec-946d-a5d47a7ae866:localhost]

2023-11-04 23:57:47 | [Mutex] waiting for: [received:nodes:fd3feb3a-b1a1-45ec-946d-a5d47a7ae866:localhost]

2023-11-04 23:57:47 | [Mutex] waiting for: [received:nodes:fd3feb3a-b1a1-45ec-946d-a5d47a7ae866:localhost]

2023-11-04 23:57:47 | [Mutex] waiting for: [received:nodes:fd3feb3a-b1a1-45ec-946d-a5d47a7ae866:localhost]

2023-11-04 23:57:47 | [Mutex] received everything.

2023-11-04 23:57:47 | [Mutex] isItemNotified: received:node:fd3feb3a-b1a1-45ec-946d-a5d47a7ae866:localhost:node-d54801db-63f5-4c11-91f3-85618e5755fa:Node d54801db-63f5-4c11-91f3-85618e5755fa :: true

createSubnodes 1.030s
2023-11-04 23:57:47 |

2023-11-04 23:57:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:57:47 | ------------------------------------

2023-11-04 23:57:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-452e33ab-1cef-4128-b332-d71c0f4bff6b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 452e33ab-1cef-4128-b332-d71c0f4bff6b</title></pubsub></data>

2023-11-04 23:57:47 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-04 23:57:48 | [Mutex] waiting for: [received:nodes:92762e41-16d6-4b16-bad9-750adaae49d1:localhost]

2023-11-04 23:57:48 | [Mutex] waiting for: [received:nodes:92762e41-16d6-4b16-bad9-750adaae49d1:localhost]

2023-11-04 23:57:48 | [Mutex] waiting for: [received:nodes:92762e41-16d6-4b16-bad9-750adaae49d1:localhost]

2023-11-04 23:57:48 | [Mutex] waiting for: [received:nodes:92762e41-16d6-4b16-bad9-750adaae49d1:localhost]

2023-11-04 23:57:48 | [Mutex] waiting for: [received:nodes:92762e41-16d6-4b16-bad9-750adaae49d1:localhost]

2023-11-04 23:57:48 | [Mutex] received everything.

2023-11-04 23:57:48 | [Mutex] isItemNotified: received:node:92762e41-16d6-4b16-bad9-750adaae49d1:localhost:node-452e33ab-1cef-4128-b332-d71c0f4bff6b:Node 452e33ab-1cef-4128-b332-d71c0f4bff6b :: true

deleteNodes 1.023s
2023-11-04 23:57:54 |

2023-11-04 23:57:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:57:54 | ------------------------------------

2023-11-04 23:57:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-452e33ab-1cef-4128-b332-d71c0f4bff6b</node></data>

2023-11-04 23:57:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-04 23:57:55 | [Mutex] waiting for: [received:nodes:2f771559-fbf1-4937-a887-be762801354e:localhost]

2023-11-04 23:57:55 | [Mutex] waiting for: [received:nodes:2f771559-fbf1-4937-a887-be762801354e:localhost]

2023-11-04 23:57:55 | [Mutex] waiting for: [received:nodes:2f771559-fbf1-4937-a887-be762801354e:localhost]

2023-11-04 23:57:55 | [Mutex] received everything.

2023-11-04 23:57:55 | [Mutex] isItemNotified: received:node:2f771559-fbf1-4937-a887-be762801354e:localhost:node-452e33ab-1cef-4128-b332-d71c0f4bff6b:Node 452e33ab-1cef-4128-b332-d71c0f4bff6b :: false

deleteSubnodes 1.154s
2023-11-04 23:57:53 |

2023-11-04 23:57:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:57:53 | ------------------------------------

2023-11-04 23:57:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d54801db-63f5-4c11-91f3-85618e5755fa</node></data>

2023-11-04 23:57:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-04 23:57:54 | [Mutex] waiting for: [received:nodes:c1d35a6d-6698-4b4f-b597-50568b7ec8d6:localhost]

2023-11-04 23:57:54 | [Mutex] waiting for: [received:nodes:c1d35a6d-6698-4b4f-b597-50568b7ec8d6:localhost]

2023-11-04 23:57:54 | [Mutex] waiting for: [received:nodes:c1d35a6d-6698-4b4f-b597-50568b7ec8d6:localhost]

2023-11-04 23:57:54 | [Mutex] waiting for: [received:nodes:c1d35a6d-6698-4b4f-b597-50568b7ec8d6:localhost]

2023-11-04 23:57:54 | [Mutex] received everything.

2023-11-04 23:57:54 | [Mutex] isItemNotified: received:node:c1d35a6d-6698-4b4f-b597-50568b7ec8d6:localhost:node-d54801db-63f5-4c11-91f3-85618e5755fa:Node d54801db-63f5-4c11-91f3-85618e5755fa :: false

2023-11-04 23:57:54 | [Mutex] waiting for: [received:nodes:715fd95a-6d5f-4474-88d0-38aa471e5423:localhost]

2023-11-04 23:57:54 | [Mutex] received everything.

2023-11-04 23:57:54 | [Mutex] isItemNotified: received:node:715fd95a-6d5f-4474-88d0-38aa471e5423:localhost:node-d54801db-63f5-4c11-91f3-85618e5755fa:Node d54801db-63f5-4c11-91f3-85618e5755fa :: false

publishItemsToNodes 0.207s
2023-11-04 23:57:51 |

2023-11-04 23:57:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:57:51 | ------------------------------------

2023-11-04 23:57:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d54801db-63f5-4c11-91f3-85618e5755fa</node><item-id>item-2e386165-093a-4bd0-b1c6-1f8a27c003c2</item-id><entry><test>item-2e386165-093a-4bd0-b1c6-1f8a27c003c2</test></entry></data>

2023-11-04 23:57:51 | 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-2e386165-093a-4bd0-b1c6-1f8a27c003c2</value></item-id></result>

2023-11-04 23:57:51 | [Mutex] received everything.

2023-11-04 23:57:51 | [Mutex] isItemNotified: published:item:notifieditem-2e386165-093a-4bd0-b1c6-1f8a27c003c2:admin@test-domain.com :: true

retractItemsFromNodes 0.327s
2023-11-04 23:57:51 |

2023-11-04 23:57:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:57:51 | ------------------------------------

2023-11-04 23:57:51 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d54801db-63f5-4c11-91f3-85618e5755fa</node><item-id>item-2e386165-093a-4bd0-b1c6-1f8a27c003c2</item-id></data>

2023-11-04 23:57:51 | 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-2e386165-093a-4bd0-b1c6-1f8a27c003c2</value></item-id></result>

2023-11-04 23:57:51 | [Mutex] received everything.

2023-11-04 23:57:51 | [Mutex] isItemNotified: retracted:item:notifieditem-2e386165-093a-4bd0-b1c6-1f8a27c003c2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.266s
2023-11-04 23:57:51 |

2023-11-04 23:57:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:57:51 | ------------------------------------

2023-11-04 23:57:51 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d54801db-63f5-4c11-91f3-85618e5755fa</node><item-id>item-2e386165-093a-4bd0-b1c6-1f8a27c003c2</item-id></data>

2023-11-04 23:57:51 | 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-d54801db-63f5-4c11-91f3-85618e5755fa</value></node><item-id type="text-single" label="Item ID"><value>item-2e386165-093a-4bd0-b1c6-1f8a27c003c2</value></item-id><item type="text-multi" label="Item"><value><item id="item-2e386165-093a-4bd0-b1c6-1f8a27c003c2"><test>item-2e386165-093a-4bd0-b1c6-1f8a27c003c2</test></item></value></item></result>

2023-11-04 23:57:51 | [Mutex] notify: [retrieved:item:item-2e386165-093a-4bd0-b1c6-1f8a27c003c2:payload-matches:true:localhost]

2023-11-04 23:57:51 | [Mutex] received everything.

2023-11-04 23:57:51 | [Mutex] isItemNotified: retrieved:item:item-2e386165-093a-4bd0-b1c6-1f8a27c003c2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-11-04 23:57:51 |

2023-11-04 23:57:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:57:51 | ------------------------------------

2023-11-04 23:57:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-11-04 23:57:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-d54801db-63f5-4c11-91f3-85618e5755fa</value><value>test</value><value>node-452e33ab-1cef-4128-b332-d71c0f4bff6b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-11-04 23:57:51 |

2023-11-04 23:57:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:57:51 | ------------------------------------

2023-11-04 23:57:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d54801db-63f5-4c11-91f3-85618e5755fa)</node-pattern></data>

2023-11-04 23:57:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.104s
2023-11-04 23:57:49 |

2023-11-04 23:57:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:57:49 | ------------------------------------

2023-11-04 23:57:49 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d54801db-63f5-4c11-91f3-85618e5755fa</node><jids><value>admin@test-domain.com</value></jids></data>

2023-11-04 23:57:50 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.208s
2023-11-04 23:57:51 |

2023-11-04 23:57:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:57:51 | ------------------------------------

2023-11-04 23:57:51 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d54801db-63f5-4c11-91f3-85618e5755fa</node><jids><value>admin@test-domain.com</value></jids></data>

2023-11-04 23:57:52 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>