Generated by TestNG with ReportNG at 22:50 PDT on Sunday 19 June 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / 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 : 9.542s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2022-06-19 23:05:23 |

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

2022-06-19 23:05:23 | ------------------------------------

2022-06-19 23:05:23 | [Mutex] waiting for: [configured:node:node-8e67f04b-71ad-43e0-b922-8e97679ed563:node-2144e89a-0ce7-4d16-b8b6-25da58f4ee6b]

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

2022-06-19 23:05:23 | [Mutex] isItemNotified: configured:node:node-8e67f04b-71ad-43e0-b922-8e97679ed563:node-2144e89a-0ce7-4d16-b8b6-25da58f4ee6b :: true

2022-06-19 23:05:24 | [Mutex] waiting for: [received:nodes:a46a18e5-599b-488d-8a27-b28183067343:localhost]

2022-06-19 23:05:24 | [Mutex] received everything.

2022-06-19 23:05:24 | [Mutex] isItemNotified: received:node:a46a18e5-599b-488d-8a27-b28183067343:localhost:node-8e67f04b-71ad-43e0-b922-8e97679ed563:Node 8e67f04b-71ad-43e0-b922-8e97679ed563 :: true

2022-06-19 23:05:24 | [Mutex] waiting for: [received:nodes:190f061e-ea99-47a7-9a5d-5fe2a67a48c2:localhost]

2022-06-19 23:05:24 | [Mutex] waiting for: [received:nodes:190f061e-ea99-47a7-9a5d-5fe2a67a48c2:localhost]

2022-06-19 23:05:24 | [Mutex] received everything.

2022-06-19 23:05:24 | [Mutex] isItemNotified: received:node:190f061e-ea99-47a7-9a5d-5fe2a67a48c2:localhost:node-8e67f04b-71ad-43e0-b922-8e97679ed563:Node 8e67f04b-71ad-43e0-b922-8e97679ed563 :: false

createNodes 1.394s
2022-06-19 23:05:21 |

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

2022-06-19 23:05:21 | ------------------------------------

2022-06-19 23:05:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8e67f04b-71ad-43e0-b922-8e97679ed563</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8e67f04b-71ad-43e0-b922-8e97679ed563</title></pubsub></data>

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

2022-06-19 23:05:22 | [Mutex] waiting for: [received:nodes:280215ba-2b93-406e-8d6b-4b689b028916:localhost]

2022-06-19 23:05:22 | [Mutex] received everything.

2022-06-19 23:05:22 | [Mutex] isItemNotified: received:node:280215ba-2b93-406e-8d6b-4b689b028916:localhost:node-8e67f04b-71ad-43e0-b922-8e97679ed563:Node 8e67f04b-71ad-43e0-b922-8e97679ed563 :: true

createSubnodes 1.024s
2022-06-19 23:05:22 |

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

2022-06-19 23:05:22 | ------------------------------------

2022-06-19 23:05:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2144e89a-0ce7-4d16-b8b6-25da58f4ee6b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2144e89a-0ce7-4d16-b8b6-25da58f4ee6b</title></pubsub></data>

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

2022-06-19 23:05:23 | [Mutex] waiting for: [received:nodes:562898d4-4fa5-406b-af77-6ccdf3286a41:localhost]

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

2022-06-19 23:05:23 | [Mutex] isItemNotified: received:node:562898d4-4fa5-406b-af77-6ccdf3286a41:localhost:node-2144e89a-0ce7-4d16-b8b6-25da58f4ee6b:Node 2144e89a-0ce7-4d16-b8b6-25da58f4ee6b :: true

deleteNodes 1.018s
2022-06-19 23:05:28 |

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

2022-06-19 23:05:28 | ------------------------------------

2022-06-19 23:05:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2144e89a-0ce7-4d16-b8b6-25da58f4ee6b</node></data>

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

2022-06-19 23:05:29 | [Mutex] waiting for: [received:nodes:9d761e6f-e628-4cd2-b625-7cd24f6b8709:localhost]

2022-06-19 23:05:29 | [Mutex] waiting for: [received:nodes:9d761e6f-e628-4cd2-b625-7cd24f6b8709:localhost]

2022-06-19 23:05:29 | [Mutex] waiting for: [received:nodes:9d761e6f-e628-4cd2-b625-7cd24f6b8709:localhost]

2022-06-19 23:05:29 | [Mutex] received everything.

2022-06-19 23:05:29 | [Mutex] isItemNotified: received:node:9d761e6f-e628-4cd2-b625-7cd24f6b8709:localhost:node-2144e89a-0ce7-4d16-b8b6-25da58f4ee6b:Node 2144e89a-0ce7-4d16-b8b6-25da58f4ee6b :: false

deleteSubnodes 1.129s
2022-06-19 23:05:27 |

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

2022-06-19 23:05:27 | ------------------------------------

2022-06-19 23:05:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8e67f04b-71ad-43e0-b922-8e97679ed563</node></data>

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

2022-06-19 23:05:28 | [Mutex] waiting for: [received:nodes:a3938602-d97b-4c63-8eb7-475ebbe32b90:localhost]

2022-06-19 23:05:28 | [Mutex] waiting for: [received:nodes:a3938602-d97b-4c63-8eb7-475ebbe32b90:localhost]

2022-06-19 23:05:28 | [Mutex] received everything.

2022-06-19 23:05:28 | [Mutex] isItemNotified: received:node:a3938602-d97b-4c63-8eb7-475ebbe32b90:localhost:node-8e67f04b-71ad-43e0-b922-8e97679ed563:Node 8e67f04b-71ad-43e0-b922-8e97679ed563 :: false

2022-06-19 23:05:28 | [Mutex] waiting for: [received:nodes:9ac69b46-09d4-4ddc-b198-bac3dbdab71b:localhost]

2022-06-19 23:05:28 | [Mutex] received everything.

2022-06-19 23:05:28 | [Mutex] isItemNotified: received:node:9ac69b46-09d4-4ddc-b198-bac3dbdab71b:localhost:node-8e67f04b-71ad-43e0-b922-8e97679ed563:Node 8e67f04b-71ad-43e0-b922-8e97679ed563 :: false

publishItemsToNodes 0.199s
2022-06-19 23:05:25 |

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

2022-06-19 23:05:25 | ------------------------------------

2022-06-19 23:05:25 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8e67f04b-71ad-43e0-b922-8e97679ed563</node><item-id>item-95612486-0311-4b28-9517-6a838b0803e7</item-id><entry><test>item-95612486-0311-4b28-9517-6a838b0803e7</test></entry></data>

2022-06-19 23:05:25 | 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-95612486-0311-4b28-9517-6a838b0803e7</value></item-id></result>

2022-06-19 23:05:25 | [Mutex] waiting for: [published:item:notifieditem-95612486-0311-4b28-9517-6a838b0803e7:admin@test-domain.com]

2022-06-19 23:05:25 | [Mutex] received everything.

2022-06-19 23:05:25 | [Mutex] isItemNotified: published:item:notifieditem-95612486-0311-4b28-9517-6a838b0803e7:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2022-06-19 23:05:26 |

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

2022-06-19 23:05:26 | ------------------------------------

2022-06-19 23:05:26 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8e67f04b-71ad-43e0-b922-8e97679ed563</node><item-id>item-95612486-0311-4b28-9517-6a838b0803e7</item-id></data>

2022-06-19 23:05:26 | 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-95612486-0311-4b28-9517-6a838b0803e7</value></item-id></result>

2022-06-19 23:05:26 | [Mutex] received everything.

2022-06-19 23:05:26 | [Mutex] isItemNotified: retracted:item:notifieditem-95612486-0311-4b28-9517-6a838b0803e7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.221s
2022-06-19 23:05:25 |

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

2022-06-19 23:05:25 | ------------------------------------

2022-06-19 23:05:25 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8e67f04b-71ad-43e0-b922-8e97679ed563</node><item-id>item-95612486-0311-4b28-9517-6a838b0803e7</item-id></data>

2022-06-19 23:05:26 | 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-8e67f04b-71ad-43e0-b922-8e97679ed563</value></node><item-id label="Item ID" type="text-single"><value>item-95612486-0311-4b28-9517-6a838b0803e7</value></item-id><item label="Item" type="text-multi"><value><item id="item-95612486-0311-4b28-9517-6a838b0803e7"><test>item-95612486-0311-4b28-9517-6a838b0803e7</test></item></value></item></result>

2022-06-19 23:05:26 | [Mutex] notify: [retrieved:item:item-95612486-0311-4b28-9517-6a838b0803e7:payload-matches:true:localhost]

2022-06-19 23:05:26 | [Mutex] received everything.

2022-06-19 23:05:26 | [Mutex] isItemNotified: retrieved:item:item-95612486-0311-4b28-9517-6a838b0803e7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-19 23:05:26 |

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

2022-06-19 23:05:26 | ------------------------------------

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

2022-06-19 23:05:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-2144e89a-0ce7-4d16-b8b6-25da58f4ee6b</value><value>node-8e67f04b-71ad-43e0-b922-8e97679ed563</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-19 23:05:26 |

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

2022-06-19 23:05:26 | ------------------------------------

2022-06-19 23:05:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8e67f04b-71ad-43e0-b922-8e97679ed563)</node-pattern></data>

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

subscribeNodes 1.165s
2022-06-19 23:05:24 |

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

2022-06-19 23:05:24 | ------------------------------------

2022-06-19 23:05:24 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8e67f04b-71ad-43e0-b922-8e97679ed563</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-19 23:05:24 | 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
2022-06-19 23:05:26 |

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

2022-06-19 23:05:26 | ------------------------------------

2022-06-19 23:05:26 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8e67f04b-71ad-43e0-b922-8e97679ed563</node><jids><value>admin@test-domain.com</value></jids></data>

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