Generated by TestNG with ReportNG at 22:26 PDT on Friday 14 May 2021
root@f29ef40080b5 / 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.247s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.131s
2021-05-14 22:41:29 |

2021-05-14 22:41:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:41:29 | ------------------------------------

2021-05-14 22:41:29 | [Mutex] waiting for: [configured:node:node-afe0859e-bdf9-4016-96d2-0b34565a8ef7:node-3b76dad8-88db-46f2-97cb-b57a7d29a810]

2021-05-14 22:41:30 | [Mutex] received everything.

2021-05-14 22:41:30 | [Mutex] isItemNotified: configured:node:node-afe0859e-bdf9-4016-96d2-0b34565a8ef7:node-3b76dad8-88db-46f2-97cb-b57a7d29a810 :: true

2021-05-14 22:41:31 | [Mutex] waiting for: [received:nodes:a2ac08d9-52fd-4cc3-8899-8038194f5bc8:localhost]

2021-05-14 22:41:31 | [Mutex] received everything.

2021-05-14 22:41:31 | [Mutex] isItemNotified: received:node:a2ac08d9-52fd-4cc3-8899-8038194f5bc8:localhost:node-afe0859e-bdf9-4016-96d2-0b34565a8ef7:Node afe0859e-bdf9-4016-96d2-0b34565a8ef7 :: true

2021-05-14 22:41:31 | [Mutex] waiting for: [received:nodes:617a24c2-c6c2-497f-b7dd-f7b609e272d9:localhost]

2021-05-14 22:41:31 | [Mutex] waiting for: [received:nodes:617a24c2-c6c2-497f-b7dd-f7b609e272d9:localhost]

2021-05-14 22:41:31 | [Mutex] received everything.

2021-05-14 22:41:31 | [Mutex] isItemNotified: received:node:617a24c2-c6c2-497f-b7dd-f7b609e272d9:localhost:node-afe0859e-bdf9-4016-96d2-0b34565a8ef7:Node afe0859e-bdf9-4016-96d2-0b34565a8ef7 :: false

createNodes 1.489s
2021-05-14 22:41:27 |

2021-05-14 22:41:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:41:27 | ------------------------------------

2021-05-14 22:41:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-afe0859e-bdf9-4016-96d2-0b34565a8ef7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node afe0859e-bdf9-4016-96d2-0b34565a8ef7</title></pubsub></data>

2021-05-14 22:41:27 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-14 22:41:28 | [Mutex] waiting for: [received:nodes:6c87e591-2dc5-46c5-8197-e8aee5629c02:localhost]

2021-05-14 22:41:28 | [Mutex] received everything.

2021-05-14 22:41:28 | [Mutex] isItemNotified: received:node:6c87e591-2dc5-46c5-8197-e8aee5629c02:localhost:node-afe0859e-bdf9-4016-96d2-0b34565a8ef7:Node afe0859e-bdf9-4016-96d2-0b34565a8ef7 :: true

createSubnodes 1.034s
2021-05-14 22:41:28 |

2021-05-14 22:41:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:41:28 | ------------------------------------

2021-05-14 22:41:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3b76dad8-88db-46f2-97cb-b57a7d29a810</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3b76dad8-88db-46f2-97cb-b57a7d29a810</title></pubsub></data>

2021-05-14 22:41:28 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-14 22:41:29 | [Mutex] waiting for: [received:nodes:410640df-86f6-4e21-b28d-f37086989218:localhost]

2021-05-14 22:41:29 | [Mutex] received everything.

2021-05-14 22:41:29 | [Mutex] isItemNotified: received:node:410640df-86f6-4e21-b28d-f37086989218:localhost:node-3b76dad8-88db-46f2-97cb-b57a7d29a810:Node 3b76dad8-88db-46f2-97cb-b57a7d29a810 :: true

deleteNodes 1.027s
2021-05-14 22:41:35 |

2021-05-14 22:41:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:41:35 | ------------------------------------

2021-05-14 22:41:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3b76dad8-88db-46f2-97cb-b57a7d29a810</node></data>

2021-05-14 22:41:35 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-14 22:41:36 | [Mutex] waiting for: [received:nodes:5534fff5-3853-4f3f-9031-9a36ae4653d3:localhost]

2021-05-14 22:41:36 | [Mutex] received everything.

2021-05-14 22:41:36 | [Mutex] isItemNotified: received:node:5534fff5-3853-4f3f-9031-9a36ae4653d3:localhost:node-3b76dad8-88db-46f2-97cb-b57a7d29a810:Node 3b76dad8-88db-46f2-97cb-b57a7d29a810 :: false

deleteSubnodes 1.186s
2021-05-14 22:41:34 |

2021-05-14 22:41:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:41:34 | ------------------------------------

2021-05-14 22:41:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-afe0859e-bdf9-4016-96d2-0b34565a8ef7</node></data>

2021-05-14 22:41:34 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-14 22:41:35 | [Mutex] waiting for: [received:nodes:7818f725-37af-42d5-aeb3-b7e2cf3eb520:localhost]

2021-05-14 22:41:35 | [Mutex] received everything.

2021-05-14 22:41:35 | [Mutex] isItemNotified: received:node:7818f725-37af-42d5-aeb3-b7e2cf3eb520:localhost:node-afe0859e-bdf9-4016-96d2-0b34565a8ef7:Node afe0859e-bdf9-4016-96d2-0b34565a8ef7 :: false

2021-05-14 22:41:35 | [Mutex] waiting for: [received:nodes:b1dedbee-9331-4509-b879-c3bd2399afd6:localhost]

2021-05-14 22:41:35 | [Mutex] received everything.

2021-05-14 22:41:35 | [Mutex] isItemNotified: received:node:b1dedbee-9331-4509-b879-c3bd2399afd6:localhost:node-afe0859e-bdf9-4016-96d2-0b34565a8ef7:Node afe0859e-bdf9-4016-96d2-0b34565a8ef7 :: false

publishItemsToNodes 0.263s
2021-05-14 22:41:32 |

2021-05-14 22:41:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:41:32 | ------------------------------------

2021-05-14 22:41:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-afe0859e-bdf9-4016-96d2-0b34565a8ef7</node><item-id>item-293cdd6f-939a-4120-a7ae-580f3af630ac</item-id><entry><test>item-293cdd6f-939a-4120-a7ae-580f3af630ac</test></entry></data>

2021-05-14 22:41:32 | 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-293cdd6f-939a-4120-a7ae-580f3af630ac</value></item-id></result>

2021-05-14 22:41:32 | [Mutex] waiting for: [published:item:notifieditem-293cdd6f-939a-4120-a7ae-580f3af630ac:admin@test-domain.com]

2021-05-14 22:41:32 | [Mutex] received everything.

2021-05-14 22:41:32 | [Mutex] isItemNotified: published:item:notifieditem-293cdd6f-939a-4120-a7ae-580f3af630ac:admin@test-domain.com :: true

retractItemsFromNodes 0.256s
2021-05-14 22:41:32 |

2021-05-14 22:41:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:41:32 | ------------------------------------

2021-05-14 22:41:32 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-afe0859e-bdf9-4016-96d2-0b34565a8ef7</node><item-id>item-293cdd6f-939a-4120-a7ae-580f3af630ac</item-id></data>

2021-05-14 22:41:33 | 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-293cdd6f-939a-4120-a7ae-580f3af630ac</value></item-id></result>

2021-05-14 22:41:33 | [Mutex] waiting for: [retracted:item:notifieditem-293cdd6f-939a-4120-a7ae-580f3af630ac:admin@test-domain.com]

2021-05-14 22:41:33 | [Mutex] received everything.

2021-05-14 22:41:33 | [Mutex] isItemNotified: retracted:item:notifieditem-293cdd6f-939a-4120-a7ae-580f3af630ac:admin@test-domain.com :: true

retrieveItemsFromNodes 0.329s
2021-05-14 22:41:32 |

2021-05-14 22:41:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:41:32 | ------------------------------------

2021-05-14 22:41:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-afe0859e-bdf9-4016-96d2-0b34565a8ef7</node><item-id>item-293cdd6f-939a-4120-a7ae-580f3af630ac</item-id></data>

2021-05-14 22:41:32 | 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-afe0859e-bdf9-4016-96d2-0b34565a8ef7</value></node><item-id type="text-single" label="Item ID"><value>item-293cdd6f-939a-4120-a7ae-580f3af630ac</value></item-id><item type="text-multi" label="Item"><value><item id="item-293cdd6f-939a-4120-a7ae-580f3af630ac"><test>item-293cdd6f-939a-4120-a7ae-580f3af630ac</test></item></value></item></result>

2021-05-14 22:41:32 | [Mutex] notify: [retrieved:item:item-293cdd6f-939a-4120-a7ae-580f3af630ac:payload-matches:true:localhost]

2021-05-14 22:41:32 | [Mutex] received everything.

2021-05-14 22:41:32 | [Mutex] isItemNotified: retrieved:item:item-293cdd6f-939a-4120-a7ae-580f3af630ac:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-14 22:41:32 |

2021-05-14 22:41:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:41:32 | ------------------------------------

2021-05-14 22:41:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-14 22:41:32 | 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-afe0859e-bdf9-4016-96d2-0b34565a8ef7</value><value>node-3b76dad8-88db-46f2-97cb-b57a7d29a810</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-14 22:41:32 |

2021-05-14 22:41:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:41:32 | ------------------------------------

2021-05-14 22:41:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-afe0859e-bdf9-4016-96d2-0b34565a8ef7)</node-pattern></data>

2021-05-14 22:41:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.150s
2021-05-14 22:41:31 |

2021-05-14 22:41:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:41:31 | ------------------------------------

2021-05-14 22:41:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-afe0859e-bdf9-4016-96d2-0b34565a8ef7</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-14 22:41:31 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.234s
2021-05-14 22:41:33 |

2021-05-14 22:41:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:41:33 | ------------------------------------

2021-05-14 22:41:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-afe0859e-bdf9-4016-96d2-0b34565a8ef7</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-14 22:41:33 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>