Generated by TestNG with ReportNG at 22:57 PDT on Sunday 06 September 2020
root@3ee9c8e1f047 / 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.260s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2020-09-06 23:11:56 |

2020-09-06 23:11:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:11:56 | ------------------------------------

2020-09-06 23:11:56 | [Mutex] waiting for: [configured:node:node-e802b240-8c73-4291-9786-bba470f2bf08:node-76513bfb-486b-4c08-a208-be766f10153a]

2020-09-06 23:11:56 | [Mutex] received everything.

2020-09-06 23:11:56 | [Mutex] isItemNotified: configured:node:node-e802b240-8c73-4291-9786-bba470f2bf08:node-76513bfb-486b-4c08-a208-be766f10153a :: true

2020-09-06 23:11:57 | [Mutex] waiting for: [received:nodes:def6db5d-c66e-4e20-a7f1-d2b8e2c1cf08:localhost]

2020-09-06 23:11:57 | [Mutex] received everything.

2020-09-06 23:11:57 | [Mutex] isItemNotified: received:node:def6db5d-c66e-4e20-a7f1-d2b8e2c1cf08:localhost:node-e802b240-8c73-4291-9786-bba470f2bf08:Node e802b240-8c73-4291-9786-bba470f2bf08 :: true

2020-09-06 23:11:57 | [Mutex] waiting for: [received:nodes:d522d9b1-0207-405b-b985-1de94937f421:localhost]

2020-09-06 23:11:57 | [Mutex] waiting for: [received:nodes:d522d9b1-0207-405b-b985-1de94937f421:localhost]

2020-09-06 23:11:57 | [Mutex] waiting for: [received:nodes:d522d9b1-0207-405b-b985-1de94937f421:localhost]

2020-09-06 23:11:57 | [Mutex] waiting for: [received:nodes:d522d9b1-0207-405b-b985-1de94937f421:localhost]

2020-09-06 23:11:57 | [Mutex] received everything.

2020-09-06 23:11:57 | [Mutex] isItemNotified: received:node:d522d9b1-0207-405b-b985-1de94937f421:localhost:node-e802b240-8c73-4291-9786-bba470f2bf08:Node e802b240-8c73-4291-9786-bba470f2bf08 :: false

createNodes 1.599s
2020-09-06 23:11:53 |

2020-09-06 23:11:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:11:53 | ------------------------------------

2020-09-06 23:11:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e802b240-8c73-4291-9786-bba470f2bf08</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e802b240-8c73-4291-9786-bba470f2bf08</title></pubsub></data>

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

2020-09-06 23:11:55 | [Mutex] waiting for: [received:nodes:cb5d1e7c-2393-4773-9cb5-faab0df7e9ac:localhost]

2020-09-06 23:11:55 | [Mutex] received everything.

2020-09-06 23:11:55 | [Mutex] isItemNotified: received:node:cb5d1e7c-2393-4773-9cb5-faab0df7e9ac:localhost:node-e802b240-8c73-4291-9786-bba470f2bf08:Node e802b240-8c73-4291-9786-bba470f2bf08 :: true

createSubnodes 1.027s
2020-09-06 23:11:55 |

2020-09-06 23:11:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:11:55 | ------------------------------------

2020-09-06 23:11:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-76513bfb-486b-4c08-a208-be766f10153a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 76513bfb-486b-4c08-a208-be766f10153a</title></pubsub></data>

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

2020-09-06 23:11:56 | [Mutex] waiting for: [received:nodes:a34f2a70-96eb-44cd-8f99-2f16fdc44388:localhost]

2020-09-06 23:11:56 | [Mutex] waiting for: [received:nodes:a34f2a70-96eb-44cd-8f99-2f16fdc44388:localhost]

2020-09-06 23:11:56 | [Mutex] waiting for: [received:nodes:a34f2a70-96eb-44cd-8f99-2f16fdc44388:localhost]

2020-09-06 23:11:56 | [Mutex] received everything.

2020-09-06 23:11:56 | [Mutex] isItemNotified: received:node:a34f2a70-96eb-44cd-8f99-2f16fdc44388:localhost:node-76513bfb-486b-4c08-a208-be766f10153a:Node 76513bfb-486b-4c08-a208-be766f10153a :: true

deleteNodes 1.019s
2020-09-06 23:12:01 |

2020-09-06 23:12:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:12:01 | ------------------------------------

2020-09-06 23:12:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-76513bfb-486b-4c08-a208-be766f10153a</node></data>

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

2020-09-06 23:12:02 | [Mutex] waiting for: [received:nodes:88f0adff-2847-478e-8594-8db2e60fa6c3:localhost]

2020-09-06 23:12:03 | [Mutex] received everything.

2020-09-06 23:12:03 | [Mutex] isItemNotified: received:node:88f0adff-2847-478e-8594-8db2e60fa6c3:localhost:node-76513bfb-486b-4c08-a208-be766f10153a:Node 76513bfb-486b-4c08-a208-be766f10153a :: false

deleteSubnodes 1.158s
2020-09-06 23:12:00 |

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

2020-09-06 23:12:00 | ------------------------------------

2020-09-06 23:12:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e802b240-8c73-4291-9786-bba470f2bf08</node></data>

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

2020-09-06 23:12:01 | [Mutex] waiting for: [received:nodes:98cf97dc-cb43-43da-98bc-bf4fcc497b8d:localhost]

2020-09-06 23:12:01 | [Mutex] received everything.

2020-09-06 23:12:01 | [Mutex] isItemNotified: received:node:98cf97dc-cb43-43da-98bc-bf4fcc497b8d:localhost:node-e802b240-8c73-4291-9786-bba470f2bf08:Node e802b240-8c73-4291-9786-bba470f2bf08 :: false

2020-09-06 23:12:01 | [Mutex] waiting for: [received:nodes:57d015ac-41bf-4995-a537-4750cc189ab3:localhost]

2020-09-06 23:12:01 | [Mutex] received everything.

2020-09-06 23:12:01 | [Mutex] isItemNotified: received:node:57d015ac-41bf-4995-a537-4750cc189ab3:localhost:node-e802b240-8c73-4291-9786-bba470f2bf08:Node e802b240-8c73-4291-9786-bba470f2bf08 :: false

publishItemsToNodes 0.241s
2020-09-06 23:11:58 |

2020-09-06 23:11:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:11:58 | ------------------------------------

2020-09-06 23:11:58 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e802b240-8c73-4291-9786-bba470f2bf08</node><item-id>item-01417559-b3d0-411c-93d3-954dcbb368a5</item-id><entry><test>item-01417559-b3d0-411c-93d3-954dcbb368a5</test></entry></data>

2020-09-06 23:11:58 | 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-01417559-b3d0-411c-93d3-954dcbb368a5</value></item-id></result>

2020-09-06 23:11:58 | [Mutex] waiting for: [published:item:notifieditem-01417559-b3d0-411c-93d3-954dcbb368a5:admin@test-domain.com]

2020-09-06 23:11:58 | [Mutex] received everything.

2020-09-06 23:11:58 | [Mutex] isItemNotified: published:item:notifieditem-01417559-b3d0-411c-93d3-954dcbb368a5:admin@test-domain.com :: true

retractItemsFromNodes 0.291s
2020-09-06 23:11:59 |

2020-09-06 23:11:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:11:59 | ------------------------------------

2020-09-06 23:11:59 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e802b240-8c73-4291-9786-bba470f2bf08</node><item-id>item-01417559-b3d0-411c-93d3-954dcbb368a5</item-id></data>

2020-09-06 23:11:59 | 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-01417559-b3d0-411c-93d3-954dcbb368a5</value></item-id></result>

2020-09-06 23:11:59 | [Mutex] received everything.

2020-09-06 23:11:59 | [Mutex] isItemNotified: retracted:item:notifieditem-01417559-b3d0-411c-93d3-954dcbb368a5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.321s
2020-09-06 23:11:58 |

2020-09-06 23:11:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:11:58 | ------------------------------------

2020-09-06 23:11:58 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e802b240-8c73-4291-9786-bba470f2bf08</node><item-id>item-01417559-b3d0-411c-93d3-954dcbb368a5</item-id></data>

2020-09-06 23:11:59 | 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-e802b240-8c73-4291-9786-bba470f2bf08</value></node><item-id label="Item ID" type="text-single"><value>item-01417559-b3d0-411c-93d3-954dcbb368a5</value></item-id><item label="Item" type="text-multi"><value><item id="item-01417559-b3d0-411c-93d3-954dcbb368a5"><test>item-01417559-b3d0-411c-93d3-954dcbb368a5</test></item></value></item></result>

2020-09-06 23:11:59 | [Mutex] notify: [retrieved:item:item-01417559-b3d0-411c-93d3-954dcbb368a5:payload-matches:true:localhost]

2020-09-06 23:11:59 | [Mutex] received everything.

2020-09-06 23:11:59 | [Mutex] isItemNotified: retrieved:item:item-01417559-b3d0-411c-93d3-954dcbb368a5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-06 23:11:59 |

2020-09-06 23:11:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:11:59 | ------------------------------------

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

2020-09-06 23:11:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-76513bfb-486b-4c08-a208-be766f10153a</value><value>node-e802b240-8c73-4291-9786-bba470f2bf08</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-06 23:11:59 |

2020-09-06 23:11:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:11:59 | ------------------------------------

2020-09-06 23:11:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e802b240-8c73-4291-9786-bba470f2bf08)</node-pattern></data>

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

subscribeNodes 1.150s
2020-09-06 23:11:57 |

2020-09-06 23:11:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:11:57 | ------------------------------------

2020-09-06 23:11:57 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e802b240-8c73-4291-9786-bba470f2bf08</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.311s
2020-09-06 23:11:59 |

2020-09-06 23:11:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:11:59 | ------------------------------------

2020-09-06 23:11:59 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e802b240-8c73-4291-9786-bba470f2bf08</node><jids><value>admin@test-domain.com</value></jids></data>

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