Generated by TestNG with ReportNG at 00:10 PDT on Wednesday 02 September 2020
root@556a2edbe156 / 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.709s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.124s
2020-09-02 00:26:21 |

2020-09-02 00:26:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 00:26:21 | ------------------------------------

2020-09-02 00:26:21 | [Mutex] waiting for: [configured:node:node-769b6eb1-091c-494a-85ff-06e0b07ad46d:node-3fcff7cc-3ed8-4964-bb4e-e56578fe8000]

2020-09-02 00:26:21 | [Mutex] received everything.

2020-09-02 00:26:21 | [Mutex] isItemNotified: configured:node:node-769b6eb1-091c-494a-85ff-06e0b07ad46d:node-3fcff7cc-3ed8-4964-bb4e-e56578fe8000 :: true

2020-09-02 00:26:22 | [Mutex] waiting for: [received:nodes:74e1cb16-9822-4b65-9d5e-3536197ae553:localhost]

2020-09-02 00:26:22 | [Mutex] received everything.

2020-09-02 00:26:22 | [Mutex] isItemNotified: received:node:74e1cb16-9822-4b65-9d5e-3536197ae553:localhost:node-769b6eb1-091c-494a-85ff-06e0b07ad46d:Node 769b6eb1-091c-494a-85ff-06e0b07ad46d :: true

2020-09-02 00:26:22 | [Mutex] waiting for: [received:nodes:70fd253f-958c-41d8-9e60-de06b3a41371:localhost]

2020-09-02 00:26:22 | [Mutex] received everything.

2020-09-02 00:26:22 | [Mutex] isItemNotified: received:node:70fd253f-958c-41d8-9e60-de06b3a41371:localhost:node-769b6eb1-091c-494a-85ff-06e0b07ad46d:Node 769b6eb1-091c-494a-85ff-06e0b07ad46d :: false

createNodes 1.314s
2020-09-02 00:26:19 |

2020-09-02 00:26:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 00:26:19 | ------------------------------------

2020-09-02 00:26:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-769b6eb1-091c-494a-85ff-06e0b07ad46d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 769b6eb1-091c-494a-85ff-06e0b07ad46d</title></pubsub></data>

2020-09-02 00:26:19 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-02 00:26:20 | [Mutex] waiting for: [received:nodes:de0c2fb3-da92-4d60-96f6-0001e93ed64a:localhost]

2020-09-02 00:26:20 | [Mutex] received everything.

2020-09-02 00:26:20 | [Mutex] isItemNotified: received:node:de0c2fb3-da92-4d60-96f6-0001e93ed64a:localhost:node-769b6eb1-091c-494a-85ff-06e0b07ad46d:Node 769b6eb1-091c-494a-85ff-06e0b07ad46d :: true

createSubnodes 1.024s
2020-09-02 00:26:20 |

2020-09-02 00:26:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 00:26:20 | ------------------------------------

2020-09-02 00:26:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3fcff7cc-3ed8-4964-bb4e-e56578fe8000</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3fcff7cc-3ed8-4964-bb4e-e56578fe8000</title></pubsub></data>

2020-09-02 00:26:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-02 00:26:21 | [Mutex] waiting for: [received:nodes:ef958808-583d-49fe-97f8-88b44e3cc130:localhost]

2020-09-02 00:26:21 | [Mutex] waiting for: [received:nodes:ef958808-583d-49fe-97f8-88b44e3cc130:localhost]

2020-09-02 00:26:21 | [Mutex] received everything.

2020-09-02 00:26:21 | [Mutex] isItemNotified: received:node:ef958808-583d-49fe-97f8-88b44e3cc130:localhost:node-3fcff7cc-3ed8-4964-bb4e-e56578fe8000:Node 3fcff7cc-3ed8-4964-bb4e-e56578fe8000 :: true

deleteNodes 1.020s
2020-09-02 00:26:26 |

2020-09-02 00:26:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 00:26:26 | ------------------------------------

2020-09-02 00:26:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3fcff7cc-3ed8-4964-bb4e-e56578fe8000</node></data>

2020-09-02 00:26:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-02 00:26:27 | [Mutex] waiting for: [received:nodes:e4fe69d2-4f6d-4b11-b424-a6c26567fdf0:localhost]

2020-09-02 00:26:27 | [Mutex] received everything.

2020-09-02 00:26:27 | [Mutex] isItemNotified: received:node:e4fe69d2-4f6d-4b11-b424-a6c26567fdf0:localhost:node-3fcff7cc-3ed8-4964-bb4e-e56578fe8000:Node 3fcff7cc-3ed8-4964-bb4e-e56578fe8000 :: false

deleteSubnodes 1.120s
2020-09-02 00:26:25 |

2020-09-02 00:26:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 00:26:25 | ------------------------------------

2020-09-02 00:26:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-769b6eb1-091c-494a-85ff-06e0b07ad46d</node></data>

2020-09-02 00:26:25 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-02 00:26:26 | [Mutex] waiting for: [received:nodes:f243a46a-351e-46cf-bac0-e24a9c0957b0:localhost]

2020-09-02 00:26:26 | [Mutex] received everything.

2020-09-02 00:26:26 | [Mutex] isItemNotified: received:node:f243a46a-351e-46cf-bac0-e24a9c0957b0:localhost:node-769b6eb1-091c-494a-85ff-06e0b07ad46d:Node 769b6eb1-091c-494a-85ff-06e0b07ad46d :: false

2020-09-02 00:26:26 | [Mutex] waiting for: [received:nodes:51422cd4-4292-42f3-98cb-d94be91f4024:localhost]

2020-09-02 00:26:26 | [Mutex] received everything.

2020-09-02 00:26:26 | [Mutex] isItemNotified: received:node:51422cd4-4292-42f3-98cb-d94be91f4024:localhost:node-769b6eb1-091c-494a-85ff-06e0b07ad46d:Node 769b6eb1-091c-494a-85ff-06e0b07ad46d :: false

publishItemsToNodes 0.174s
2020-09-02 00:26:23 |

2020-09-02 00:26:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 00:26:23 | ------------------------------------

2020-09-02 00:26:23 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-769b6eb1-091c-494a-85ff-06e0b07ad46d</node><item-id>item-b81d68b4-6eb4-431d-ba4b-cacce35cf59e</item-id><entry><test>item-b81d68b4-6eb4-431d-ba4b-cacce35cf59e</test></entry></data>

2020-09-02 00:26:23 | 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-b81d68b4-6eb4-431d-ba4b-cacce35cf59e</value></item-id></result>

2020-09-02 00:26:23 | [Mutex] waiting for: [published:item:notifieditem-b81d68b4-6eb4-431d-ba4b-cacce35cf59e:admin@test-domain.com]

2020-09-02 00:26:23 | [Mutex] received everything.

2020-09-02 00:26:23 | [Mutex] isItemNotified: published:item:notifieditem-b81d68b4-6eb4-431d-ba4b-cacce35cf59e:admin@test-domain.com :: true

retractItemsFromNodes 0.188s
2020-09-02 00:26:24 |

2020-09-02 00:26:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 00:26:24 | ------------------------------------

2020-09-02 00:26:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-769b6eb1-091c-494a-85ff-06e0b07ad46d</node><item-id>item-b81d68b4-6eb4-431d-ba4b-cacce35cf59e</item-id></data>

2020-09-02 00:26:24 | 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-b81d68b4-6eb4-431d-ba4b-cacce35cf59e</value></item-id></result>

2020-09-02 00:26:24 | [Mutex] received everything.

2020-09-02 00:26:24 | [Mutex] isItemNotified: retracted:item:notifieditem-b81d68b4-6eb4-431d-ba4b-cacce35cf59e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.229s
2020-09-02 00:26:23 |

2020-09-02 00:26:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 00:26:23 | ------------------------------------

2020-09-02 00:26:23 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-769b6eb1-091c-494a-85ff-06e0b07ad46d</node><item-id>item-b81d68b4-6eb4-431d-ba4b-cacce35cf59e</item-id></data>

2020-09-02 00:26:24 | 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-769b6eb1-091c-494a-85ff-06e0b07ad46d</value></node><item-id label="Item ID" type="text-single"><value>item-b81d68b4-6eb4-431d-ba4b-cacce35cf59e</value></item-id><item label="Item" type="text-multi"><value><item id="item-b81d68b4-6eb4-431d-ba4b-cacce35cf59e"><test>item-b81d68b4-6eb4-431d-ba4b-cacce35cf59e</test></item></value></item></result>

2020-09-02 00:26:24 | [Mutex] notify: [retrieved:item:item-b81d68b4-6eb4-431d-ba4b-cacce35cf59e:payload-matches:true:localhost]

2020-09-02 00:26:24 | [Mutex] received everything.

2020-09-02 00:26:24 | [Mutex] isItemNotified: retrieved:item:item-b81d68b4-6eb4-431d-ba4b-cacce35cf59e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-02 00:26:24 |

2020-09-02 00:26:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 00:26:24 | ------------------------------------

2020-09-02 00:26:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-02 00:26:24 | 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-3fcff7cc-3ed8-4964-bb4e-e56578fe8000</value><value>node-769b6eb1-091c-494a-85ff-06e0b07ad46d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-09-02 00:26:24 |

2020-09-02 00:26:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 00:26:24 | ------------------------------------

2020-09-02 00:26:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-769b6eb1-091c-494a-85ff-06e0b07ad46d)</node-pattern></data>

2020-09-02 00:26:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.127s
2020-09-02 00:26:22 |

2020-09-02 00:26:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 00:26:22 | ------------------------------------

2020-09-02 00:26:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-769b6eb1-091c-494a-85ff-06e0b07ad46d</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-02 00:26:22 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.284s
2020-09-02 00:26:24 |

2020-09-02 00:26:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 00:26:24 | ------------------------------------

2020-09-02 00:26:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-769b6eb1-091c-494a-85ff-06e0b07ad46d</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-02 00:26:24 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>