Generated by TestNG with ReportNG at 22:50 PDT on Monday 05 September 2022
root@f9c07ffec79b / 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.750s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2022-09-05 23:05:08 |

2022-09-05 23:05:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 23:05:08 | ------------------------------------

2022-09-05 23:05:08 | [Mutex] waiting for: [configured:node:node-c4e0951a-c7d3-440a-ba98-871ff27a11f7:node-7adc4d06-1cd0-4965-9105-a9ba32a8887b]

2022-09-05 23:05:08 | [Mutex] received everything.

2022-09-05 23:05:08 | [Mutex] isItemNotified: configured:node:node-c4e0951a-c7d3-440a-ba98-871ff27a11f7:node-7adc4d06-1cd0-4965-9105-a9ba32a8887b :: true

2022-09-05 23:05:09 | [Mutex] waiting for: [received:nodes:5d0d2dcb-3b57-4029-898d-c526ebc78eea:localhost]

2022-09-05 23:05:09 | [Mutex] received everything.

2022-09-05 23:05:09 | [Mutex] isItemNotified: received:node:5d0d2dcb-3b57-4029-898d-c526ebc78eea:localhost:node-c4e0951a-c7d3-440a-ba98-871ff27a11f7:Node c4e0951a-c7d3-440a-ba98-871ff27a11f7 :: true

2022-09-05 23:05:09 | [Mutex] waiting for: [received:nodes:355fdb21-ed45-4881-a3d6-0f1299f0c5b3:localhost]

2022-09-05 23:05:09 | [Mutex] received everything.

2022-09-05 23:05:09 | [Mutex] isItemNotified: received:node:355fdb21-ed45-4881-a3d6-0f1299f0c5b3:localhost:node-c4e0951a-c7d3-440a-ba98-871ff27a11f7:Node c4e0951a-c7d3-440a-ba98-871ff27a11f7 :: false

createNodes 1.613s
2022-09-05 23:05:05 |

2022-09-05 23:05:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 23:05:05 | ------------------------------------

2022-09-05 23:05:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c4e0951a-c7d3-440a-ba98-871ff27a11f7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c4e0951a-c7d3-440a-ba98-871ff27a11f7</title></pubsub></data>

2022-09-05 23:05:06 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-05 23:05:07 | [Mutex] waiting for: [received:nodes:1e804f62-6004-4e9e-b7de-147a368c0a08:localhost]

2022-09-05 23:05:07 | [Mutex] received everything.

2022-09-05 23:05:07 | [Mutex] isItemNotified: received:node:1e804f62-6004-4e9e-b7de-147a368c0a08:localhost:node-c4e0951a-c7d3-440a-ba98-871ff27a11f7:Node c4e0951a-c7d3-440a-ba98-871ff27a11f7 :: true

createSubnodes 1.025s
2022-09-05 23:05:07 |

2022-09-05 23:05:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 23:05:07 | ------------------------------------

2022-09-05 23:05:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7adc4d06-1cd0-4965-9105-a9ba32a8887b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7adc4d06-1cd0-4965-9105-a9ba32a8887b</title></pubsub></data>

2022-09-05 23:05:07 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-05 23:05:08 | [Mutex] waiting for: [received:nodes:d9bb5289-d65e-4ce8-b560-b8fd421f3241:localhost]

2022-09-05 23:05:08 | [Mutex] received everything.

2022-09-05 23:05:08 | [Mutex] isItemNotified: received:node:d9bb5289-d65e-4ce8-b560-b8fd421f3241:localhost:node-7adc4d06-1cd0-4965-9105-a9ba32a8887b:Node 7adc4d06-1cd0-4965-9105-a9ba32a8887b :: true

deleteNodes 1.017s
2022-09-05 23:05:13 |

2022-09-05 23:05:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 23:05:13 | ------------------------------------

2022-09-05 23:05:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7adc4d06-1cd0-4965-9105-a9ba32a8887b</node></data>

2022-09-05 23:05:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-05 23:05:15 | [Mutex] waiting for: [received:nodes:871f57ef-e2c2-4991-9f64-f8e2b7ac5361:localhost]

2022-09-05 23:05:15 | [Mutex] received everything.

2022-09-05 23:05:15 | [Mutex] isItemNotified: received:node:871f57ef-e2c2-4991-9f64-f8e2b7ac5361:localhost:node-7adc4d06-1cd0-4965-9105-a9ba32a8887b:Node 7adc4d06-1cd0-4965-9105-a9ba32a8887b :: false

deleteSubnodes 1.127s
2022-09-05 23:05:12 |

2022-09-05 23:05:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 23:05:12 | ------------------------------------

2022-09-05 23:05:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c4e0951a-c7d3-440a-ba98-871ff27a11f7</node></data>

2022-09-05 23:05:12 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-05 23:05:13 | [Mutex] waiting for: [received:nodes:a3622f04-d152-4199-95d7-7ad7499689e9:localhost]

2022-09-05 23:05:13 | [Mutex] received everything.

2022-09-05 23:05:13 | [Mutex] isItemNotified: received:node:a3622f04-d152-4199-95d7-7ad7499689e9:localhost:node-c4e0951a-c7d3-440a-ba98-871ff27a11f7:Node c4e0951a-c7d3-440a-ba98-871ff27a11f7 :: false

2022-09-05 23:05:13 | [Mutex] waiting for: [received:nodes:6a6c8d36-1572-48ab-be96-6e87ad7df004:localhost]

2022-09-05 23:05:13 | [Mutex] received everything.

2022-09-05 23:05:13 | [Mutex] isItemNotified: received:node:6a6c8d36-1572-48ab-be96-6e87ad7df004:localhost:node-c4e0951a-c7d3-440a-ba98-871ff27a11f7:Node c4e0951a-c7d3-440a-ba98-871ff27a11f7 :: false

publishItemsToNodes 0.194s
2022-09-05 23:05:10 |

2022-09-05 23:05:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 23:05:10 | ------------------------------------

2022-09-05 23:05:10 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c4e0951a-c7d3-440a-ba98-871ff27a11f7</node><item-id>item-f0a828a3-ff1c-4138-9821-01911a424797</item-id><entry><test>item-f0a828a3-ff1c-4138-9821-01911a424797</test></entry></data>

2022-09-05 23:05:10 | 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-f0a828a3-ff1c-4138-9821-01911a424797</value></item-id></result>

2022-09-05 23:05:10 | [Mutex] waiting for: [published:item:notifieditem-f0a828a3-ff1c-4138-9821-01911a424797:admin@test-domain.com]

2022-09-05 23:05:11 | [Mutex] received everything.

2022-09-05 23:05:11 | [Mutex] isItemNotified: published:item:notifieditem-f0a828a3-ff1c-4138-9821-01911a424797:admin@test-domain.com :: true

retractItemsFromNodes 0.277s
2022-09-05 23:05:11 |

2022-09-05 23:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 23:05:11 | ------------------------------------

2022-09-05 23:05:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c4e0951a-c7d3-440a-ba98-871ff27a11f7</node><item-id>item-f0a828a3-ff1c-4138-9821-01911a424797</item-id></data>

2022-09-05 23:05:11 | 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-f0a828a3-ff1c-4138-9821-01911a424797</value></item-id></result>

2022-09-05 23:05:11 | [Mutex] received everything.

2022-09-05 23:05:11 | [Mutex] isItemNotified: retracted:item:notifieditem-f0a828a3-ff1c-4138-9821-01911a424797:admin@test-domain.com :: true

retrieveItemsFromNodes 0.214s
2022-09-05 23:05:11 |

2022-09-05 23:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 23:05:11 | ------------------------------------

2022-09-05 23:05:11 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c4e0951a-c7d3-440a-ba98-871ff27a11f7</node><item-id>item-f0a828a3-ff1c-4138-9821-01911a424797</item-id></data>

2022-09-05 23:05:11 | 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-c4e0951a-c7d3-440a-ba98-871ff27a11f7</value></node><item-id type="text-single" label="Item ID"><value>item-f0a828a3-ff1c-4138-9821-01911a424797</value></item-id><item type="text-multi" label="Item"><value><item id="item-f0a828a3-ff1c-4138-9821-01911a424797"><test>item-f0a828a3-ff1c-4138-9821-01911a424797</test></item></value></item></result>

2022-09-05 23:05:11 | [Mutex] notify: [retrieved:item:item-f0a828a3-ff1c-4138-9821-01911a424797:payload-matches:true:localhost]

2022-09-05 23:05:11 | [Mutex] received everything.

2022-09-05 23:05:11 | [Mutex] isItemNotified: retrieved:item:item-f0a828a3-ff1c-4138-9821-01911a424797:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-05 23:05:11 |

2022-09-05 23:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 23:05:11 | ------------------------------------

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

2022-09-05 23:05:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-7adc4d06-1cd0-4965-9105-a9ba32a8887b</value><value>node-c4e0951a-c7d3-440a-ba98-871ff27a11f7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-05 23:05:11 |

2022-09-05 23:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 23:05:11 | ------------------------------------

2022-09-05 23:05:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c4e0951a-c7d3-440a-ba98-871ff27a11f7)</node-pattern></data>

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

subscribeNodes 1.165s
2022-09-05 23:05:09 |

2022-09-05 23:05:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 23:05:09 | ------------------------------------

2022-09-05 23:05:09 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c4e0951a-c7d3-440a-ba98-871ff27a11f7</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-05 23:05:09 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.249s
2022-09-05 23:05:11 |

2022-09-05 23:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 23:05:11 | ------------------------------------

2022-09-05 23:05:11 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c4e0951a-c7d3-440a-ba98-871ff27a11f7</node><jids><value>admin@test-domain.com</value></jids></data>

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