Generated by TestNG with ReportNG at 22:18 PDT on Tuesday 20 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.199s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2020-10-20 22:33:12 |

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

2020-10-20 22:33:12 | ------------------------------------

2020-10-20 22:33:12 | [Mutex] waiting for: [configured:node:node-f4bb7f56-6432-498e-822f-c976506cf10d:node-bf33d49b-5014-4893-ad78-22a504071bc5]

2020-10-20 22:33:12 | [Mutex] received everything.

2020-10-20 22:33:12 | [Mutex] isItemNotified: configured:node:node-f4bb7f56-6432-498e-822f-c976506cf10d:node-bf33d49b-5014-4893-ad78-22a504071bc5 :: true

2020-10-20 22:33:13 | [Mutex] waiting for: [received:nodes:929448b2-10e7-4d10-ba43-2b85b1d69964:localhost]

2020-10-20 22:33:13 | [Mutex] received everything.

2020-10-20 22:33:13 | [Mutex] isItemNotified: received:node:929448b2-10e7-4d10-ba43-2b85b1d69964:localhost:node-f4bb7f56-6432-498e-822f-c976506cf10d:Node f4bb7f56-6432-498e-822f-c976506cf10d :: true

2020-10-20 22:33:13 | [Mutex] waiting for: [received:nodes:fec6ea33-fab5-48cc-8325-3ba3fb708588:localhost]

2020-10-20 22:33:13 | [Mutex] received everything.

2020-10-20 22:33:13 | [Mutex] isItemNotified: received:node:fec6ea33-fab5-48cc-8325-3ba3fb708588:localhost:node-f4bb7f56-6432-498e-822f-c976506cf10d:Node f4bb7f56-6432-498e-822f-c976506cf10d :: false

createNodes 1.524s
2020-10-20 22:33:09 |

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

2020-10-20 22:33:09 | ------------------------------------

2020-10-20 22:33:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f4bb7f56-6432-498e-822f-c976506cf10d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f4bb7f56-6432-498e-822f-c976506cf10d</title></pubsub></data>

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

2020-10-20 22:33:11 | [Mutex] waiting for: [received:nodes:7d3a4a26-aa96-4712-88c3-8ea8d736df7c:localhost]

2020-10-20 22:33:11 | [Mutex] received everything.

2020-10-20 22:33:11 | [Mutex] isItemNotified: received:node:7d3a4a26-aa96-4712-88c3-8ea8d736df7c:localhost:node-f4bb7f56-6432-498e-822f-c976506cf10d:Node f4bb7f56-6432-498e-822f-c976506cf10d :: true

createSubnodes 1.030s
2020-10-20 22:33:11 |

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

2020-10-20 22:33:11 | ------------------------------------

2020-10-20 22:33:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bf33d49b-5014-4893-ad78-22a504071bc5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bf33d49b-5014-4893-ad78-22a504071bc5</title></pubsub></data>

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

2020-10-20 22:33:12 | [Mutex] waiting for: [received:nodes:21e1213d-55ff-41e0-bc4c-7f7302dca89b:localhost]

2020-10-20 22:33:12 | [Mutex] waiting for: [received:nodes:21e1213d-55ff-41e0-bc4c-7f7302dca89b:localhost]

2020-10-20 22:33:12 | [Mutex] received everything.

2020-10-20 22:33:12 | [Mutex] isItemNotified: received:node:21e1213d-55ff-41e0-bc4c-7f7302dca89b:localhost:node-bf33d49b-5014-4893-ad78-22a504071bc5:Node bf33d49b-5014-4893-ad78-22a504071bc5 :: true

deleteNodes 1.022s
2020-10-20 22:33:18 |

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

2020-10-20 22:33:18 | ------------------------------------

2020-10-20 22:33:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bf33d49b-5014-4893-ad78-22a504071bc5</node></data>

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

2020-10-20 22:33:19 | [Mutex] waiting for: [received:nodes:6f07782e-4241-449a-9275-1936903b2808:localhost]

2020-10-20 22:33:19 | [Mutex] waiting for: [received:nodes:6f07782e-4241-449a-9275-1936903b2808:localhost]

2020-10-20 22:33:19 | [Mutex] received everything.

2020-10-20 22:33:19 | [Mutex] isItemNotified: received:node:6f07782e-4241-449a-9275-1936903b2808:localhost:node-bf33d49b-5014-4893-ad78-22a504071bc5:Node bf33d49b-5014-4893-ad78-22a504071bc5 :: false

deleteSubnodes 1.137s
2020-10-20 22:33:17 |

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

2020-10-20 22:33:17 | ------------------------------------

2020-10-20 22:33:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f4bb7f56-6432-498e-822f-c976506cf10d</node></data>

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

2020-10-20 22:33:18 | [Mutex] waiting for: [received:nodes:f5de9b44-b019-4bfa-9d3b-189e6fbac1a5:localhost]

2020-10-20 22:33:18 | [Mutex] waiting for: [received:nodes:f5de9b44-b019-4bfa-9d3b-189e6fbac1a5:localhost]

2020-10-20 22:33:18 | [Mutex] received everything.

2020-10-20 22:33:18 | [Mutex] isItemNotified: received:node:f5de9b44-b019-4bfa-9d3b-189e6fbac1a5:localhost:node-f4bb7f56-6432-498e-822f-c976506cf10d:Node f4bb7f56-6432-498e-822f-c976506cf10d :: false

2020-10-20 22:33:18 | [Mutex] waiting for: [received:nodes:76517768-4092-4754-89b9-7ec2abf6679a:localhost]

2020-10-20 22:33:18 | [Mutex] received everything.

2020-10-20 22:33:18 | [Mutex] isItemNotified: received:node:76517768-4092-4754-89b9-7ec2abf6679a:localhost:node-f4bb7f56-6432-498e-822f-c976506cf10d:Node f4bb7f56-6432-498e-822f-c976506cf10d :: false

publishItemsToNodes 0.266s
2020-10-20 22:33:14 |

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

2020-10-20 22:33:14 | ------------------------------------

2020-10-20 22:33:14 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f4bb7f56-6432-498e-822f-c976506cf10d</node><item-id>item-dbec52f8-7809-4e56-9fad-d3e0530113c3</item-id><entry><test>item-dbec52f8-7809-4e56-9fad-d3e0530113c3</test></entry></data>

2020-10-20 22:33:14 | 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-dbec52f8-7809-4e56-9fad-d3e0530113c3</value></item-id></result>

2020-10-20 22:33:14 | [Mutex] waiting for: [published:item:notifieditem-dbec52f8-7809-4e56-9fad-d3e0530113c3:admin@test-domain.com]

2020-10-20 22:33:15 | [Mutex] received everything.

2020-10-20 22:33:15 | [Mutex] isItemNotified: published:item:notifieditem-dbec52f8-7809-4e56-9fad-d3e0530113c3:admin@test-domain.com :: true

retractItemsFromNodes 0.307s
2020-10-20 22:33:15 |

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

2020-10-20 22:33:15 | ------------------------------------

2020-10-20 22:33:15 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f4bb7f56-6432-498e-822f-c976506cf10d</node><item-id>item-dbec52f8-7809-4e56-9fad-d3e0530113c3</item-id></data>

2020-10-20 22:33:15 | 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-dbec52f8-7809-4e56-9fad-d3e0530113c3</value></item-id></result>

2020-10-20 22:33:15 | [Mutex] waiting for: [retracted:item:notifieditem-dbec52f8-7809-4e56-9fad-d3e0530113c3:admin@test-domain.com]

2020-10-20 22:33:15 | [Mutex] received everything.

2020-10-20 22:33:15 | [Mutex] isItemNotified: retracted:item:notifieditem-dbec52f8-7809-4e56-9fad-d3e0530113c3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.288s
2020-10-20 22:33:15 |

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

2020-10-20 22:33:15 | ------------------------------------

2020-10-20 22:33:15 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f4bb7f56-6432-498e-822f-c976506cf10d</node><item-id>item-dbec52f8-7809-4e56-9fad-d3e0530113c3</item-id></data>

2020-10-20 22:33:15 | 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-f4bb7f56-6432-498e-822f-c976506cf10d</value></node><item-id label="Item ID" type="text-single"><value>item-dbec52f8-7809-4e56-9fad-d3e0530113c3</value></item-id><item label="Item" type="text-multi"><value><item id="item-dbec52f8-7809-4e56-9fad-d3e0530113c3"><test>item-dbec52f8-7809-4e56-9fad-d3e0530113c3</test></item></value></item></result>

2020-10-20 22:33:15 | [Mutex] notify: [retrieved:item:item-dbec52f8-7809-4e56-9fad-d3e0530113c3:payload-matches:true:localhost]

2020-10-20 22:33:15 | [Mutex] received everything.

2020-10-20 22:33:15 | [Mutex] isItemNotified: retrieved:item:item-dbec52f8-7809-4e56-9fad-d3e0530113c3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2020-10-20 22:33:15 |

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

2020-10-20 22:33:15 | ------------------------------------

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

2020-10-20 22:33:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-bf33d49b-5014-4893-ad78-22a504071bc5</value><value>test</value><value>node-f4bb7f56-6432-498e-822f-c976506cf10d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2020-10-20 22:33:15 |

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

2020-10-20 22:33:15 | ------------------------------------

2020-10-20 22:33:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f4bb7f56-6432-498e-822f-c976506cf10d)</node-pattern></data>

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

subscribeNodes 1.146s
2020-10-20 22:33:13 |

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

2020-10-20 22:33:13 | ------------------------------------

2020-10-20 22:33:13 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f4bb7f56-6432-498e-822f-c976506cf10d</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-20 22:33:13 | 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-10-20 22:33:15 |

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

2020-10-20 22:33:15 | ------------------------------------

2020-10-20 22:33:15 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f4bb7f56-6432-498e-822f-c976506cf10d</node><jids><value>admin@test-domain.com</value></jids></data>

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