Generated by TestNG with ReportNG at 22:17 PDT on Friday 25 August 2023
root@c198f8de0a9c / 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.414s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2023-08-25 22:31:43 |

2023-08-25 22:31:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:31:43 | ------------------------------------

2023-08-25 22:31:43 | [Mutex] waiting for: [configured:node:node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8:node-b24b0bea-073a-4072-abeb-6b50eacd6263]

2023-08-25 22:31:43 | [Mutex] received everything.

2023-08-25 22:31:43 | [Mutex] isItemNotified: configured:node:node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8:node-b24b0bea-073a-4072-abeb-6b50eacd6263 :: true

2023-08-25 22:31:44 | [Mutex] waiting for: [received:nodes:b851611a-253f-4f67-b93c-d9efe3ac5fb2:localhost]

2023-08-25 22:31:44 | [Mutex] received everything.

2023-08-25 22:31:44 | [Mutex] isItemNotified: received:node:b851611a-253f-4f67-b93c-d9efe3ac5fb2:localhost:node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8:Node b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8 :: true

2023-08-25 22:31:44 | [Mutex] waiting for: [received:nodes:dda3b50f-1ccf-4165-ac32-d985927f62f0:localhost]

2023-08-25 22:31:44 | [Mutex] received everything.

2023-08-25 22:31:44 | [Mutex] isItemNotified: received:node:dda3b50f-1ccf-4165-ac32-d985927f62f0:localhost:node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8:Node b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8 :: false

createNodes 1.418s
2023-08-25 22:31:40 |

2023-08-25 22:31:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:31:40 | ------------------------------------

2023-08-25 22:31:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8</title></pubsub></data>

2023-08-25 22:31:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-25 22:31:42 | [Mutex] waiting for: [received:nodes:e221d528-5003-45fd-a2e0-9101898c1129:localhost]

2023-08-25 22:31:42 | [Mutex] received everything.

2023-08-25 22:31:42 | [Mutex] isItemNotified: received:node:e221d528-5003-45fd-a2e0-9101898c1129:localhost:node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8:Node b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8 :: true

createSubnodes 1.031s
2023-08-25 22:31:42 |

2023-08-25 22:31:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:31:42 | ------------------------------------

2023-08-25 22:31:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b24b0bea-073a-4072-abeb-6b50eacd6263</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b24b0bea-073a-4072-abeb-6b50eacd6263</title></pubsub></data>

2023-08-25 22:31:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-25 22:31:43 | [Mutex] waiting for: [received:nodes:a5c5f5cd-f7e8-43e6-af24-62dd3ee98ed7:localhost]

2023-08-25 22:31:43 | [Mutex] waiting for: [received:nodes:a5c5f5cd-f7e8-43e6-af24-62dd3ee98ed7:localhost]

2023-08-25 22:31:43 | [Mutex] waiting for: [received:nodes:a5c5f5cd-f7e8-43e6-af24-62dd3ee98ed7:localhost]

2023-08-25 22:31:43 | [Mutex] received everything.

2023-08-25 22:31:43 | [Mutex] isItemNotified: received:node:a5c5f5cd-f7e8-43e6-af24-62dd3ee98ed7:localhost:node-b24b0bea-073a-4072-abeb-6b50eacd6263:Node b24b0bea-073a-4072-abeb-6b50eacd6263 :: true

deleteNodes 1.017s
2023-08-25 22:31:48 |

2023-08-25 22:31:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:31:48 | ------------------------------------

2023-08-25 22:31:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b24b0bea-073a-4072-abeb-6b50eacd6263</node></data>

2023-08-25 22:31:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-25 22:31:49 | [Mutex] waiting for: [received:nodes:c9d3f4a6-757b-49fe-83f7-6844ee023c75:localhost]

2023-08-25 22:31:49 | [Mutex] waiting for: [received:nodes:c9d3f4a6-757b-49fe-83f7-6844ee023c75:localhost]

2023-08-25 22:31:49 | [Mutex] waiting for: [received:nodes:c9d3f4a6-757b-49fe-83f7-6844ee023c75:localhost]

2023-08-25 22:31:49 | [Mutex] received everything.

2023-08-25 22:31:49 | [Mutex] isItemNotified: received:node:c9d3f4a6-757b-49fe-83f7-6844ee023c75:localhost:node-b24b0bea-073a-4072-abeb-6b50eacd6263:Node b24b0bea-073a-4072-abeb-6b50eacd6263 :: false

deleteSubnodes 1.111s
2023-08-25 22:31:47 |

2023-08-25 22:31:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:31:47 | ------------------------------------

2023-08-25 22:31:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8</node></data>

2023-08-25 22:31:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-25 22:31:48 | [Mutex] waiting for: [received:nodes:1d549ff1-31d6-47e0-9543-3bf2d0a5ae97:localhost]

2023-08-25 22:31:48 | [Mutex] waiting for: [received:nodes:1d549ff1-31d6-47e0-9543-3bf2d0a5ae97:localhost]

2023-08-25 22:31:48 | [Mutex] waiting for: [received:nodes:1d549ff1-31d6-47e0-9543-3bf2d0a5ae97:localhost]

2023-08-25 22:31:48 | [Mutex] waiting for: [received:nodes:1d549ff1-31d6-47e0-9543-3bf2d0a5ae97:localhost]

2023-08-25 22:31:48 | [Mutex] received everything.

2023-08-25 22:31:48 | [Mutex] isItemNotified: received:node:1d549ff1-31d6-47e0-9543-3bf2d0a5ae97:localhost:node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8:Node b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8 :: false

2023-08-25 22:31:48 | [Mutex] waiting for: [received:nodes:72b7746a-1bd5-4550-8e1c-adccdaa448b5:localhost]

2023-08-25 22:31:48 | [Mutex] received everything.

2023-08-25 22:31:48 | [Mutex] isItemNotified: received:node:72b7746a-1bd5-4550-8e1c-adccdaa448b5:localhost:node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8:Node b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8 :: false

publishItemsToNodes 0.185s
2023-08-25 22:31:45 |

2023-08-25 22:31:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:31:45 | ------------------------------------

2023-08-25 22:31:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8</node><item-id>item-dee92982-05e0-489a-8357-8dfe04096e27</item-id><entry><test>item-dee92982-05e0-489a-8357-8dfe04096e27</test></entry></data>

2023-08-25 22:31:45 | 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-dee92982-05e0-489a-8357-8dfe04096e27</value></item-id></result>

2023-08-25 22:31:45 | [Mutex] waiting for: [published:item:notifieditem-dee92982-05e0-489a-8357-8dfe04096e27:admin@test-domain.com]

2023-08-25 22:31:45 | [Mutex] received everything.

2023-08-25 22:31:45 | [Mutex] isItemNotified: published:item:notifieditem-dee92982-05e0-489a-8357-8dfe04096e27:admin@test-domain.com :: true

retractItemsFromNodes 0.291s
2023-08-25 22:31:45 |

2023-08-25 22:31:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:31:45 | ------------------------------------

2023-08-25 22:31:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8</node><item-id>item-dee92982-05e0-489a-8357-8dfe04096e27</item-id></data>

2023-08-25 22:31:46 | 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-dee92982-05e0-489a-8357-8dfe04096e27</value></item-id></result>

2023-08-25 22:31:46 | [Mutex] received everything.

2023-08-25 22:31:46 | [Mutex] isItemNotified: retracted:item:notifieditem-dee92982-05e0-489a-8357-8dfe04096e27:admin@test-domain.com :: true

retrieveItemsFromNodes 0.233s
2023-08-25 22:31:45 |

2023-08-25 22:31:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:31:45 | ------------------------------------

2023-08-25 22:31:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8</node><item-id>item-dee92982-05e0-489a-8357-8dfe04096e27</item-id></data>

2023-08-25 22:31:45 | 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-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8</value></node><item-id type="text-single" label="Item ID"><value>item-dee92982-05e0-489a-8357-8dfe04096e27</value></item-id><item type="text-multi" label="Item"><value><item id="item-dee92982-05e0-489a-8357-8dfe04096e27"><test>item-dee92982-05e0-489a-8357-8dfe04096e27</test></item></value></item></result>

2023-08-25 22:31:45 | [Mutex] notify: [retrieved:item:item-dee92982-05e0-489a-8357-8dfe04096e27:payload-matches:true:localhost]

2023-08-25 22:31:45 | [Mutex] received everything.

2023-08-25 22:31:45 | [Mutex] isItemNotified: retrieved:item:item-dee92982-05e0-489a-8357-8dfe04096e27:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-08-25 22:31:45 |

2023-08-25 22:31:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:31:45 | ------------------------------------

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

2023-08-25 22:31:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8</value><value>test</value><value>node-b24b0bea-073a-4072-abeb-6b50eacd6263</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-08-25 22:31:45 |

2023-08-25 22:31:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:31:45 | ------------------------------------

2023-08-25 22:31:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8)</node-pattern></data>

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

subscribeNodes 1.127s
2023-08-25 22:31:44 |

2023-08-25 22:31:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:31:44 | ------------------------------------

2023-08-25 22:31:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8</node><jids><value>admin@test-domain.com</value></jids></data>

2023-08-25 22:31:44 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.191s
2023-08-25 22:31:46 |

2023-08-25 22:31:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:31:46 | ------------------------------------

2023-08-25 22:31:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b9b3ab3e-0deb-489a-9e0d-84ffc8e56eb8</node><jids><value>admin@test-domain.com</value></jids></data>

2023-08-25 22:31:46 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>