Generated by TestNG with ReportNG at 21:41 PST on Tuesday 29 December 2020
root@43fec6d4badf / 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.223s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2020-12-29 21:57:29 |

2020-12-29 21:57:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:57:29 | ------------------------------------

2020-12-29 21:57:29 | [Mutex] waiting for: [configured:node:node-857dd659-88c2-4fe2-be17-4e4332359e07:node-ef15f6e8-876e-4c84-864e-2608327361ad]

2020-12-29 21:57:29 | [Mutex] received everything.

2020-12-29 21:57:29 | [Mutex] isItemNotified: configured:node:node-857dd659-88c2-4fe2-be17-4e4332359e07:node-ef15f6e8-876e-4c84-864e-2608327361ad :: true

2020-12-29 21:57:30 | [Mutex] waiting for: [received:nodes:a703efed-624d-4982-b12b-e03392075e07:localhost]

2020-12-29 21:57:30 | [Mutex] received everything.

2020-12-29 21:57:30 | [Mutex] isItemNotified: received:node:a703efed-624d-4982-b12b-e03392075e07:localhost:node-857dd659-88c2-4fe2-be17-4e4332359e07:Node 857dd659-88c2-4fe2-be17-4e4332359e07 :: true

2020-12-29 21:57:30 | [Mutex] waiting for: [received:nodes:18fc2130-81ca-422b-82c8-d416a41223a2:localhost]

2020-12-29 21:57:30 | [Mutex] received everything.

2020-12-29 21:57:30 | [Mutex] isItemNotified: received:node:18fc2130-81ca-422b-82c8-d416a41223a2:localhost:node-857dd659-88c2-4fe2-be17-4e4332359e07:Node 857dd659-88c2-4fe2-be17-4e4332359e07 :: false

createNodes 1.691s
2020-12-29 21:57:26 |

2020-12-29 21:57:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:57:26 | ------------------------------------

2020-12-29 21:57:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-857dd659-88c2-4fe2-be17-4e4332359e07</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 857dd659-88c2-4fe2-be17-4e4332359e07</title></pubsub></data>

2020-12-29 21:57:27 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-29 21:57:28 | [Mutex] waiting for: [received:nodes:02ed5c21-d130-45d9-b192-2b9437212e2a:localhost]

2020-12-29 21:57:28 | [Mutex] waiting for: [received:nodes:02ed5c21-d130-45d9-b192-2b9437212e2a:localhost]

2020-12-29 21:57:28 | [Mutex] received everything.

2020-12-29 21:57:28 | [Mutex] isItemNotified: received:node:02ed5c21-d130-45d9-b192-2b9437212e2a:localhost:node-857dd659-88c2-4fe2-be17-4e4332359e07:Node 857dd659-88c2-4fe2-be17-4e4332359e07 :: true

createSubnodes 1.029s
2020-12-29 21:57:28 |

2020-12-29 21:57:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:57:28 | ------------------------------------

2020-12-29 21:57:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ef15f6e8-876e-4c84-864e-2608327361ad</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ef15f6e8-876e-4c84-864e-2608327361ad</title></pubsub></data>

2020-12-29 21:57:28 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-29 21:57:29 | [Mutex] waiting for: [received:nodes:74dc79b8-d4bb-469e-b440-c35cbc3c3e61:localhost]

2020-12-29 21:57:29 | [Mutex] waiting for: [received:nodes:74dc79b8-d4bb-469e-b440-c35cbc3c3e61:localhost]

2020-12-29 21:57:29 | [Mutex] received everything.

2020-12-29 21:57:29 | [Mutex] isItemNotified: received:node:74dc79b8-d4bb-469e-b440-c35cbc3c3e61:localhost:node-ef15f6e8-876e-4c84-864e-2608327361ad:Node ef15f6e8-876e-4c84-864e-2608327361ad :: true

deleteNodes 1.020s
2020-12-29 21:57:34 |

2020-12-29 21:57:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:57:34 | ------------------------------------

2020-12-29 21:57:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ef15f6e8-876e-4c84-864e-2608327361ad</node></data>

2020-12-29 21:57:34 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-29 21:57:35 | [Mutex] waiting for: [received:nodes:28fca981-e59d-4caa-b088-c1cbce5992dd:localhost]

2020-12-29 21:57:35 | [Mutex] received everything.

2020-12-29 21:57:35 | [Mutex] isItemNotified: received:node:28fca981-e59d-4caa-b088-c1cbce5992dd:localhost:node-ef15f6e8-876e-4c84-864e-2608327361ad:Node ef15f6e8-876e-4c84-864e-2608327361ad :: false

deleteSubnodes 1.116s
2020-12-29 21:57:33 |

2020-12-29 21:57:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:57:33 | ------------------------------------

2020-12-29 21:57:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-857dd659-88c2-4fe2-be17-4e4332359e07</node></data>

2020-12-29 21:57:33 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-29 21:57:34 | [Mutex] waiting for: [received:nodes:07b3d2d0-7bad-45e4-a2cd-3fd5bd3255e7:localhost]

2020-12-29 21:57:34 | [Mutex] received everything.

2020-12-29 21:57:34 | [Mutex] isItemNotified: received:node:07b3d2d0-7bad-45e4-a2cd-3fd5bd3255e7:localhost:node-857dd659-88c2-4fe2-be17-4e4332359e07:Node 857dd659-88c2-4fe2-be17-4e4332359e07 :: false

2020-12-29 21:57:34 | [Mutex] waiting for: [received:nodes:84c2d7ec-759d-4dcb-8420-8d40a7f4e951:localhost]

2020-12-29 21:57:34 | [Mutex] received everything.

2020-12-29 21:57:34 | [Mutex] isItemNotified: received:node:84c2d7ec-759d-4dcb-8420-8d40a7f4e951:localhost:node-857dd659-88c2-4fe2-be17-4e4332359e07:Node 857dd659-88c2-4fe2-be17-4e4332359e07 :: false

publishItemsToNodes 0.238s
2020-12-29 21:57:31 |

2020-12-29 21:57:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:57:31 | ------------------------------------

2020-12-29 21:57:31 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-857dd659-88c2-4fe2-be17-4e4332359e07</node><item-id>item-09c50191-670d-433f-a419-94cc5adcda54</item-id><entry><test>item-09c50191-670d-433f-a419-94cc5adcda54</test></entry></data>

2020-12-29 21:57:31 | 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-09c50191-670d-433f-a419-94cc5adcda54</value></item-id></result>

2020-12-29 21:57:31 | [Mutex] waiting for: [published:item:notifieditem-09c50191-670d-433f-a419-94cc5adcda54:admin@test-domain.com]

2020-12-29 21:57:31 | [Mutex] received everything.

2020-12-29 21:57:31 | [Mutex] isItemNotified: published:item:notifieditem-09c50191-670d-433f-a419-94cc5adcda54:admin@test-domain.com :: true

retractItemsFromNodes 0.159s
2020-12-29 21:57:32 |

2020-12-29 21:57:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:57:32 | ------------------------------------

2020-12-29 21:57:32 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-857dd659-88c2-4fe2-be17-4e4332359e07</node><item-id>item-09c50191-670d-433f-a419-94cc5adcda54</item-id></data>

2020-12-29 21:57:32 | 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-09c50191-670d-433f-a419-94cc5adcda54</value></item-id></result>

2020-12-29 21:57:32 | [Mutex] received everything.

2020-12-29 21:57:32 | [Mutex] isItemNotified: retracted:item:notifieditem-09c50191-670d-433f-a419-94cc5adcda54:admin@test-domain.com :: true

retrieveItemsFromNodes 0.363s
2020-12-29 21:57:31 |

2020-12-29 21:57:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:57:31 | ------------------------------------

2020-12-29 21:57:31 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-857dd659-88c2-4fe2-be17-4e4332359e07</node><item-id>item-09c50191-670d-433f-a419-94cc5adcda54</item-id></data>

2020-12-29 21:57:32 | 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-857dd659-88c2-4fe2-be17-4e4332359e07</value></node><item-id label="Item ID" type="text-single"><value>item-09c50191-670d-433f-a419-94cc5adcda54</value></item-id><item label="Item" type="text-multi"><value><item id="item-09c50191-670d-433f-a419-94cc5adcda54"><test>item-09c50191-670d-433f-a419-94cc5adcda54</test></item></value></item></result>

2020-12-29 21:57:32 | [Mutex] notify: [retrieved:item:item-09c50191-670d-433f-a419-94cc5adcda54:payload-matches:true:localhost]

2020-12-29 21:57:32 | [Mutex] received everything.

2020-12-29 21:57:32 | [Mutex] isItemNotified: retrieved:item:item-09c50191-670d-433f-a419-94cc5adcda54:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-12-29 21:57:32 |

2020-12-29 21:57:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:57:32 | ------------------------------------

2020-12-29 21:57:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-12-29 21:57:32 | 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-ef15f6e8-876e-4c84-864e-2608327361ad</value><value>node-857dd659-88c2-4fe2-be17-4e4332359e07</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.063s
2020-12-29 21:57:32 |

2020-12-29 21:57:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:57:32 | ------------------------------------

2020-12-29 21:57:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-857dd659-88c2-4fe2-be17-4e4332359e07)</node-pattern></data>

2020-12-29 21:57:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.157s
2020-12-29 21:57:30 |

2020-12-29 21:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:57:30 | ------------------------------------

2020-12-29 21:57:30 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-857dd659-88c2-4fe2-be17-4e4332359e07</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-29 21:57:30 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.291s
2020-12-29 21:57:32 |

2020-12-29 21:57:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:57:32 | ------------------------------------

2020-12-29 21:57:32 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-857dd659-88c2-4fe2-be17-4e4332359e07</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-29 21:57:32 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>