Generated by TestNG with ReportNG at 21:44 PST on Sunday 05 March 2023
root@ed1b7dd8a1b3 / 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.637s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2023-03-05 21:59:05 |

2023-03-05 21:59:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:59:05 | ------------------------------------

2023-03-05 21:59:05 | [Mutex] waiting for: [configured:node:node-8df03fba-e83a-4b6c-80e1-b6928b7ea846:node-c1e53b33-4e9b-421a-b6d6-d23de48d8fa5]

2023-03-05 21:59:05 | [Mutex] received everything.

2023-03-05 21:59:05 | [Mutex] isItemNotified: configured:node:node-8df03fba-e83a-4b6c-80e1-b6928b7ea846:node-c1e53b33-4e9b-421a-b6d6-d23de48d8fa5 :: true

2023-03-05 21:59:06 | [Mutex] waiting for: [received:nodes:d98a4886-adca-4bc0-9bf3-ca6c0317016f:localhost]

2023-03-05 21:59:06 | [Mutex] received everything.

2023-03-05 21:59:06 | [Mutex] isItemNotified: received:node:d98a4886-adca-4bc0-9bf3-ca6c0317016f:localhost:node-8df03fba-e83a-4b6c-80e1-b6928b7ea846:Node 8df03fba-e83a-4b6c-80e1-b6928b7ea846 :: true

2023-03-05 21:59:06 | [Mutex] waiting for: [received:nodes:497c4324-5af8-4210-8840-bd1f5afcb6ac:localhost]

2023-03-05 21:59:06 | [Mutex] waiting for: [received:nodes:497c4324-5af8-4210-8840-bd1f5afcb6ac:localhost]

2023-03-05 21:59:06 | [Mutex] waiting for: [received:nodes:497c4324-5af8-4210-8840-bd1f5afcb6ac:localhost]

2023-03-05 21:59:06 | [Mutex] received everything.

2023-03-05 21:59:06 | [Mutex] isItemNotified: received:node:497c4324-5af8-4210-8840-bd1f5afcb6ac:localhost:node-8df03fba-e83a-4b6c-80e1-b6928b7ea846:Node 8df03fba-e83a-4b6c-80e1-b6928b7ea846 :: false

createNodes 1.489s
2023-03-05 21:59:02 |

2023-03-05 21:59:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:59:02 | ------------------------------------

2023-03-05 21:59:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8df03fba-e83a-4b6c-80e1-b6928b7ea846</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8df03fba-e83a-4b6c-80e1-b6928b7ea846</title></pubsub></data>

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

2023-03-05 21:59:04 | [Mutex] waiting for: [received:nodes:69a0582a-8a74-4a55-a1a8-d1e2aac27922:localhost]

2023-03-05 21:59:04 | [Mutex] waiting for: [received:nodes:69a0582a-8a74-4a55-a1a8-d1e2aac27922:localhost]

2023-03-05 21:59:04 | [Mutex] waiting for: [received:nodes:69a0582a-8a74-4a55-a1a8-d1e2aac27922:localhost]

2023-03-05 21:59:04 | [Mutex] waiting for: [received:nodes:69a0582a-8a74-4a55-a1a8-d1e2aac27922:localhost]

2023-03-05 21:59:04 | [Mutex] received everything.

2023-03-05 21:59:04 | [Mutex] isItemNotified: received:node:69a0582a-8a74-4a55-a1a8-d1e2aac27922:localhost:node-8df03fba-e83a-4b6c-80e1-b6928b7ea846:Node 8df03fba-e83a-4b6c-80e1-b6928b7ea846 :: true

createSubnodes 1.023s
2023-03-05 21:59:04 |

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

2023-03-05 21:59:04 | ------------------------------------

2023-03-05 21:59:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c1e53b33-4e9b-421a-b6d6-d23de48d8fa5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c1e53b33-4e9b-421a-b6d6-d23de48d8fa5</title></pubsub></data>

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

2023-03-05 21:59:05 | [Mutex] waiting for: [received:nodes:637db726-70c8-416a-b815-f52d3ec404d5:localhost]

2023-03-05 21:59:05 | [Mutex] waiting for: [received:nodes:637db726-70c8-416a-b815-f52d3ec404d5:localhost]

2023-03-05 21:59:05 | [Mutex] waiting for: [received:nodes:637db726-70c8-416a-b815-f52d3ec404d5:localhost]

2023-03-05 21:59:05 | [Mutex] waiting for: [received:nodes:637db726-70c8-416a-b815-f52d3ec404d5:localhost]

2023-03-05 21:59:05 | [Mutex] received everything.

2023-03-05 21:59:05 | [Mutex] isItemNotified: received:node:637db726-70c8-416a-b815-f52d3ec404d5:localhost:node-c1e53b33-4e9b-421a-b6d6-d23de48d8fa5:Node c1e53b33-4e9b-421a-b6d6-d23de48d8fa5 :: true

deleteNodes 1.020s
2023-03-05 21:59:10 |

2023-03-05 21:59:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:59:10 | ------------------------------------

2023-03-05 21:59:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c1e53b33-4e9b-421a-b6d6-d23de48d8fa5</node></data>

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

2023-03-05 21:59:11 | [Mutex] waiting for: [received:nodes:bbe79711-f1e7-47f5-aaee-decee9ed2bbe:localhost]

2023-03-05 21:59:11 | [Mutex] waiting for: [received:nodes:bbe79711-f1e7-47f5-aaee-decee9ed2bbe:localhost]

2023-03-05 21:59:11 | [Mutex] waiting for: [received:nodes:bbe79711-f1e7-47f5-aaee-decee9ed2bbe:localhost]

2023-03-05 21:59:11 | [Mutex] received everything.

2023-03-05 21:59:11 | [Mutex] isItemNotified: received:node:bbe79711-f1e7-47f5-aaee-decee9ed2bbe:localhost:node-c1e53b33-4e9b-421a-b6d6-d23de48d8fa5:Node c1e53b33-4e9b-421a-b6d6-d23de48d8fa5 :: false

deleteSubnodes 1.164s
2023-03-05 21:59:09 |

2023-03-05 21:59:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:59:09 | ------------------------------------

2023-03-05 21:59:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8df03fba-e83a-4b6c-80e1-b6928b7ea846</node></data>

2023-03-05 21:59:09 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-05 21:59:10 | [Mutex] waiting for: [received:nodes:c3cc538e-e017-4323-8aab-871d5521afad:localhost]

2023-03-05 21:59:10 | [Mutex] waiting for: [received:nodes:c3cc538e-e017-4323-8aab-871d5521afad:localhost]

2023-03-05 21:59:10 | [Mutex] waiting for: [received:nodes:c3cc538e-e017-4323-8aab-871d5521afad:localhost]

2023-03-05 21:59:10 | [Mutex] waiting for: [received:nodes:c3cc538e-e017-4323-8aab-871d5521afad:localhost]

2023-03-05 21:59:10 | [Mutex] received everything.

2023-03-05 21:59:10 | [Mutex] isItemNotified: received:node:c3cc538e-e017-4323-8aab-871d5521afad:localhost:node-8df03fba-e83a-4b6c-80e1-b6928b7ea846:Node 8df03fba-e83a-4b6c-80e1-b6928b7ea846 :: false

2023-03-05 21:59:10 | [Mutex] waiting for: [received:nodes:671b0ff5-c690-4031-b9c7-8efd4885d8bd:localhost]

2023-03-05 21:59:10 | [Mutex] received everything.

2023-03-05 21:59:10 | [Mutex] isItemNotified: received:node:671b0ff5-c690-4031-b9c7-8efd4885d8bd:localhost:node-8df03fba-e83a-4b6c-80e1-b6928b7ea846:Node 8df03fba-e83a-4b6c-80e1-b6928b7ea846 :: false

publishItemsToNodes 0.199s
2023-03-05 21:59:07 |

2023-03-05 21:59:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:59:07 | ------------------------------------

2023-03-05 21:59:07 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8df03fba-e83a-4b6c-80e1-b6928b7ea846</node><item-id>item-9d538e46-5ea2-4a80-871e-2b3cb1b66583</item-id><entry><test>item-9d538e46-5ea2-4a80-871e-2b3cb1b66583</test></entry></data>

2023-03-05 21:59:07 | 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-9d538e46-5ea2-4a80-871e-2b3cb1b66583</value></item-id></result>

2023-03-05 21:59:07 | [Mutex] waiting for: [published:item:notifieditem-9d538e46-5ea2-4a80-871e-2b3cb1b66583:admin@test-domain.com]

2023-03-05 21:59:07 | [Mutex] received everything.

2023-03-05 21:59:07 | [Mutex] isItemNotified: published:item:notifieditem-9d538e46-5ea2-4a80-871e-2b3cb1b66583:admin@test-domain.com :: true

retractItemsFromNodes 0.304s
2023-03-05 21:59:07 |

2023-03-05 21:59:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:59:07 | ------------------------------------

2023-03-05 21:59:07 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8df03fba-e83a-4b6c-80e1-b6928b7ea846</node><item-id>item-9d538e46-5ea2-4a80-871e-2b3cb1b66583</item-id></data>

2023-03-05 21:59: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-9d538e46-5ea2-4a80-871e-2b3cb1b66583</value></item-id></result>

2023-03-05 21:59:08 | [Mutex] received everything.

2023-03-05 21:59:08 | [Mutex] isItemNotified: retracted:item:notifieditem-9d538e46-5ea2-4a80-871e-2b3cb1b66583:admin@test-domain.com :: true

retrieveItemsFromNodes 0.199s
2023-03-05 21:59:07 |

2023-03-05 21:59:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:59:07 | ------------------------------------

2023-03-05 21:59:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8df03fba-e83a-4b6c-80e1-b6928b7ea846</node><item-id>item-9d538e46-5ea2-4a80-871e-2b3cb1b66583</item-id></data>

2023-03-05 21:59:07 | 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-8df03fba-e83a-4b6c-80e1-b6928b7ea846</value></node><item-id label="Item ID" type="text-single"><value>item-9d538e46-5ea2-4a80-871e-2b3cb1b66583</value></item-id><item label="Item" type="text-multi"><value><item id="item-9d538e46-5ea2-4a80-871e-2b3cb1b66583"><test>item-9d538e46-5ea2-4a80-871e-2b3cb1b66583</test></item></value></item></result>

2023-03-05 21:59:07 | [Mutex] notify: [retrieved:item:item-9d538e46-5ea2-4a80-871e-2b3cb1b66583:payload-matches:true:localhost]

2023-03-05 21:59:07 | [Mutex] received everything.

2023-03-05 21:59:07 | [Mutex] isItemNotified: retrieved:item:item-9d538e46-5ea2-4a80-871e-2b3cb1b66583:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2023-03-05 21:59:07 |

2023-03-05 21:59:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:59:07 | ------------------------------------

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

2023-03-05 21:59:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-c1e53b33-4e9b-421a-b6d6-d23de48d8fa5</value><value>node-8df03fba-e83a-4b6c-80e1-b6928b7ea846</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.050s
2023-03-05 21:59:07 |

2023-03-05 21:59:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:59:07 | ------------------------------------

2023-03-05 21:59:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8df03fba-e83a-4b6c-80e1-b6928b7ea846)</node-pattern></data>

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

subscribeNodes 1.164s
2023-03-05 21:59:06 |

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

2023-03-05 21:59:06 | ------------------------------------

2023-03-05 21:59:06 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8df03fba-e83a-4b6c-80e1-b6928b7ea846</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.197s
2023-03-05 21:59:08 |

2023-03-05 21:59:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:59:08 | ------------------------------------

2023-03-05 21:59:08 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8df03fba-e83a-4b6c-80e1-b6928b7ea846</node><jids><value>admin@test-domain.com</value></jids></data>

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