Generated by TestNG with ReportNG at 23:14 PDT on Wednesday 25 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.386s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.109s
2023-10-25 23:29:14 |

2023-10-25 23:29:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:29:14 | ------------------------------------

2023-10-25 23:29:14 | [Mutex] waiting for: [configured:node:node-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb:node-6f749757-f628-4735-b5d0-e629b092dd2f]

2023-10-25 23:29:14 | [Mutex] received everything.

2023-10-25 23:29:14 | [Mutex] isItemNotified: configured:node:node-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb:node-6f749757-f628-4735-b5d0-e629b092dd2f :: true

2023-10-25 23:29:15 | [Mutex] waiting for: [received:nodes:fe65856c-ff50-426a-8b85-9c870f038685:localhost]

2023-10-25 23:29:15 | [Mutex] received everything.

2023-10-25 23:29:15 | [Mutex] isItemNotified: received:node:fe65856c-ff50-426a-8b85-9c870f038685:localhost:node-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb:Node dc5dc3a3-ffde-461c-9fd0-163d9eb364fb :: true

2023-10-25 23:29:15 | [Mutex] waiting for: [received:nodes:87afa1e1-3788-4d96-be15-a2d9b13e7753:localhost]

2023-10-25 23:29:15 | [Mutex] waiting for: [received:nodes:87afa1e1-3788-4d96-be15-a2d9b13e7753:localhost]

2023-10-25 23:29:15 | [Mutex] waiting for: [received:nodes:87afa1e1-3788-4d96-be15-a2d9b13e7753:localhost]

2023-10-25 23:29:15 | [Mutex] waiting for: [received:nodes:87afa1e1-3788-4d96-be15-a2d9b13e7753:localhost]

2023-10-25 23:29:15 | [Mutex] received everything.

2023-10-25 23:29:15 | [Mutex] isItemNotified: received:node:87afa1e1-3788-4d96-be15-a2d9b13e7753:localhost:node-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb:Node dc5dc3a3-ffde-461c-9fd0-163d9eb364fb :: false

createNodes 1.408s
2023-10-25 23:29:12 |

2023-10-25 23:29:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:29:12 | ------------------------------------

2023-10-25 23:29:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dc5dc3a3-ffde-461c-9fd0-163d9eb364fb</title></pubsub></data>

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

2023-10-25 23:29:13 | [Mutex] waiting for: [received:nodes:c49896e7-e92e-4345-92c5-216d87a3cfb4:localhost]

2023-10-25 23:29:13 | [Mutex] waiting for: [received:nodes:c49896e7-e92e-4345-92c5-216d87a3cfb4:localhost]

2023-10-25 23:29:13 | [Mutex] waiting for: [received:nodes:c49896e7-e92e-4345-92c5-216d87a3cfb4:localhost]

2023-10-25 23:29:13 | [Mutex] waiting for: [received:nodes:c49896e7-e92e-4345-92c5-216d87a3cfb4:localhost]

2023-10-25 23:29:13 | [Mutex] received everything.

2023-10-25 23:29:13 | [Mutex] isItemNotified: received:node:c49896e7-e92e-4345-92c5-216d87a3cfb4:localhost:node-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb:Node dc5dc3a3-ffde-461c-9fd0-163d9eb364fb :: true

createSubnodes 1.022s
2023-10-25 23:29:13 |

2023-10-25 23:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:29:13 | ------------------------------------

2023-10-25 23:29:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6f749757-f628-4735-b5d0-e629b092dd2f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6f749757-f628-4735-b5d0-e629b092dd2f</title></pubsub></data>

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

2023-10-25 23:29:14 | [Mutex] waiting for: [received:nodes:86a14f37-ae74-48e0-af46-f1c008e6a7e4:localhost]

2023-10-25 23:29:14 | [Mutex] waiting for: [received:nodes:86a14f37-ae74-48e0-af46-f1c008e6a7e4:localhost]

2023-10-25 23:29:14 | [Mutex] waiting for: [received:nodes:86a14f37-ae74-48e0-af46-f1c008e6a7e4:localhost]

2023-10-25 23:29:14 | [Mutex] waiting for: [received:nodes:86a14f37-ae74-48e0-af46-f1c008e6a7e4:localhost]

2023-10-25 23:29:14 | [Mutex] waiting for: [received:nodes:86a14f37-ae74-48e0-af46-f1c008e6a7e4:localhost]

2023-10-25 23:29:14 | [Mutex] received everything.

2023-10-25 23:29:14 | [Mutex] isItemNotified: received:node:86a14f37-ae74-48e0-af46-f1c008e6a7e4:localhost:node-6f749757-f628-4735-b5d0-e629b092dd2f:Node 6f749757-f628-4735-b5d0-e629b092dd2f :: true

deleteNodes 1.016s
2023-10-25 23:29:20 |

2023-10-25 23:29:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:29:20 | ------------------------------------

2023-10-25 23:29:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6f749757-f628-4735-b5d0-e629b092dd2f</node></data>

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

2023-10-25 23:29:21 | [Mutex] waiting for: [received:nodes:9c2acc8f-cbc4-46f0-a29b-7a331426fd5f:localhost]

2023-10-25 23:29:21 | [Mutex] waiting for: [received:nodes:9c2acc8f-cbc4-46f0-a29b-7a331426fd5f:localhost]

2023-10-25 23:29:21 | [Mutex] waiting for: [received:nodes:9c2acc8f-cbc4-46f0-a29b-7a331426fd5f:localhost]

2023-10-25 23:29:21 | [Mutex] received everything.

2023-10-25 23:29:21 | [Mutex] isItemNotified: received:node:9c2acc8f-cbc4-46f0-a29b-7a331426fd5f:localhost:node-6f749757-f628-4735-b5d0-e629b092dd2f:Node 6f749757-f628-4735-b5d0-e629b092dd2f :: false

deleteSubnodes 1.149s
2023-10-25 23:29:19 |

2023-10-25 23:29:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:29:19 | ------------------------------------

2023-10-25 23:29:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb</node></data>

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

2023-10-25 23:29:20 | [Mutex] waiting for: [received:nodes:7eb0fca6-693f-4c07-80a2-18048f0f8f74:localhost]

2023-10-25 23:29:20 | [Mutex] waiting for: [received:nodes:7eb0fca6-693f-4c07-80a2-18048f0f8f74:localhost]

2023-10-25 23:29:20 | [Mutex] waiting for: [received:nodes:7eb0fca6-693f-4c07-80a2-18048f0f8f74:localhost]

2023-10-25 23:29:20 | [Mutex] waiting for: [received:nodes:7eb0fca6-693f-4c07-80a2-18048f0f8f74:localhost]

2023-10-25 23:29:20 | [Mutex] received everything.

2023-10-25 23:29:20 | [Mutex] isItemNotified: received:node:7eb0fca6-693f-4c07-80a2-18048f0f8f74:localhost:node-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb:Node dc5dc3a3-ffde-461c-9fd0-163d9eb364fb :: false

2023-10-25 23:29:20 | [Mutex] waiting for: [received:nodes:1433305d-7dc7-449d-a426-569fe70c0390:localhost]

2023-10-25 23:29:20 | [Mutex] received everything.

2023-10-25 23:29:20 | [Mutex] isItemNotified: received:node:1433305d-7dc7-449d-a426-569fe70c0390:localhost:node-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb:Node dc5dc3a3-ffde-461c-9fd0-163d9eb364fb :: false

publishItemsToNodes 0.185s
2023-10-25 23:29:17 |

2023-10-25 23:29:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:29:17 | ------------------------------------

2023-10-25 23:29:17 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb</node><item-id>item-408357ef-4cc3-40e5-8bf9-61afb6388366</item-id><entry><test>item-408357ef-4cc3-40e5-8bf9-61afb6388366</test></entry></data>

2023-10-25 23:29:17 | 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-408357ef-4cc3-40e5-8bf9-61afb6388366</value></item-id></result>

2023-10-25 23:29:17 | [Mutex] waiting for: [published:item:notifieditem-408357ef-4cc3-40e5-8bf9-61afb6388366:admin@test-domain.com]

2023-10-25 23:29:17 | [Mutex] received everything.

2023-10-25 23:29:17 | [Mutex] isItemNotified: published:item:notifieditem-408357ef-4cc3-40e5-8bf9-61afb6388366:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2023-10-25 23:29:17 |

2023-10-25 23:29:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:29:17 | ------------------------------------

2023-10-25 23:29:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb</node><item-id>item-408357ef-4cc3-40e5-8bf9-61afb6388366</item-id></data>

2023-10-25 23:29:17 | 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-408357ef-4cc3-40e5-8bf9-61afb6388366</value></item-id></result>

2023-10-25 23:29:17 | [Mutex] received everything.

2023-10-25 23:29:17 | [Mutex] isItemNotified: retracted:item:notifieditem-408357ef-4cc3-40e5-8bf9-61afb6388366:admin@test-domain.com :: true

retrieveItemsFromNodes 0.241s
2023-10-25 23:29:17 |

2023-10-25 23:29:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:29:17 | ------------------------------------

2023-10-25 23:29:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb</node><item-id>item-408357ef-4cc3-40e5-8bf9-61afb6388366</item-id></data>

2023-10-25 23:29:17 | 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-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb</value></node><item-id label="Item ID" type="text-single"><value>item-408357ef-4cc3-40e5-8bf9-61afb6388366</value></item-id><item label="Item" type="text-multi"><value><item id="item-408357ef-4cc3-40e5-8bf9-61afb6388366"><test>item-408357ef-4cc3-40e5-8bf9-61afb6388366</test></item></value></item></result>

2023-10-25 23:29:17 | [Mutex] notify: [retrieved:item:item-408357ef-4cc3-40e5-8bf9-61afb6388366:payload-matches:true:localhost]

2023-10-25 23:29:17 | [Mutex] received everything.

2023-10-25 23:29:17 | [Mutex] isItemNotified: retrieved:item:item-408357ef-4cc3-40e5-8bf9-61afb6388366:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-10-25 23:29:17 |

2023-10-25 23:29:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:29:17 | ------------------------------------

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

2023-10-25 23:29:17 | 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-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb</value><value>node-6f749757-f628-4735-b5d0-e629b092dd2f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-10-25 23:29:17 |

2023-10-25 23:29:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:29:17 | ------------------------------------

2023-10-25 23:29:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb)</node-pattern></data>

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

subscribeNodes 1.128s
2023-10-25 23:29:15 |

2023-10-25 23:29:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:29:15 | ------------------------------------

2023-10-25 23:29:15 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.203s
2023-10-25 23:29:17 |

2023-10-25 23:29:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:29:17 | ------------------------------------

2023-10-25 23:29:17 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-dc5dc3a3-ffde-461c-9fd0-163d9eb364fb</node><jids><value>admin@test-domain.com</value></jids></data>

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