Generated by TestNG with ReportNG at 22:15 PDT on Friday 24 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.395s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2023-03-24 22:29:56 |

2023-03-24 22:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 22:29:56 | ------------------------------------

2023-03-24 22:29:56 | [Mutex] waiting for: [configured:node:node-49484eb0-c2d4-494c-ad22-51cea95ad645:node-7cd59911-88d7-4d6e-88c4-2de42ba818c7]

2023-03-24 22:29:56 | [Mutex] received everything.

2023-03-24 22:29:56 | [Mutex] isItemNotified: configured:node:node-49484eb0-c2d4-494c-ad22-51cea95ad645:node-7cd59911-88d7-4d6e-88c4-2de42ba818c7 :: true

2023-03-24 22:29:57 | [Mutex] waiting for: [received:nodes:fb5e248a-8b4a-47b6-a422-48a34fb52af4:localhost]

2023-03-24 22:29:57 | [Mutex] received everything.

2023-03-24 22:29:57 | [Mutex] isItemNotified: received:node:fb5e248a-8b4a-47b6-a422-48a34fb52af4:localhost:node-49484eb0-c2d4-494c-ad22-51cea95ad645:Node 49484eb0-c2d4-494c-ad22-51cea95ad645 :: true

2023-03-24 22:29:57 | [Mutex] waiting for: [received:nodes:975db762-2fa8-4724-82a2-5e0c866528d0:localhost]

2023-03-24 22:29:57 | [Mutex] received everything.

2023-03-24 22:29:57 | [Mutex] isItemNotified: received:node:975db762-2fa8-4724-82a2-5e0c866528d0:localhost:node-49484eb0-c2d4-494c-ad22-51cea95ad645:Node 49484eb0-c2d4-494c-ad22-51cea95ad645 :: false

createNodes 1.416s
2023-03-24 22:29:53 |

2023-03-24 22:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 22:29:53 | ------------------------------------

2023-03-24 22:29:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-49484eb0-c2d4-494c-ad22-51cea95ad645</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 49484eb0-c2d4-494c-ad22-51cea95ad645</title></pubsub></data>

2023-03-24 22:29:54 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-24 22:29:55 | [Mutex] waiting for: [received:nodes:fbeecda1-6416-4363-887a-8938c164b317:localhost]

2023-03-24 22:29:55 | [Mutex] waiting for: [received:nodes:fbeecda1-6416-4363-887a-8938c164b317:localhost]

2023-03-24 22:29:55 | [Mutex] waiting for: [received:nodes:fbeecda1-6416-4363-887a-8938c164b317:localhost]

2023-03-24 22:29:55 | [Mutex] waiting for: [received:nodes:fbeecda1-6416-4363-887a-8938c164b317:localhost]

2023-03-24 22:29:55 | [Mutex] received everything.

2023-03-24 22:29:55 | [Mutex] isItemNotified: received:node:fbeecda1-6416-4363-887a-8938c164b317:localhost:node-49484eb0-c2d4-494c-ad22-51cea95ad645:Node 49484eb0-c2d4-494c-ad22-51cea95ad645 :: true

createSubnodes 1.024s
2023-03-24 22:29:55 |

2023-03-24 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 22:29:55 | ------------------------------------

2023-03-24 22:29:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7cd59911-88d7-4d6e-88c4-2de42ba818c7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7cd59911-88d7-4d6e-88c4-2de42ba818c7</title></pubsub></data>

2023-03-24 22:29:55 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-24 22:29:56 | [Mutex] waiting for: [received:nodes:29b0e366-f7b1-4474-944c-d2396515e018:localhost]

2023-03-24 22:29:56 | [Mutex] waiting for: [received:nodes:29b0e366-f7b1-4474-944c-d2396515e018:localhost]

2023-03-24 22:29:56 | [Mutex] waiting for: [received:nodes:29b0e366-f7b1-4474-944c-d2396515e018:localhost]

2023-03-24 22:29:56 | [Mutex] waiting for: [received:nodes:29b0e366-f7b1-4474-944c-d2396515e018:localhost]

2023-03-24 22:29:56 | [Mutex] waiting for: [received:nodes:29b0e366-f7b1-4474-944c-d2396515e018:localhost]

2023-03-24 22:29:56 | [Mutex] received everything.

2023-03-24 22:29:56 | [Mutex] isItemNotified: received:node:29b0e366-f7b1-4474-944c-d2396515e018:localhost:node-7cd59911-88d7-4d6e-88c4-2de42ba818c7:Node 7cd59911-88d7-4d6e-88c4-2de42ba818c7 :: true

deleteNodes 1.018s
2023-03-24 22:30:01 |

2023-03-24 22:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 22:30:01 | ------------------------------------

2023-03-24 22:30:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7cd59911-88d7-4d6e-88c4-2de42ba818c7</node></data>

2023-03-24 22:30:01 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-24 22:30:02 | [Mutex] waiting for: [received:nodes:48eee4c9-3617-4ec1-8b84-82db374f4f9c:localhost]

2023-03-24 22:30:02 | [Mutex] waiting for: [received:nodes:48eee4c9-3617-4ec1-8b84-82db374f4f9c:localhost]

2023-03-24 22:30:02 | [Mutex] waiting for: [received:nodes:48eee4c9-3617-4ec1-8b84-82db374f4f9c:localhost]

2023-03-24 22:30:02 | [Mutex] received everything.

2023-03-24 22:30:02 | [Mutex] isItemNotified: received:node:48eee4c9-3617-4ec1-8b84-82db374f4f9c:localhost:node-7cd59911-88d7-4d6e-88c4-2de42ba818c7:Node 7cd59911-88d7-4d6e-88c4-2de42ba818c7 :: false

deleteSubnodes 1.120s
2023-03-24 22:30:00 |

2023-03-24 22:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 22:30:00 | ------------------------------------

2023-03-24 22:30:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-49484eb0-c2d4-494c-ad22-51cea95ad645</node></data>

2023-03-24 22:30:00 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-24 22:30:01 | [Mutex] waiting for: [received:nodes:879a88dd-5a3e-4a20-b7a0-a6bd1b527f28:localhost]

2023-03-24 22:30:01 | [Mutex] waiting for: [received:nodes:879a88dd-5a3e-4a20-b7a0-a6bd1b527f28:localhost]

2023-03-24 22:30:01 | [Mutex] waiting for: [received:nodes:879a88dd-5a3e-4a20-b7a0-a6bd1b527f28:localhost]

2023-03-24 22:30:01 | [Mutex] waiting for: [received:nodes:879a88dd-5a3e-4a20-b7a0-a6bd1b527f28:localhost]

2023-03-24 22:30:01 | [Mutex] received everything.

2023-03-24 22:30:01 | [Mutex] isItemNotified: received:node:879a88dd-5a3e-4a20-b7a0-a6bd1b527f28:localhost:node-49484eb0-c2d4-494c-ad22-51cea95ad645:Node 49484eb0-c2d4-494c-ad22-51cea95ad645 :: false

2023-03-24 22:30:01 | [Mutex] waiting for: [received:nodes:3513be8b-e254-492d-83c5-e5aaed244389:localhost]

2023-03-24 22:30:01 | [Mutex] received everything.

2023-03-24 22:30:01 | [Mutex] isItemNotified: received:node:3513be8b-e254-492d-83c5-e5aaed244389:localhost:node-49484eb0-c2d4-494c-ad22-51cea95ad645:Node 49484eb0-c2d4-494c-ad22-51cea95ad645 :: false

publishItemsToNodes 0.186s
2023-03-24 22:29:58 |

2023-03-24 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 22:29:58 | ------------------------------------

2023-03-24 22:29:58 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-49484eb0-c2d4-494c-ad22-51cea95ad645</node><item-id>item-5159e567-b9bc-43bd-b69f-797bf5f335f2</item-id><entry><test>item-5159e567-b9bc-43bd-b69f-797bf5f335f2</test></entry></data>

2023-03-24 22:29:58 | 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-5159e567-b9bc-43bd-b69f-797bf5f335f2</value></item-id></result>

2023-03-24 22:29:58 | [Mutex] waiting for: [published:item:notifieditem-5159e567-b9bc-43bd-b69f-797bf5f335f2:admin@test-domain.com]

2023-03-24 22:29:58 | [Mutex] received everything.

2023-03-24 22:29:58 | [Mutex] isItemNotified: published:item:notifieditem-5159e567-b9bc-43bd-b69f-797bf5f335f2:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2023-03-24 22:29:59 |

2023-03-24 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 22:29:59 | ------------------------------------

2023-03-24 22:29:59 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-49484eb0-c2d4-494c-ad22-51cea95ad645</node><item-id>item-5159e567-b9bc-43bd-b69f-797bf5f335f2</item-id></data>

2023-03-24 22:29:59 | 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-5159e567-b9bc-43bd-b69f-797bf5f335f2</value></item-id></result>

2023-03-24 22:29:59 | [Mutex] received everything.

2023-03-24 22:29:59 | [Mutex] isItemNotified: retracted:item:notifieditem-5159e567-b9bc-43bd-b69f-797bf5f335f2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.238s
2023-03-24 22:29:58 |

2023-03-24 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 22:29:58 | ------------------------------------

2023-03-24 22:29:58 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-49484eb0-c2d4-494c-ad22-51cea95ad645</node><item-id>item-5159e567-b9bc-43bd-b69f-797bf5f335f2</item-id></data>

2023-03-24 22:29:59 | 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-49484eb0-c2d4-494c-ad22-51cea95ad645</value></node><item-id label="Item ID" type="text-single"><value>item-5159e567-b9bc-43bd-b69f-797bf5f335f2</value></item-id><item label="Item" type="text-multi"><value><item id="item-5159e567-b9bc-43bd-b69f-797bf5f335f2"><test>item-5159e567-b9bc-43bd-b69f-797bf5f335f2</test></item></value></item></result>

2023-03-24 22:29:59 | [Mutex] notify: [retrieved:item:item-5159e567-b9bc-43bd-b69f-797bf5f335f2:payload-matches:true:localhost]

2023-03-24 22:29:59 | [Mutex] received everything.

2023-03-24 22:29:59 | [Mutex] isItemNotified: retrieved:item:item-5159e567-b9bc-43bd-b69f-797bf5f335f2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-24 22:29:59 |

2023-03-24 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 22:29:59 | ------------------------------------

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

2023-03-24 22:29:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-49484eb0-c2d4-494c-ad22-51cea95ad645</value><value>test</value><value>node-7cd59911-88d7-4d6e-88c4-2de42ba818c7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-24 22:29:59 |

2023-03-24 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 22:29:59 | ------------------------------------

2023-03-24 22:29:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-49484eb0-c2d4-494c-ad22-51cea95ad645)</node-pattern></data>

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

subscribeNodes 1.103s
2023-03-24 22:29:57 |

2023-03-24 22:29:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 22:29:57 | ------------------------------------

2023-03-24 22:29:57 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-49484eb0-c2d4-494c-ad22-51cea95ad645</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-24 22:29:57 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.195s
2023-03-24 22:29:59 |

2023-03-24 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 22:29:59 | ------------------------------------

2023-03-24 22:29:59 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-49484eb0-c2d4-494c-ad22-51cea95ad645</node><jids><value>admin@test-domain.com</value></jids></data>

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