Generated by TestNG with ReportNG at 22:43 PDT on Monday 05 April 2021
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.055s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2021-04-05 22:58:03 |

2021-04-05 22:58:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:58:03 | ------------------------------------

2021-04-05 22:58:03 | [Mutex] waiting for: [configured:node:node-28e77825-0016-4e04-b938-270dec106d8c:node-b0c35acc-92cb-4515-88c5-01822650fba3]

2021-04-05 22:58:03 | [Mutex] received everything.

2021-04-05 22:58:03 | [Mutex] isItemNotified: configured:node:node-28e77825-0016-4e04-b938-270dec106d8c:node-b0c35acc-92cb-4515-88c5-01822650fba3 :: true

2021-04-05 22:58:04 | [Mutex] waiting for: [received:nodes:85c6d65a-0b88-4253-a9a7-6ad372132da6:localhost]

2021-04-05 22:58:04 | [Mutex] received everything.

2021-04-05 22:58:04 | [Mutex] isItemNotified: received:node:85c6d65a-0b88-4253-a9a7-6ad372132da6:localhost:node-28e77825-0016-4e04-b938-270dec106d8c:Node 28e77825-0016-4e04-b938-270dec106d8c :: true

2021-04-05 22:58:04 | [Mutex] waiting for: [received:nodes:c907fb42-e879-49da-9af6-127d821dfa48:localhost]

2021-04-05 22:58:04 | [Mutex] waiting for: [received:nodes:c907fb42-e879-49da-9af6-127d821dfa48:localhost]

2021-04-05 22:58:04 | [Mutex] received everything.

2021-04-05 22:58:04 | [Mutex] isItemNotified: received:node:c907fb42-e879-49da-9af6-127d821dfa48:localhost:node-28e77825-0016-4e04-b938-270dec106d8c:Node 28e77825-0016-4e04-b938-270dec106d8c :: false

createNodes 1.617s
2021-04-05 22:58:01 |

2021-04-05 22:58:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:58:01 | ------------------------------------

2021-04-05 22:58:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-28e77825-0016-4e04-b938-270dec106d8c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 28e77825-0016-4e04-b938-270dec106d8c</title></pubsub></data>

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

2021-04-05 22:58:02 | [Mutex] waiting for: [received:nodes:03dbda04-29eb-4823-93ab-d4489aa292b5:localhost]

2021-04-05 22:58:02 | [Mutex] received everything.

2021-04-05 22:58:02 | [Mutex] isItemNotified: received:node:03dbda04-29eb-4823-93ab-d4489aa292b5:localhost:node-28e77825-0016-4e04-b938-270dec106d8c:Node 28e77825-0016-4e04-b938-270dec106d8c :: true

createSubnodes 1.033s
2021-04-05 22:58:02 |

2021-04-05 22:58:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:58:02 | ------------------------------------

2021-04-05 22:58:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b0c35acc-92cb-4515-88c5-01822650fba3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b0c35acc-92cb-4515-88c5-01822650fba3</title></pubsub></data>

2021-04-05 22:58:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-05 22:58:03 | [Mutex] waiting for: [received:nodes:5bb3a4e8-1b8a-427f-89f3-ceee5ab6ee0b:localhost]

2021-04-05 22:58:03 | [Mutex] received everything.

2021-04-05 22:58:03 | [Mutex] isItemNotified: received:node:5bb3a4e8-1b8a-427f-89f3-ceee5ab6ee0b:localhost:node-b0c35acc-92cb-4515-88c5-01822650fba3:Node b0c35acc-92cb-4515-88c5-01822650fba3 :: true

deleteNodes 1.027s
2021-04-05 22:58:09 |

2021-04-05 22:58:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:58:09 | ------------------------------------

2021-04-05 22:58:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b0c35acc-92cb-4515-88c5-01822650fba3</node></data>

2021-04-05 22:58:09 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-05 22:58:10 | [Mutex] waiting for: [received:nodes:2092c641-3100-4a85-8718-52ba0365598a:localhost]

2021-04-05 22:58:10 | [Mutex] waiting for: [received:nodes:2092c641-3100-4a85-8718-52ba0365598a:localhost]

2021-04-05 22:58:10 | [Mutex] waiting for: [received:nodes:2092c641-3100-4a85-8718-52ba0365598a:localhost]

2021-04-05 22:58:10 | [Mutex] received everything.

2021-04-05 22:58:10 | [Mutex] isItemNotified: received:node:2092c641-3100-4a85-8718-52ba0365598a:localhost:node-b0c35acc-92cb-4515-88c5-01822650fba3:Node b0c35acc-92cb-4515-88c5-01822650fba3 :: false

deleteSubnodes 1.158s
2021-04-05 22:58:08 |

2021-04-05 22:58:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:58:08 | ------------------------------------

2021-04-05 22:58:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-28e77825-0016-4e04-b938-270dec106d8c</node></data>

2021-04-05 22:58:08 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-05 22:58:09 | [Mutex] waiting for: [received:nodes:8fc884e0-8c2b-4eb8-811d-3d240b57517e:localhost]

2021-04-05 22:58:09 | [Mutex] waiting for: [received:nodes:8fc884e0-8c2b-4eb8-811d-3d240b57517e:localhost]

2021-04-05 22:58:09 | [Mutex] received everything.

2021-04-05 22:58:09 | [Mutex] isItemNotified: received:node:8fc884e0-8c2b-4eb8-811d-3d240b57517e:localhost:node-28e77825-0016-4e04-b938-270dec106d8c:Node 28e77825-0016-4e04-b938-270dec106d8c :: false

2021-04-05 22:58:09 | [Mutex] waiting for: [received:nodes:d3026538-65b6-4f16-8cb0-7fe93250841a:localhost]

2021-04-05 22:58:09 | [Mutex] received everything.

2021-04-05 22:58:09 | [Mutex] isItemNotified: received:node:d3026538-65b6-4f16-8cb0-7fe93250841a:localhost:node-28e77825-0016-4e04-b938-270dec106d8c:Node 28e77825-0016-4e04-b938-270dec106d8c :: false

publishItemsToNodes 0.322s
2021-04-05 22:58:06 |

2021-04-05 22:58:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:58:06 | ------------------------------------

2021-04-05 22:58:06 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-28e77825-0016-4e04-b938-270dec106d8c</node><item-id>item-7c601f70-b260-40d0-a970-1b3f99eaaced</item-id><entry><test>item-7c601f70-b260-40d0-a970-1b3f99eaaced</test></entry></data>

2021-04-05 22:58:06 | 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-7c601f70-b260-40d0-a970-1b3f99eaaced</value></item-id></result>

2021-04-05 22:58:06 | [Mutex] waiting for: [published:item:notifieditem-7c601f70-b260-40d0-a970-1b3f99eaaced:admin@test-domain.com]

2021-04-05 22:58:06 | [Mutex] received everything.

2021-04-05 22:58:06 | [Mutex] isItemNotified: published:item:notifieditem-7c601f70-b260-40d0-a970-1b3f99eaaced:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2021-04-05 22:58:06 |

2021-04-05 22:58:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:58:06 | ------------------------------------

2021-04-05 22:58:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-28e77825-0016-4e04-b938-270dec106d8c</node><item-id>item-7c601f70-b260-40d0-a970-1b3f99eaaced</item-id></data>

2021-04-05 22:58:07 | 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-7c601f70-b260-40d0-a970-1b3f99eaaced</value></item-id></result>

2021-04-05 22:58:07 | [Mutex] received everything.

2021-04-05 22:58:07 | [Mutex] isItemNotified: retracted:item:notifieditem-7c601f70-b260-40d0-a970-1b3f99eaaced:admin@test-domain.com :: true

retrieveItemsFromNodes 0.225s
2021-04-05 22:58:06 |

2021-04-05 22:58:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:58:06 | ------------------------------------

2021-04-05 22:58:06 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-28e77825-0016-4e04-b938-270dec106d8c</node><item-id>item-7c601f70-b260-40d0-a970-1b3f99eaaced</item-id></data>

2021-04-05 22:58:06 | 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-28e77825-0016-4e04-b938-270dec106d8c</value></node><item-id label="Item ID" type="text-single"><value>item-7c601f70-b260-40d0-a970-1b3f99eaaced</value></item-id><item label="Item" type="text-multi"><value><item id="item-7c601f70-b260-40d0-a970-1b3f99eaaced"><test>item-7c601f70-b260-40d0-a970-1b3f99eaaced</test></item></value></item></result>

2021-04-05 22:58:06 | [Mutex] notify: [retrieved:item:item-7c601f70-b260-40d0-a970-1b3f99eaaced:payload-matches:true:localhost]

2021-04-05 22:58:06 | [Mutex] received everything.

2021-04-05 22:58:06 | [Mutex] isItemNotified: retrieved:item:item-7c601f70-b260-40d0-a970-1b3f99eaaced:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.054s
2021-04-05 22:58:06 |

2021-04-05 22:58:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:58:06 | ------------------------------------

2021-04-05 22:58:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-04-05 22:58:06 | 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-b0c35acc-92cb-4515-88c5-01822650fba3</value><value>node-28e77825-0016-4e04-b938-270dec106d8c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-04-05 22:58:06 |

2021-04-05 22:58:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:58:06 | ------------------------------------

2021-04-05 22:58:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-28e77825-0016-4e04-b938-270dec106d8c)</node-pattern></data>

2021-04-05 22:58:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.148s
2021-04-05 22:58:04 |

2021-04-05 22:58:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:58:04 | ------------------------------------

2021-04-05 22:58:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-28e77825-0016-4e04-b938-270dec106d8c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.167s
2021-04-05 22:58:07 |

2021-04-05 22:58:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:58:07 | ------------------------------------

2021-04-05 22:58:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-28e77825-0016-4e04-b938-270dec106d8c</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-05 22:58:07 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>