Generated by TestNG with ReportNG at 22:52 PDT on Monday 26 September 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.724s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.030s
2022-09-26 23:06:27 |

2022-09-26 23:06:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:06:27 | ------------------------------------

2022-09-26 23:06:27 | [Mutex] waiting for: [configured:node:node-44e85a36-e87c-4459-84f2-5eeb523c7e58:node-da836d61-1006-43d0-af3a-fb8e072e3421]

2022-09-26 23:06:27 | [Mutex] received everything.

2022-09-26 23:06:27 | [Mutex] isItemNotified: configured:node:node-44e85a36-e87c-4459-84f2-5eeb523c7e58:node-da836d61-1006-43d0-af3a-fb8e072e3421 :: true

2022-09-26 23:06:28 | [Mutex] waiting for: [received:nodes:ca46a8fb-f4e0-4525-bbcd-4f7535e0d50e:localhost]

2022-09-26 23:06:28 | [Mutex] received everything.

2022-09-26 23:06:28 | [Mutex] isItemNotified: received:node:ca46a8fb-f4e0-4525-bbcd-4f7535e0d50e:localhost:node-44e85a36-e87c-4459-84f2-5eeb523c7e58:Node 44e85a36-e87c-4459-84f2-5eeb523c7e58 :: true

2022-09-26 23:06:28 | [Mutex] waiting for: [received:nodes:ed962ad0-504c-4070-b720-6850828f5969:localhost]

2022-09-26 23:06:28 | [Mutex] received everything.

2022-09-26 23:06:28 | [Mutex] isItemNotified: received:node:ed962ad0-504c-4070-b720-6850828f5969:localhost:node-44e85a36-e87c-4459-84f2-5eeb523c7e58:Node 44e85a36-e87c-4459-84f2-5eeb523c7e58 :: false

createNodes 1.445s
2022-09-26 23:06:25 |

2022-09-26 23:06:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:06:25 | ------------------------------------

2022-09-26 23:06:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-44e85a36-e87c-4459-84f2-5eeb523c7e58</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 44e85a36-e87c-4459-84f2-5eeb523c7e58</title></pubsub></data>

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

2022-09-26 23:06:26 | [Mutex] waiting for: [received:nodes:6cdbfce3-f50f-49ef-8d44-eff7ec462982:localhost]

2022-09-26 23:06:26 | [Mutex] waiting for: [received:nodes:6cdbfce3-f50f-49ef-8d44-eff7ec462982:localhost]

2022-09-26 23:06:26 | [Mutex] waiting for: [received:nodes:6cdbfce3-f50f-49ef-8d44-eff7ec462982:localhost]

2022-09-26 23:06:26 | [Mutex] waiting for: [received:nodes:6cdbfce3-f50f-49ef-8d44-eff7ec462982:localhost]

2022-09-26 23:06:26 | [Mutex] received everything.

2022-09-26 23:06:26 | [Mutex] isItemNotified: received:node:6cdbfce3-f50f-49ef-8d44-eff7ec462982:localhost:node-44e85a36-e87c-4459-84f2-5eeb523c7e58:Node 44e85a36-e87c-4459-84f2-5eeb523c7e58 :: true

createSubnodes 1.024s
2022-09-26 23:06:26 |

2022-09-26 23:06:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:06:26 | ------------------------------------

2022-09-26 23:06:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-da836d61-1006-43d0-af3a-fb8e072e3421</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node da836d61-1006-43d0-af3a-fb8e072e3421</title></pubsub></data>

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

2022-09-26 23:06:27 | [Mutex] waiting for: [received:nodes:bf8e3102-645d-4c83-9a80-839866d01e5c:localhost]

2022-09-26 23:06:27 | [Mutex] waiting for: [received:nodes:bf8e3102-645d-4c83-9a80-839866d01e5c:localhost]

2022-09-26 23:06:27 | [Mutex] received everything.

2022-09-26 23:06:27 | [Mutex] isItemNotified: received:node:bf8e3102-645d-4c83-9a80-839866d01e5c:localhost:node-da836d61-1006-43d0-af3a-fb8e072e3421:Node da836d61-1006-43d0-af3a-fb8e072e3421 :: true

deleteNodes 1.016s
2022-09-26 23:06:32 |

2022-09-26 23:06:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:06:32 | ------------------------------------

2022-09-26 23:06:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-da836d61-1006-43d0-af3a-fb8e072e3421</node></data>

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

2022-09-26 23:06:34 | [Mutex] waiting for: [received:nodes:06b0b61f-6d78-4785-888c-cd84e32784e6:localhost]

2022-09-26 23:06:34 | [Mutex] received everything.

2022-09-26 23:06:34 | [Mutex] isItemNotified: received:node:06b0b61f-6d78-4785-888c-cd84e32784e6:localhost:node-da836d61-1006-43d0-af3a-fb8e072e3421:Node da836d61-1006-43d0-af3a-fb8e072e3421 :: false

deleteSubnodes 1.113s
2022-09-26 23:06:31 |

2022-09-26 23:06:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:06:31 | ------------------------------------

2022-09-26 23:06:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-44e85a36-e87c-4459-84f2-5eeb523c7e58</node></data>

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

2022-09-26 23:06:32 | [Mutex] waiting for: [received:nodes:bf348204-b568-4621-a550-0cd70632c65f:localhost]

2022-09-26 23:06:32 | [Mutex] received everything.

2022-09-26 23:06:32 | [Mutex] isItemNotified: received:node:bf348204-b568-4621-a550-0cd70632c65f:localhost:node-44e85a36-e87c-4459-84f2-5eeb523c7e58:Node 44e85a36-e87c-4459-84f2-5eeb523c7e58 :: false

2022-09-26 23:06:32 | [Mutex] waiting for: [received:nodes:7b6534b4-7fde-46da-9020-109f3a5e7394:localhost]

2022-09-26 23:06:32 | [Mutex] received everything.

2022-09-26 23:06:32 | [Mutex] isItemNotified: received:node:7b6534b4-7fde-46da-9020-109f3a5e7394:localhost:node-44e85a36-e87c-4459-84f2-5eeb523c7e58:Node 44e85a36-e87c-4459-84f2-5eeb523c7e58 :: false

publishItemsToNodes 0.221s
2022-09-26 23:06:29 |

2022-09-26 23:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:06:29 | ------------------------------------

2022-09-26 23:06:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-44e85a36-e87c-4459-84f2-5eeb523c7e58</node><item-id>item-bbefefb5-417e-499c-8acb-bb89bfcba0cf</item-id><entry><test>item-bbefefb5-417e-499c-8acb-bb89bfcba0cf</test></entry></data>

2022-09-26 23:06: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-bbefefb5-417e-499c-8acb-bb89bfcba0cf</value></item-id></result>

2022-09-26 23:06:29 | [Mutex] received everything.

2022-09-26 23:06:29 | [Mutex] isItemNotified: published:item:notifieditem-bbefefb5-417e-499c-8acb-bb89bfcba0cf:admin@test-domain.com :: true

retractItemsFromNodes 0.348s
2022-09-26 23:06:30 |

2022-09-26 23:06:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:06:30 | ------------------------------------

2022-09-26 23:06:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-44e85a36-e87c-4459-84f2-5eeb523c7e58</node><item-id>item-bbefefb5-417e-499c-8acb-bb89bfcba0cf</item-id></data>

2022-09-26 23:06: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-bbefefb5-417e-499c-8acb-bb89bfcba0cf</value></item-id></result>

2022-09-26 23:06:30 | [Mutex] waiting for: [retracted:item:notifieditem-bbefefb5-417e-499c-8acb-bb89bfcba0cf:admin@test-domain.com]

2022-09-26 23:06:30 | [Mutex] received everything.

2022-09-26 23:06:30 | [Mutex] isItemNotified: retracted:item:notifieditem-bbefefb5-417e-499c-8acb-bb89bfcba0cf:admin@test-domain.com :: true

retrieveItemsFromNodes 0.269s
2022-09-26 23:06:29 |

2022-09-26 23:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:06:29 | ------------------------------------

2022-09-26 23:06:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-44e85a36-e87c-4459-84f2-5eeb523c7e58</node><item-id>item-bbefefb5-417e-499c-8acb-bb89bfcba0cf</item-id></data>

2022-09-26 23:06:30 | 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-44e85a36-e87c-4459-84f2-5eeb523c7e58</value></node><item-id type="text-single" label="Item ID"><value>item-bbefefb5-417e-499c-8acb-bb89bfcba0cf</value></item-id><item type="text-multi" label="Item"><value><item id="item-bbefefb5-417e-499c-8acb-bb89bfcba0cf"><test>item-bbefefb5-417e-499c-8acb-bb89bfcba0cf</test></item></value></item></result>

2022-09-26 23:06:30 | [Mutex] notify: [retrieved:item:item-bbefefb5-417e-499c-8acb-bb89bfcba0cf:payload-matches:true:localhost]

2022-09-26 23:06:30 | [Mutex] received everything.

2022-09-26 23:06:30 | [Mutex] isItemNotified: retrieved:item:item-bbefefb5-417e-499c-8acb-bb89bfcba0cf:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-26 23:06:30 |

2022-09-26 23:06:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:06:30 | ------------------------------------

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

2022-09-26 23:06:30 | 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-44e85a36-e87c-4459-84f2-5eeb523c7e58</value><value>node-da836d61-1006-43d0-af3a-fb8e072e3421</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-09-26 23:06:30 |

2022-09-26 23:06:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:06:30 | ------------------------------------

2022-09-26 23:06:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-44e85a36-e87c-4459-84f2-5eeb523c7e58)</node-pattern></data>

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

subscribeNodes 1.147s
2022-09-26 23:06:28 |

2022-09-26 23:06:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:06:28 | ------------------------------------

2022-09-26 23:06:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-44e85a36-e87c-4459-84f2-5eeb523c7e58</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-26 23:06: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.265s
2022-09-26 23:06:30 |

2022-09-26 23:06:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:06:30 | ------------------------------------

2022-09-26 23:06:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-44e85a36-e87c-4459-84f2-5eeb523c7e58</node><jids><value>admin@test-domain.com</value></jids></data>

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