Generated by TestNG with ReportNG at 21:27 PST on Thursday 14 January 2021
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.496s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2021-01-14 21:44:25 |

2021-01-14 21:44:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:44:25 | ------------------------------------

2021-01-14 21:44:25 | [Mutex] waiting for: [configured:node:node-396f35ef-c7e8-4985-855c-46e6cef4cf6f:node-11f16b0a-6e97-4fe7-9c02-c8851c421582]

2021-01-14 21:44:25 | [Mutex] received everything.

2021-01-14 21:44:25 | [Mutex] isItemNotified: configured:node:node-396f35ef-c7e8-4985-855c-46e6cef4cf6f:node-11f16b0a-6e97-4fe7-9c02-c8851c421582 :: true

2021-01-14 21:44:26 | [Mutex] waiting for: [received:nodes:8fa28485-50bf-4593-9ac9-b7d26d9b5c5d:localhost]

2021-01-14 21:44:26 | [Mutex] waiting for: [received:nodes:8fa28485-50bf-4593-9ac9-b7d26d9b5c5d:localhost]

2021-01-14 21:44:26 | [Mutex] received everything.

2021-01-14 21:44:26 | [Mutex] isItemNotified: received:node:8fa28485-50bf-4593-9ac9-b7d26d9b5c5d:localhost:node-396f35ef-c7e8-4985-855c-46e6cef4cf6f:Node 396f35ef-c7e8-4985-855c-46e6cef4cf6f :: true

2021-01-14 21:44:26 | [Mutex] waiting for: [received:nodes:8c83bee6-612a-4257-93f5-97cd7692b08c:localhost]

2021-01-14 21:44:26 | [Mutex] received everything.

2021-01-14 21:44:26 | [Mutex] isItemNotified: received:node:8c83bee6-612a-4257-93f5-97cd7692b08c:localhost:node-396f35ef-c7e8-4985-855c-46e6cef4cf6f:Node 396f35ef-c7e8-4985-855c-46e6cef4cf6f :: false

createNodes 1.564s
2021-01-14 21:44:22 |

2021-01-14 21:44:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:44:22 | ------------------------------------

2021-01-14 21:44:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-396f35ef-c7e8-4985-855c-46e6cef4cf6f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 396f35ef-c7e8-4985-855c-46e6cef4cf6f</title></pubsub></data>

2021-01-14 21:44:23 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-14 21:44:24 | [Mutex] waiting for: [received:nodes:27eae04c-62e2-4fb7-8e37-5e1929bb46fe:localhost]

2021-01-14 21:44:24 | [Mutex] received everything.

2021-01-14 21:44:24 | [Mutex] isItemNotified: received:node:27eae04c-62e2-4fb7-8e37-5e1929bb46fe:localhost:node-396f35ef-c7e8-4985-855c-46e6cef4cf6f:Node 396f35ef-c7e8-4985-855c-46e6cef4cf6f :: true

createSubnodes 1.038s
2021-01-14 21:44:24 |

2021-01-14 21:44:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:44:24 | ------------------------------------

2021-01-14 21:44:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-11f16b0a-6e97-4fe7-9c02-c8851c421582</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 11f16b0a-6e97-4fe7-9c02-c8851c421582</title></pubsub></data>

2021-01-14 21:44:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-14 21:44:25 | [Mutex] waiting for: [received:nodes:5ee86582-1a2e-4b17-87ee-6656b03f2c3f:localhost]

2021-01-14 21:44:25 | [Mutex] waiting for: [received:nodes:5ee86582-1a2e-4b17-87ee-6656b03f2c3f:localhost]

2021-01-14 21:44:25 | [Mutex] received everything.

2021-01-14 21:44:25 | [Mutex] isItemNotified: received:node:5ee86582-1a2e-4b17-87ee-6656b03f2c3f:localhost:node-11f16b0a-6e97-4fe7-9c02-c8851c421582:Node 11f16b0a-6e97-4fe7-9c02-c8851c421582 :: true

deleteNodes 1.025s
2021-01-14 21:44:31 |

2021-01-14 21:44:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:44:31 | ------------------------------------

2021-01-14 21:44:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-11f16b0a-6e97-4fe7-9c02-c8851c421582</node></data>

2021-01-14 21:44:31 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-14 21:44:32 | [Mutex] waiting for: [received:nodes:c9384a5c-764e-4de1-9f71-2bdd0da5cbe9:localhost]

2021-01-14 21:44:32 | [Mutex] received everything.

2021-01-14 21:44:32 | [Mutex] isItemNotified: received:node:c9384a5c-764e-4de1-9f71-2bdd0da5cbe9:localhost:node-11f16b0a-6e97-4fe7-9c02-c8851c421582:Node 11f16b0a-6e97-4fe7-9c02-c8851c421582 :: false

deleteSubnodes 1.171s
2021-01-14 21:44:30 |

2021-01-14 21:44:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:44:30 | ------------------------------------

2021-01-14 21:44:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-396f35ef-c7e8-4985-855c-46e6cef4cf6f</node></data>

2021-01-14 21:44:30 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-14 21:44:31 | [Mutex] waiting for: [received:nodes:237bc22c-b192-47ff-aba4-b7cab5240eda:localhost]

2021-01-14 21:44:31 | [Mutex] waiting for: [received:nodes:237bc22c-b192-47ff-aba4-b7cab5240eda:localhost]

2021-01-14 21:44:31 | [Mutex] received everything.

2021-01-14 21:44:31 | [Mutex] isItemNotified: received:node:237bc22c-b192-47ff-aba4-b7cab5240eda:localhost:node-396f35ef-c7e8-4985-855c-46e6cef4cf6f:Node 396f35ef-c7e8-4985-855c-46e6cef4cf6f :: false

2021-01-14 21:44:31 | [Mutex] waiting for: [received:nodes:a269dfe2-b812-4836-8738-50a532c95d73:localhost]

2021-01-14 21:44:31 | [Mutex] received everything.

2021-01-14 21:44:31 | [Mutex] isItemNotified: received:node:a269dfe2-b812-4836-8738-50a532c95d73:localhost:node-396f35ef-c7e8-4985-855c-46e6cef4cf6f:Node 396f35ef-c7e8-4985-855c-46e6cef4cf6f :: false

publishItemsToNodes 0.292s
2021-01-14 21:44:27 |

2021-01-14 21:44:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:44:27 | ------------------------------------

2021-01-14 21:44:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-396f35ef-c7e8-4985-855c-46e6cef4cf6f</node><item-id>item-6bf0b762-1074-47d3-855f-78abd92feb34</item-id><entry><test>item-6bf0b762-1074-47d3-855f-78abd92feb34</test></entry></data>

2021-01-14 21:44:28 | 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-6bf0b762-1074-47d3-855f-78abd92feb34</value></item-id></result>

2021-01-14 21:44:28 | [Mutex] waiting for: [published:item:notifieditem-6bf0b762-1074-47d3-855f-78abd92feb34:admin@test-domain.com]

2021-01-14 21:44:28 | [Mutex] received everything.

2021-01-14 21:44:28 | [Mutex] isItemNotified: published:item:notifieditem-6bf0b762-1074-47d3-855f-78abd92feb34:admin@test-domain.com :: true

retractItemsFromNodes 0.307s
2021-01-14 21:44:28 |

2021-01-14 21:44:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:44:28 | ------------------------------------

2021-01-14 21:44:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-396f35ef-c7e8-4985-855c-46e6cef4cf6f</node><item-id>item-6bf0b762-1074-47d3-855f-78abd92feb34</item-id></data>

2021-01-14 21:44:28 | 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-6bf0b762-1074-47d3-855f-78abd92feb34</value></item-id></result>

2021-01-14 21:44:28 | [Mutex] received everything.

2021-01-14 21:44:28 | [Mutex] isItemNotified: retracted:item:notifieditem-6bf0b762-1074-47d3-855f-78abd92feb34:admin@test-domain.com :: true

retrieveItemsFromNodes 0.310s
2021-01-14 21:44:28 |

2021-01-14 21:44:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:44:28 | ------------------------------------

2021-01-14 21:44:28 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-396f35ef-c7e8-4985-855c-46e6cef4cf6f</node><item-id>item-6bf0b762-1074-47d3-855f-78abd92feb34</item-id></data>

2021-01-14 21:44:28 | 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-396f35ef-c7e8-4985-855c-46e6cef4cf6f</value></node><item-id label="Item ID" type="text-single"><value>item-6bf0b762-1074-47d3-855f-78abd92feb34</value></item-id><item label="Item" type="text-multi"><value><item id="item-6bf0b762-1074-47d3-855f-78abd92feb34"><test>item-6bf0b762-1074-47d3-855f-78abd92feb34</test></item></value></item></result>

2021-01-14 21:44:28 | [Mutex] notify: [retrieved:item:item-6bf0b762-1074-47d3-855f-78abd92feb34:payload-matches:true:localhost]

2021-01-14 21:44:28 | [Mutex] received everything.

2021-01-14 21:44:28 | [Mutex] isItemNotified: retrieved:item:item-6bf0b762-1074-47d3-855f-78abd92feb34:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.057s
2021-01-14 21:44:28 |

2021-01-14 21:44:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:44:28 | ------------------------------------

2021-01-14 21:44:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-14 21:44:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-11f16b0a-6e97-4fe7-9c02-c8851c421582</value><value>test</value><value>node-396f35ef-c7e8-4985-855c-46e6cef4cf6f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-01-14 21:44:28 |

2021-01-14 21:44:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:44:28 | ------------------------------------

2021-01-14 21:44:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-396f35ef-c7e8-4985-855c-46e6cef4cf6f)</node-pattern></data>

2021-01-14 21:44:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.121s
2021-01-14 21:44:26 |

2021-01-14 21:44:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:44:26 | ------------------------------------

2021-01-14 21:44:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-396f35ef-c7e8-4985-855c-46e6cef4cf6f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-14 21:44:26 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.331s
2021-01-14 21:44:28 |

2021-01-14 21:44:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:44:28 | ------------------------------------

2021-01-14 21:44:28 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-396f35ef-c7e8-4985-855c-46e6cef4cf6f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-14 21:44:29 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>