Generated by TestNG with ReportNG at 22:15 PDT on Tuesday 25 May 2021
root@785cf647a4ab / 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.320s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.120s
2021-05-25 22:30:19 |

2021-05-25 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:30:19 | ------------------------------------

2021-05-25 22:30:19 | [Mutex] waiting for: [configured:node:node-ac3c3c67-8b62-4685-bebe-29b1429c3a63:node-793ec6e6-4fdd-469c-92ff-1636381ddc53]

2021-05-25 22:30:19 | [Mutex] received everything.

2021-05-25 22:30:19 | [Mutex] isItemNotified: configured:node:node-ac3c3c67-8b62-4685-bebe-29b1429c3a63:node-793ec6e6-4fdd-469c-92ff-1636381ddc53 :: true

2021-05-25 22:30:20 | [Mutex] waiting for: [received:nodes:ffb48c27-d99d-4f7f-9f96-5b659b4d257f:localhost]

2021-05-25 22:30:20 | [Mutex] received everything.

2021-05-25 22:30:20 | [Mutex] isItemNotified: received:node:ffb48c27-d99d-4f7f-9f96-5b659b4d257f:localhost:node-ac3c3c67-8b62-4685-bebe-29b1429c3a63:Node ac3c3c67-8b62-4685-bebe-29b1429c3a63 :: true

2021-05-25 22:30:20 | [Mutex] waiting for: [received:nodes:9a373954-3f88-4c26-8897-cbac5b798bcc:localhost]

2021-05-25 22:30:20 | [Mutex] received everything.

2021-05-25 22:30:20 | [Mutex] isItemNotified: received:node:9a373954-3f88-4c26-8897-cbac5b798bcc:localhost:node-ac3c3c67-8b62-4685-bebe-29b1429c3a63:Node ac3c3c67-8b62-4685-bebe-29b1429c3a63 :: false

createNodes 1.592s
2021-05-25 22:30:16 |

2021-05-25 22:30:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:30:16 | ------------------------------------

2021-05-25 22:30:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ac3c3c67-8b62-4685-bebe-29b1429c3a63</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ac3c3c67-8b62-4685-bebe-29b1429c3a63</title></pubsub></data>

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

2021-05-25 22:30:18 | [Mutex] waiting for: [received:nodes:9c39cafa-82e9-4390-ae65-8e714fc3e449:localhost]

2021-05-25 22:30:18 | [Mutex] received everything.

2021-05-25 22:30:18 | [Mutex] isItemNotified: received:node:9c39cafa-82e9-4390-ae65-8e714fc3e449:localhost:node-ac3c3c67-8b62-4685-bebe-29b1429c3a63:Node ac3c3c67-8b62-4685-bebe-29b1429c3a63 :: true

createSubnodes 1.025s
2021-05-25 22:30:18 |

2021-05-25 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:30:18 | ------------------------------------

2021-05-25 22:30:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-793ec6e6-4fdd-469c-92ff-1636381ddc53</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 793ec6e6-4fdd-469c-92ff-1636381ddc53</title></pubsub></data>

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

2021-05-25 22:30:19 | [Mutex] waiting for: [received:nodes:20e1f5f1-0ae9-4c89-9e90-828d1ecddca9:localhost]

2021-05-25 22:30:19 | [Mutex] received everything.

2021-05-25 22:30:19 | [Mutex] isItemNotified: received:node:20e1f5f1-0ae9-4c89-9e90-828d1ecddca9:localhost:node-793ec6e6-4fdd-469c-92ff-1636381ddc53:Node 793ec6e6-4fdd-469c-92ff-1636381ddc53 :: true

deleteNodes 1.017s
2021-05-25 22:30:25 |

2021-05-25 22:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:30:25 | ------------------------------------

2021-05-25 22:30:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-793ec6e6-4fdd-469c-92ff-1636381ddc53</node></data>

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

2021-05-25 22:30:26 | [Mutex] waiting for: [received:nodes:c7af049c-7242-4721-aa6b-19ccb5a3372c:localhost]

2021-05-25 22:30:26 | [Mutex] received everything.

2021-05-25 22:30:26 | [Mutex] isItemNotified: received:node:c7af049c-7242-4721-aa6b-19ccb5a3372c:localhost:node-793ec6e6-4fdd-469c-92ff-1636381ddc53:Node 793ec6e6-4fdd-469c-92ff-1636381ddc53 :: false

deleteSubnodes 1.165s
2021-05-25 22:30:24 |

2021-05-25 22:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:30:24 | ------------------------------------

2021-05-25 22:30:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ac3c3c67-8b62-4685-bebe-29b1429c3a63</node></data>

2021-05-25 22:30:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-25 22:30:25 | [Mutex] waiting for: [received:nodes:e7d4e952-ef59-4ecf-905e-761e2a3f3245:localhost]

2021-05-25 22:30:25 | [Mutex] waiting for: [received:nodes:e7d4e952-ef59-4ecf-905e-761e2a3f3245:localhost]

2021-05-25 22:30:25 | [Mutex] received everything.

2021-05-25 22:30:25 | [Mutex] isItemNotified: received:node:e7d4e952-ef59-4ecf-905e-761e2a3f3245:localhost:node-ac3c3c67-8b62-4685-bebe-29b1429c3a63:Node ac3c3c67-8b62-4685-bebe-29b1429c3a63 :: false

2021-05-25 22:30:25 | [Mutex] waiting for: [received:nodes:0c295ddf-0149-4e49-8609-27e47d6dbb33:localhost]

2021-05-25 22:30:25 | [Mutex] received everything.

2021-05-25 22:30:25 | [Mutex] isItemNotified: received:node:0c295ddf-0149-4e49-8609-27e47d6dbb33:localhost:node-ac3c3c67-8b62-4685-bebe-29b1429c3a63:Node ac3c3c67-8b62-4685-bebe-29b1429c3a63 :: false

publishItemsToNodes 0.287s
2021-05-25 22:30:21 |

2021-05-25 22:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:30:21 | ------------------------------------

2021-05-25 22:30:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ac3c3c67-8b62-4685-bebe-29b1429c3a63</node><item-id>item-af5e41ff-9e08-433b-9e30-babb9e687574</item-id><entry><test>item-af5e41ff-9e08-433b-9e30-babb9e687574</test></entry></data>

2021-05-25 22:30:22 | 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-af5e41ff-9e08-433b-9e30-babb9e687574</value></item-id></result>

2021-05-25 22:30:22 | [Mutex] waiting for: [published:item:notifieditem-af5e41ff-9e08-433b-9e30-babb9e687574:admin@test-domain.com]

2021-05-25 22:30:22 | [Mutex] received everything.

2021-05-25 22:30:22 | [Mutex] isItemNotified: published:item:notifieditem-af5e41ff-9e08-433b-9e30-babb9e687574:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2021-05-25 22:30:22 |

2021-05-25 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:30:22 | ------------------------------------

2021-05-25 22:30:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ac3c3c67-8b62-4685-bebe-29b1429c3a63</node><item-id>item-af5e41ff-9e08-433b-9e30-babb9e687574</item-id></data>

2021-05-25 22:30:22 | 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-af5e41ff-9e08-433b-9e30-babb9e687574</value></item-id></result>

2021-05-25 22:30:22 | [Mutex] received everything.

2021-05-25 22:30:22 | [Mutex] isItemNotified: retracted:item:notifieditem-af5e41ff-9e08-433b-9e30-babb9e687574:admin@test-domain.com :: true

retrieveItemsFromNodes 0.237s
2021-05-25 22:30:22 |

2021-05-25 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:30:22 | ------------------------------------

2021-05-25 22:30:22 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ac3c3c67-8b62-4685-bebe-29b1429c3a63</node><item-id>item-af5e41ff-9e08-433b-9e30-babb9e687574</item-id></data>

2021-05-25 22:30:22 | 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-ac3c3c67-8b62-4685-bebe-29b1429c3a63</value></node><item-id label="Item ID" type="text-single"><value>item-af5e41ff-9e08-433b-9e30-babb9e687574</value></item-id><item label="Item" type="text-multi"><value><item id="item-af5e41ff-9e08-433b-9e30-babb9e687574"><test>item-af5e41ff-9e08-433b-9e30-babb9e687574</test></item></value></item></result>

2021-05-25 22:30:22 | [Mutex] notify: [retrieved:item:item-af5e41ff-9e08-433b-9e30-babb9e687574:payload-matches:true:localhost]

2021-05-25 22:30:22 | [Mutex] received everything.

2021-05-25 22:30:22 | [Mutex] isItemNotified: retrieved:item:item-af5e41ff-9e08-433b-9e30-babb9e687574:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.058s
2021-05-25 22:30:22 |

2021-05-25 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:30:22 | ------------------------------------

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

2021-05-25 22:30:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-793ec6e6-4fdd-469c-92ff-1636381ddc53</value><value>test</value><value>node-ac3c3c67-8b62-4685-bebe-29b1429c3a63</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2021-05-25 22:30:22 |

2021-05-25 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:30:22 | ------------------------------------

2021-05-25 22:30:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ac3c3c67-8b62-4685-bebe-29b1429c3a63)</node-pattern></data>

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

subscribeNodes 1.216s
2021-05-25 22:30:20 |

2021-05-25 22:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:30:20 | ------------------------------------

2021-05-25 22:30:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ac3c3c67-8b62-4685-bebe-29b1429c3a63</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-25 22:30:20 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.415s
2021-05-25 22:30:22 |

2021-05-25 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:30:22 | ------------------------------------

2021-05-25 22:30:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ac3c3c67-8b62-4685-bebe-29b1429c3a63</node><jids><value>admin@test-domain.com</value></jids></data>

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