Generated by TestNG with ReportNG at 22:46 PDT on Monday 27 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.460s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.131s
2023-03-27 23:01:01 |

2023-03-27 23:01:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 23:01:01 | ------------------------------------

2023-03-27 23:01:01 | [Mutex] waiting for: [configured:node:node-0ba5a746-1863-4c6f-87f9-84d97aa75387:node-918227cd-e446-4ecf-8e00-3ca903f850e2]

2023-03-27 23:01:01 | [Mutex] received everything.

2023-03-27 23:01:01 | [Mutex] isItemNotified: configured:node:node-0ba5a746-1863-4c6f-87f9-84d97aa75387:node-918227cd-e446-4ecf-8e00-3ca903f850e2 :: true

2023-03-27 23:01:02 | [Mutex] waiting for: [received:nodes:fdc17908-a197-47c1-9b74-e582ad0e0f43:localhost]

2023-03-27 23:01:02 | [Mutex] received everything.

2023-03-27 23:01:02 | [Mutex] isItemNotified: received:node:fdc17908-a197-47c1-9b74-e582ad0e0f43:localhost:node-0ba5a746-1863-4c6f-87f9-84d97aa75387:Node 0ba5a746-1863-4c6f-87f9-84d97aa75387 :: true

2023-03-27 23:01:02 | [Mutex] waiting for: [received:nodes:e78a6c8b-3701-4657-b69d-ca5b6dcb1f4f:localhost]

2023-03-27 23:01:02 | [Mutex] waiting for: [received:nodes:e78a6c8b-3701-4657-b69d-ca5b6dcb1f4f:localhost]

2023-03-27 23:01:02 | [Mutex] waiting for: [received:nodes:e78a6c8b-3701-4657-b69d-ca5b6dcb1f4f:localhost]

2023-03-27 23:01:02 | [Mutex] waiting for: [received:nodes:e78a6c8b-3701-4657-b69d-ca5b6dcb1f4f:localhost]

2023-03-27 23:01:02 | [Mutex] received everything.

2023-03-27 23:01:02 | [Mutex] isItemNotified: received:node:e78a6c8b-3701-4657-b69d-ca5b6dcb1f4f:localhost:node-0ba5a746-1863-4c6f-87f9-84d97aa75387:Node 0ba5a746-1863-4c6f-87f9-84d97aa75387 :: false

createNodes 1.479s
2023-03-27 23:00:59 |

2023-03-27 23:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 23:00:59 | ------------------------------------

2023-03-27 23:00:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0ba5a746-1863-4c6f-87f9-84d97aa75387</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0ba5a746-1863-4c6f-87f9-84d97aa75387</title></pubsub></data>

2023-03-27 23:00:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-27 23:01:00 | [Mutex] waiting for: [received:nodes:33b19d79-7e5b-4240-858f-1ed0c239486d:localhost]

2023-03-27 23:01:00 | [Mutex] waiting for: [received:nodes:33b19d79-7e5b-4240-858f-1ed0c239486d:localhost]

2023-03-27 23:01:00 | [Mutex] waiting for: [received:nodes:33b19d79-7e5b-4240-858f-1ed0c239486d:localhost]

2023-03-27 23:01:00 | [Mutex] waiting for: [received:nodes:33b19d79-7e5b-4240-858f-1ed0c239486d:localhost]

2023-03-27 23:01:00 | [Mutex] received everything.

2023-03-27 23:01:00 | [Mutex] isItemNotified: received:node:33b19d79-7e5b-4240-858f-1ed0c239486d:localhost:node-0ba5a746-1863-4c6f-87f9-84d97aa75387:Node 0ba5a746-1863-4c6f-87f9-84d97aa75387 :: true

createSubnodes 1.023s
2023-03-27 23:01:00 |

2023-03-27 23:01:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 23:01:00 | ------------------------------------

2023-03-27 23:01:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-918227cd-e446-4ecf-8e00-3ca903f850e2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 918227cd-e446-4ecf-8e00-3ca903f850e2</title></pubsub></data>

2023-03-27 23:01:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-27 23:01:01 | [Mutex] waiting for: [received:nodes:5ba15777-18a9-4532-b320-fc55255e93b0:localhost]

2023-03-27 23:01:01 | [Mutex] waiting for: [received:nodes:5ba15777-18a9-4532-b320-fc55255e93b0:localhost]

2023-03-27 23:01:01 | [Mutex] waiting for: [received:nodes:5ba15777-18a9-4532-b320-fc55255e93b0:localhost]

2023-03-27 23:01:01 | [Mutex] waiting for: [received:nodes:5ba15777-18a9-4532-b320-fc55255e93b0:localhost]

2023-03-27 23:01:01 | [Mutex] received everything.

2023-03-27 23:01:01 | [Mutex] isItemNotified: received:node:5ba15777-18a9-4532-b320-fc55255e93b0:localhost:node-918227cd-e446-4ecf-8e00-3ca903f850e2:Node 918227cd-e446-4ecf-8e00-3ca903f850e2 :: true

deleteNodes 1.015s
2023-03-27 23:01:06 |

2023-03-27 23:01:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 23:01:06 | ------------------------------------

2023-03-27 23:01:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-918227cd-e446-4ecf-8e00-3ca903f850e2</node></data>

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

2023-03-27 23:01:07 | [Mutex] waiting for: [received:nodes:5e3b1ab9-baf1-432e-93bf-9032082cb19b:localhost]

2023-03-27 23:01:07 | [Mutex] received everything.

2023-03-27 23:01:07 | [Mutex] isItemNotified: received:node:5e3b1ab9-baf1-432e-93bf-9032082cb19b:localhost:node-918227cd-e446-4ecf-8e00-3ca903f850e2:Node 918227cd-e446-4ecf-8e00-3ca903f850e2 :: false

deleteSubnodes 1.113s
2023-03-27 23:01:05 |

2023-03-27 23:01:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 23:01:05 | ------------------------------------

2023-03-27 23:01:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0ba5a746-1863-4c6f-87f9-84d97aa75387</node></data>

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

2023-03-27 23:01:06 | [Mutex] waiting for: [received:nodes:c0feff35-66a1-4bcc-bd89-18f8783d69dc:localhost]

2023-03-27 23:01:06 | [Mutex] waiting for: [received:nodes:c0feff35-66a1-4bcc-bd89-18f8783d69dc:localhost]

2023-03-27 23:01:06 | [Mutex] waiting for: [received:nodes:c0feff35-66a1-4bcc-bd89-18f8783d69dc:localhost]

2023-03-27 23:01:06 | [Mutex] waiting for: [received:nodes:c0feff35-66a1-4bcc-bd89-18f8783d69dc:localhost]

2023-03-27 23:01:06 | [Mutex] received everything.

2023-03-27 23:01:06 | [Mutex] isItemNotified: received:node:c0feff35-66a1-4bcc-bd89-18f8783d69dc:localhost:node-0ba5a746-1863-4c6f-87f9-84d97aa75387:Node 0ba5a746-1863-4c6f-87f9-84d97aa75387 :: false

2023-03-27 23:01:06 | [Mutex] waiting for: [received:nodes:81af4e91-eca7-4170-a0bc-8252f71412e5:localhost]

2023-03-27 23:01:06 | [Mutex] received everything.

2023-03-27 23:01:06 | [Mutex] isItemNotified: received:node:81af4e91-eca7-4170-a0bc-8252f71412e5:localhost:node-0ba5a746-1863-4c6f-87f9-84d97aa75387:Node 0ba5a746-1863-4c6f-87f9-84d97aa75387 :: false

publishItemsToNodes 0.277s
2023-03-27 23:01:03 |

2023-03-27 23:01:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 23:01:03 | ------------------------------------

2023-03-27 23:01:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0ba5a746-1863-4c6f-87f9-84d97aa75387</node><item-id>item-f7a3bd43-643f-4872-9aca-3aedffa251c9</item-id><entry><test>item-f7a3bd43-643f-4872-9aca-3aedffa251c9</test></entry></data>

2023-03-27 23:01:03 | 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-f7a3bd43-643f-4872-9aca-3aedffa251c9</value></item-id></result>

2023-03-27 23:01:03 | [Mutex] waiting for: [published:item:notifieditem-f7a3bd43-643f-4872-9aca-3aedffa251c9:admin@test-domain.com]

2023-03-27 23:01:04 | [Mutex] received everything.

2023-03-27 23:01:04 | [Mutex] isItemNotified: published:item:notifieditem-f7a3bd43-643f-4872-9aca-3aedffa251c9:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2023-03-27 23:01:04 |

2023-03-27 23:01:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 23:01:04 | ------------------------------------

2023-03-27 23:01:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0ba5a746-1863-4c6f-87f9-84d97aa75387</node><item-id>item-f7a3bd43-643f-4872-9aca-3aedffa251c9</item-id></data>

2023-03-27 23:01:04 | 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-f7a3bd43-643f-4872-9aca-3aedffa251c9</value></item-id></result>

2023-03-27 23:01:04 | [Mutex] received everything.

2023-03-27 23:01:04 | [Mutex] isItemNotified: retracted:item:notifieditem-f7a3bd43-643f-4872-9aca-3aedffa251c9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.215s
2023-03-27 23:01:04 |

2023-03-27 23:01:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 23:01:04 | ------------------------------------

2023-03-27 23:01:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0ba5a746-1863-4c6f-87f9-84d97aa75387</node><item-id>item-f7a3bd43-643f-4872-9aca-3aedffa251c9</item-id></data>

2023-03-27 23:01:04 | 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-0ba5a746-1863-4c6f-87f9-84d97aa75387</value></node><item-id type="text-single" label="Item ID"><value>item-f7a3bd43-643f-4872-9aca-3aedffa251c9</value></item-id><item type="text-multi" label="Item"><value><item id="item-f7a3bd43-643f-4872-9aca-3aedffa251c9"><test>item-f7a3bd43-643f-4872-9aca-3aedffa251c9</test></item></value></item></result>

2023-03-27 23:01:04 | [Mutex] notify: [retrieved:item:item-f7a3bd43-643f-4872-9aca-3aedffa251c9:payload-matches:true:localhost]

2023-03-27 23:01:04 | [Mutex] received everything.

2023-03-27 23:01:04 | [Mutex] isItemNotified: retrieved:item:item-f7a3bd43-643f-4872-9aca-3aedffa251c9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2023-03-27 23:01:04 |

2023-03-27 23:01:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 23:01:04 | ------------------------------------

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

2023-03-27 23:01:04 | 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-0ba5a746-1863-4c6f-87f9-84d97aa75387</value><value>node-918227cd-e446-4ecf-8e00-3ca903f850e2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-27 23:01:04 |

2023-03-27 23:01:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 23:01:04 | ------------------------------------

2023-03-27 23:01:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0ba5a746-1863-4c6f-87f9-84d97aa75387)</node-pattern></data>

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

subscribeNodes 1.111s
2023-03-27 23:01:02 |

2023-03-27 23:01:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 23:01:02 | ------------------------------------

2023-03-27 23:01:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0ba5a746-1863-4c6f-87f9-84d97aa75387</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-27 23:01:02 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.175s
2023-03-27 23:01:04 |

2023-03-27 23:01:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 23:01:04 | ------------------------------------

2023-03-27 23:01:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0ba5a746-1863-4c6f-87f9-84d97aa75387</node><jids><value>admin@test-domain.com</value></jids></data>

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