Generated by TestNG with ReportNG at 22:30 PDT on Tuesday 04 July 2023
root@cc7d7fbb25f7 / Java 17.0.6 (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.351s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.120s
2023-07-04 22:45:39 |

2023-07-04 22:45:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:45:39 | ------------------------------------

2023-07-04 22:45:39 | [Mutex] waiting for: [configured:node:node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9:node-2742f623-4bf1-443c-87f1-8183160bdf65]

2023-07-04 22:45:39 | [Mutex] received everything.

2023-07-04 22:45:39 | [Mutex] isItemNotified: configured:node:node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9:node-2742f623-4bf1-443c-87f1-8183160bdf65 :: true

2023-07-04 22:45:40 | [Mutex] waiting for: [received:nodes:f9a655ab-f3fc-4aee-b995-db8d9a823313:localhost]

2023-07-04 22:45:40 | [Mutex] received everything.

2023-07-04 22:45:40 | [Mutex] isItemNotified: received:node:f9a655ab-f3fc-4aee-b995-db8d9a823313:localhost:node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9:Node ca54bb62-4df1-47e2-bebb-3cde0262a5a9 :: true

2023-07-04 22:45:40 | [Mutex] waiting for: [received:nodes:231394b4-0506-4460-b685-c8eb6ac760dd:localhost]

2023-07-04 22:45:40 | [Mutex] waiting for: [received:nodes:231394b4-0506-4460-b685-c8eb6ac760dd:localhost]

2023-07-04 22:45:40 | [Mutex] waiting for: [received:nodes:231394b4-0506-4460-b685-c8eb6ac760dd:localhost]

2023-07-04 22:45:40 | [Mutex] received everything.

2023-07-04 22:45:40 | [Mutex] isItemNotified: received:node:231394b4-0506-4460-b685-c8eb6ac760dd:localhost:node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9:Node ca54bb62-4df1-47e2-bebb-3cde0262a5a9 :: false

createNodes 1.389s
2023-07-04 22:45:36 |

2023-07-04 22:45:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:45:36 | ------------------------------------

2023-07-04 22:45:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ca54bb62-4df1-47e2-bebb-3cde0262a5a9</title></pubsub></data>

2023-07-04 22:45:37 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-04 22:45:38 | [Mutex] waiting for: [received:nodes:ea7a48d2-c595-46fb-8c6e-71d274df777d:localhost]

2023-07-04 22:45:38 | [Mutex] waiting for: [received:nodes:ea7a48d2-c595-46fb-8c6e-71d274df777d:localhost]

2023-07-04 22:45:38 | [Mutex] waiting for: [received:nodes:ea7a48d2-c595-46fb-8c6e-71d274df777d:localhost]

2023-07-04 22:45:38 | [Mutex] waiting for: [received:nodes:ea7a48d2-c595-46fb-8c6e-71d274df777d:localhost]

2023-07-04 22:45:38 | [Mutex] received everything.

2023-07-04 22:45:38 | [Mutex] isItemNotified: received:node:ea7a48d2-c595-46fb-8c6e-71d274df777d:localhost:node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9:Node ca54bb62-4df1-47e2-bebb-3cde0262a5a9 :: true

createSubnodes 1.032s
2023-07-04 22:45:38 |

2023-07-04 22:45:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:45:38 | ------------------------------------

2023-07-04 22:45:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2742f623-4bf1-443c-87f1-8183160bdf65</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2742f623-4bf1-443c-87f1-8183160bdf65</title></pubsub></data>

2023-07-04 22:45:38 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-04 22:45:39 | [Mutex] waiting for: [received:nodes:890529ee-b95c-4c26-a9fc-99d2ab697004:localhost]

2023-07-04 22:45:39 | [Mutex] waiting for: [received:nodes:890529ee-b95c-4c26-a9fc-99d2ab697004:localhost]

2023-07-04 22:45:39 | [Mutex] waiting for: [received:nodes:890529ee-b95c-4c26-a9fc-99d2ab697004:localhost]

2023-07-04 22:45:39 | [Mutex] waiting for: [received:nodes:890529ee-b95c-4c26-a9fc-99d2ab697004:localhost]

2023-07-04 22:45:39 | [Mutex] waiting for: [received:nodes:890529ee-b95c-4c26-a9fc-99d2ab697004:localhost]

2023-07-04 22:45:39 | [Mutex] received everything.

2023-07-04 22:45:39 | [Mutex] isItemNotified: received:node:890529ee-b95c-4c26-a9fc-99d2ab697004:localhost:node-2742f623-4bf1-443c-87f1-8183160bdf65:Node 2742f623-4bf1-443c-87f1-8183160bdf65 :: true

deleteNodes 1.024s
2023-07-04 22:45:44 |

2023-07-04 22:45:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:45:44 | ------------------------------------

2023-07-04 22:45:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2742f623-4bf1-443c-87f1-8183160bdf65</node></data>

2023-07-04 22:45:44 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-04 22:45:45 | [Mutex] waiting for: [received:nodes:179ea4d0-ebe3-486e-8d68-b2e5b60fb415:localhost]

2023-07-04 22:45:45 | [Mutex] waiting for: [received:nodes:179ea4d0-ebe3-486e-8d68-b2e5b60fb415:localhost]

2023-07-04 22:45:45 | [Mutex] waiting for: [received:nodes:179ea4d0-ebe3-486e-8d68-b2e5b60fb415:localhost]

2023-07-04 22:45:45 | [Mutex] received everything.

2023-07-04 22:45:45 | [Mutex] isItemNotified: received:node:179ea4d0-ebe3-486e-8d68-b2e5b60fb415:localhost:node-2742f623-4bf1-443c-87f1-8183160bdf65:Node 2742f623-4bf1-443c-87f1-8183160bdf65 :: false

deleteSubnodes 1.107s
2023-07-04 22:45:43 |

2023-07-04 22:45:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:45:43 | ------------------------------------

2023-07-04 22:45:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9</node></data>

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

2023-07-04 22:45:44 | [Mutex] waiting for: [received:nodes:e8b859c5-8bfd-410d-a309-eb87abc22ec6:localhost]

2023-07-04 22:45:44 | [Mutex] waiting for: [received:nodes:e8b859c5-8bfd-410d-a309-eb87abc22ec6:localhost]

2023-07-04 22:45:44 | [Mutex] waiting for: [received:nodes:e8b859c5-8bfd-410d-a309-eb87abc22ec6:localhost]

2023-07-04 22:45:44 | [Mutex] waiting for: [received:nodes:e8b859c5-8bfd-410d-a309-eb87abc22ec6:localhost]

2023-07-04 22:45:44 | [Mutex] received everything.

2023-07-04 22:45:44 | [Mutex] isItemNotified: received:node:e8b859c5-8bfd-410d-a309-eb87abc22ec6:localhost:node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9:Node ca54bb62-4df1-47e2-bebb-3cde0262a5a9 :: false

2023-07-04 22:45:44 | [Mutex] waiting for: [received:nodes:edfaa295-032c-4811-b0a6-8263eae12058:localhost]

2023-07-04 22:45:44 | [Mutex] received everything.

2023-07-04 22:45:44 | [Mutex] isItemNotified: received:node:edfaa295-032c-4811-b0a6-8263eae12058:localhost:node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9:Node ca54bb62-4df1-47e2-bebb-3cde0262a5a9 :: false

publishItemsToNodes 0.253s
2023-07-04 22:45:41 |

2023-07-04 22:45:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:45:41 | ------------------------------------

2023-07-04 22:45:41 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9</node><item-id>item-bc551d91-7190-42ff-8718-4b104144c31d</item-id><entry><test>item-bc551d91-7190-42ff-8718-4b104144c31d</test></entry></data>

2023-07-04 22:45:41 | 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-bc551d91-7190-42ff-8718-4b104144c31d</value></item-id></result>

2023-07-04 22:45:41 | [Mutex] received everything.

2023-07-04 22:45:41 | [Mutex] isItemNotified: published:item:notifieditem-bc551d91-7190-42ff-8718-4b104144c31d:admin@test-domain.com :: true

retractItemsFromNodes 0.257s
2023-07-04 22:45:41 |

2023-07-04 22:45:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:45:41 | ------------------------------------

2023-07-04 22:45:41 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9</node><item-id>item-bc551d91-7190-42ff-8718-4b104144c31d</item-id></data>

2023-07-04 22:45:42 | 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-bc551d91-7190-42ff-8718-4b104144c31d</value></item-id></result>

2023-07-04 22:45:42 | [Mutex] waiting for: [retracted:item:notifieditem-bc551d91-7190-42ff-8718-4b104144c31d:admin@test-domain.com]

2023-07-04 22:45:42 | [Mutex] received everything.

2023-07-04 22:45:42 | [Mutex] isItemNotified: retracted:item:notifieditem-bc551d91-7190-42ff-8718-4b104144c31d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.176s
2023-07-04 22:45:41 |

2023-07-04 22:45:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:45:41 | ------------------------------------

2023-07-04 22:45:41 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9</node><item-id>item-bc551d91-7190-42ff-8718-4b104144c31d</item-id></data>

2023-07-04 22:45:41 | 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-ca54bb62-4df1-47e2-bebb-3cde0262a5a9</value></node><item-id label="Item ID" type="text-single"><value>item-bc551d91-7190-42ff-8718-4b104144c31d</value></item-id><item label="Item" type="text-multi"><value><item id="item-bc551d91-7190-42ff-8718-4b104144c31d"><test>item-bc551d91-7190-42ff-8718-4b104144c31d</test></item></value></item></result>

2023-07-04 22:45:41 | [Mutex] notify: [retrieved:item:item-bc551d91-7190-42ff-8718-4b104144c31d:payload-matches:true:localhost]

2023-07-04 22:45:41 | [Mutex] received everything.

2023-07-04 22:45:41 | [Mutex] isItemNotified: retrieved:item:item-bc551d91-7190-42ff-8718-4b104144c31d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-07-04 22:45:41 |

2023-07-04 22:45:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:45:41 | ------------------------------------

2023-07-04 22:45:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-04 22:45:41 | 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-2742f623-4bf1-443c-87f1-8183160bdf65</value><value>node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2023-07-04 22:45:41 |

2023-07-04 22:45:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:45:41 | ------------------------------------

2023-07-04 22:45:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9)</node-pattern></data>

2023-07-04 22:45:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.145s
2023-07-04 22:45:40 |

2023-07-04 22:45:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:45:40 | ------------------------------------

2023-07-04 22:45:40 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-04 22:45:40 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.151s
2023-07-04 22:45:42 |

2023-07-04 22:45:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:45:42 | ------------------------------------

2023-07-04 22:45:42 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ca54bb62-4df1-47e2-bebb-3cde0262a5a9</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-04 22:45:42 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>