Generated by TestNG with ReportNG at 22:22 PDT on Saturday 22 October 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.929s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.109s
2022-10-22 22:50:28 |

2022-10-22 22:50:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-22 22:50:28 | ------------------------------------

2022-10-22 22:50:28 | [Mutex] waiting for: [configured:node:node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2:node-91371453-3507-434d-befd-cde3c323248f]

2022-10-22 22:50:28 | [Mutex] received everything.

2022-10-22 22:50:28 | [Mutex] isItemNotified: configured:node:node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2:node-91371453-3507-434d-befd-cde3c323248f :: true

2022-10-22 22:50:29 | [Mutex] waiting for: [received:nodes:9a0d0aa2-7776-4ba6-b9f4-ef7961611209:localhost]

2022-10-22 22:50:29 | [Mutex] received everything.

2022-10-22 22:50:29 | [Mutex] isItemNotified: received:node:9a0d0aa2-7776-4ba6-b9f4-ef7961611209:localhost:node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2:Node c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2 :: true

2022-10-22 22:50:29 | [Mutex] waiting for: [received:nodes:9176827c-1aee-47d5-91b1-a022f8b7c9a2:localhost]

2022-10-22 22:50:29 | [Mutex] received everything.

2022-10-22 22:50:29 | [Mutex] isItemNotified: received:node:9176827c-1aee-47d5-91b1-a022f8b7c9a2:localhost:node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2:Node c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2 :: false

createNodes 1.614s
2022-10-22 22:50:25 |

2022-10-22 22:50:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-22 22:50:25 | ------------------------------------

2022-10-22 22:50:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2</title></pubsub></data>

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

2022-10-22 22:50:27 | [Mutex] waiting for: [received:nodes:06e64a59-67dd-49c7-8be0-eb56ff97be6e:localhost]

2022-10-22 22:50:27 | [Mutex] received everything.

2022-10-22 22:50:27 | [Mutex] isItemNotified: received:node:06e64a59-67dd-49c7-8be0-eb56ff97be6e:localhost:node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2:Node c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2 :: true

createSubnodes 1.026s
2022-10-22 22:50:27 |

2022-10-22 22:50:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-22 22:50:27 | ------------------------------------

2022-10-22 22:50:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-91371453-3507-434d-befd-cde3c323248f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 91371453-3507-434d-befd-cde3c323248f</title></pubsub></data>

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

2022-10-22 22:50:28 | [Mutex] waiting for: [received:nodes:0cc79e62-2d1c-4189-b52c-a9779775bb09:localhost]

2022-10-22 22:50:28 | [Mutex] waiting for: [received:nodes:0cc79e62-2d1c-4189-b52c-a9779775bb09:localhost]

2022-10-22 22:50:28 | [Mutex] received everything.

2022-10-22 22:50:28 | [Mutex] isItemNotified: received:node:0cc79e62-2d1c-4189-b52c-a9779775bb09:localhost:node-91371453-3507-434d-befd-cde3c323248f:Node 91371453-3507-434d-befd-cde3c323248f :: true

deleteNodes 1.019s
2022-10-22 22:50:34 |

2022-10-22 22:50:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-22 22:50:34 | ------------------------------------

2022-10-22 22:50:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-91371453-3507-434d-befd-cde3c323248f</node></data>

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

2022-10-22 22:50:35 | [Mutex] waiting for: [received:nodes:7b68f1af-c363-44dc-8069-e0dc9b4dfa85:localhost]

2022-10-22 22:50:35 | [Mutex] received everything.

2022-10-22 22:50:35 | [Mutex] isItemNotified: received:node:7b68f1af-c363-44dc-8069-e0dc9b4dfa85:localhost:node-91371453-3507-434d-befd-cde3c323248f:Node 91371453-3507-434d-befd-cde3c323248f :: false

deleteSubnodes 1.157s
2022-10-22 22:50:32 |

2022-10-22 22:50:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-22 22:50:32 | ------------------------------------

2022-10-22 22:50:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2</node></data>

2022-10-22 22:50:33 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-22 22:50:34 | [Mutex] waiting for: [received:nodes:2c2cb1b5-9caa-468a-bf94-6a4c7a460ddb:localhost]

2022-10-22 22:50:34 | [Mutex] received everything.

2022-10-22 22:50:34 | [Mutex] isItemNotified: received:node:2c2cb1b5-9caa-468a-bf94-6a4c7a460ddb:localhost:node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2:Node c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2 :: false

2022-10-22 22:50:34 | [Mutex] waiting for: [received:nodes:f20faef6-73ec-4de8-8887-68ae6c5ce625:localhost]

2022-10-22 22:50:34 | [Mutex] received everything.

2022-10-22 22:50:34 | [Mutex] isItemNotified: received:node:f20faef6-73ec-4de8-8887-68ae6c5ce625:localhost:node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2:Node c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2 :: false

publishItemsToNodes 0.253s
2022-10-22 22:50:30 |

2022-10-22 22:50:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-22 22:50:30 | ------------------------------------

2022-10-22 22:50:30 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2</node><item-id>item-3c7a525f-597d-4189-9874-6e49ec1a759a</item-id><entry><test>item-3c7a525f-597d-4189-9874-6e49ec1a759a</test></entry></data>

2022-10-22 22:50:30 | 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-3c7a525f-597d-4189-9874-6e49ec1a759a</value></item-id></result>

2022-10-22 22:50:30 | [Mutex] waiting for: [published:item:notifieditem-3c7a525f-597d-4189-9874-6e49ec1a759a:admin@test-domain.com]

2022-10-22 22:50:30 | [Mutex] received everything.

2022-10-22 22:50:30 | [Mutex] isItemNotified: published:item:notifieditem-3c7a525f-597d-4189-9874-6e49ec1a759a:admin@test-domain.com :: true

retractItemsFromNodes 0.391s
2022-10-22 22:50:31 |

2022-10-22 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-22 22:50:31 | ------------------------------------

2022-10-22 22:50:31 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2</node><item-id>item-3c7a525f-597d-4189-9874-6e49ec1a759a</item-id></data>

2022-10-22 22:50:31 | 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-3c7a525f-597d-4189-9874-6e49ec1a759a</value></item-id></result>

2022-10-22 22:50:31 | [Mutex] received everything.

2022-10-22 22:50:31 | [Mutex] isItemNotified: retracted:item:notifieditem-3c7a525f-597d-4189-9874-6e49ec1a759a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.272s
2022-10-22 22:50:30 |

2022-10-22 22:50:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-22 22:50:30 | ------------------------------------

2022-10-22 22:50:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2</node><item-id>item-3c7a525f-597d-4189-9874-6e49ec1a759a</item-id></data>

2022-10-22 22:50:31 | 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-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2</value></node><item-id label="Item ID" type="text-single"><value>item-3c7a525f-597d-4189-9874-6e49ec1a759a</value></item-id><item label="Item" type="text-multi"><value><item id="item-3c7a525f-597d-4189-9874-6e49ec1a759a"><test>item-3c7a525f-597d-4189-9874-6e49ec1a759a</test></item></value></item></result>

2022-10-22 22:50:31 | [Mutex] notify: [retrieved:item:item-3c7a525f-597d-4189-9874-6e49ec1a759a:payload-matches:true:localhost]

2022-10-22 22:50:31 | [Mutex] received everything.

2022-10-22 22:50:31 | [Mutex] isItemNotified: retrieved:item:item-3c7a525f-597d-4189-9874-6e49ec1a759a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-10-22 22:50:31 |

2022-10-22 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-22 22:50:31 | ------------------------------------

2022-10-22 22:50:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-10-22 22:50:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2</value><value>node-91371453-3507-434d-befd-cde3c323248f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2022-10-22 22:50:31 |

2022-10-22 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-22 22:50:31 | ------------------------------------

2022-10-22 22:50:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2)</node-pattern></data>

2022-10-22 22:50:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.108s
2022-10-22 22:50:29 |

2022-10-22 22:50:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-22 22:50:29 | ------------------------------------

2022-10-22 22:50:29 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-22 22:50:29 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.151s
2022-10-22 22:50:31 |

2022-10-22 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-22 22:50:31 | ------------------------------------

2022-10-22 22:50:31 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c8e9386d-00fa-40ab-8838-4dd1b1e6d1f2</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-22 22:50:31 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>