Generated by TestNG with ReportNG at 22:46 PDT on Thursday 06 July 2023
root@cc7d7fbb25f7 / 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.565s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2023-07-06 23:00:38 |

2023-07-06 23:00:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 23:00:38 | ------------------------------------

2023-07-06 23:00:38 | [Mutex] waiting for: [configured:node:node-f3554d14-9609-42a3-8943-557e36e67934:node-ed11ee73-75c5-4447-8ed6-b1abbed7191e]

2023-07-06 23:00:38 | [Mutex] received everything.

2023-07-06 23:00:38 | [Mutex] isItemNotified: configured:node:node-f3554d14-9609-42a3-8943-557e36e67934:node-ed11ee73-75c5-4447-8ed6-b1abbed7191e :: true

2023-07-06 23:00:39 | [Mutex] waiting for: [received:nodes:e78e145d-3daf-4b33-bf03-71fa4dcb1b3f:localhost]

2023-07-06 23:00:39 | [Mutex] received everything.

2023-07-06 23:00:39 | [Mutex] isItemNotified: received:node:e78e145d-3daf-4b33-bf03-71fa4dcb1b3f:localhost:node-f3554d14-9609-42a3-8943-557e36e67934:Node f3554d14-9609-42a3-8943-557e36e67934 :: true

2023-07-06 23:00:39 | [Mutex] waiting for: [received:nodes:cebd0510-1d95-4fc0-9898-b011d0e9acef:localhost]

2023-07-06 23:00:39 | [Mutex] waiting for: [received:nodes:cebd0510-1d95-4fc0-9898-b011d0e9acef:localhost]

2023-07-06 23:00:39 | [Mutex] waiting for: [received:nodes:cebd0510-1d95-4fc0-9898-b011d0e9acef:localhost]

2023-07-06 23:00:39 | [Mutex] waiting for: [received:nodes:cebd0510-1d95-4fc0-9898-b011d0e9acef:localhost]

2023-07-06 23:00:39 | [Mutex] received everything.

2023-07-06 23:00:39 | [Mutex] isItemNotified: received:node:cebd0510-1d95-4fc0-9898-b011d0e9acef:localhost:node-f3554d14-9609-42a3-8943-557e36e67934:Node f3554d14-9609-42a3-8943-557e36e67934 :: false

createNodes 1.422s
2023-07-06 23:00:36 |

2023-07-06 23:00:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 23:00:36 | ------------------------------------

2023-07-06 23:00:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f3554d14-9609-42a3-8943-557e36e67934</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f3554d14-9609-42a3-8943-557e36e67934</title></pubsub></data>

2023-07-06 23:00:36 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-06 23:00:37 | [Mutex] waiting for: [received:nodes:34b7731c-9d1c-4a6a-ba05-4c0eb2f54892:localhost]

2023-07-06 23:00:37 | [Mutex] waiting for: [received:nodes:34b7731c-9d1c-4a6a-ba05-4c0eb2f54892:localhost]

2023-07-06 23:00:37 | [Mutex] waiting for: [received:nodes:34b7731c-9d1c-4a6a-ba05-4c0eb2f54892:localhost]

2023-07-06 23:00:37 | [Mutex] received everything.

2023-07-06 23:00:37 | [Mutex] isItemNotified: received:node:34b7731c-9d1c-4a6a-ba05-4c0eb2f54892:localhost:node-f3554d14-9609-42a3-8943-557e36e67934:Node f3554d14-9609-42a3-8943-557e36e67934 :: true

createSubnodes 1.027s
2023-07-06 23:00:37 |

2023-07-06 23:00:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 23:00:37 | ------------------------------------

2023-07-06 23:00:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ed11ee73-75c5-4447-8ed6-b1abbed7191e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ed11ee73-75c5-4447-8ed6-b1abbed7191e</title></pubsub></data>

2023-07-06 23:00:37 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-06 23:00:38 | [Mutex] waiting for: [received:nodes:8357c1f0-7d38-4a1c-b035-c41eb7bf9051:localhost]

2023-07-06 23:00:38 | [Mutex] received everything.

2023-07-06 23:00:38 | [Mutex] isItemNotified: received:node:8357c1f0-7d38-4a1c-b035-c41eb7bf9051:localhost:node-ed11ee73-75c5-4447-8ed6-b1abbed7191e:Node ed11ee73-75c5-4447-8ed6-b1abbed7191e :: true

deleteNodes 1.019s
2023-07-06 23:00:44 |

2023-07-06 23:00:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 23:00:44 | ------------------------------------

2023-07-06 23:00:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ed11ee73-75c5-4447-8ed6-b1abbed7191e</node></data>

2023-07-06 23:00:44 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-06 23:00:45 | [Mutex] waiting for: [received:nodes:b4305c17-5560-4f1b-bc71-c1dfc252a8f4:localhost]

2023-07-06 23:00:45 | [Mutex] waiting for: [received:nodes:b4305c17-5560-4f1b-bc71-c1dfc252a8f4:localhost]

2023-07-06 23:00:45 | [Mutex] waiting for: [received:nodes:b4305c17-5560-4f1b-bc71-c1dfc252a8f4:localhost]

2023-07-06 23:00:45 | [Mutex] received everything.

2023-07-06 23:00:45 | [Mutex] isItemNotified: received:node:b4305c17-5560-4f1b-bc71-c1dfc252a8f4:localhost:node-ed11ee73-75c5-4447-8ed6-b1abbed7191e:Node ed11ee73-75c5-4447-8ed6-b1abbed7191e :: false

deleteSubnodes 1.157s
2023-07-06 23:00:43 |

2023-07-06 23:00:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 23:00:43 | ------------------------------------

2023-07-06 23:00:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f3554d14-9609-42a3-8943-557e36e67934</node></data>

2023-07-06 23:00:43 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-06 23:00:44 | [Mutex] waiting for: [received:nodes:f5c5a9d4-b840-45db-b2ab-acd8f836c136:localhost]

2023-07-06 23:00:44 | [Mutex] waiting for: [received:nodes:f5c5a9d4-b840-45db-b2ab-acd8f836c136:localhost]

2023-07-06 23:00:44 | [Mutex] waiting for: [received:nodes:f5c5a9d4-b840-45db-b2ab-acd8f836c136:localhost]

2023-07-06 23:00:44 | [Mutex] waiting for: [received:nodes:f5c5a9d4-b840-45db-b2ab-acd8f836c136:localhost]

2023-07-06 23:00:44 | [Mutex] received everything.

2023-07-06 23:00:44 | [Mutex] isItemNotified: received:node:f5c5a9d4-b840-45db-b2ab-acd8f836c136:localhost:node-f3554d14-9609-42a3-8943-557e36e67934:Node f3554d14-9609-42a3-8943-557e36e67934 :: false

2023-07-06 23:00:44 | [Mutex] waiting for: [received:nodes:8c1a3e59-5088-4ab9-ac4e-7d807718d565:localhost]

2023-07-06 23:00:44 | [Mutex] received everything.

2023-07-06 23:00:44 | [Mutex] isItemNotified: received:node:8c1a3e59-5088-4ab9-ac4e-7d807718d565:localhost:node-f3554d14-9609-42a3-8943-557e36e67934:Node f3554d14-9609-42a3-8943-557e36e67934 :: false

publishItemsToNodes 0.323s
2023-07-06 23:00:41 |

2023-07-06 23:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 23:00:41 | ------------------------------------

2023-07-06 23:00:41 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f3554d14-9609-42a3-8943-557e36e67934</node><item-id>item-c101821b-f4e1-47fb-809a-9cf6e242a6ee</item-id><entry><test>item-c101821b-f4e1-47fb-809a-9cf6e242a6ee</test></entry></data>

2023-07-06 23:00:41 | 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-c101821b-f4e1-47fb-809a-9cf6e242a6ee</value></item-id></result>

2023-07-06 23:00:41 | [Mutex] waiting for: [published:item:notifieditem-c101821b-f4e1-47fb-809a-9cf6e242a6ee:admin@test-domain.com]

2023-07-06 23:00:41 | [Mutex] received everything.

2023-07-06 23:00:41 | [Mutex] isItemNotified: published:item:notifieditem-c101821b-f4e1-47fb-809a-9cf6e242a6ee:admin@test-domain.com :: true

retractItemsFromNodes 0.272s
2023-07-06 23:00:41 |

2023-07-06 23:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 23:00:41 | ------------------------------------

2023-07-06 23:00:41 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f3554d14-9609-42a3-8943-557e36e67934</node><item-id>item-c101821b-f4e1-47fb-809a-9cf6e242a6ee</item-id></data>

2023-07-06 23:00:41 | 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-c101821b-f4e1-47fb-809a-9cf6e242a6ee</value></item-id></result>

2023-07-06 23:00:41 | [Mutex] received everything.

2023-07-06 23:00:41 | [Mutex] isItemNotified: retracted:item:notifieditem-c101821b-f4e1-47fb-809a-9cf6e242a6ee:admin@test-domain.com :: true

retrieveItemsFromNodes 0.190s
2023-07-06 23:00:41 |

2023-07-06 23:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 23:00:41 | ------------------------------------

2023-07-06 23:00:41 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f3554d14-9609-42a3-8943-557e36e67934</node><item-id>item-c101821b-f4e1-47fb-809a-9cf6e242a6ee</item-id></data>

2023-07-06 23:00:41 | 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-f3554d14-9609-42a3-8943-557e36e67934</value></node><item-id label="Item ID" type="text-single"><value>item-c101821b-f4e1-47fb-809a-9cf6e242a6ee</value></item-id><item label="Item" type="text-multi"><value><item id="item-c101821b-f4e1-47fb-809a-9cf6e242a6ee"><test>item-c101821b-f4e1-47fb-809a-9cf6e242a6ee</test></item></value></item></result>

2023-07-06 23:00:41 | [Mutex] notify: [retrieved:item:item-c101821b-f4e1-47fb-809a-9cf6e242a6ee:payload-matches:true:localhost]

2023-07-06 23:00:41 | [Mutex] received everything.

2023-07-06 23:00:41 | [Mutex] isItemNotified: retrieved:item:item-c101821b-f4e1-47fb-809a-9cf6e242a6ee:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-07-06 23:00:41 |

2023-07-06 23:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 23:00:41 | ------------------------------------

2023-07-06 23:00:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-06 23:00:41 | 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-ed11ee73-75c5-4447-8ed6-b1abbed7191e</value><value>node-f3554d14-9609-42a3-8943-557e36e67934</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-06 23:00:41 |

2023-07-06 23:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 23:00:41 | ------------------------------------

2023-07-06 23:00:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f3554d14-9609-42a3-8943-557e36e67934)</node-pattern></data>

2023-07-06 23:00:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.133s
2023-07-06 23:00:39 |

2023-07-06 23:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 23:00:39 | ------------------------------------

2023-07-06 23:00:39 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f3554d14-9609-42a3-8943-557e36e67934</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-06 23:00:40 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.228s
2023-07-06 23:00:41 |

2023-07-06 23:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 23:00:41 | ------------------------------------

2023-07-06 23:00:41 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f3554d14-9609-42a3-8943-557e36e67934</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-06 23:00:42 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>