Generated by TestNG with ReportNG at 21:29 PST on Sunday 05 March 2023
root@7c41cec37518 / Java 17.0.2 (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.432s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2023-03-05 21:43:40 |

2023-03-05 21:43:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:43:40 | ------------------------------------

2023-03-05 21:43:40 | [Mutex] waiting for: [configured:node:node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53:node-e41211fe-6852-4991-93ef-ef31f05e50d7]

2023-03-05 21:43:40 | [Mutex] received everything.

2023-03-05 21:43:40 | [Mutex] isItemNotified: configured:node:node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53:node-e41211fe-6852-4991-93ef-ef31f05e50d7 :: true

2023-03-05 21:43:41 | [Mutex] waiting for: [received:nodes:ab99957a-c777-48f3-995e-a42edafeaa23:localhost]

2023-03-05 21:43:41 | [Mutex] received everything.

2023-03-05 21:43:41 | [Mutex] isItemNotified: received:node:ab99957a-c777-48f3-995e-a42edafeaa23:localhost:node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53:Node cbf4f381-60cd-4bba-85a4-2ef7fb05cf53 :: true

2023-03-05 21:43:41 | [Mutex] waiting for: [received:nodes:98cccba5-ac58-4076-9c18-4477189a55a4:localhost]

2023-03-05 21:43:41 | [Mutex] waiting for: [received:nodes:98cccba5-ac58-4076-9c18-4477189a55a4:localhost]

2023-03-05 21:43:41 | [Mutex] waiting for: [received:nodes:98cccba5-ac58-4076-9c18-4477189a55a4:localhost]

2023-03-05 21:43:41 | [Mutex] received everything.

2023-03-05 21:43:41 | [Mutex] isItemNotified: received:node:98cccba5-ac58-4076-9c18-4477189a55a4:localhost:node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53:Node cbf4f381-60cd-4bba-85a4-2ef7fb05cf53 :: false

createNodes 1.390s
2023-03-05 21:43:38 |

2023-03-05 21:43:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:43:38 | ------------------------------------

2023-03-05 21:43:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cbf4f381-60cd-4bba-85a4-2ef7fb05cf53</title></pubsub></data>

2023-03-05 21:43:38 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-05 21:43:39 | [Mutex] waiting for: [received:nodes:92385e7c-7c26-4b09-9dc2-30fa66027a39:localhost]

2023-03-05 21:43:39 | [Mutex] received everything.

2023-03-05 21:43:39 | [Mutex] isItemNotified: received:node:92385e7c-7c26-4b09-9dc2-30fa66027a39:localhost:node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53:Node cbf4f381-60cd-4bba-85a4-2ef7fb05cf53 :: true

createSubnodes 1.030s
2023-03-05 21:43:39 |

2023-03-05 21:43:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:43:39 | ------------------------------------

2023-03-05 21:43:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e41211fe-6852-4991-93ef-ef31f05e50d7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e41211fe-6852-4991-93ef-ef31f05e50d7</title></pubsub></data>

2023-03-05 21:43:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-05 21:43:40 | [Mutex] waiting for: [received:nodes:05141eca-41d8-4391-83d5-65cccdf12d24:localhost]

2023-03-05 21:43:40 | [Mutex] waiting for: [received:nodes:05141eca-41d8-4391-83d5-65cccdf12d24:localhost]

2023-03-05 21:43:40 | [Mutex] waiting for: [received:nodes:05141eca-41d8-4391-83d5-65cccdf12d24:localhost]

2023-03-05 21:43:40 | [Mutex] waiting for: [received:nodes:05141eca-41d8-4391-83d5-65cccdf12d24:localhost]

2023-03-05 21:43:40 | [Mutex] received everything.

2023-03-05 21:43:40 | [Mutex] isItemNotified: received:node:05141eca-41d8-4391-83d5-65cccdf12d24:localhost:node-e41211fe-6852-4991-93ef-ef31f05e50d7:Node e41211fe-6852-4991-93ef-ef31f05e50d7 :: true

deleteNodes 1.022s
2023-03-05 21:43:46 |

2023-03-05 21:43:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:43:46 | ------------------------------------

2023-03-05 21:43:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e41211fe-6852-4991-93ef-ef31f05e50d7</node></data>

2023-03-05 21:43:46 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-05 21:43:47 | [Mutex] waiting for: [received:nodes:3593fa93-2a5b-4285-b1c5-f531a38b1c48:localhost]

2023-03-05 21:43:47 | [Mutex] received everything.

2023-03-05 21:43:47 | [Mutex] isItemNotified: received:node:3593fa93-2a5b-4285-b1c5-f531a38b1c48:localhost:node-e41211fe-6852-4991-93ef-ef31f05e50d7:Node e41211fe-6852-4991-93ef-ef31f05e50d7 :: false

deleteSubnodes 1.117s
2023-03-05 21:43:44 |

2023-03-05 21:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:43:44 | ------------------------------------

2023-03-05 21:43:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53</node></data>

2023-03-05 21:43:45 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-05 21:43:46 | [Mutex] waiting for: [received:nodes:8ae7bf24-625c-4b05-9504-f05de8934d2a:localhost]

2023-03-05 21:43:46 | [Mutex] waiting for: [received:nodes:8ae7bf24-625c-4b05-9504-f05de8934d2a:localhost]

2023-03-05 21:43:46 | [Mutex] waiting for: [received:nodes:8ae7bf24-625c-4b05-9504-f05de8934d2a:localhost]

2023-03-05 21:43:46 | [Mutex] received everything.

2023-03-05 21:43:46 | [Mutex] isItemNotified: received:node:8ae7bf24-625c-4b05-9504-f05de8934d2a:localhost:node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53:Node cbf4f381-60cd-4bba-85a4-2ef7fb05cf53 :: false

2023-03-05 21:43:46 | [Mutex] waiting for: [received:nodes:c319b614-4066-4812-b759-9098c8ddbd7d:localhost]

2023-03-05 21:43:46 | [Mutex] received everything.

2023-03-05 21:43:46 | [Mutex] isItemNotified: received:node:c319b614-4066-4812-b759-9098c8ddbd7d:localhost:node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53:Node cbf4f381-60cd-4bba-85a4-2ef7fb05cf53 :: false

publishItemsToNodes 0.217s
2023-03-05 21:43:42 |

2023-03-05 21:43:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:43:42 | ------------------------------------

2023-03-05 21:43:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53</node><item-id>item-935627fd-11ce-4af9-860e-89fb5c87dfc5</item-id><entry><test>item-935627fd-11ce-4af9-860e-89fb5c87dfc5</test></entry></data>

2023-03-05 21:43:43 | 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-935627fd-11ce-4af9-860e-89fb5c87dfc5</value></item-id></result>

2023-03-05 21:43:43 | [Mutex] waiting for: [published:item:notifieditem-935627fd-11ce-4af9-860e-89fb5c87dfc5:admin@test-domain.com]

2023-03-05 21:43:43 | [Mutex] received everything.

2023-03-05 21:43:43 | [Mutex] isItemNotified: published:item:notifieditem-935627fd-11ce-4af9-860e-89fb5c87dfc5:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2023-03-05 21:43:43 |

2023-03-05 21:43:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:43:43 | ------------------------------------

2023-03-05 21:43:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53</node><item-id>item-935627fd-11ce-4af9-860e-89fb5c87dfc5</item-id></data>

2023-03-05 21:43:43 | 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-935627fd-11ce-4af9-860e-89fb5c87dfc5</value></item-id></result>

2023-03-05 21:43:43 | [Mutex] received everything.

2023-03-05 21:43:43 | [Mutex] isItemNotified: retracted:item:notifieditem-935627fd-11ce-4af9-860e-89fb5c87dfc5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.252s
2023-03-05 21:43:43 |

2023-03-05 21:43:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:43:43 | ------------------------------------

2023-03-05 21:43:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53</node><item-id>item-935627fd-11ce-4af9-860e-89fb5c87dfc5</item-id></data>

2023-03-05 21:43:43 | 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-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53</value></node><item-id label="Item ID" type="text-single"><value>item-935627fd-11ce-4af9-860e-89fb5c87dfc5</value></item-id><item label="Item" type="text-multi"><value><item id="item-935627fd-11ce-4af9-860e-89fb5c87dfc5"><test>item-935627fd-11ce-4af9-860e-89fb5c87dfc5</test></item></value></item></result>

2023-03-05 21:43:43 | [Mutex] notify: [retrieved:item:item-935627fd-11ce-4af9-860e-89fb5c87dfc5:payload-matches:true:localhost]

2023-03-05 21:43:43 | [Mutex] received everything.

2023-03-05 21:43:43 | [Mutex] isItemNotified: retrieved:item:item-935627fd-11ce-4af9-860e-89fb5c87dfc5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-03-05 21:43:43 |

2023-03-05 21:43:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:43:43 | ------------------------------------

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

2023-03-05 21:43:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53</value><value>node-e41211fe-6852-4991-93ef-ef31f05e50d7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-05 21:43:43 |

2023-03-05 21:43:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:43:43 | ------------------------------------

2023-03-05 21:43:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53)</node-pattern></data>

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

subscribeNodes 1.158s
2023-03-05 21:43:41 |

2023-03-05 21:43:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:43:41 | ------------------------------------

2023-03-05 21:43:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-05 21:43:41 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.219s
2023-03-05 21:43:43 |

2023-03-05 21:43:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:43:43 | ------------------------------------

2023-03-05 21:43:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-cbf4f381-60cd-4bba-85a4-2ef7fb05cf53</node><jids><value>admin@test-domain.com</value></jids></data>

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