Generated by TestNG with ReportNG at 00:44 PDT on Thursday 26 October 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.436s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2023-10-26 00:58:26 |

2023-10-26 00:58:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-26 00:58:26 | ------------------------------------

2023-10-26 00:58:26 | [Mutex] waiting for: [configured:node:node-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf:node-c732bbb6-e133-42ad-bf30-e5069f338f30]

2023-10-26 00:58:26 | [Mutex] received everything.

2023-10-26 00:58:26 | [Mutex] isItemNotified: configured:node:node-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf:node-c732bbb6-e133-42ad-bf30-e5069f338f30 :: true

2023-10-26 00:58:27 | [Mutex] waiting for: [received:nodes:4f093254-6819-484c-8496-e37cf2f0a209:localhost]

2023-10-26 00:58:27 | [Mutex] received everything.

2023-10-26 00:58:27 | [Mutex] isItemNotified: received:node:4f093254-6819-484c-8496-e37cf2f0a209:localhost:node-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf:Node 6b66c08e-c64a-49df-9fb7-f5ce71bba2bf :: true

2023-10-26 00:58:27 | [Mutex] waiting for: [received:nodes:73bd50a6-8e0b-4182-b55a-c3d2e165ffb3:localhost]

2023-10-26 00:58:27 | [Mutex] waiting for: [received:nodes:73bd50a6-8e0b-4182-b55a-c3d2e165ffb3:localhost]

2023-10-26 00:58:27 | [Mutex] received everything.

2023-10-26 00:58:27 | [Mutex] isItemNotified: received:node:73bd50a6-8e0b-4182-b55a-c3d2e165ffb3:localhost:node-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf:Node 6b66c08e-c64a-49df-9fb7-f5ce71bba2bf :: false

createNodes 1.419s
2023-10-26 00:58:24 |

2023-10-26 00:58:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-26 00:58:24 | ------------------------------------

2023-10-26 00:58:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6b66c08e-c64a-49df-9fb7-f5ce71bba2bf</title></pubsub></data>

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

2023-10-26 00:58:25 | [Mutex] waiting for: [received:nodes:3e0f82c3-e56a-4168-baa3-26b70bc79a14:localhost]

2023-10-26 00:58:25 | [Mutex] waiting for: [received:nodes:3e0f82c3-e56a-4168-baa3-26b70bc79a14:localhost]

2023-10-26 00:58:25 | [Mutex] waiting for: [received:nodes:3e0f82c3-e56a-4168-baa3-26b70bc79a14:localhost]

2023-10-26 00:58:25 | [Mutex] waiting for: [received:nodes:3e0f82c3-e56a-4168-baa3-26b70bc79a14:localhost]

2023-10-26 00:58:25 | [Mutex] received everything.

2023-10-26 00:58:25 | [Mutex] isItemNotified: received:node:3e0f82c3-e56a-4168-baa3-26b70bc79a14:localhost:node-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf:Node 6b66c08e-c64a-49df-9fb7-f5ce71bba2bf :: true

createSubnodes 1.023s
2023-10-26 00:58:25 |

2023-10-26 00:58:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-26 00:58:25 | ------------------------------------

2023-10-26 00:58:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c732bbb6-e133-42ad-bf30-e5069f338f30</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c732bbb6-e133-42ad-bf30-e5069f338f30</title></pubsub></data>

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

2023-10-26 00:58:26 | [Mutex] waiting for: [received:nodes:6fb7d01b-48f6-489a-9c48-305aca305ba9:localhost]

2023-10-26 00:58:26 | [Mutex] waiting for: [received:nodes:6fb7d01b-48f6-489a-9c48-305aca305ba9:localhost]

2023-10-26 00:58:26 | [Mutex] waiting for: [received:nodes:6fb7d01b-48f6-489a-9c48-305aca305ba9:localhost]

2023-10-26 00:58:26 | [Mutex] waiting for: [received:nodes:6fb7d01b-48f6-489a-9c48-305aca305ba9:localhost]

2023-10-26 00:58:26 | [Mutex] waiting for: [received:nodes:6fb7d01b-48f6-489a-9c48-305aca305ba9:localhost]

2023-10-26 00:58:26 | [Mutex] received everything.

2023-10-26 00:58:26 | [Mutex] isItemNotified: received:node:6fb7d01b-48f6-489a-9c48-305aca305ba9:localhost:node-c732bbb6-e133-42ad-bf30-e5069f338f30:Node c732bbb6-e133-42ad-bf30-e5069f338f30 :: true

deleteNodes 1.018s
2023-10-26 00:58:31 |

2023-10-26 00:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-26 00:58:31 | ------------------------------------

2023-10-26 00:58:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c732bbb6-e133-42ad-bf30-e5069f338f30</node></data>

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

2023-10-26 00:58:32 | [Mutex] waiting for: [received:nodes:cd9e1762-6aca-42f9-96ef-7081edb01605:localhost]

2023-10-26 00:58:32 | [Mutex] waiting for: [received:nodes:cd9e1762-6aca-42f9-96ef-7081edb01605:localhost]

2023-10-26 00:58:32 | [Mutex] waiting for: [received:nodes:cd9e1762-6aca-42f9-96ef-7081edb01605:localhost]

2023-10-26 00:58:32 | [Mutex] received everything.

2023-10-26 00:58:32 | [Mutex] isItemNotified: received:node:cd9e1762-6aca-42f9-96ef-7081edb01605:localhost:node-c732bbb6-e133-42ad-bf30-e5069f338f30:Node c732bbb6-e133-42ad-bf30-e5069f338f30 :: false

deleteSubnodes 1.140s
2023-10-26 00:58:30 |

2023-10-26 00:58:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-26 00:58:30 | ------------------------------------

2023-10-26 00:58:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf</node></data>

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

2023-10-26 00:58:31 | [Mutex] waiting for: [received:nodes:1e70698a-fa96-4451-b1b4-63b5d4640984:localhost]

2023-10-26 00:58:31 | [Mutex] waiting for: [received:nodes:1e70698a-fa96-4451-b1b4-63b5d4640984:localhost]

2023-10-26 00:58:31 | [Mutex] waiting for: [received:nodes:1e70698a-fa96-4451-b1b4-63b5d4640984:localhost]

2023-10-26 00:58:31 | [Mutex] waiting for: [received:nodes:1e70698a-fa96-4451-b1b4-63b5d4640984:localhost]

2023-10-26 00:58:31 | [Mutex] received everything.

2023-10-26 00:58:31 | [Mutex] isItemNotified: received:node:1e70698a-fa96-4451-b1b4-63b5d4640984:localhost:node-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf:Node 6b66c08e-c64a-49df-9fb7-f5ce71bba2bf :: false

2023-10-26 00:58:31 | [Mutex] waiting for: [received:nodes:7b6e3d3e-8722-4bda-a6c5-8caf553ab947:localhost]

2023-10-26 00:58:31 | [Mutex] received everything.

2023-10-26 00:58:31 | [Mutex] isItemNotified: received:node:7b6e3d3e-8722-4bda-a6c5-8caf553ab947:localhost:node-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf:Node 6b66c08e-c64a-49df-9fb7-f5ce71bba2bf :: false

publishItemsToNodes 0.216s
2023-10-26 00:58:28 |

2023-10-26 00:58:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-26 00:58:28 | ------------------------------------

2023-10-26 00:58:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf</node><item-id>item-1e9fec6a-3b6c-45fc-9d82-5bffe3bed87e</item-id><entry><test>item-1e9fec6a-3b6c-45fc-9d82-5bffe3bed87e</test></entry></data>

2023-10-26 00:58:28 | 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-1e9fec6a-3b6c-45fc-9d82-5bffe3bed87e</value></item-id></result>

2023-10-26 00:58:28 | [Mutex] received everything.

2023-10-26 00:58:28 | [Mutex] isItemNotified: published:item:notifieditem-1e9fec6a-3b6c-45fc-9d82-5bffe3bed87e:admin@test-domain.com :: true

retractItemsFromNodes 0.235s
2023-10-26 00:58:29 |

2023-10-26 00:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-26 00:58:29 | ------------------------------------

2023-10-26 00:58:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf</node><item-id>item-1e9fec6a-3b6c-45fc-9d82-5bffe3bed87e</item-id></data>

2023-10-26 00:58:29 | 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-1e9fec6a-3b6c-45fc-9d82-5bffe3bed87e</value></item-id></result>

2023-10-26 00:58:29 | [Mutex] received everything.

2023-10-26 00:58:29 | [Mutex] isItemNotified: retracted:item:notifieditem-1e9fec6a-3b6c-45fc-9d82-5bffe3bed87e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.275s
2023-10-26 00:58:28 |

2023-10-26 00:58:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-26 00:58:28 | ------------------------------------

2023-10-26 00:58:28 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf</node><item-id>item-1e9fec6a-3b6c-45fc-9d82-5bffe3bed87e</item-id></data>

2023-10-26 00:58:29 | 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-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf</value></node><item-id label="Item ID" type="text-single"><value>item-1e9fec6a-3b6c-45fc-9d82-5bffe3bed87e</value></item-id><item label="Item" type="text-multi"><value><item id="item-1e9fec6a-3b6c-45fc-9d82-5bffe3bed87e"><test>item-1e9fec6a-3b6c-45fc-9d82-5bffe3bed87e</test></item></value></item></result>

2023-10-26 00:58:29 | [Mutex] notify: [retrieved:item:item-1e9fec6a-3b6c-45fc-9d82-5bffe3bed87e:payload-matches:true:localhost]

2023-10-26 00:58:29 | [Mutex] received everything.

2023-10-26 00:58:29 | [Mutex] isItemNotified: retrieved:item:item-1e9fec6a-3b6c-45fc-9d82-5bffe3bed87e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2023-10-26 00:58:29 |

2023-10-26 00:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-26 00:58:29 | ------------------------------------

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

2023-10-26 00:58:29 | 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-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf</value><value>node-c732bbb6-e133-42ad-bf30-e5069f338f30</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2023-10-26 00:58:29 |

2023-10-26 00:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-26 00:58:29 | ------------------------------------

2023-10-26 00:58:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf)</node-pattern></data>

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

subscribeNodes 1.103s
2023-10-26 00:58:27 |

2023-10-26 00:58:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-26 00:58:27 | ------------------------------------

2023-10-26 00:58:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf</node><jids><value>admin@test-domain.com</value></jids></data>

2023-10-26 00:58:27 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.223s
2023-10-26 00:58:29 |

2023-10-26 00:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-26 00:58:29 | ------------------------------------

2023-10-26 00:58:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6b66c08e-c64a-49df-9fb7-f5ce71bba2bf</node><jids><value>admin@test-domain.com</value></jids></data>

2023-10-26 00:58:29 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>