Generated by TestNG with ReportNG at 22:32 PDT on Monday 03 April 2023
root@8f5c98824654 / 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.534s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2023-04-03 22:47:05 |

2023-04-03 22:47:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 22:47:05 | ------------------------------------

2023-04-03 22:47:05 | [Mutex] waiting for: [configured:node:node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe:node-c06d3ee4-ac95-4234-bd40-85f0b4705a87]

2023-04-03 22:47:05 | [Mutex] received everything.

2023-04-03 22:47:05 | [Mutex] isItemNotified: configured:node:node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe:node-c06d3ee4-ac95-4234-bd40-85f0b4705a87 :: true

2023-04-03 22:47:06 | [Mutex] waiting for: [received:nodes:dba08edf-608f-4c58-92aa-7cdd6e599fb9:localhost]

2023-04-03 22:47:06 | [Mutex] received everything.

2023-04-03 22:47:06 | [Mutex] isItemNotified: received:node:dba08edf-608f-4c58-92aa-7cdd6e599fb9:localhost:node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe:Node b2bc9eaf-0802-4928-b415-0e70a6ab0ebe :: true

2023-04-03 22:47:06 | [Mutex] waiting for: [received:nodes:87d39b10-268c-4150-a267-d24eb976bed4:localhost]

2023-04-03 22:47:06 | [Mutex] waiting for: [received:nodes:87d39b10-268c-4150-a267-d24eb976bed4:localhost]

2023-04-03 22:47:06 | [Mutex] waiting for: [received:nodes:87d39b10-268c-4150-a267-d24eb976bed4:localhost]

2023-04-03 22:47:06 | [Mutex] received everything.

2023-04-03 22:47:06 | [Mutex] isItemNotified: received:node:87d39b10-268c-4150-a267-d24eb976bed4:localhost:node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe:Node b2bc9eaf-0802-4928-b415-0e70a6ab0ebe :: false

createNodes 1.454s
2023-04-03 22:47:03 |

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

2023-04-03 22:47:03 | ------------------------------------

2023-04-03 22:47:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b2bc9eaf-0802-4928-b415-0e70a6ab0ebe</title></pubsub></data>

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

2023-04-03 22:47:04 | [Mutex] waiting for: [received:nodes:fc6c817e-b69c-4fc7-bbc9-56b56ba526d0:localhost]

2023-04-03 22:47:04 | [Mutex] waiting for: [received:nodes:fc6c817e-b69c-4fc7-bbc9-56b56ba526d0:localhost]

2023-04-03 22:47:04 | [Mutex] waiting for: [received:nodes:fc6c817e-b69c-4fc7-bbc9-56b56ba526d0:localhost]

2023-04-03 22:47:04 | [Mutex] received everything.

2023-04-03 22:47:04 | [Mutex] isItemNotified: received:node:fc6c817e-b69c-4fc7-bbc9-56b56ba526d0:localhost:node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe:Node b2bc9eaf-0802-4928-b415-0e70a6ab0ebe :: true

createSubnodes 1.032s
2023-04-03 22:47:04 |

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

2023-04-03 22:47:04 | ------------------------------------

2023-04-03 22:47:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c06d3ee4-ac95-4234-bd40-85f0b4705a87</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c06d3ee4-ac95-4234-bd40-85f0b4705a87</title></pubsub></data>

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

2023-04-03 22:47:05 | [Mutex] waiting for: [received:nodes:a544463d-7d3e-4e50-afc4-1ba1822d66e3:localhost]

2023-04-03 22:47:05 | [Mutex] received everything.

2023-04-03 22:47:05 | [Mutex] isItemNotified: received:node:a544463d-7d3e-4e50-afc4-1ba1822d66e3:localhost:node-c06d3ee4-ac95-4234-bd40-85f0b4705a87:Node c06d3ee4-ac95-4234-bd40-85f0b4705a87 :: true

deleteNodes 1.031s
2023-04-03 22:47:11 |

2023-04-03 22:47:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 22:47:11 | ------------------------------------

2023-04-03 22:47:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c06d3ee4-ac95-4234-bd40-85f0b4705a87</node></data>

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

2023-04-03 22:47:12 | [Mutex] waiting for: [received:nodes:5f7f4d36-5ae0-493d-b952-9c5157ccf622:localhost]

2023-04-03 22:47:12 | [Mutex] waiting for: [received:nodes:5f7f4d36-5ae0-493d-b952-9c5157ccf622:localhost]

2023-04-03 22:47:12 | [Mutex] received everything.

2023-04-03 22:47:12 | [Mutex] isItemNotified: received:node:5f7f4d36-5ae0-493d-b952-9c5157ccf622:localhost:node-c06d3ee4-ac95-4234-bd40-85f0b4705a87:Node c06d3ee4-ac95-4234-bd40-85f0b4705a87 :: false

deleteSubnodes 1.112s
2023-04-03 22:47:10 |

2023-04-03 22:47:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 22:47:10 | ------------------------------------

2023-04-03 22:47:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe</node></data>

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

2023-04-03 22:47:11 | [Mutex] waiting for: [received:nodes:a9b2588b-0adb-4bac-8d13-74f8f54ab8fc:localhost]

2023-04-03 22:47:11 | [Mutex] waiting for: [received:nodes:a9b2588b-0adb-4bac-8d13-74f8f54ab8fc:localhost]

2023-04-03 22:47:11 | [Mutex] waiting for: [received:nodes:a9b2588b-0adb-4bac-8d13-74f8f54ab8fc:localhost]

2023-04-03 22:47:11 | [Mutex] waiting for: [received:nodes:a9b2588b-0adb-4bac-8d13-74f8f54ab8fc:localhost]

2023-04-03 22:47:11 | [Mutex] received everything.

2023-04-03 22:47:11 | [Mutex] isItemNotified: received:node:a9b2588b-0adb-4bac-8d13-74f8f54ab8fc:localhost:node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe:Node b2bc9eaf-0802-4928-b415-0e70a6ab0ebe :: false

2023-04-03 22:47:11 | [Mutex] waiting for: [received:nodes:9a8b2cac-80c1-4ee3-b3a7-14ba653da7e6:localhost]

2023-04-03 22:47:11 | [Mutex] received everything.

2023-04-03 22:47:11 | [Mutex] isItemNotified: received:node:9a8b2cac-80c1-4ee3-b3a7-14ba653da7e6:localhost:node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe:Node b2bc9eaf-0802-4928-b415-0e70a6ab0ebe :: false

publishItemsToNodes 0.220s
2023-04-03 22:47:08 |

2023-04-03 22:47:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 22:47:08 | ------------------------------------

2023-04-03 22:47:08 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe</node><item-id>item-e6c43582-14de-4fff-8276-b3e6f22504d8</item-id><entry><test>item-e6c43582-14de-4fff-8276-b3e6f22504d8</test></entry></data>

2023-04-03 22:47:08 | 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-e6c43582-14de-4fff-8276-b3e6f22504d8</value></item-id></result>

2023-04-03 22:47:08 | [Mutex] received everything.

2023-04-03 22:47:08 | [Mutex] isItemNotified: published:item:notifieditem-e6c43582-14de-4fff-8276-b3e6f22504d8:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2023-04-03 22:47:08 |

2023-04-03 22:47:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 22:47:08 | ------------------------------------

2023-04-03 22:47:08 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe</node><item-id>item-e6c43582-14de-4fff-8276-b3e6f22504d8</item-id></data>

2023-04-03 22:47:08 | 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-e6c43582-14de-4fff-8276-b3e6f22504d8</value></item-id></result>

2023-04-03 22:47:08 | [Mutex] waiting for: [retracted:item:notifieditem-e6c43582-14de-4fff-8276-b3e6f22504d8:admin@test-domain.com]

2023-04-03 22:47:08 | [Mutex] received everything.

2023-04-03 22:47:08 | [Mutex] isItemNotified: retracted:item:notifieditem-e6c43582-14de-4fff-8276-b3e6f22504d8:admin@test-domain.com :: true

retrieveItemsFromNodes 0.232s
2023-04-03 22:47:08 |

2023-04-03 22:47:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 22:47:08 | ------------------------------------

2023-04-03 22:47:08 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe</node><item-id>item-e6c43582-14de-4fff-8276-b3e6f22504d8</item-id></data>

2023-04-03 22:47:08 | 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-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe</value></node><item-id label="Item ID" type="text-single"><value>item-e6c43582-14de-4fff-8276-b3e6f22504d8</value></item-id><item label="Item" type="text-multi"><value><item id="item-e6c43582-14de-4fff-8276-b3e6f22504d8"><test>item-e6c43582-14de-4fff-8276-b3e6f22504d8</test></item></value></item></result>

2023-04-03 22:47:08 | [Mutex] notify: [retrieved:item:item-e6c43582-14de-4fff-8276-b3e6f22504d8:payload-matches:true:localhost]

2023-04-03 22:47:08 | [Mutex] received everything.

2023-04-03 22:47:08 | [Mutex] isItemNotified: retrieved:item:item-e6c43582-14de-4fff-8276-b3e6f22504d8:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-04-03 22:47:08 |

2023-04-03 22:47:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 22:47:08 | ------------------------------------

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

2023-04-03 22:47:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-c06d3ee4-ac95-4234-bd40-85f0b4705a87</value><value>test</value><value>node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-04-03 22:47:08 |

2023-04-03 22:47:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 22:47:08 | ------------------------------------

2023-04-03 22:47:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe)</node-pattern></data>

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

subscribeNodes 1.112s
2023-04-03 22:47:06 |

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

2023-04-03 22:47:06 | ------------------------------------

2023-04-03 22:47:06 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.312s
2023-04-03 22:47:08 |

2023-04-03 22:47:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 22:47:08 | ------------------------------------

2023-04-03 22:47:08 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b2bc9eaf-0802-4928-b415-0e70a6ab0ebe</node><jids><value>admin@test-domain.com</value></jids></data>

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