Generated by TestNG with ReportNG at 22:15 PDT on Friday 17 March 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.371s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.084s
2023-03-17 22:29:30 |

2023-03-17 22:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:30 | ------------------------------------

2023-03-17 22:29:30 | [Mutex] waiting for: [configured:node:node-3f390a36-2e19-42a9-b632-890d66991423:node-484f6fdb-84ae-4470-a33c-3360a6f387f8]

2023-03-17 22:29:30 | [Mutex] received everything.

2023-03-17 22:29:30 | [Mutex] isItemNotified: configured:node:node-3f390a36-2e19-42a9-b632-890d66991423:node-484f6fdb-84ae-4470-a33c-3360a6f387f8 :: true

2023-03-17 22:29:31 | [Mutex] waiting for: [received:nodes:49f8f156-a4a3-4731-84d5-d419d7ebb8bf:localhost]

2023-03-17 22:29:31 | [Mutex] received everything.

2023-03-17 22:29:31 | [Mutex] isItemNotified: received:node:49f8f156-a4a3-4731-84d5-d419d7ebb8bf:localhost:node-3f390a36-2e19-42a9-b632-890d66991423:Node 3f390a36-2e19-42a9-b632-890d66991423 :: true

2023-03-17 22:29:31 | [Mutex] waiting for: [received:nodes:2b9ad391-2fd2-4eb3-82eb-4eb489919abd:localhost]

2023-03-17 22:29:31 | [Mutex] waiting for: [received:nodes:2b9ad391-2fd2-4eb3-82eb-4eb489919abd:localhost]

2023-03-17 22:29:31 | [Mutex] waiting for: [received:nodes:2b9ad391-2fd2-4eb3-82eb-4eb489919abd:localhost]

2023-03-17 22:29:31 | [Mutex] waiting for: [received:nodes:2b9ad391-2fd2-4eb3-82eb-4eb489919abd:localhost]

2023-03-17 22:29:31 | [Mutex] received everything.

2023-03-17 22:29:31 | [Mutex] isItemNotified: received:node:2b9ad391-2fd2-4eb3-82eb-4eb489919abd:localhost:node-3f390a36-2e19-42a9-b632-890d66991423:Node 3f390a36-2e19-42a9-b632-890d66991423 :: false

createNodes 1.397s
2023-03-17 22:29:28 |

2023-03-17 22:29:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:28 | ------------------------------------

2023-03-17 22:29:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3f390a36-2e19-42a9-b632-890d66991423</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3f390a36-2e19-42a9-b632-890d66991423</title></pubsub></data>

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

2023-03-17 22:29:29 | [Mutex] waiting for: [received:nodes:0abebbce-fb48-4050-a18c-eb75efa92966:localhost]

2023-03-17 22:29:29 | [Mutex] waiting for: [received:nodes:0abebbce-fb48-4050-a18c-eb75efa92966:localhost]

2023-03-17 22:29:29 | [Mutex] waiting for: [received:nodes:0abebbce-fb48-4050-a18c-eb75efa92966:localhost]

2023-03-17 22:29:29 | [Mutex] waiting for: [received:nodes:0abebbce-fb48-4050-a18c-eb75efa92966:localhost]

2023-03-17 22:29:29 | [Mutex] received everything.

2023-03-17 22:29:29 | [Mutex] isItemNotified: received:node:0abebbce-fb48-4050-a18c-eb75efa92966:localhost:node-3f390a36-2e19-42a9-b632-890d66991423:Node 3f390a36-2e19-42a9-b632-890d66991423 :: true

createSubnodes 1.026s
2023-03-17 22:29:29 |

2023-03-17 22:29:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:29 | ------------------------------------

2023-03-17 22:29:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-484f6fdb-84ae-4470-a33c-3360a6f387f8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 484f6fdb-84ae-4470-a33c-3360a6f387f8</title></pubsub></data>

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

2023-03-17 22:29:30 | [Mutex] waiting for: [received:nodes:7e400dce-b924-4679-8f22-b260079d0721:localhost]

2023-03-17 22:29:30 | [Mutex] waiting for: [received:nodes:7e400dce-b924-4679-8f22-b260079d0721:localhost]

2023-03-17 22:29:30 | [Mutex] waiting for: [received:nodes:7e400dce-b924-4679-8f22-b260079d0721:localhost]

2023-03-17 22:29:30 | [Mutex] waiting for: [received:nodes:7e400dce-b924-4679-8f22-b260079d0721:localhost]

2023-03-17 22:29:30 | [Mutex] waiting for: [received:nodes:7e400dce-b924-4679-8f22-b260079d0721:localhost]

2023-03-17 22:29:30 | [Mutex] received everything.

2023-03-17 22:29:30 | [Mutex] isItemNotified: received:node:7e400dce-b924-4679-8f22-b260079d0721:localhost:node-484f6fdb-84ae-4470-a33c-3360a6f387f8:Node 484f6fdb-84ae-4470-a33c-3360a6f387f8 :: true

deleteNodes 1.019s
2023-03-17 22:29:36 |

2023-03-17 22:29:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:36 | ------------------------------------

2023-03-17 22:29:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-484f6fdb-84ae-4470-a33c-3360a6f387f8</node></data>

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

2023-03-17 22:29:37 | [Mutex] waiting for: [received:nodes:946094bf-6ab2-4993-a59c-86a0095531a3:localhost]

2023-03-17 22:29:37 | [Mutex] waiting for: [received:nodes:946094bf-6ab2-4993-a59c-86a0095531a3:localhost]

2023-03-17 22:29:37 | [Mutex] waiting for: [received:nodes:946094bf-6ab2-4993-a59c-86a0095531a3:localhost]

2023-03-17 22:29:37 | [Mutex] received everything.

2023-03-17 22:29:37 | [Mutex] isItemNotified: received:node:946094bf-6ab2-4993-a59c-86a0095531a3:localhost:node-484f6fdb-84ae-4470-a33c-3360a6f387f8:Node 484f6fdb-84ae-4470-a33c-3360a6f387f8 :: false

deleteSubnodes 1.117s
2023-03-17 22:29:34 |

2023-03-17 22:29:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:34 | ------------------------------------

2023-03-17 22:29:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3f390a36-2e19-42a9-b632-890d66991423</node></data>

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

2023-03-17 22:29:36 | [Mutex] waiting for: [received:nodes:bb427b4b-0765-43f1-b6d6-75d197cfe938:localhost]

2023-03-17 22:29:36 | [Mutex] waiting for: [received:nodes:bb427b4b-0765-43f1-b6d6-75d197cfe938:localhost]

2023-03-17 22:29:36 | [Mutex] waiting for: [received:nodes:bb427b4b-0765-43f1-b6d6-75d197cfe938:localhost]

2023-03-17 22:29:36 | [Mutex] waiting for: [received:nodes:bb427b4b-0765-43f1-b6d6-75d197cfe938:localhost]

2023-03-17 22:29:36 | [Mutex] received everything.

2023-03-17 22:29:36 | [Mutex] isItemNotified: received:node:bb427b4b-0765-43f1-b6d6-75d197cfe938:localhost:node-3f390a36-2e19-42a9-b632-890d66991423:Node 3f390a36-2e19-42a9-b632-890d66991423 :: false

2023-03-17 22:29:36 | [Mutex] waiting for: [received:nodes:25dfb332-5bd4-4d38-9194-fa737de30e18:localhost]

2023-03-17 22:29:36 | [Mutex] received everything.

2023-03-17 22:29:36 | [Mutex] isItemNotified: received:node:25dfb332-5bd4-4d38-9194-fa737de30e18:localhost:node-3f390a36-2e19-42a9-b632-890d66991423:Node 3f390a36-2e19-42a9-b632-890d66991423 :: false

publishItemsToNodes 0.189s
2023-03-17 22:29:32 |

2023-03-17 22:29:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:32 | ------------------------------------

2023-03-17 22:29:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3f390a36-2e19-42a9-b632-890d66991423</node><item-id>item-3681b0bc-99ab-4d32-b8e1-6cff37ab6c90</item-id><entry><test>item-3681b0bc-99ab-4d32-b8e1-6cff37ab6c90</test></entry></data>

2023-03-17 22:29:33 | 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-3681b0bc-99ab-4d32-b8e1-6cff37ab6c90</value></item-id></result>

2023-03-17 22:29:33 | [Mutex] received everything.

2023-03-17 22:29:33 | [Mutex] isItemNotified: published:item:notifieditem-3681b0bc-99ab-4d32-b8e1-6cff37ab6c90:admin@test-domain.com :: true

retractItemsFromNodes 0.356s
2023-03-17 22:29:33 |

2023-03-17 22:29:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:33 | ------------------------------------

2023-03-17 22:29:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3f390a36-2e19-42a9-b632-890d66991423</node><item-id>item-3681b0bc-99ab-4d32-b8e1-6cff37ab6c90</item-id></data>

2023-03-17 22:29:33 | 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-3681b0bc-99ab-4d32-b8e1-6cff37ab6c90</value></item-id></result>

2023-03-17 22:29:33 | [Mutex] received everything.

2023-03-17 22:29:33 | [Mutex] isItemNotified: retracted:item:notifieditem-3681b0bc-99ab-4d32-b8e1-6cff37ab6c90:admin@test-domain.com :: true

retrieveItemsFromNodes 0.249s
2023-03-17 22:29:33 |

2023-03-17 22:29:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:33 | ------------------------------------

2023-03-17 22:29:33 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3f390a36-2e19-42a9-b632-890d66991423</node><item-id>item-3681b0bc-99ab-4d32-b8e1-6cff37ab6c90</item-id></data>

2023-03-17 22:29:33 | 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-3f390a36-2e19-42a9-b632-890d66991423</value></node><item-id label="Item ID" type="text-single"><value>item-3681b0bc-99ab-4d32-b8e1-6cff37ab6c90</value></item-id><item label="Item" type="text-multi"><value><item id="item-3681b0bc-99ab-4d32-b8e1-6cff37ab6c90"><test>item-3681b0bc-99ab-4d32-b8e1-6cff37ab6c90</test></item></value></item></result>

2023-03-17 22:29:33 | [Mutex] notify: [retrieved:item:item-3681b0bc-99ab-4d32-b8e1-6cff37ab6c90:payload-matches:true:localhost]

2023-03-17 22:29:33 | [Mutex] received everything.

2023-03-17 22:29:33 | [Mutex] isItemNotified: retrieved:item:item-3681b0bc-99ab-4d32-b8e1-6cff37ab6c90:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-17 22:29:33 |

2023-03-17 22:29:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:33 | ------------------------------------

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

2023-03-17 22:29:33 | 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-3f390a36-2e19-42a9-b632-890d66991423</value><value>node-484f6fdb-84ae-4470-a33c-3360a6f387f8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2023-03-17 22:29:33 |

2023-03-17 22:29:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:33 | ------------------------------------

2023-03-17 22:29:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3f390a36-2e19-42a9-b632-890d66991423)</node-pattern></data>

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

subscribeNodes 1.116s
2023-03-17 22:29:31 |

2023-03-17 22:29:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:31 | ------------------------------------

2023-03-17 22:29:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3f390a36-2e19-42a9-b632-890d66991423</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.140s
2023-03-17 22:29:33 |

2023-03-17 22:29:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:33 | ------------------------------------

2023-03-17 22:29:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3f390a36-2e19-42a9-b632-890d66991423</node><jids><value>admin@test-domain.com</value></jids></data>

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