Generated by TestNG with ReportNG at 23:28 PDT on Saturday 19 September 2020
root@9a694adb6f25 / 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.856s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.085s
2020-09-19 23:42:41 |

2020-09-19 23:42:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:42:41 | ------------------------------------

2020-09-19 23:42:41 | [Mutex] waiting for: [configured:node:node-8ec39fe2-0484-4217-9020-7d4225696a97:node-fc34d012-6151-4ccd-b468-c51384529b05]

2020-09-19 23:42:42 | [Mutex] received everything.

2020-09-19 23:42:42 | [Mutex] isItemNotified: configured:node:node-8ec39fe2-0484-4217-9020-7d4225696a97:node-fc34d012-6151-4ccd-b468-c51384529b05 :: true

2020-09-19 23:42:43 | [Mutex] waiting for: [received:nodes:f175f368-b08b-49e4-8d78-a3f5cd9d7a65:localhost]

2020-09-19 23:42:43 | [Mutex] received everything.

2020-09-19 23:42:43 | [Mutex] isItemNotified: received:node:f175f368-b08b-49e4-8d78-a3f5cd9d7a65:localhost:node-8ec39fe2-0484-4217-9020-7d4225696a97:Node 8ec39fe2-0484-4217-9020-7d4225696a97 :: true

2020-09-19 23:42:43 | [Mutex] waiting for: [received:nodes:8539e77c-7fda-4496-a5f8-ba313d2e2a56:localhost]

2020-09-19 23:42:43 | [Mutex] received everything.

2020-09-19 23:42:43 | [Mutex] isItemNotified: received:node:8539e77c-7fda-4496-a5f8-ba313d2e2a56:localhost:node-8ec39fe2-0484-4217-9020-7d4225696a97:Node 8ec39fe2-0484-4217-9020-7d4225696a97 :: false

createNodes 1.353s
2020-09-19 23:42:39 |

2020-09-19 23:42:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:42:39 | ------------------------------------

2020-09-19 23:42:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8ec39fe2-0484-4217-9020-7d4225696a97</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8ec39fe2-0484-4217-9020-7d4225696a97</title></pubsub></data>

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

2020-09-19 23:42:40 | [Mutex] waiting for: [received:nodes:462cf8cd-3afe-4ea9-ab96-b14162e139ba:localhost]

2020-09-19 23:42:40 | [Mutex] waiting for: [received:nodes:462cf8cd-3afe-4ea9-ab96-b14162e139ba:localhost]

2020-09-19 23:42:40 | [Mutex] received everything.

2020-09-19 23:42:40 | [Mutex] isItemNotified: received:node:462cf8cd-3afe-4ea9-ab96-b14162e139ba:localhost:node-8ec39fe2-0484-4217-9020-7d4225696a97:Node 8ec39fe2-0484-4217-9020-7d4225696a97 :: true

createSubnodes 1.028s
2020-09-19 23:42:40 |

2020-09-19 23:42:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:42:40 | ------------------------------------

2020-09-19 23:42:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fc34d012-6151-4ccd-b468-c51384529b05</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fc34d012-6151-4ccd-b468-c51384529b05</title></pubsub></data>

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

2020-09-19 23:42:41 | [Mutex] waiting for: [received:nodes:9d236b2f-15e5-4347-8fed-c8b1202864db:localhost]

2020-09-19 23:42:41 | [Mutex] received everything.

2020-09-19 23:42:41 | [Mutex] isItemNotified: received:node:9d236b2f-15e5-4347-8fed-c8b1202864db:localhost:node-fc34d012-6151-4ccd-b468-c51384529b05:Node fc34d012-6151-4ccd-b468-c51384529b05 :: true

deleteNodes 1.019s
2020-09-19 23:42:47 |

2020-09-19 23:42:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:42:47 | ------------------------------------

2020-09-19 23:42:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fc34d012-6151-4ccd-b468-c51384529b05</node></data>

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

2020-09-19 23:42:48 | [Mutex] waiting for: [received:nodes:23de3637-8fcc-4741-a35f-334bbcbb8526:localhost]

2020-09-19 23:42:48 | [Mutex] received everything.

2020-09-19 23:42:48 | [Mutex] isItemNotified: received:node:23de3637-8fcc-4741-a35f-334bbcbb8526:localhost:node-fc34d012-6151-4ccd-b468-c51384529b05:Node fc34d012-6151-4ccd-b468-c51384529b05 :: false

deleteSubnodes 1.143s
2020-09-19 23:42:46 |

2020-09-19 23:42:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:42:46 | ------------------------------------

2020-09-19 23:42:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8ec39fe2-0484-4217-9020-7d4225696a97</node></data>

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

2020-09-19 23:42:47 | [Mutex] waiting for: [received:nodes:54b1acb6-1dad-4176-be45-873d76678e49:localhost]

2020-09-19 23:42:47 | [Mutex] received everything.

2020-09-19 23:42:47 | [Mutex] isItemNotified: received:node:54b1acb6-1dad-4176-be45-873d76678e49:localhost:node-8ec39fe2-0484-4217-9020-7d4225696a97:Node 8ec39fe2-0484-4217-9020-7d4225696a97 :: false

2020-09-19 23:42:47 | [Mutex] waiting for: [received:nodes:1db176eb-4783-4655-b23c-04ded6b2125f:localhost]

2020-09-19 23:42:47 | [Mutex] received everything.

2020-09-19 23:42:47 | [Mutex] isItemNotified: received:node:1db176eb-4783-4655-b23c-04ded6b2125f:localhost:node-8ec39fe2-0484-4217-9020-7d4225696a97:Node 8ec39fe2-0484-4217-9020-7d4225696a97 :: false

publishItemsToNodes 0.209s
2020-09-19 23:42:44 |

2020-09-19 23:42:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:42:44 | ------------------------------------

2020-09-19 23:42:44 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8ec39fe2-0484-4217-9020-7d4225696a97</node><item-id>item-66a8fcef-b21c-418f-a943-780e73920b73</item-id><entry><test>item-66a8fcef-b21c-418f-a943-780e73920b73</test></entry></data>

2020-09-19 23:42:44 | 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-66a8fcef-b21c-418f-a943-780e73920b73</value></item-id></result>

2020-09-19 23:42:44 | [Mutex] waiting for: [published:item:notifieditem-66a8fcef-b21c-418f-a943-780e73920b73:admin@test-domain.com]

2020-09-19 23:42:44 | [Mutex] received everything.

2020-09-19 23:42:44 | [Mutex] isItemNotified: published:item:notifieditem-66a8fcef-b21c-418f-a943-780e73920b73:admin@test-domain.com :: true

retractItemsFromNodes 0.284s
2020-09-19 23:42:44 |

2020-09-19 23:42:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:42:44 | ------------------------------------

2020-09-19 23:42:44 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8ec39fe2-0484-4217-9020-7d4225696a97</node><item-id>item-66a8fcef-b21c-418f-a943-780e73920b73</item-id></data>

2020-09-19 23:42:45 | 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-66a8fcef-b21c-418f-a943-780e73920b73</value></item-id></result>

2020-09-19 23:42:45 | [Mutex] received everything.

2020-09-19 23:42:45 | [Mutex] isItemNotified: retracted:item:notifieditem-66a8fcef-b21c-418f-a943-780e73920b73:admin@test-domain.com :: true

retrieveItemsFromNodes 0.283s
2020-09-19 23:42:44 |

2020-09-19 23:42:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:42:44 | ------------------------------------

2020-09-19 23:42:44 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8ec39fe2-0484-4217-9020-7d4225696a97</node><item-id>item-66a8fcef-b21c-418f-a943-780e73920b73</item-id></data>

2020-09-19 23:42:44 | 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-8ec39fe2-0484-4217-9020-7d4225696a97</value></node><item-id label="Item ID" type="text-single"><value>item-66a8fcef-b21c-418f-a943-780e73920b73</value></item-id><item label="Item" type="text-multi"><value><item id="item-66a8fcef-b21c-418f-a943-780e73920b73"><test>item-66a8fcef-b21c-418f-a943-780e73920b73</test></item></value></item></result>

2020-09-19 23:42:44 | [Mutex] notify: [retrieved:item:item-66a8fcef-b21c-418f-a943-780e73920b73:payload-matches:true:localhost]

2020-09-19 23:42:44 | [Mutex] received everything.

2020-09-19 23:42:44 | [Mutex] isItemNotified: retrieved:item:item-66a8fcef-b21c-418f-a943-780e73920b73:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-19 23:42:44 |

2020-09-19 23:42:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:42:44 | ------------------------------------

2020-09-19 23:42:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-19 23:42:44 | 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-fc34d012-6151-4ccd-b468-c51384529b05</value><value>node-8ec39fe2-0484-4217-9020-7d4225696a97</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-19 23:42:44 |

2020-09-19 23:42:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:42:44 | ------------------------------------

2020-09-19 23:42:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8ec39fe2-0484-4217-9020-7d4225696a97)</node-pattern></data>

2020-09-19 23:42:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.094s
2020-09-19 23:42:43 |

2020-09-19 23:42:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:42:43 | ------------------------------------

2020-09-19 23:42:43 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8ec39fe2-0484-4217-9020-7d4225696a97</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-19 23:42:43 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.296s
2020-09-19 23:42:45 |

2020-09-19 23:42:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 23:42:45 | ------------------------------------

2020-09-19 23:42:45 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8ec39fe2-0484-4217-9020-7d4225696a97</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-19 23:42:45 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>