Generated by TestNG with ReportNG at 22:45 PDT on Thursday 22 June 2023
root@cc7d7fbb25f7 / Java 17.0.6 (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.376s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2023-06-22 22:59:55 |

2023-06-22 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:59:55 | ------------------------------------

2023-06-22 22:59:55 | [Mutex] waiting for: [configured:node:node-d185c8e1-f976-49cd-a1e3-ce24205e6042:node-cd484edd-fefc-4e3b-ac4e-fa96b6f576da]

2023-06-22 22:59:56 | [Mutex] received everything.

2023-06-22 22:59:56 | [Mutex] isItemNotified: configured:node:node-d185c8e1-f976-49cd-a1e3-ce24205e6042:node-cd484edd-fefc-4e3b-ac4e-fa96b6f576da :: true

2023-06-22 22:59:57 | [Mutex] waiting for: [received:nodes:229ad4cb-5ca3-4ffa-a202-289f1cd97385:localhost]

2023-06-22 22:59:57 | [Mutex] received everything.

2023-06-22 22:59:57 | [Mutex] isItemNotified: received:node:229ad4cb-5ca3-4ffa-a202-289f1cd97385:localhost:node-d185c8e1-f976-49cd-a1e3-ce24205e6042:Node d185c8e1-f976-49cd-a1e3-ce24205e6042 :: true

2023-06-22 22:59:57 | [Mutex] waiting for: [received:nodes:ea917785-8077-4676-9b64-6e5e1a8d6ad5:localhost]

2023-06-22 22:59:57 | [Mutex] waiting for: [received:nodes:ea917785-8077-4676-9b64-6e5e1a8d6ad5:localhost]

2023-06-22 22:59:57 | [Mutex] waiting for: [received:nodes:ea917785-8077-4676-9b64-6e5e1a8d6ad5:localhost]

2023-06-22 22:59:57 | [Mutex] waiting for: [received:nodes:ea917785-8077-4676-9b64-6e5e1a8d6ad5:localhost]

2023-06-22 22:59:57 | [Mutex] received everything.

2023-06-22 22:59:57 | [Mutex] isItemNotified: received:node:ea917785-8077-4676-9b64-6e5e1a8d6ad5:localhost:node-d185c8e1-f976-49cd-a1e3-ce24205e6042:Node d185c8e1-f976-49cd-a1e3-ce24205e6042 :: false

createNodes 1.392s
2023-06-22 22:59:53 |

2023-06-22 22:59:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:59:53 | ------------------------------------

2023-06-22 22:59:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d185c8e1-f976-49cd-a1e3-ce24205e6042</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d185c8e1-f976-49cd-a1e3-ce24205e6042</title></pubsub></data>

2023-06-22 22:59:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-06-22 22:59:54 | [Mutex] waiting for: [received:nodes:d9707191-8528-4957-b8d4-32d612700282:localhost]

2023-06-22 22:59:54 | [Mutex] waiting for: [received:nodes:d9707191-8528-4957-b8d4-32d612700282:localhost]

2023-06-22 22:59:54 | [Mutex] waiting for: [received:nodes:d9707191-8528-4957-b8d4-32d612700282:localhost]

2023-06-22 22:59:54 | [Mutex] received everything.

2023-06-22 22:59:54 | [Mutex] isItemNotified: received:node:d9707191-8528-4957-b8d4-32d612700282:localhost:node-d185c8e1-f976-49cd-a1e3-ce24205e6042:Node d185c8e1-f976-49cd-a1e3-ce24205e6042 :: true

createSubnodes 1.021s
2023-06-22 22:59:54 |

2023-06-22 22:59:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:59:54 | ------------------------------------

2023-06-22 22:59:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cd484edd-fefc-4e3b-ac4e-fa96b6f576da</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cd484edd-fefc-4e3b-ac4e-fa96b6f576da</title></pubsub></data>

2023-06-22 22:59:54 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-06-22 22:59:55 | [Mutex] waiting for: [received:nodes:923eb511-b2bf-4e0e-871b-551e7530b14f:localhost]

2023-06-22 22:59:55 | [Mutex] waiting for: [received:nodes:923eb511-b2bf-4e0e-871b-551e7530b14f:localhost]

2023-06-22 22:59:55 | [Mutex] received everything.

2023-06-22 22:59:55 | [Mutex] isItemNotified: received:node:923eb511-b2bf-4e0e-871b-551e7530b14f:localhost:node-cd484edd-fefc-4e3b-ac4e-fa96b6f576da:Node cd484edd-fefc-4e3b-ac4e-fa96b6f576da :: true

deleteNodes 1.019s
2023-06-22 23:00:01 |

2023-06-22 23:00:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 23:00:01 | ------------------------------------

2023-06-22 23:00:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cd484edd-fefc-4e3b-ac4e-fa96b6f576da</node></data>

2023-06-22 23:00:01 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-06-22 23:00:02 | [Mutex] waiting for: [received:nodes:96085865-9302-4af3-9ef0-632c0b82acaf:localhost]

2023-06-22 23:00:02 | [Mutex] waiting for: [received:nodes:96085865-9302-4af3-9ef0-632c0b82acaf:localhost]

2023-06-22 23:00:02 | [Mutex] waiting for: [received:nodes:96085865-9302-4af3-9ef0-632c0b82acaf:localhost]

2023-06-22 23:00:02 | [Mutex] received everything.

2023-06-22 23:00:02 | [Mutex] isItemNotified: received:node:96085865-9302-4af3-9ef0-632c0b82acaf:localhost:node-cd484edd-fefc-4e3b-ac4e-fa96b6f576da:Node cd484edd-fefc-4e3b-ac4e-fa96b6f576da :: false

deleteSubnodes 1.108s
2023-06-22 23:00:00 |

2023-06-22 23:00:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 23:00:00 | ------------------------------------

2023-06-22 23:00:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d185c8e1-f976-49cd-a1e3-ce24205e6042</node></data>

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

2023-06-22 23:00:01 | [Mutex] waiting for: [received:nodes:e5b323cf-2b0b-49d4-9d56-603f576bc440:localhost]

2023-06-22 23:00:01 | [Mutex] waiting for: [received:nodes:e5b323cf-2b0b-49d4-9d56-603f576bc440:localhost]

2023-06-22 23:00:01 | [Mutex] waiting for: [received:nodes:e5b323cf-2b0b-49d4-9d56-603f576bc440:localhost]

2023-06-22 23:00:01 | [Mutex] received everything.

2023-06-22 23:00:01 | [Mutex] isItemNotified: received:node:e5b323cf-2b0b-49d4-9d56-603f576bc440:localhost:node-d185c8e1-f976-49cd-a1e3-ce24205e6042:Node d185c8e1-f976-49cd-a1e3-ce24205e6042 :: false

2023-06-22 23:00:01 | [Mutex] waiting for: [received:nodes:ace786ce-3b60-418e-8cdf-1e5fe3704603:localhost]

2023-06-22 23:00:01 | [Mutex] received everything.

2023-06-22 23:00:01 | [Mutex] isItemNotified: received:node:ace786ce-3b60-418e-8cdf-1e5fe3704603:localhost:node-d185c8e1-f976-49cd-a1e3-ce24205e6042:Node d185c8e1-f976-49cd-a1e3-ce24205e6042 :: false

publishItemsToNodes 0.226s
2023-06-22 22:59:58 |

2023-06-22 22:59:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:59:58 | ------------------------------------

2023-06-22 22:59:58 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d185c8e1-f976-49cd-a1e3-ce24205e6042</node><item-id>item-a92930bc-6ea6-46e3-b877-3a9c397a8842</item-id><entry><test>item-a92930bc-6ea6-46e3-b877-3a9c397a8842</test></entry></data>

2023-06-22 22:59:58 | 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-a92930bc-6ea6-46e3-b877-3a9c397a8842</value></item-id></result>

2023-06-22 22:59:58 | [Mutex] waiting for: [published:item:notifieditem-a92930bc-6ea6-46e3-b877-3a9c397a8842:admin@test-domain.com]

2023-06-22 22:59:58 | [Mutex] received everything.

2023-06-22 22:59:58 | [Mutex] isItemNotified: published:item:notifieditem-a92930bc-6ea6-46e3-b877-3a9c397a8842:admin@test-domain.com :: true

retractItemsFromNodes 0.238s
2023-06-22 22:59:58 |

2023-06-22 22:59:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:59:58 | ------------------------------------

2023-06-22 22:59:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d185c8e1-f976-49cd-a1e3-ce24205e6042</node><item-id>item-a92930bc-6ea6-46e3-b877-3a9c397a8842</item-id></data>

2023-06-22 22:59:59 | 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-a92930bc-6ea6-46e3-b877-3a9c397a8842</value></item-id></result>

2023-06-22 22:59:59 | [Mutex] waiting for: [retracted:item:notifieditem-a92930bc-6ea6-46e3-b877-3a9c397a8842:admin@test-domain.com]

2023-06-22 22:59:59 | [Mutex] received everything.

2023-06-22 22:59:59 | [Mutex] isItemNotified: retracted:item:notifieditem-a92930bc-6ea6-46e3-b877-3a9c397a8842:admin@test-domain.com :: true

retrieveItemsFromNodes 0.154s
2023-06-22 22:59:58 |

2023-06-22 22:59:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:59:58 | ------------------------------------

2023-06-22 22:59:58 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d185c8e1-f976-49cd-a1e3-ce24205e6042</node><item-id>item-a92930bc-6ea6-46e3-b877-3a9c397a8842</item-id></data>

2023-06-22 22:59:58 | 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-d185c8e1-f976-49cd-a1e3-ce24205e6042</value></node><item-id label="Item ID" type="text-single"><value>item-a92930bc-6ea6-46e3-b877-3a9c397a8842</value></item-id><item label="Item" type="text-multi"><value><item id="item-a92930bc-6ea6-46e3-b877-3a9c397a8842"><test>item-a92930bc-6ea6-46e3-b877-3a9c397a8842</test></item></value></item></result>

2023-06-22 22:59:58 | [Mutex] notify: [retrieved:item:item-a92930bc-6ea6-46e3-b877-3a9c397a8842:payload-matches:true:localhost]

2023-06-22 22:59:58 | [Mutex] received everything.

2023-06-22 22:59:58 | [Mutex] isItemNotified: retrieved:item:item-a92930bc-6ea6-46e3-b877-3a9c397a8842:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-06-22 22:59:58 |

2023-06-22 22:59:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:59:58 | ------------------------------------

2023-06-22 22:59:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-06-22 22:59:58 | 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-cd484edd-fefc-4e3b-ac4e-fa96b6f576da</value><value>node-d185c8e1-f976-49cd-a1e3-ce24205e6042</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2023-06-22 22:59:58 |

2023-06-22 22:59:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:59:58 | ------------------------------------

2023-06-22 22:59:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d185c8e1-f976-49cd-a1e3-ce24205e6042)</node-pattern></data>

2023-06-22 22:59:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.178s
2023-06-22 22:59:57 |

2023-06-22 22:59:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:59:57 | ------------------------------------

2023-06-22 22:59:57 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d185c8e1-f976-49cd-a1e3-ce24205e6042</node><jids><value>admin@test-domain.com</value></jids></data>

2023-06-22 22:59:57 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.216s
2023-06-22 22:59:59 |

2023-06-22 22:59:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:59:59 | ------------------------------------

2023-06-22 22:59:59 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d185c8e1-f976-49cd-a1e3-ce24205e6042</node><jids><value>admin@test-domain.com</value></jids></data>

2023-06-22 22:59:59 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>