Generated by TestNG with ReportNG at 15:18 PST on Friday 24 February 2023
root@f9c07ffec79b / 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.542s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2023-02-24 15:32:13 |

2023-02-24 15:32:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:13 | ------------------------------------

2023-02-24 15:32:13 | [Mutex] waiting for: [configured:node:node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91:node-f232d67d-2efd-4028-8423-4fb7802462a3]

2023-02-24 15:32:13 | [Mutex] received everything.

2023-02-24 15:32:13 | [Mutex] isItemNotified: configured:node:node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91:node-f232d67d-2efd-4028-8423-4fb7802462a3 :: true

2023-02-24 15:32:14 | [Mutex] waiting for: [received:nodes:ba613264-a542-4823-ade6-3c42ed621f30:localhost]

2023-02-24 15:32:14 | [Mutex] received everything.

2023-02-24 15:32:14 | [Mutex] isItemNotified: received:node:ba613264-a542-4823-ade6-3c42ed621f30:localhost:node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91:Node caaff8e6-9f3f-418a-baa6-e0e75e8e9e91 :: true

2023-02-24 15:32:14 | [Mutex] waiting for: [received:nodes:6e15fefd-89c7-48de-9b84-90fb8110331c:localhost]

2023-02-24 15:32:14 | [Mutex] waiting for: [received:nodes:6e15fefd-89c7-48de-9b84-90fb8110331c:localhost]

2023-02-24 15:32:14 | [Mutex] received everything.

2023-02-24 15:32:14 | [Mutex] isItemNotified: received:node:6e15fefd-89c7-48de-9b84-90fb8110331c:localhost:node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91:Node caaff8e6-9f3f-418a-baa6-e0e75e8e9e91 :: false

createNodes 1.456s
2023-02-24 15:32:11 |

2023-02-24 15:32:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:11 | ------------------------------------

2023-02-24 15:32:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node caaff8e6-9f3f-418a-baa6-e0e75e8e9e91</title></pubsub></data>

2023-02-24 15:32:11 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-24 15:32:12 | [Mutex] waiting for: [received:nodes:5f90d316-0890-4acc-8b23-9185dbc4e17e:localhost]

2023-02-24 15:32:12 | [Mutex] waiting for: [received:nodes:5f90d316-0890-4acc-8b23-9185dbc4e17e:localhost]

2023-02-24 15:32:12 | [Mutex] waiting for: [received:nodes:5f90d316-0890-4acc-8b23-9185dbc4e17e:localhost]

2023-02-24 15:32:12 | [Mutex] received everything.

2023-02-24 15:32:12 | [Mutex] isItemNotified: received:node:5f90d316-0890-4acc-8b23-9185dbc4e17e:localhost:node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91:Node caaff8e6-9f3f-418a-baa6-e0e75e8e9e91 :: true

createSubnodes 1.034s
2023-02-24 15:32:12 |

2023-02-24 15:32:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:12 | ------------------------------------

2023-02-24 15:32:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f232d67d-2efd-4028-8423-4fb7802462a3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f232d67d-2efd-4028-8423-4fb7802462a3</title></pubsub></data>

2023-02-24 15:32:12 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-24 15:32:13 | [Mutex] waiting for: [received:nodes:9c1f986b-5921-4761-8702-b80edbd55d59:localhost]

2023-02-24 15:32:13 | [Mutex] waiting for: [received:nodes:9c1f986b-5921-4761-8702-b80edbd55d59:localhost]

2023-02-24 15:32:13 | [Mutex] waiting for: [received:nodes:9c1f986b-5921-4761-8702-b80edbd55d59:localhost]

2023-02-24 15:32:13 | [Mutex] received everything.

2023-02-24 15:32:13 | [Mutex] isItemNotified: received:node:9c1f986b-5921-4761-8702-b80edbd55d59:localhost:node-f232d67d-2efd-4028-8423-4fb7802462a3:Node f232d67d-2efd-4028-8423-4fb7802462a3 :: true

deleteNodes 1.020s
2023-02-24 15:32:19 |

2023-02-24 15:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:19 | ------------------------------------

2023-02-24 15:32:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f232d67d-2efd-4028-8423-4fb7802462a3</node></data>

2023-02-24 15:32:19 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-24 15:32:20 | [Mutex] waiting for: [received:nodes:a7a3d4e1-cec4-4408-bddd-e26b3f46dd64:localhost]

2023-02-24 15:32:20 | [Mutex] received everything.

2023-02-24 15:32:20 | [Mutex] isItemNotified: received:node:a7a3d4e1-cec4-4408-bddd-e26b3f46dd64:localhost:node-f232d67d-2efd-4028-8423-4fb7802462a3:Node f232d67d-2efd-4028-8423-4fb7802462a3 :: false

deleteSubnodes 1.123s
2023-02-24 15:32:17 |

2023-02-24 15:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:17 | ------------------------------------

2023-02-24 15:32:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91</node></data>

2023-02-24 15:32:18 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-24 15:32:19 | [Mutex] waiting for: [received:nodes:f583122e-7cf8-494e-b8f9-39b69b845e7d:localhost]

2023-02-24 15:32:19 | [Mutex] waiting for: [received:nodes:f583122e-7cf8-494e-b8f9-39b69b845e7d:localhost]

2023-02-24 15:32:19 | [Mutex] waiting for: [received:nodes:f583122e-7cf8-494e-b8f9-39b69b845e7d:localhost]

2023-02-24 15:32:19 | [Mutex] waiting for: [received:nodes:f583122e-7cf8-494e-b8f9-39b69b845e7d:localhost]

2023-02-24 15:32:19 | [Mutex] received everything.

2023-02-24 15:32:19 | [Mutex] isItemNotified: received:node:f583122e-7cf8-494e-b8f9-39b69b845e7d:localhost:node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91:Node caaff8e6-9f3f-418a-baa6-e0e75e8e9e91 :: false

2023-02-24 15:32:19 | [Mutex] waiting for: [received:nodes:261bed2b-157f-4814-a1d8-807a6ad3ff91:localhost]

2023-02-24 15:32:19 | [Mutex] received everything.

2023-02-24 15:32:19 | [Mutex] isItemNotified: received:node:261bed2b-157f-4814-a1d8-807a6ad3ff91:localhost:node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91:Node caaff8e6-9f3f-418a-baa6-e0e75e8e9e91 :: false

publishItemsToNodes 0.292s
2023-02-24 15:32:15 |

2023-02-24 15:32:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:15 | ------------------------------------

2023-02-24 15:32:15 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91</node><item-id>item-c0a1a209-66ea-4888-a42d-bda225bb38de</item-id><entry><test>item-c0a1a209-66ea-4888-a42d-bda225bb38de</test></entry></data>

2023-02-24 15:32:16 | 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-c0a1a209-66ea-4888-a42d-bda225bb38de</value></item-id></result>

2023-02-24 15:32:16 | [Mutex] waiting for: [published:item:notifieditem-c0a1a209-66ea-4888-a42d-bda225bb38de:admin@test-domain.com]

2023-02-24 15:32:16 | [Mutex] received everything.

2023-02-24 15:32:16 | [Mutex] isItemNotified: published:item:notifieditem-c0a1a209-66ea-4888-a42d-bda225bb38de:admin@test-domain.com :: true

retractItemsFromNodes 0.353s
2023-02-24 15:32:16 |

2023-02-24 15:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:16 | ------------------------------------

2023-02-24 15:32:16 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91</node><item-id>item-c0a1a209-66ea-4888-a42d-bda225bb38de</item-id></data>

2023-02-24 15:32:16 | 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-c0a1a209-66ea-4888-a42d-bda225bb38de</value></item-id></result>

2023-02-24 15:32:16 | [Mutex] received everything.

2023-02-24 15:32:16 | [Mutex] isItemNotified: retracted:item:notifieditem-c0a1a209-66ea-4888-a42d-bda225bb38de:admin@test-domain.com :: true

retrieveItemsFromNodes 0.144s
2023-02-24 15:32:16 |

2023-02-24 15:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:16 | ------------------------------------

2023-02-24 15:32:16 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91</node><item-id>item-c0a1a209-66ea-4888-a42d-bda225bb38de</item-id></data>

2023-02-24 15:32:16 | 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-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91</value></node><item-id label="Item ID" type="text-single"><value>item-c0a1a209-66ea-4888-a42d-bda225bb38de</value></item-id><item label="Item" type="text-multi"><value><item id="item-c0a1a209-66ea-4888-a42d-bda225bb38de"><test>item-c0a1a209-66ea-4888-a42d-bda225bb38de</test></item></value></item></result>

2023-02-24 15:32:16 | [Mutex] notify: [retrieved:item:item-c0a1a209-66ea-4888-a42d-bda225bb38de:payload-matches:true:localhost]

2023-02-24 15:32:16 | [Mutex] received everything.

2023-02-24 15:32:16 | [Mutex] isItemNotified: retrieved:item:item-c0a1a209-66ea-4888-a42d-bda225bb38de:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2023-02-24 15:32:16 |

2023-02-24 15:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:16 | ------------------------------------

2023-02-24 15:32:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-02-24 15:32:16 | 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-f232d67d-2efd-4028-8423-4fb7802462a3</value><value>node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-02-24 15:32:16 |

2023-02-24 15:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:16 | ------------------------------------

2023-02-24 15:32:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91)</node-pattern></data>

2023-02-24 15:32:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.117s
2023-02-24 15:32:14 |

2023-02-24 15:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:14 | ------------------------------------

2023-02-24 15:32:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-24 15:32:14 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.182s
2023-02-24 15:32:16 |

2023-02-24 15:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:16 | ------------------------------------

2023-02-24 15:32:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-caaff8e6-9f3f-418a-baa6-e0e75e8e9e91</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-24 15:32:16 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>