Generated by TestNG with ReportNG at 22:13 PDT on Thursday 08 October 2020
root@87f6aca6b6f2 / 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.150s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.042s
2020-10-08 22:29:27 |

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

2020-10-08 22:29:27 | ------------------------------------

2020-10-08 22:29:27 | [Mutex] waiting for: [configured:node:node-f50c3831-8b83-47c9-a0c0-d109ad8c890f:node-3a670dd1-9339-42c7-ba9a-9bbcefda2820]

2020-10-08 22:29:27 | [Mutex] received everything.

2020-10-08 22:29:27 | [Mutex] isItemNotified: configured:node:node-f50c3831-8b83-47c9-a0c0-d109ad8c890f:node-3a670dd1-9339-42c7-ba9a-9bbcefda2820 :: true

2020-10-08 22:29:28 | [Mutex] waiting for: [received:nodes:86ea98fa-cb70-4b81-8314-28216c7ff895:localhost]

2020-10-08 22:29:28 | [Mutex] received everything.

2020-10-08 22:29:28 | [Mutex] isItemNotified: received:node:86ea98fa-cb70-4b81-8314-28216c7ff895:localhost:node-f50c3831-8b83-47c9-a0c0-d109ad8c890f:Node f50c3831-8b83-47c9-a0c0-d109ad8c890f :: true

2020-10-08 22:29:28 | [Mutex] waiting for: [received:nodes:9a8e7fb3-549d-4700-afd6-cba5c0af4aea:localhost]

2020-10-08 22:29:28 | [Mutex] received everything.

2020-10-08 22:29:28 | [Mutex] isItemNotified: received:node:9a8e7fb3-549d-4700-afd6-cba5c0af4aea:localhost:node-f50c3831-8b83-47c9-a0c0-d109ad8c890f:Node f50c3831-8b83-47c9-a0c0-d109ad8c890f :: false

createNodes 1.534s
2020-10-08 22:29:24 |

2020-10-08 22:29:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:29:24 | ------------------------------------

2020-10-08 22:29:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f50c3831-8b83-47c9-a0c0-d109ad8c890f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f50c3831-8b83-47c9-a0c0-d109ad8c890f</title></pubsub></data>

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

2020-10-08 22:29:26 | [Mutex] waiting for: [received:nodes:91c56a3c-1ebf-4887-8c5e-dd220f55606f:localhost]

2020-10-08 22:29:26 | [Mutex] waiting for: [received:nodes:91c56a3c-1ebf-4887-8c5e-dd220f55606f:localhost]

2020-10-08 22:29:26 | [Mutex] received everything.

2020-10-08 22:29:26 | [Mutex] isItemNotified: received:node:91c56a3c-1ebf-4887-8c5e-dd220f55606f:localhost:node-f50c3831-8b83-47c9-a0c0-d109ad8c890f:Node f50c3831-8b83-47c9-a0c0-d109ad8c890f :: true

createSubnodes 1.028s
2020-10-08 22:29:26 |

2020-10-08 22:29:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:29:26 | ------------------------------------

2020-10-08 22:29:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3a670dd1-9339-42c7-ba9a-9bbcefda2820</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3a670dd1-9339-42c7-ba9a-9bbcefda2820</title></pubsub></data>

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

2020-10-08 22:29:27 | [Mutex] waiting for: [received:nodes:f9e36312-cdb5-4150-9c20-28a437de29bc:localhost]

2020-10-08 22:29:27 | [Mutex] received everything.

2020-10-08 22:29:27 | [Mutex] isItemNotified: received:node:f9e36312-cdb5-4150-9c20-28a437de29bc:localhost:node-3a670dd1-9339-42c7-ba9a-9bbcefda2820:Node 3a670dd1-9339-42c7-ba9a-9bbcefda2820 :: true

deleteNodes 1.022s
2020-10-08 22:29:33 |

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

2020-10-08 22:29:33 | ------------------------------------

2020-10-08 22:29:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3a670dd1-9339-42c7-ba9a-9bbcefda2820</node></data>

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

2020-10-08 22:29:34 | [Mutex] waiting for: [received:nodes:139b74c1-bcbe-4f31-9ace-a7ffddecbcb1:localhost]

2020-10-08 22:29:34 | [Mutex] received everything.

2020-10-08 22:29:34 | [Mutex] isItemNotified: received:node:139b74c1-bcbe-4f31-9ace-a7ffddecbcb1:localhost:node-3a670dd1-9339-42c7-ba9a-9bbcefda2820:Node 3a670dd1-9339-42c7-ba9a-9bbcefda2820 :: false

deleteSubnodes 1.125s
2020-10-08 22:29:31 |

2020-10-08 22:29:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:29:31 | ------------------------------------

2020-10-08 22:29:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f50c3831-8b83-47c9-a0c0-d109ad8c890f</node></data>

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

2020-10-08 22:29:33 | [Mutex] waiting for: [received:nodes:c621579e-1188-4912-83e6-0c3ea328bfed:localhost]

2020-10-08 22:29:33 | [Mutex] received everything.

2020-10-08 22:29:33 | [Mutex] isItemNotified: received:node:c621579e-1188-4912-83e6-0c3ea328bfed:localhost:node-f50c3831-8b83-47c9-a0c0-d109ad8c890f:Node f50c3831-8b83-47c9-a0c0-d109ad8c890f :: false

2020-10-08 22:29:33 | [Mutex] waiting for: [received:nodes:2bd01a35-5c06-4458-a2ab-ad35c717aa02:localhost]

2020-10-08 22:29:33 | [Mutex] received everything.

2020-10-08 22:29:33 | [Mutex] isItemNotified: received:node:2bd01a35-5c06-4458-a2ab-ad35c717aa02:localhost:node-f50c3831-8b83-47c9-a0c0-d109ad8c890f:Node f50c3831-8b83-47c9-a0c0-d109ad8c890f :: false

publishItemsToNodes 0.218s
2020-10-08 22:29:29 |

2020-10-08 22:29:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:29:29 | ------------------------------------

2020-10-08 22:29:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f50c3831-8b83-47c9-a0c0-d109ad8c890f</node><item-id>item-2a63f890-51f8-41cc-bf4c-f2dddaa7c113</item-id><entry><test>item-2a63f890-51f8-41cc-bf4c-f2dddaa7c113</test></entry></data>

2020-10-08 22:29:29 | 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-2a63f890-51f8-41cc-bf4c-f2dddaa7c113</value></item-id></result>

2020-10-08 22:29:29 | [Mutex] waiting for: [published:item:notifieditem-2a63f890-51f8-41cc-bf4c-f2dddaa7c113:admin@test-domain.com]

2020-10-08 22:29:29 | [Mutex] received everything.

2020-10-08 22:29:29 | [Mutex] isItemNotified: published:item:notifieditem-2a63f890-51f8-41cc-bf4c-f2dddaa7c113:admin@test-domain.com :: true

retractItemsFromNodes 0.407s
2020-10-08 22:29:30 |

2020-10-08 22:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:29:30 | ------------------------------------

2020-10-08 22:29:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f50c3831-8b83-47c9-a0c0-d109ad8c890f</node><item-id>item-2a63f890-51f8-41cc-bf4c-f2dddaa7c113</item-id></data>

2020-10-08 22:29:30 | 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-2a63f890-51f8-41cc-bf4c-f2dddaa7c113</value></item-id></result>

2020-10-08 22:29:30 | [Mutex] received everything.

2020-10-08 22:29:30 | [Mutex] isItemNotified: retracted:item:notifieditem-2a63f890-51f8-41cc-bf4c-f2dddaa7c113:admin@test-domain.com :: true

retrieveItemsFromNodes 0.209s
2020-10-08 22:29:29 |

2020-10-08 22:29:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:29:29 | ------------------------------------

2020-10-08 22:29:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f50c3831-8b83-47c9-a0c0-d109ad8c890f</node><item-id>item-2a63f890-51f8-41cc-bf4c-f2dddaa7c113</item-id></data>

2020-10-08 22:29:30 | 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-f50c3831-8b83-47c9-a0c0-d109ad8c890f</value></node><item-id label="Item ID" type="text-single"><value>item-2a63f890-51f8-41cc-bf4c-f2dddaa7c113</value></item-id><item label="Item" type="text-multi"><value><item id="item-2a63f890-51f8-41cc-bf4c-f2dddaa7c113"><test>item-2a63f890-51f8-41cc-bf4c-f2dddaa7c113</test></item></value></item></result>

2020-10-08 22:29:30 | [Mutex] notify: [retrieved:item:item-2a63f890-51f8-41cc-bf4c-f2dddaa7c113:payload-matches:true:localhost]

2020-10-08 22:29:30 | [Mutex] received everything.

2020-10-08 22:29:30 | [Mutex] isItemNotified: retrieved:item:item-2a63f890-51f8-41cc-bf4c-f2dddaa7c113:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2020-10-08 22:29:30 |

2020-10-08 22:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:29:30 | ------------------------------------

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

2020-10-08 22:29:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-f50c3831-8b83-47c9-a0c0-d109ad8c890f</value><value>node-3a670dd1-9339-42c7-ba9a-9bbcefda2820</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-10-08 22:29:30 |

2020-10-08 22:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:29:30 | ------------------------------------

2020-10-08 22:29:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f50c3831-8b83-47c9-a0c0-d109ad8c890f)</node-pattern></data>

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

subscribeNodes 1.121s
2020-10-08 22:29:28 |

2020-10-08 22:29:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:29:28 | ------------------------------------

2020-10-08 22:29:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f50c3831-8b83-47c9-a0c0-d109ad8c890f</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-08 22:29:28 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.323s
2020-10-08 22:29:30 |

2020-10-08 22:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:29:30 | ------------------------------------

2020-10-08 22:29:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f50c3831-8b83-47c9-a0c0-d109ad8c890f</node><jids><value>admin@test-domain.com</value></jids></data>

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