Generated by TestNG with ReportNG at 23:49 PDT on Wednesday 23 September 2020
root@d2a27fcc5bc3 / 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.852s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2020-09-24 00:06:05 |

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

2020-09-24 00:06:05 | ------------------------------------

2020-09-24 00:06:05 | [Mutex] waiting for: [configured:node:node-b2a82cde-9186-4dda-a2b8-9d441467cf47:node-8157736e-1599-4a9c-b8b9-6797965efc6d]

2020-09-24 00:06:06 | [Mutex] received everything.

2020-09-24 00:06:06 | [Mutex] isItemNotified: configured:node:node-b2a82cde-9186-4dda-a2b8-9d441467cf47:node-8157736e-1599-4a9c-b8b9-6797965efc6d :: true

2020-09-24 00:06:07 | [Mutex] waiting for: [received:nodes:205150c8-0728-425d-b90a-6a3135f8b3b7:localhost]

2020-09-24 00:06:07 | [Mutex] received everything.

2020-09-24 00:06:07 | [Mutex] isItemNotified: received:node:205150c8-0728-425d-b90a-6a3135f8b3b7:localhost:node-b2a82cde-9186-4dda-a2b8-9d441467cf47:Node b2a82cde-9186-4dda-a2b8-9d441467cf47 :: true

2020-09-24 00:06:07 | [Mutex] waiting for: [received:nodes:a1768389-88c1-49f9-bedb-f57fbbdc809a:localhost]

2020-09-24 00:06:07 | [Mutex] received everything.

2020-09-24 00:06:07 | [Mutex] isItemNotified: received:node:a1768389-88c1-49f9-bedb-f57fbbdc809a:localhost:node-b2a82cde-9186-4dda-a2b8-9d441467cf47:Node b2a82cde-9186-4dda-a2b8-9d441467cf47 :: false

createNodes 1.443s
2020-09-24 00:06:03 |

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

2020-09-24 00:06:03 | ------------------------------------

2020-09-24 00:06:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b2a82cde-9186-4dda-a2b8-9d441467cf47</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b2a82cde-9186-4dda-a2b8-9d441467cf47</title></pubsub></data>

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

2020-09-24 00:06:04 | [Mutex] waiting for: [received:nodes:9357d0f5-70cf-4020-b51f-d11d6c7ff081:localhost]

2020-09-24 00:06:04 | [Mutex] waiting for: [received:nodes:9357d0f5-70cf-4020-b51f-d11d6c7ff081:localhost]

2020-09-24 00:06:04 | [Mutex] received everything.

2020-09-24 00:06:04 | [Mutex] isItemNotified: received:node:9357d0f5-70cf-4020-b51f-d11d6c7ff081:localhost:node-b2a82cde-9186-4dda-a2b8-9d441467cf47:Node b2a82cde-9186-4dda-a2b8-9d441467cf47 :: true

createSubnodes 1.028s
2020-09-24 00:06:04 |

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

2020-09-24 00:06:04 | ------------------------------------

2020-09-24 00:06:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8157736e-1599-4a9c-b8b9-6797965efc6d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8157736e-1599-4a9c-b8b9-6797965efc6d</title></pubsub></data>

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

2020-09-24 00:06:05 | [Mutex] waiting for: [received:nodes:8ee110e7-99d2-47ee-b512-4d920659cbde:localhost]

2020-09-24 00:06:05 | [Mutex] received everything.

2020-09-24 00:06:05 | [Mutex] isItemNotified: received:node:8ee110e7-99d2-47ee-b512-4d920659cbde:localhost:node-8157736e-1599-4a9c-b8b9-6797965efc6d:Node 8157736e-1599-4a9c-b8b9-6797965efc6d :: true

deleteNodes 1.017s
2020-09-24 00:06:11 |

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

2020-09-24 00:06:11 | ------------------------------------

2020-09-24 00:06:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8157736e-1599-4a9c-b8b9-6797965efc6d</node></data>

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

2020-09-24 00:06:12 | [Mutex] waiting for: [received:nodes:1bfc8f7c-3b3c-484c-9519-764341f8990b:localhost]

2020-09-24 00:06:12 | [Mutex] waiting for: [received:nodes:1bfc8f7c-3b3c-484c-9519-764341f8990b:localhost]

2020-09-24 00:06:12 | [Mutex] received everything.

2020-09-24 00:06:12 | [Mutex] isItemNotified: received:node:1bfc8f7c-3b3c-484c-9519-764341f8990b:localhost:node-8157736e-1599-4a9c-b8b9-6797965efc6d:Node 8157736e-1599-4a9c-b8b9-6797965efc6d :: false

deleteSubnodes 1.139s
2020-09-24 00:06:10 |

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

2020-09-24 00:06:10 | ------------------------------------

2020-09-24 00:06:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b2a82cde-9186-4dda-a2b8-9d441467cf47</node></data>

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

2020-09-24 00:06:11 | [Mutex] waiting for: [received:nodes:1153bbf1-3c21-447d-b802-9c7936eaba6d:localhost]

2020-09-24 00:06:11 | [Mutex] received everything.

2020-09-24 00:06:11 | [Mutex] isItemNotified: received:node:1153bbf1-3c21-447d-b802-9c7936eaba6d:localhost:node-b2a82cde-9186-4dda-a2b8-9d441467cf47:Node b2a82cde-9186-4dda-a2b8-9d441467cf47 :: false

2020-09-24 00:06:11 | [Mutex] waiting for: [received:nodes:bd3e9721-8524-43ad-86ce-50acb8559706:localhost]

2020-09-24 00:06:11 | [Mutex] received everything.

2020-09-24 00:06:11 | [Mutex] isItemNotified: received:node:bd3e9721-8524-43ad-86ce-50acb8559706:localhost:node-b2a82cde-9186-4dda-a2b8-9d441467cf47:Node b2a82cde-9186-4dda-a2b8-9d441467cf47 :: false

publishItemsToNodes 0.270s
2020-09-24 00:06:08 |

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

2020-09-24 00:06:08 | ------------------------------------

2020-09-24 00:06:08 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b2a82cde-9186-4dda-a2b8-9d441467cf47</node><item-id>item-bdad9140-d1f9-4855-8a64-b0cb80834759</item-id><entry><test>item-bdad9140-d1f9-4855-8a64-b0cb80834759</test></entry></data>

2020-09-24 00:06:08 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-bdad9140-d1f9-4855-8a64-b0cb80834759</value></item-id></result>

2020-09-24 00:06:08 | [Mutex] waiting for: [published:item:notifieditem-bdad9140-d1f9-4855-8a64-b0cb80834759:admin@test-domain.com]

2020-09-24 00:06:08 | [Mutex] received everything.

2020-09-24 00:06:08 | [Mutex] isItemNotified: published:item:notifieditem-bdad9140-d1f9-4855-8a64-b0cb80834759:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2020-09-24 00:06:08 |

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

2020-09-24 00:06:08 | ------------------------------------

2020-09-24 00:06:08 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b2a82cde-9186-4dda-a2b8-9d441467cf47</node><item-id>item-bdad9140-d1f9-4855-8a64-b0cb80834759</item-id></data>

2020-09-24 00:06:08 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-bdad9140-d1f9-4855-8a64-b0cb80834759</value></item-id></result>

2020-09-24 00:06:08 | [Mutex] received everything.

2020-09-24 00:06:08 | [Mutex] isItemNotified: retracted:item:notifieditem-bdad9140-d1f9-4855-8a64-b0cb80834759:admin@test-domain.com :: true

retrieveItemsFromNodes 0.154s
2020-09-24 00:06:08 |

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

2020-09-24 00:06:08 | ------------------------------------

2020-09-24 00:06:08 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b2a82cde-9186-4dda-a2b8-9d441467cf47</node><item-id>item-bdad9140-d1f9-4855-8a64-b0cb80834759</item-id></data>

2020-09-24 00:06:08 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-b2a82cde-9186-4dda-a2b8-9d441467cf47</value></node><item-id type="text-single" label="Item ID"><value>item-bdad9140-d1f9-4855-8a64-b0cb80834759</value></item-id><item type="text-multi" label="Item"><value><item id="item-bdad9140-d1f9-4855-8a64-b0cb80834759"><test>item-bdad9140-d1f9-4855-8a64-b0cb80834759</test></item></value></item></result>

2020-09-24 00:06:08 | [Mutex] notify: [retrieved:item:item-bdad9140-d1f9-4855-8a64-b0cb80834759:payload-matches:true:localhost]

2020-09-24 00:06:08 | [Mutex] received everything.

2020-09-24 00:06:08 | [Mutex] isItemNotified: retrieved:item:item-bdad9140-d1f9-4855-8a64-b0cb80834759:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2020-09-24 00:06:08 |

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

2020-09-24 00:06:08 | ------------------------------------

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

2020-09-24 00:06:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-b2a82cde-9186-4dda-a2b8-9d441467cf47</value><value>test</value><value>node-8157736e-1599-4a9c-b8b9-6797965efc6d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-24 00:06:08 |

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

2020-09-24 00:06:08 | ------------------------------------

2020-09-24 00:06:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b2a82cde-9186-4dda-a2b8-9d441467cf47)</node-pattern></data>

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

subscribeNodes 1.091s
2020-09-24 00:06:07 |

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

2020-09-24 00:06:07 | ------------------------------------

2020-09-24 00:06:07 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b2a82cde-9186-4dda-a2b8-9d441467cf47</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.227s
2020-09-24 00:06:08 |

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

2020-09-24 00:06:08 | ------------------------------------

2020-09-24 00:06:08 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b2a82cde-9186-4dda-a2b8-9d441467cf47</node><jids><value>admin@test-domain.com</value></jids></data>

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