Generated by TestNG with ReportNG at 22:32 PDT on Thursday 27 August 2020
root@d2d0cb51d011 / 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.965s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2020-08-27 22:48:36 |

2020-08-27 22:48:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 22:48:36 | ------------------------------------

2020-08-27 22:48:36 | [Mutex] waiting for: [configured:node:node-04091805-4fd1-4b6a-a307-dd57ce140c90:node-d6b0f95a-06b4-446c-9f88-8432f64bd0cb]

2020-08-27 22:48:36 | [Mutex] received everything.

2020-08-27 22:48:36 | [Mutex] isItemNotified: configured:node:node-04091805-4fd1-4b6a-a307-dd57ce140c90:node-d6b0f95a-06b4-446c-9f88-8432f64bd0cb :: true

2020-08-27 22:48:37 | [Mutex] waiting for: [received:nodes:7d20770f-2892-474e-a4a6-5c4200dd4456:localhost]

2020-08-27 22:48:37 | [Mutex] received everything.

2020-08-27 22:48:37 | [Mutex] isItemNotified: received:node:7d20770f-2892-474e-a4a6-5c4200dd4456:localhost:node-04091805-4fd1-4b6a-a307-dd57ce140c90:Node 04091805-4fd1-4b6a-a307-dd57ce140c90 :: true

2020-08-27 22:48:37 | [Mutex] waiting for: [received:nodes:8fe673c9-9740-49df-947a-b3a70155fa33:localhost]

2020-08-27 22:48:37 | [Mutex] received everything.

2020-08-27 22:48:37 | [Mutex] isItemNotified: received:node:8fe673c9-9740-49df-947a-b3a70155fa33:localhost:node-04091805-4fd1-4b6a-a307-dd57ce140c90:Node 04091805-4fd1-4b6a-a307-dd57ce140c90 :: false

createNodes 1.581s
2020-08-27 22:48:33 |

2020-08-27 22:48:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 22:48:33 | ------------------------------------

2020-08-27 22:48:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-04091805-4fd1-4b6a-a307-dd57ce140c90</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 04091805-4fd1-4b6a-a307-dd57ce140c90</title></pubsub></data>

2020-08-27 22:48:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 22:48:35 | [Mutex] waiting for: [received:nodes:e62c9476-37fe-402f-813e-ad62fb4bece8:localhost]

2020-08-27 22:48:35 | [Mutex] waiting for: [received:nodes:e62c9476-37fe-402f-813e-ad62fb4bece8:localhost]

2020-08-27 22:48:35 | [Mutex] received everything.

2020-08-27 22:48:35 | [Mutex] isItemNotified: received:node:e62c9476-37fe-402f-813e-ad62fb4bece8:localhost:node-04091805-4fd1-4b6a-a307-dd57ce140c90:Node 04091805-4fd1-4b6a-a307-dd57ce140c90 :: true

createSubnodes 1.029s
2020-08-27 22:48:35 |

2020-08-27 22:48:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 22:48:35 | ------------------------------------

2020-08-27 22:48:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d6b0f95a-06b4-446c-9f88-8432f64bd0cb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d6b0f95a-06b4-446c-9f88-8432f64bd0cb</title></pubsub></data>

2020-08-27 22:48:35 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 22:48:36 | [Mutex] waiting for: [received:nodes:07873fdc-1966-4da9-b564-9e3776316498:localhost]

2020-08-27 22:48:36 | [Mutex] received everything.

2020-08-27 22:48:36 | [Mutex] isItemNotified: received:node:07873fdc-1966-4da9-b564-9e3776316498:localhost:node-d6b0f95a-06b4-446c-9f88-8432f64bd0cb:Node d6b0f95a-06b4-446c-9f88-8432f64bd0cb :: true

deleteNodes 1.023s
2020-08-27 22:48:41 |

2020-08-27 22:48:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 22:48:41 | ------------------------------------

2020-08-27 22:48:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d6b0f95a-06b4-446c-9f88-8432f64bd0cb</node></data>

2020-08-27 22:48:41 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 22:48:42 | [Mutex] waiting for: [received:nodes:05faec98-2b2c-417a-a093-96ea8a7b8871:localhost]

2020-08-27 22:48:42 | [Mutex] waiting for: [received:nodes:05faec98-2b2c-417a-a093-96ea8a7b8871:localhost]

2020-08-27 22:48:42 | [Mutex] received everything.

2020-08-27 22:48:42 | [Mutex] isItemNotified: received:node:05faec98-2b2c-417a-a093-96ea8a7b8871:localhost:node-d6b0f95a-06b4-446c-9f88-8432f64bd0cb:Node d6b0f95a-06b4-446c-9f88-8432f64bd0cb :: false

deleteSubnodes 1.130s
2020-08-27 22:48:40 |

2020-08-27 22:48:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 22:48:40 | ------------------------------------

2020-08-27 22:48:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-04091805-4fd1-4b6a-a307-dd57ce140c90</node></data>

2020-08-27 22:48:40 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 22:48:41 | [Mutex] waiting for: [received:nodes:e327d1d4-3947-4c01-bc32-1d440c63b901:localhost]

2020-08-27 22:48:41 | [Mutex] received everything.

2020-08-27 22:48:41 | [Mutex] isItemNotified: received:node:e327d1d4-3947-4c01-bc32-1d440c63b901:localhost:node-04091805-4fd1-4b6a-a307-dd57ce140c90:Node 04091805-4fd1-4b6a-a307-dd57ce140c90 :: false

2020-08-27 22:48:41 | [Mutex] waiting for: [received:nodes:6d3e38ca-0cc1-4fd8-a197-ad9d5fcfdc57:localhost]

2020-08-27 22:48:41 | [Mutex] received everything.

2020-08-27 22:48:41 | [Mutex] isItemNotified: received:node:6d3e38ca-0cc1-4fd8-a197-ad9d5fcfdc57:localhost:node-04091805-4fd1-4b6a-a307-dd57ce140c90:Node 04091805-4fd1-4b6a-a307-dd57ce140c90 :: false

publishItemsToNodes 0.192s
2020-08-27 22:48:38 |

2020-08-27 22:48:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 22:48:38 | ------------------------------------

2020-08-27 22:48:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-04091805-4fd1-4b6a-a307-dd57ce140c90</node><item-id>item-7d83724a-a429-4f7c-a7ae-775b6ed411fb</item-id><entry><test>item-7d83724a-a429-4f7c-a7ae-775b6ed411fb</test></entry></data>

2020-08-27 22:48:38 | 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-7d83724a-a429-4f7c-a7ae-775b6ed411fb</value></item-id></result>

2020-08-27 22:48:38 | [Mutex] waiting for: [published:item:notifieditem-7d83724a-a429-4f7c-a7ae-775b6ed411fb:admin@test-domain.com]

2020-08-27 22:48:38 | [Mutex] received everything.

2020-08-27 22:48:38 | [Mutex] isItemNotified: published:item:notifieditem-7d83724a-a429-4f7c-a7ae-775b6ed411fb:admin@test-domain.com :: true

retractItemsFromNodes 0.248s
2020-08-27 22:48:39 |

2020-08-27 22:48:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 22:48:39 | ------------------------------------

2020-08-27 22:48:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-04091805-4fd1-4b6a-a307-dd57ce140c90</node><item-id>item-7d83724a-a429-4f7c-a7ae-775b6ed411fb</item-id></data>

2020-08-27 22:48:39 | 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-7d83724a-a429-4f7c-a7ae-775b6ed411fb</value></item-id></result>

2020-08-27 22:48:39 | [Mutex] received everything.

2020-08-27 22:48:39 | [Mutex] isItemNotified: retracted:item:notifieditem-7d83724a-a429-4f7c-a7ae-775b6ed411fb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.269s
2020-08-27 22:48:38 |

2020-08-27 22:48:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 22:48:38 | ------------------------------------

2020-08-27 22:48:38 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-04091805-4fd1-4b6a-a307-dd57ce140c90</node><item-id>item-7d83724a-a429-4f7c-a7ae-775b6ed411fb</item-id></data>

2020-08-27 22:48:39 | 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-04091805-4fd1-4b6a-a307-dd57ce140c90</value></node><item-id label="Item ID" type="text-single"><value>item-7d83724a-a429-4f7c-a7ae-775b6ed411fb</value></item-id><item label="Item" type="text-multi"><value><item id="item-7d83724a-a429-4f7c-a7ae-775b6ed411fb"><test>item-7d83724a-a429-4f7c-a7ae-775b6ed411fb</test></item></value></item></result>

2020-08-27 22:48:39 | [Mutex] notify: [retrieved:item:item-7d83724a-a429-4f7c-a7ae-775b6ed411fb:payload-matches:true:localhost]

2020-08-27 22:48:39 | [Mutex] received everything.

2020-08-27 22:48:39 | [Mutex] isItemNotified: retrieved:item:item-7d83724a-a429-4f7c-a7ae-775b6ed411fb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-08-27 22:48:39 |

2020-08-27 22:48:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 22:48:39 | ------------------------------------

2020-08-27 22:48:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-08-27 22:48:39 | 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-04091805-4fd1-4b6a-a307-dd57ce140c90</value><value>node-d6b0f95a-06b4-446c-9f88-8432f64bd0cb</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-08-27 22:48:39 |

2020-08-27 22:48:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 22:48:39 | ------------------------------------

2020-08-27 22:48:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-04091805-4fd1-4b6a-a307-dd57ce140c90)</node-pattern></data>

2020-08-27 22:48:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.110s
2020-08-27 22:48:37 |

2020-08-27 22:48:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 22:48:37 | ------------------------------------

2020-08-27 22:48:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-04091805-4fd1-4b6a-a307-dd57ce140c90</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-27 22:48:37 | 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
2020-08-27 22:48:39 |

2020-08-27 22:48:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 22:48:39 | ------------------------------------

2020-08-27 22:48:39 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-04091805-4fd1-4b6a-a307-dd57ce140c90</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-27 22:48:39 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>