Generated by TestNG with ReportNG at 21:14 PST on Monday 28 December 2020
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.095s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.152s
2020-12-28 21:29:50 |

2020-12-28 21:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:29:50 | ------------------------------------

2020-12-28 21:29:50 | [Mutex] waiting for: [configured:node:node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d:node-ecc2bd78-7f3a-492a-869b-5340cd02084d]

2020-12-28 21:29:50 | [Mutex] received everything.

2020-12-28 21:29:50 | [Mutex] isItemNotified: configured:node:node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d:node-ecc2bd78-7f3a-492a-869b-5340cd02084d :: true

2020-12-28 21:29:51 | [Mutex] waiting for: [received:nodes:499580fc-deec-4f11-bad1-0865bcf00347:localhost]

2020-12-28 21:29:51 | [Mutex] received everything.

2020-12-28 21:29:51 | [Mutex] isItemNotified: received:node:499580fc-deec-4f11-bad1-0865bcf00347:localhost:node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d:Node d70fd7a5-fe9c-4547-8d27-520f901c5b6d :: true

2020-12-28 21:29:51 | [Mutex] waiting for: [received:nodes:873c5a17-f600-4a57-bc30-919238a1fc80:localhost]

2020-12-28 21:29:51 | [Mutex] received everything.

2020-12-28 21:29:51 | [Mutex] isItemNotified: received:node:873c5a17-f600-4a57-bc30-919238a1fc80:localhost:node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d:Node d70fd7a5-fe9c-4547-8d27-520f901c5b6d :: false

createNodes 1.416s
2020-12-28 21:29:47 |

2020-12-28 21:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:29:47 | ------------------------------------

2020-12-28 21:29:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d70fd7a5-fe9c-4547-8d27-520f901c5b6d</title></pubsub></data>

2020-12-28 21:29:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-28 21:29:49 | [Mutex] waiting for: [received:nodes:4765cdec-96b6-4fea-8c18-c192abf37556:localhost]

2020-12-28 21:29:49 | [Mutex] received everything.

2020-12-28 21:29:49 | [Mutex] isItemNotified: received:node:4765cdec-96b6-4fea-8c18-c192abf37556:localhost:node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d:Node d70fd7a5-fe9c-4547-8d27-520f901c5b6d :: true

createSubnodes 1.037s
2020-12-28 21:29:49 |

2020-12-28 21:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:29:49 | ------------------------------------

2020-12-28 21:29:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ecc2bd78-7f3a-492a-869b-5340cd02084d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ecc2bd78-7f3a-492a-869b-5340cd02084d</title></pubsub></data>

2020-12-28 21:29:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-28 21:29:50 | [Mutex] waiting for: [received:nodes:8cc083df-fc85-4b76-ac7b-53fcef54b4df:localhost]

2020-12-28 21:29:50 | [Mutex] received everything.

2020-12-28 21:29:50 | [Mutex] isItemNotified: received:node:8cc083df-fc85-4b76-ac7b-53fcef54b4df:localhost:node-ecc2bd78-7f3a-492a-869b-5340cd02084d:Node ecc2bd78-7f3a-492a-869b-5340cd02084d :: true

deleteNodes 1.030s
2020-12-28 21:29:55 |

2020-12-28 21:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:29:55 | ------------------------------------

2020-12-28 21:29:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ecc2bd78-7f3a-492a-869b-5340cd02084d</node></data>

2020-12-28 21:29:55 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-28 21:29:56 | [Mutex] waiting for: [received:nodes:26a21b5a-234e-48e9-8c13-f3f16d5c52ae:localhost]

2020-12-28 21:29:56 | [Mutex] waiting for: [received:nodes:26a21b5a-234e-48e9-8c13-f3f16d5c52ae:localhost]

2020-12-28 21:29:56 | [Mutex] received everything.

2020-12-28 21:29:56 | [Mutex] isItemNotified: received:node:26a21b5a-234e-48e9-8c13-f3f16d5c52ae:localhost:node-ecc2bd78-7f3a-492a-869b-5340cd02084d:Node ecc2bd78-7f3a-492a-869b-5340cd02084d :: false

deleteSubnodes 1.123s
2020-12-28 21:29:54 |

2020-12-28 21:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:29:54 | ------------------------------------

2020-12-28 21:29:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d</node></data>

2020-12-28 21:29:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-28 21:29:55 | [Mutex] waiting for: [received:nodes:dc7d99ad-6c75-4727-bc9a-134fd3dc1308:localhost]

2020-12-28 21:29:55 | [Mutex] waiting for: [received:nodes:dc7d99ad-6c75-4727-bc9a-134fd3dc1308:localhost]

2020-12-28 21:29:55 | [Mutex] received everything.

2020-12-28 21:29:55 | [Mutex] isItemNotified: received:node:dc7d99ad-6c75-4727-bc9a-134fd3dc1308:localhost:node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d:Node d70fd7a5-fe9c-4547-8d27-520f901c5b6d :: false

2020-12-28 21:29:55 | [Mutex] waiting for: [received:nodes:2b762c00-4a9f-4849-8d43-895089ad72ea:localhost]

2020-12-28 21:29:55 | [Mutex] received everything.

2020-12-28 21:29:55 | [Mutex] isItemNotified: received:node:2b762c00-4a9f-4849-8d43-895089ad72ea:localhost:node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d:Node d70fd7a5-fe9c-4547-8d27-520f901c5b6d :: false

publishItemsToNodes 0.245s
2020-12-28 21:29:52 |

2020-12-28 21:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:29:52 | ------------------------------------

2020-12-28 21:29:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d</node><item-id>item-e4ddf58b-8295-423c-9e53-ffe5ad6142d0</item-id><entry><test>item-e4ddf58b-8295-423c-9e53-ffe5ad6142d0</test></entry></data>

2020-12-28 21:29:52 | 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-e4ddf58b-8295-423c-9e53-ffe5ad6142d0</value></item-id></result>

2020-12-28 21:29:52 | [Mutex] received everything.

2020-12-28 21:29:52 | [Mutex] isItemNotified: published:item:notifieditem-e4ddf58b-8295-423c-9e53-ffe5ad6142d0:admin@test-domain.com :: true

retractItemsFromNodes 0.235s
2020-12-28 21:29:53 |

2020-12-28 21:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:29:53 | ------------------------------------

2020-12-28 21:29:53 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d</node><item-id>item-e4ddf58b-8295-423c-9e53-ffe5ad6142d0</item-id></data>

2020-12-28 21:29:53 | 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-e4ddf58b-8295-423c-9e53-ffe5ad6142d0</value></item-id></result>

2020-12-28 21:29:53 | [Mutex] waiting for: [retracted:item:notifieditem-e4ddf58b-8295-423c-9e53-ffe5ad6142d0:admin@test-domain.com]

2020-12-28 21:29:53 | [Mutex] received everything.

2020-12-28 21:29:53 | [Mutex] isItemNotified: retracted:item:notifieditem-e4ddf58b-8295-423c-9e53-ffe5ad6142d0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.255s
2020-12-28 21:29:52 |

2020-12-28 21:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:29:52 | ------------------------------------

2020-12-28 21:29:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d</node><item-id>item-e4ddf58b-8295-423c-9e53-ffe5ad6142d0</item-id></data>

2020-12-28 21:29:52 | 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-d70fd7a5-fe9c-4547-8d27-520f901c5b6d</value></node><item-id label="Item ID" type="text-single"><value>item-e4ddf58b-8295-423c-9e53-ffe5ad6142d0</value></item-id><item label="Item" type="text-multi"><value><item id="item-e4ddf58b-8295-423c-9e53-ffe5ad6142d0"><test>item-e4ddf58b-8295-423c-9e53-ffe5ad6142d0</test></item></value></item></result>

2020-12-28 21:29:52 | [Mutex] notify: [retrieved:item:item-e4ddf58b-8295-423c-9e53-ffe5ad6142d0:payload-matches:true:localhost]

2020-12-28 21:29:52 | [Mutex] received everything.

2020-12-28 21:29:52 | [Mutex] isItemNotified: retrieved:item:item-e4ddf58b-8295-423c-9e53-ffe5ad6142d0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-12-28 21:29:52 |

2020-12-28 21:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:29:52 | ------------------------------------

2020-12-28 21:29:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-12-28 21:29:53 | 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-ecc2bd78-7f3a-492a-869b-5340cd02084d</value><value>node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.067s
2020-12-28 21:29:53 |

2020-12-28 21:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:29:53 | ------------------------------------

2020-12-28 21:29:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d)</node-pattern></data>

2020-12-28 21:29:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.152s
2020-12-28 21:29:51 |

2020-12-28 21:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:29:51 | ------------------------------------

2020-12-28 21:29:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.308s
2020-12-28 21:29:53 |

2020-12-28 21:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:29:53 | ------------------------------------

2020-12-28 21:29:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d70fd7a5-fe9c-4547-8d27-520f901c5b6d</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-28 21:29:53 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>