Generated by TestNG with ReportNG at 04:16 PST on Friday 05 March 2021
root@eaa73862192b / 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 : 9.642s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2021-03-05 04:31:31 |

2021-03-05 04:31:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:31:31 | ------------------------------------

2021-03-05 04:31:31 | [Mutex] waiting for: [configured:node:node-dd4bae63-ea21-4940-bf1b-571495dd1fc4:node-55131422-bdbe-47ca-abb3-fefb0c4e97c0]

2021-03-05 04:31:31 | [Mutex] received everything.

2021-03-05 04:31:31 | [Mutex] isItemNotified: configured:node:node-dd4bae63-ea21-4940-bf1b-571495dd1fc4:node-55131422-bdbe-47ca-abb3-fefb0c4e97c0 :: true

2021-03-05 04:31:32 | [Mutex] waiting for: [received:nodes:0031059d-8039-4943-9894-22c090bce946:localhost]

2021-03-05 04:31:32 | [Mutex] received everything.

2021-03-05 04:31:32 | [Mutex] isItemNotified: received:node:0031059d-8039-4943-9894-22c090bce946:localhost:node-dd4bae63-ea21-4940-bf1b-571495dd1fc4:Node dd4bae63-ea21-4940-bf1b-571495dd1fc4 :: true

2021-03-05 04:31:32 | [Mutex] waiting for: [received:nodes:85509e30-f9ae-4a13-8928-51efb36ce39e:localhost]

2021-03-05 04:31:32 | [Mutex] received everything.

2021-03-05 04:31:32 | [Mutex] isItemNotified: received:node:85509e30-f9ae-4a13-8928-51efb36ce39e:localhost:node-dd4bae63-ea21-4940-bf1b-571495dd1fc4:Node dd4bae63-ea21-4940-bf1b-571495dd1fc4 :: false

createNodes 1.435s
2021-03-05 04:31:28 |

2021-03-05 04:31:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:31:28 | ------------------------------------

2021-03-05 04:31:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dd4bae63-ea21-4940-bf1b-571495dd1fc4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dd4bae63-ea21-4940-bf1b-571495dd1fc4</title></pubsub></data>

2021-03-05 04:31:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-05 04:31:30 | [Mutex] waiting for: [received:nodes:36a84330-6150-4e1a-9a22-356f0e94a21f:localhost]

2021-03-05 04:31:30 | [Mutex] received everything.

2021-03-05 04:31:30 | [Mutex] isItemNotified: received:node:36a84330-6150-4e1a-9a22-356f0e94a21f:localhost:node-dd4bae63-ea21-4940-bf1b-571495dd1fc4:Node dd4bae63-ea21-4940-bf1b-571495dd1fc4 :: true

createSubnodes 1.032s
2021-03-05 04:31:30 |

2021-03-05 04:31:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:31:30 | ------------------------------------

2021-03-05 04:31:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-55131422-bdbe-47ca-abb3-fefb0c4e97c0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 55131422-bdbe-47ca-abb3-fefb0c4e97c0</title></pubsub></data>

2021-03-05 04:31:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-05 04:31:31 | [Mutex] waiting for: [received:nodes:215b8ae7-70c4-43e0-86e3-243c756f50ac:localhost]

2021-03-05 04:31:31 | [Mutex] waiting for: [received:nodes:215b8ae7-70c4-43e0-86e3-243c756f50ac:localhost]

2021-03-05 04:31:31 | [Mutex] received everything.

2021-03-05 04:31:31 | [Mutex] isItemNotified: received:node:215b8ae7-70c4-43e0-86e3-243c756f50ac:localhost:node-55131422-bdbe-47ca-abb3-fefb0c4e97c0:Node 55131422-bdbe-47ca-abb3-fefb0c4e97c0 :: true

deleteNodes 1.023s
2021-03-05 04:31:36 |

2021-03-05 04:31:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:31:36 | ------------------------------------

2021-03-05 04:31:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-55131422-bdbe-47ca-abb3-fefb0c4e97c0</node></data>

2021-03-05 04:31:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-05 04:31:37 | [Mutex] waiting for: [received:nodes:ff578f47-6037-4af5-bf87-b39892e67d35:localhost]

2021-03-05 04:31:37 | [Mutex] received everything.

2021-03-05 04:31:37 | [Mutex] isItemNotified: received:node:ff578f47-6037-4af5-bf87-b39892e67d35:localhost:node-55131422-bdbe-47ca-abb3-fefb0c4e97c0:Node 55131422-bdbe-47ca-abb3-fefb0c4e97c0 :: false

deleteSubnodes 1.123s
2021-03-05 04:31:35 |

2021-03-05 04:31:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:31:35 | ------------------------------------

2021-03-05 04:31:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dd4bae63-ea21-4940-bf1b-571495dd1fc4</node></data>

2021-03-05 04:31:35 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-05 04:31:36 | [Mutex] waiting for: [received:nodes:36944171-85cc-4f1f-ac6f-4c8e9c434aed:localhost]

2021-03-05 04:31:36 | [Mutex] received everything.

2021-03-05 04:31:36 | [Mutex] isItemNotified: received:node:36944171-85cc-4f1f-ac6f-4c8e9c434aed:localhost:node-dd4bae63-ea21-4940-bf1b-571495dd1fc4:Node dd4bae63-ea21-4940-bf1b-571495dd1fc4 :: false

2021-03-05 04:31:36 | [Mutex] waiting for: [received:nodes:25a53bcc-d8b8-43a5-b3f7-04571b058bc3:localhost]

2021-03-05 04:31:36 | [Mutex] received everything.

2021-03-05 04:31:36 | [Mutex] isItemNotified: received:node:25a53bcc-d8b8-43a5-b3f7-04571b058bc3:localhost:node-dd4bae63-ea21-4940-bf1b-571495dd1fc4:Node dd4bae63-ea21-4940-bf1b-571495dd1fc4 :: false

publishItemsToNodes 0.212s
2021-03-05 04:31:33 |

2021-03-05 04:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:31:33 | ------------------------------------

2021-03-05 04:31:33 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-dd4bae63-ea21-4940-bf1b-571495dd1fc4</node><item-id>item-3b1a4806-4426-4a9e-82aa-3e9bc7703fcc</item-id><entry><test>item-3b1a4806-4426-4a9e-82aa-3e9bc7703fcc</test></entry></data>

2021-03-05 04:31:33 | 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-3b1a4806-4426-4a9e-82aa-3e9bc7703fcc</value></item-id></result>

2021-03-05 04:31:33 | [Mutex] waiting for: [published:item:notifieditem-3b1a4806-4426-4a9e-82aa-3e9bc7703fcc:admin@test-domain.com]

2021-03-05 04:31:33 | [Mutex] received everything.

2021-03-05 04:31:33 | [Mutex] isItemNotified: published:item:notifieditem-3b1a4806-4426-4a9e-82aa-3e9bc7703fcc:admin@test-domain.com :: true

retractItemsFromNodes 0.187s
2021-03-05 04:31:33 |

2021-03-05 04:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:31:33 | ------------------------------------

2021-03-05 04:31:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-dd4bae63-ea21-4940-bf1b-571495dd1fc4</node><item-id>item-3b1a4806-4426-4a9e-82aa-3e9bc7703fcc</item-id></data>

2021-03-05 04:31:33 | 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-3b1a4806-4426-4a9e-82aa-3e9bc7703fcc</value></item-id></result>

2021-03-05 04:31:33 | [Mutex] received everything.

2021-03-05 04:31:33 | [Mutex] isItemNotified: retracted:item:notifieditem-3b1a4806-4426-4a9e-82aa-3e9bc7703fcc:admin@test-domain.com :: true

retrieveItemsFromNodes 0.181s
2021-03-05 04:31:33 |

2021-03-05 04:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:31:33 | ------------------------------------

2021-03-05 04:31:33 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-dd4bae63-ea21-4940-bf1b-571495dd1fc4</node><item-id>item-3b1a4806-4426-4a9e-82aa-3e9bc7703fcc</item-id></data>

2021-03-05 04:31:33 | 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-dd4bae63-ea21-4940-bf1b-571495dd1fc4</value></node><item-id type="text-single" label="Item ID"><value>item-3b1a4806-4426-4a9e-82aa-3e9bc7703fcc</value></item-id><item type="text-multi" label="Item"><value><item id="item-3b1a4806-4426-4a9e-82aa-3e9bc7703fcc"><test>item-3b1a4806-4426-4a9e-82aa-3e9bc7703fcc</test></item></value></item></result>

2021-03-05 04:31:33 | [Mutex] notify: [retrieved:item:item-3b1a4806-4426-4a9e-82aa-3e9bc7703fcc:payload-matches:true:localhost]

2021-03-05 04:31:33 | [Mutex] received everything.

2021-03-05 04:31:33 | [Mutex] isItemNotified: retrieved:item:item-3b1a4806-4426-4a9e-82aa-3e9bc7703fcc:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-03-05 04:31:33 |

2021-03-05 04:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:31:33 | ------------------------------------

2021-03-05 04:31:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-05 04:31:33 | 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-dd4bae63-ea21-4940-bf1b-571495dd1fc4</value><value>node-55131422-bdbe-47ca-abb3-fefb0c4e97c0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-03-05 04:31:33 |

2021-03-05 04:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:31:33 | ------------------------------------

2021-03-05 04:31:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dd4bae63-ea21-4940-bf1b-571495dd1fc4)</node-pattern></data>

2021-03-05 04:31:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.121s
2021-03-05 04:31:32 |

2021-03-05 04:31:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:31:32 | ------------------------------------

2021-03-05 04:31:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-dd4bae63-ea21-4940-bf1b-571495dd1fc4</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-05 04:31:32 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.248s
2021-03-05 04:31:33 |

2021-03-05 04:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:31:33 | ------------------------------------

2021-03-05 04:31:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-dd4bae63-ea21-4940-bf1b-571495dd1fc4</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-05 04:31:34 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>