Generated by TestNG with ReportNG at 21:09 PST on Monday 01 March 2021
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 : 9.886s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2021-03-01 21:23:26 |

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

2021-03-01 21:23:26 | ------------------------------------

2021-03-01 21:23:26 | [Mutex] waiting for: [configured:node:node-2602e46b-c69b-4131-a348-51a37e51750d:node-1b24156e-6392-410b-8205-8f1685717d52]

2021-03-01 21:23:27 | [Mutex] received everything.

2021-03-01 21:23:27 | [Mutex] isItemNotified: configured:node:node-2602e46b-c69b-4131-a348-51a37e51750d:node-1b24156e-6392-410b-8205-8f1685717d52 :: true

2021-03-01 21:23:28 | [Mutex] waiting for: [received:nodes:27b574e6-d53b-456e-b3c1-c0cc4bf30661:localhost]

2021-03-01 21:23:28 | [Mutex] received everything.

2021-03-01 21:23:28 | [Mutex] isItemNotified: received:node:27b574e6-d53b-456e-b3c1-c0cc4bf30661:localhost:node-2602e46b-c69b-4131-a348-51a37e51750d:Node 2602e46b-c69b-4131-a348-51a37e51750d :: true

2021-03-01 21:23:28 | [Mutex] waiting for: [received:nodes:069bc633-550e-4516-847c-06234c93213f:localhost]

2021-03-01 21:23:28 | [Mutex] received everything.

2021-03-01 21:23:28 | [Mutex] isItemNotified: received:node:069bc633-550e-4516-847c-06234c93213f:localhost:node-2602e46b-c69b-4131-a348-51a37e51750d:Node 2602e46b-c69b-4131-a348-51a37e51750d :: false

createNodes 1.449s
2021-03-01 21:23:24 |

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

2021-03-01 21:23:24 | ------------------------------------

2021-03-01 21:23:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2602e46b-c69b-4131-a348-51a37e51750d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2602e46b-c69b-4131-a348-51a37e51750d</title></pubsub></data>

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

2021-03-01 21:23:25 | [Mutex] waiting for: [received:nodes:0dad188e-42e9-4b17-ab70-69d3582d3b86:localhost]

2021-03-01 21:23:25 | [Mutex] received everything.

2021-03-01 21:23:25 | [Mutex] isItemNotified: received:node:0dad188e-42e9-4b17-ab70-69d3582d3b86:localhost:node-2602e46b-c69b-4131-a348-51a37e51750d:Node 2602e46b-c69b-4131-a348-51a37e51750d :: true

createSubnodes 1.027s
2021-03-01 21:23:25 |

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

2021-03-01 21:23:25 | ------------------------------------

2021-03-01 21:23:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1b24156e-6392-410b-8205-8f1685717d52</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1b24156e-6392-410b-8205-8f1685717d52</title></pubsub></data>

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

2021-03-01 21:23:26 | [Mutex] waiting for: [received:nodes:57b3fa6f-de10-4029-bcfa-1487f44f1cb9:localhost]

2021-03-01 21:23:26 | [Mutex] received everything.

2021-03-01 21:23:26 | [Mutex] isItemNotified: received:node:57b3fa6f-de10-4029-bcfa-1487f44f1cb9:localhost:node-1b24156e-6392-410b-8205-8f1685717d52:Node 1b24156e-6392-410b-8205-8f1685717d52 :: true

deleteNodes 1.022s
2021-03-01 21:23:32 |

2021-03-01 21:23:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:23:32 | ------------------------------------

2021-03-01 21:23:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1b24156e-6392-410b-8205-8f1685717d52</node></data>

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

2021-03-01 21:23:33 | [Mutex] waiting for: [received:nodes:02a19973-ead3-4d65-8a4b-5d77563253cb:localhost]

2021-03-01 21:23:33 | [Mutex] received everything.

2021-03-01 21:23:33 | [Mutex] isItemNotified: received:node:02a19973-ead3-4d65-8a4b-5d77563253cb:localhost:node-1b24156e-6392-410b-8205-8f1685717d52:Node 1b24156e-6392-410b-8205-8f1685717d52 :: false

deleteSubnodes 1.141s
2021-03-01 21:23:31 |

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

2021-03-01 21:23:31 | ------------------------------------

2021-03-01 21:23:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2602e46b-c69b-4131-a348-51a37e51750d</node></data>

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

2021-03-01 21:23:32 | [Mutex] waiting for: [received:nodes:3b2d995c-651f-46f3-9d40-735984bd9a95:localhost]

2021-03-01 21:23:32 | [Mutex] waiting for: [received:nodes:3b2d995c-651f-46f3-9d40-735984bd9a95:localhost]

2021-03-01 21:23:32 | [Mutex] waiting for: [received:nodes:3b2d995c-651f-46f3-9d40-735984bd9a95:localhost]

2021-03-01 21:23:32 | [Mutex] received everything.

2021-03-01 21:23:32 | [Mutex] isItemNotified: received:node:3b2d995c-651f-46f3-9d40-735984bd9a95:localhost:node-2602e46b-c69b-4131-a348-51a37e51750d:Node 2602e46b-c69b-4131-a348-51a37e51750d :: false

2021-03-01 21:23:32 | [Mutex] waiting for: [received:nodes:6f2e0536-fcc0-4ff2-90bd-8555eda61f24:localhost]

2021-03-01 21:23:32 | [Mutex] received everything.

2021-03-01 21:23:32 | [Mutex] isItemNotified: received:node:6f2e0536-fcc0-4ff2-90bd-8555eda61f24:localhost:node-2602e46b-c69b-4131-a348-51a37e51750d:Node 2602e46b-c69b-4131-a348-51a37e51750d :: false

publishItemsToNodes 0.198s
2021-03-01 21:23:29 |

2021-03-01 21:23:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:23:29 | ------------------------------------

2021-03-01 21:23:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2602e46b-c69b-4131-a348-51a37e51750d</node><item-id>item-c199f78d-6c91-48b6-9fbb-3d244772ed9e</item-id><entry><test>item-c199f78d-6c91-48b6-9fbb-3d244772ed9e</test></entry></data>

2021-03-01 21:23:29 | 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-c199f78d-6c91-48b6-9fbb-3d244772ed9e</value></item-id></result>

2021-03-01 21:23:29 | [Mutex] waiting for: [published:item:notifieditem-c199f78d-6c91-48b6-9fbb-3d244772ed9e:admin@test-domain.com]

2021-03-01 21:23:29 | [Mutex] received everything.

2021-03-01 21:23:29 | [Mutex] isItemNotified: published:item:notifieditem-c199f78d-6c91-48b6-9fbb-3d244772ed9e:admin@test-domain.com :: true

retractItemsFromNodes 0.203s
2021-03-01 21:23:29 |

2021-03-01 21:23:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:23:29 | ------------------------------------

2021-03-01 21:23:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2602e46b-c69b-4131-a348-51a37e51750d</node><item-id>item-c199f78d-6c91-48b6-9fbb-3d244772ed9e</item-id></data>

2021-03-01 21:23:30 | 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-c199f78d-6c91-48b6-9fbb-3d244772ed9e</value></item-id></result>

2021-03-01 21:23:30 | [Mutex] received everything.

2021-03-01 21:23:30 | [Mutex] isItemNotified: retracted:item:notifieditem-c199f78d-6c91-48b6-9fbb-3d244772ed9e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.303s
2021-03-01 21:23:29 |

2021-03-01 21:23:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:23:29 | ------------------------------------

2021-03-01 21:23:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2602e46b-c69b-4131-a348-51a37e51750d</node><item-id>item-c199f78d-6c91-48b6-9fbb-3d244772ed9e</item-id></data>

2021-03-01 21:23:29 | 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-2602e46b-c69b-4131-a348-51a37e51750d</value></node><item-id type="text-single" label="Item ID"><value>item-c199f78d-6c91-48b6-9fbb-3d244772ed9e</value></item-id><item type="text-multi" label="Item"><value><item id="item-c199f78d-6c91-48b6-9fbb-3d244772ed9e"><test>item-c199f78d-6c91-48b6-9fbb-3d244772ed9e</test></item></value></item></result>

2021-03-01 21:23:29 | [Mutex] notify: [retrieved:item:item-c199f78d-6c91-48b6-9fbb-3d244772ed9e:payload-matches:true:localhost]

2021-03-01 21:23:29 | [Mutex] received everything.

2021-03-01 21:23:29 | [Mutex] isItemNotified: retrieved:item:item-c199f78d-6c91-48b6-9fbb-3d244772ed9e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-03-01 21:23:29 |

2021-03-01 21:23:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:23:29 | ------------------------------------

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

2021-03-01 21:23:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-1b24156e-6392-410b-8205-8f1685717d52</value><value>node-2602e46b-c69b-4131-a348-51a37e51750d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-03-01 21:23:29 |

2021-03-01 21:23:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:23:29 | ------------------------------------

2021-03-01 21:23:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2602e46b-c69b-4131-a348-51a37e51750d)</node-pattern></data>

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

subscribeNodes 1.108s
2021-03-01 21:23:28 |

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

2021-03-01 21:23:28 | ------------------------------------

2021-03-01 21:23:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2602e46b-c69b-4131-a348-51a37e51750d</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.259s
2021-03-01 21:23:30 |

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

2021-03-01 21:23:30 | ------------------------------------

2021-03-01 21:23:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2602e46b-c69b-4131-a348-51a37e51750d</node><jids><value>admin@test-domain.com</value></jids></data>

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