Generated by TestNG with ReportNG at 21:40 PST on Wednesday 27 January 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.997s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.118s
2021-01-27 22:03:12 |

2021-01-27 22:03:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 22:03:12 | ------------------------------------

2021-01-27 22:03:12 | [Mutex] waiting for: [configured:node:node-8af04932-4613-4700-b2a7-630aa7776272:node-96794e18-31fd-4289-b129-5d42e4b5d4f6]

2021-01-27 22:03:12 | [Mutex] received everything.

2021-01-27 22:03:12 | [Mutex] isItemNotified: configured:node:node-8af04932-4613-4700-b2a7-630aa7776272:node-96794e18-31fd-4289-b129-5d42e4b5d4f6 :: true

2021-01-27 22:03:13 | [Mutex] waiting for: [received:nodes:12b090e6-a56f-41e4-963a-81454297dbb4:localhost]

2021-01-27 22:03:13 | [Mutex] waiting for: [received:nodes:12b090e6-a56f-41e4-963a-81454297dbb4:localhost]

2021-01-27 22:03:13 | [Mutex] received everything.

2021-01-27 22:03:13 | [Mutex] isItemNotified: received:node:12b090e6-a56f-41e4-963a-81454297dbb4:localhost:node-8af04932-4613-4700-b2a7-630aa7776272:Node 8af04932-4613-4700-b2a7-630aa7776272 :: true

2021-01-27 22:03:13 | [Mutex] waiting for: [received:nodes:85a74d7f-ba31-4d7f-8566-ccff7a8df422:localhost]

2021-01-27 22:03:13 | [Mutex] received everything.

2021-01-27 22:03:13 | [Mutex] isItemNotified: received:node:85a74d7f-ba31-4d7f-8566-ccff7a8df422:localhost:node-8af04932-4613-4700-b2a7-630aa7776272:Node 8af04932-4613-4700-b2a7-630aa7776272 :: false

createNodes 1.606s
2021-01-27 22:03:09 |

2021-01-27 22:03:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 22:03:09 | ------------------------------------

2021-01-27 22:03:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8af04932-4613-4700-b2a7-630aa7776272</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8af04932-4613-4700-b2a7-630aa7776272</title></pubsub></data>

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

2021-01-27 22:03:11 | [Mutex] waiting for: [received:nodes:d827c520-5939-4d96-b67c-078e5b9984e3:localhost]

2021-01-27 22:03:11 | [Mutex] waiting for: [received:nodes:d827c520-5939-4d96-b67c-078e5b9984e3:localhost]

2021-01-27 22:03:11 | [Mutex] received everything.

2021-01-27 22:03:11 | [Mutex] isItemNotified: received:node:d827c520-5939-4d96-b67c-078e5b9984e3:localhost:node-8af04932-4613-4700-b2a7-630aa7776272:Node 8af04932-4613-4700-b2a7-630aa7776272 :: true

createSubnodes 1.027s
2021-01-27 22:03:11 |

2021-01-27 22:03:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 22:03:11 | ------------------------------------

2021-01-27 22:03:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-96794e18-31fd-4289-b129-5d42e4b5d4f6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 96794e18-31fd-4289-b129-5d42e4b5d4f6</title></pubsub></data>

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

2021-01-27 22:03:12 | [Mutex] waiting for: [received:nodes:5cdd1562-8e1e-4836-9336-e367d271136e:localhost]

2021-01-27 22:03:12 | [Mutex] received everything.

2021-01-27 22:03:12 | [Mutex] isItemNotified: received:node:5cdd1562-8e1e-4836-9336-e367d271136e:localhost:node-96794e18-31fd-4289-b129-5d42e4b5d4f6:Node 96794e18-31fd-4289-b129-5d42e4b5d4f6 :: true

deleteNodes 1.023s
2021-01-27 22:03:17 |

2021-01-27 22:03:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 22:03:17 | ------------------------------------

2021-01-27 22:03:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-96794e18-31fd-4289-b129-5d42e4b5d4f6</node></data>

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

2021-01-27 22:03:18 | [Mutex] waiting for: [received:nodes:5c14c6b9-16f3-4462-a036-670051447d0f:localhost]

2021-01-27 22:03:18 | [Mutex] waiting for: [received:nodes:5c14c6b9-16f3-4462-a036-670051447d0f:localhost]

2021-01-27 22:03:18 | [Mutex] received everything.

2021-01-27 22:03:18 | [Mutex] isItemNotified: received:node:5c14c6b9-16f3-4462-a036-670051447d0f:localhost:node-96794e18-31fd-4289-b129-5d42e4b5d4f6:Node 96794e18-31fd-4289-b129-5d42e4b5d4f6 :: false

deleteSubnodes 1.156s
2021-01-27 22:03:16 |

2021-01-27 22:03:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 22:03:16 | ------------------------------------

2021-01-27 22:03:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8af04932-4613-4700-b2a7-630aa7776272</node></data>

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

2021-01-27 22:03:17 | [Mutex] waiting for: [received:nodes:5850bf4f-4c84-497c-a504-64d8795ff3b5:localhost]

2021-01-27 22:03:17 | [Mutex] received everything.

2021-01-27 22:03:17 | [Mutex] isItemNotified: received:node:5850bf4f-4c84-497c-a504-64d8795ff3b5:localhost:node-8af04932-4613-4700-b2a7-630aa7776272:Node 8af04932-4613-4700-b2a7-630aa7776272 :: false

2021-01-27 22:03:17 | [Mutex] waiting for: [received:nodes:6166d563-6a6d-4756-8ab2-ee099f5ffa7d:localhost]

2021-01-27 22:03:17 | [Mutex] received everything.

2021-01-27 22:03:17 | [Mutex] isItemNotified: received:node:6166d563-6a6d-4756-8ab2-ee099f5ffa7d:localhost:node-8af04932-4613-4700-b2a7-630aa7776272:Node 8af04932-4613-4700-b2a7-630aa7776272 :: false

publishItemsToNodes 0.197s
2021-01-27 22:03:14 |

2021-01-27 22:03:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 22:03:14 | ------------------------------------

2021-01-27 22:03:14 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8af04932-4613-4700-b2a7-630aa7776272</node><item-id>item-03618621-8d9e-4a15-b4c2-0486c7e20dd6</item-id><entry><test>item-03618621-8d9e-4a15-b4c2-0486c7e20dd6</test></entry></data>

2021-01-27 22:03:14 | 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-03618621-8d9e-4a15-b4c2-0486c7e20dd6</value></item-id></result>

2021-01-27 22:03:14 | [Mutex] waiting for: [published:item:notifieditem-03618621-8d9e-4a15-b4c2-0486c7e20dd6:admin@test-domain.com]

2021-01-27 22:03:14 | [Mutex] received everything.

2021-01-27 22:03:14 | [Mutex] isItemNotified: published:item:notifieditem-03618621-8d9e-4a15-b4c2-0486c7e20dd6:admin@test-domain.com :: true

retractItemsFromNodes 0.295s
2021-01-27 22:03:15 |

2021-01-27 22:03:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 22:03:15 | ------------------------------------

2021-01-27 22:03:15 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8af04932-4613-4700-b2a7-630aa7776272</node><item-id>item-03618621-8d9e-4a15-b4c2-0486c7e20dd6</item-id></data>

2021-01-27 22:03:15 | 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-03618621-8d9e-4a15-b4c2-0486c7e20dd6</value></item-id></result>

2021-01-27 22:03:15 | [Mutex] received everything.

2021-01-27 22:03:15 | [Mutex] isItemNotified: retracted:item:notifieditem-03618621-8d9e-4a15-b4c2-0486c7e20dd6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.278s
2021-01-27 22:03:14 |

2021-01-27 22:03:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 22:03:14 | ------------------------------------

2021-01-27 22:03:14 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8af04932-4613-4700-b2a7-630aa7776272</node><item-id>item-03618621-8d9e-4a15-b4c2-0486c7e20dd6</item-id></data>

2021-01-27 22:03:14 | 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-8af04932-4613-4700-b2a7-630aa7776272</value></node><item-id label="Item ID" type="text-single"><value>item-03618621-8d9e-4a15-b4c2-0486c7e20dd6</value></item-id><item label="Item" type="text-multi"><value><item id="item-03618621-8d9e-4a15-b4c2-0486c7e20dd6"><test>item-03618621-8d9e-4a15-b4c2-0486c7e20dd6</test></item></value></item></result>

2021-01-27 22:03:14 | [Mutex] notify: [retrieved:item:item-03618621-8d9e-4a15-b4c2-0486c7e20dd6:payload-matches:true:localhost]

2021-01-27 22:03:14 | [Mutex] received everything.

2021-01-27 22:03:14 | [Mutex] isItemNotified: retrieved:item:item-03618621-8d9e-4a15-b4c2-0486c7e20dd6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2021-01-27 22:03:14 |

2021-01-27 22:03:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 22:03:14 | ------------------------------------

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

2021-01-27 22:03:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-8af04932-4613-4700-b2a7-630aa7776272</value><value>test</value><value>node-96794e18-31fd-4289-b129-5d42e4b5d4f6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-01-27 22:03:14 |

2021-01-27 22:03:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 22:03:14 | ------------------------------------

2021-01-27 22:03:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8af04932-4613-4700-b2a7-630aa7776272)</node-pattern></data>

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

subscribeNodes 1.128s
2021-01-27 22:03:13 |

2021-01-27 22:03:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 22:03:13 | ------------------------------------

2021-01-27 22:03:13 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8af04932-4613-4700-b2a7-630aa7776272</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.296s
2021-01-27 22:03:15 |

2021-01-27 22:03:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 22:03:15 | ------------------------------------

2021-01-27 22:03:15 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8af04932-4613-4700-b2a7-630aa7776272</node><jids><value>admin@test-domain.com</value></jids></data>

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