Generated by TestNG with ReportNG at 21:47 PST on Monday 14 February 2022
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.758s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.217s
2022-02-14 22:02:41 |

2022-02-14 22:02:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:02:41 | ------------------------------------

2022-02-14 22:02:41 | [Mutex] waiting for: [configured:node:node-3bb0383e-fc40-4cb6-9537-8a61c013f108:node-775564e5-88d6-4db6-ae0d-bb43e9c1f37b]

2022-02-14 22:02:41 | [Mutex] received everything.

2022-02-14 22:02:41 | [Mutex] isItemNotified: configured:node:node-3bb0383e-fc40-4cb6-9537-8a61c013f108:node-775564e5-88d6-4db6-ae0d-bb43e9c1f37b :: true

2022-02-14 22:02:42 | [Mutex] waiting for: [received:nodes:fa456010-cd25-48cc-898b-af270e74852c:localhost]

2022-02-14 22:02:42 | [Mutex] received everything.

2022-02-14 22:02:42 | [Mutex] isItemNotified: received:node:fa456010-cd25-48cc-898b-af270e74852c:localhost:node-3bb0383e-fc40-4cb6-9537-8a61c013f108:Node 3bb0383e-fc40-4cb6-9537-8a61c013f108 :: true

2022-02-14 22:02:42 | [Mutex] waiting for: [received:nodes:e048bc2b-3c6e-477c-981a-05192f5d90af:localhost]

2022-02-14 22:02:42 | [Mutex] received everything.

2022-02-14 22:02:42 | [Mutex] isItemNotified: received:node:e048bc2b-3c6e-477c-981a-05192f5d90af:localhost:node-3bb0383e-fc40-4cb6-9537-8a61c013f108:Node 3bb0383e-fc40-4cb6-9537-8a61c013f108 :: false

createNodes 1.729s
2022-02-14 22:02:38 |

2022-02-14 22:02:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:02:38 | ------------------------------------

2022-02-14 22:02:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3bb0383e-fc40-4cb6-9537-8a61c013f108</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3bb0383e-fc40-4cb6-9537-8a61c013f108</title></pubsub></data>

2022-02-14 22:02:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-14 22:02:40 | [Mutex] waiting for: [received:nodes:a5fb0d14-8b1e-41e9-9fa2-5d5126625116:localhost]

2022-02-14 22:02:40 | [Mutex] received everything.

2022-02-14 22:02:40 | [Mutex] isItemNotified: received:node:a5fb0d14-8b1e-41e9-9fa2-5d5126625116:localhost:node-3bb0383e-fc40-4cb6-9537-8a61c013f108:Node 3bb0383e-fc40-4cb6-9537-8a61c013f108 :: true

createSubnodes 1.040s
2022-02-14 22:02:40 |

2022-02-14 22:02:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:02:40 | ------------------------------------

2022-02-14 22:02:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-775564e5-88d6-4db6-ae0d-bb43e9c1f37b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 775564e5-88d6-4db6-ae0d-bb43e9c1f37b</title></pubsub></data>

2022-02-14 22:02:40 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-14 22:02:41 | [Mutex] waiting for: [received:nodes:ebc4e6f6-4e6b-4d1d-b833-688f252e96db:localhost]

2022-02-14 22:02:41 | [Mutex] received everything.

2022-02-14 22:02:41 | [Mutex] isItemNotified: received:node:ebc4e6f6-4e6b-4d1d-b833-688f252e96db:localhost:node-775564e5-88d6-4db6-ae0d-bb43e9c1f37b:Node 775564e5-88d6-4db6-ae0d-bb43e9c1f37b :: true

deleteNodes 1.030s
2022-02-14 22:02:47 |

2022-02-14 22:02:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:02:47 | ------------------------------------

2022-02-14 22:02:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-775564e5-88d6-4db6-ae0d-bb43e9c1f37b</node></data>

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

2022-02-14 22:02:48 | [Mutex] waiting for: [received:nodes:6383e608-49d4-49e8-aeb1-9148304c4790:localhost]

2022-02-14 22:02:48 | [Mutex] received everything.

2022-02-14 22:02:48 | [Mutex] isItemNotified: received:node:6383e608-49d4-49e8-aeb1-9148304c4790:localhost:node-775564e5-88d6-4db6-ae0d-bb43e9c1f37b:Node 775564e5-88d6-4db6-ae0d-bb43e9c1f37b :: false

deleteSubnodes 1.196s
2022-02-14 22:02:46 |

2022-02-14 22:02:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:02:46 | ------------------------------------

2022-02-14 22:02:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3bb0383e-fc40-4cb6-9537-8a61c013f108</node></data>

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

2022-02-14 22:02:47 | [Mutex] waiting for: [received:nodes:e7b354e5-c9ef-47c3-9d3a-a0d8a9b3f0a6:localhost]

2022-02-14 22:02:47 | [Mutex] received everything.

2022-02-14 22:02:47 | [Mutex] isItemNotified: received:node:e7b354e5-c9ef-47c3-9d3a-a0d8a9b3f0a6:localhost:node-3bb0383e-fc40-4cb6-9537-8a61c013f108:Node 3bb0383e-fc40-4cb6-9537-8a61c013f108 :: false

2022-02-14 22:02:47 | [Mutex] waiting for: [received:nodes:73b637ec-1cfc-42bc-b4d9-54deed22713f:localhost]

2022-02-14 22:02:47 | [Mutex] received everything.

2022-02-14 22:02:47 | [Mutex] isItemNotified: received:node:73b637ec-1cfc-42bc-b4d9-54deed22713f:localhost:node-3bb0383e-fc40-4cb6-9537-8a61c013f108:Node 3bb0383e-fc40-4cb6-9537-8a61c013f108 :: false

publishItemsToNodes 0.288s
2022-02-14 22:02:43 |

2022-02-14 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:02:43 | ------------------------------------

2022-02-14 22:02:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3bb0383e-fc40-4cb6-9537-8a61c013f108</node><item-id>item-729faf71-d668-474d-b51a-b7f52f6ce097</item-id><entry><test>item-729faf71-d668-474d-b51a-b7f52f6ce097</test></entry></data>

2022-02-14 22:02:44 | 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-729faf71-d668-474d-b51a-b7f52f6ce097</value></item-id></result>

2022-02-14 22:02:44 | [Mutex] received everything.

2022-02-14 22:02:44 | [Mutex] isItemNotified: published:item:notifieditem-729faf71-d668-474d-b51a-b7f52f6ce097:admin@test-domain.com :: true

retractItemsFromNodes 0.256s
2022-02-14 22:02:44 |

2022-02-14 22:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:02:44 | ------------------------------------

2022-02-14 22:02:44 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3bb0383e-fc40-4cb6-9537-8a61c013f108</node><item-id>item-729faf71-d668-474d-b51a-b7f52f6ce097</item-id></data>

2022-02-14 22:02:44 | 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-729faf71-d668-474d-b51a-b7f52f6ce097</value></item-id></result>

2022-02-14 22:02:44 | [Mutex] waiting for: [retracted:item:notifieditem-729faf71-d668-474d-b51a-b7f52f6ce097:admin@test-domain.com]

2022-02-14 22:02:44 | [Mutex] received everything.

2022-02-14 22:02:44 | [Mutex] isItemNotified: retracted:item:notifieditem-729faf71-d668-474d-b51a-b7f52f6ce097:admin@test-domain.com :: true

retrieveItemsFromNodes 0.338s
2022-02-14 22:02:44 |

2022-02-14 22:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:02:44 | ------------------------------------

2022-02-14 22:02:44 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3bb0383e-fc40-4cb6-9537-8a61c013f108</node><item-id>item-729faf71-d668-474d-b51a-b7f52f6ce097</item-id></data>

2022-02-14 22:02:44 | 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-3bb0383e-fc40-4cb6-9537-8a61c013f108</value></node><item-id type="text-single" label="Item ID"><value>item-729faf71-d668-474d-b51a-b7f52f6ce097</value></item-id><item type="text-multi" label="Item"><value><item id="item-729faf71-d668-474d-b51a-b7f52f6ce097"><test>item-729faf71-d668-474d-b51a-b7f52f6ce097</test></item></value></item></result>

2022-02-14 22:02:44 | [Mutex] notify: [retrieved:item:item-729faf71-d668-474d-b51a-b7f52f6ce097:payload-matches:true:localhost]

2022-02-14 22:02:44 | [Mutex] received everything.

2022-02-14 22:02:44 | [Mutex] isItemNotified: retrieved:item:item-729faf71-d668-474d-b51a-b7f52f6ce097:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-14 22:02:44 |

2022-02-14 22:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:02:44 | ------------------------------------

2022-02-14 22:02:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-14 22:02:44 | 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-3bb0383e-fc40-4cb6-9537-8a61c013f108</value><value>node-775564e5-88d6-4db6-ae0d-bb43e9c1f37b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-14 22:02:44 |

2022-02-14 22:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:02:44 | ------------------------------------

2022-02-14 22:02:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3bb0383e-fc40-4cb6-9537-8a61c013f108)</node-pattern></data>

2022-02-14 22:02:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.183s
2022-02-14 22:02:42 |

2022-02-14 22:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:02:42 | ------------------------------------

2022-02-14 22:02:42 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3bb0383e-fc40-4cb6-9537-8a61c013f108</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-14 22:02:42 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.334s
2022-02-14 22:02:44 |

2022-02-14 22:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 22:02:44 | ------------------------------------

2022-02-14 22:02:44 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3bb0383e-fc40-4cb6-9537-8a61c013f108</node><jids><value>admin@test-domain.com</value></jids></data>

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