Generated by TestNG with ReportNG at 22:45 PDT on Wednesday 24 May 2023
root@1512af24e4a5 / 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.345s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.138s
2023-05-24 22:59:56 |

2023-05-24 22:59:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:59:56 | ------------------------------------

2023-05-24 22:59:56 | [Mutex] waiting for: [configured:node:node-a69573ee-bc1b-4aa2-8141-4c1eba75168f:node-d78fa53b-bb5d-4d11-a109-f9b4e82663fe]

2023-05-24 22:59:56 | [Mutex] received everything.

2023-05-24 22:59:56 | [Mutex] isItemNotified: configured:node:node-a69573ee-bc1b-4aa2-8141-4c1eba75168f:node-d78fa53b-bb5d-4d11-a109-f9b4e82663fe :: true

2023-05-24 22:59:57 | [Mutex] waiting for: [received:nodes:7bcdf0ac-1649-4b3e-b3c3-3b8f166bc13f:localhost]

2023-05-24 22:59:57 | [Mutex] received everything.

2023-05-24 22:59:57 | [Mutex] isItemNotified: received:node:7bcdf0ac-1649-4b3e-b3c3-3b8f166bc13f:localhost:node-a69573ee-bc1b-4aa2-8141-4c1eba75168f:Node a69573ee-bc1b-4aa2-8141-4c1eba75168f :: true

2023-05-24 22:59:57 | [Mutex] waiting for: [received:nodes:8752e611-bac1-4236-b9a1-5e95420905d7:localhost]

2023-05-24 22:59:57 | [Mutex] waiting for: [received:nodes:8752e611-bac1-4236-b9a1-5e95420905d7:localhost]

2023-05-24 22:59:57 | [Mutex] waiting for: [received:nodes:8752e611-bac1-4236-b9a1-5e95420905d7:localhost]

2023-05-24 22:59:57 | [Mutex] waiting for: [received:nodes:8752e611-bac1-4236-b9a1-5e95420905d7:localhost]

2023-05-24 22:59:57 | [Mutex] received everything.

2023-05-24 22:59:57 | [Mutex] isItemNotified: received:node:8752e611-bac1-4236-b9a1-5e95420905d7:localhost:node-a69573ee-bc1b-4aa2-8141-4c1eba75168f:Node a69573ee-bc1b-4aa2-8141-4c1eba75168f :: false

createNodes 1.388s
2023-05-24 22:59:54 |

2023-05-24 22:59:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:59:54 | ------------------------------------

2023-05-24 22:59:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a69573ee-bc1b-4aa2-8141-4c1eba75168f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a69573ee-bc1b-4aa2-8141-4c1eba75168f</title></pubsub></data>

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

2023-05-24 22:59:55 | [Mutex] waiting for: [received:nodes:cbbe70d3-4a60-4af3-8435-546c9d31d700:localhost]

2023-05-24 22:59:55 | [Mutex] received everything.

2023-05-24 22:59:55 | [Mutex] isItemNotified: received:node:cbbe70d3-4a60-4af3-8435-546c9d31d700:localhost:node-a69573ee-bc1b-4aa2-8141-4c1eba75168f:Node a69573ee-bc1b-4aa2-8141-4c1eba75168f :: true

createSubnodes 1.027s
2023-05-24 22:59:55 |

2023-05-24 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:59:55 | ------------------------------------

2023-05-24 22:59:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d78fa53b-bb5d-4d11-a109-f9b4e82663fe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d78fa53b-bb5d-4d11-a109-f9b4e82663fe</title></pubsub></data>

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

2023-05-24 22:59:56 | [Mutex] waiting for: [received:nodes:ebd8e5bd-41b6-46b8-9d87-58a7d5f3e276:localhost]

2023-05-24 22:59:56 | [Mutex] received everything.

2023-05-24 22:59:56 | [Mutex] isItemNotified: received:node:ebd8e5bd-41b6-46b8-9d87-58a7d5f3e276:localhost:node-d78fa53b-bb5d-4d11-a109-f9b4e82663fe:Node d78fa53b-bb5d-4d11-a109-f9b4e82663fe :: true

deleteNodes 1.017s
2023-05-24 23:00:01 |

2023-05-24 23:00:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 23:00:01 | ------------------------------------

2023-05-24 23:00:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d78fa53b-bb5d-4d11-a109-f9b4e82663fe</node></data>

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

2023-05-24 23:00:03 | [Mutex] waiting for: [received:nodes:5d5e0ced-10eb-4785-8dae-2db723626968:localhost]

2023-05-24 23:00:03 | [Mutex] waiting for: [received:nodes:5d5e0ced-10eb-4785-8dae-2db723626968:localhost]

2023-05-24 23:00:03 | [Mutex] waiting for: [received:nodes:5d5e0ced-10eb-4785-8dae-2db723626968:localhost]

2023-05-24 23:00:03 | [Mutex] received everything.

2023-05-24 23:00:03 | [Mutex] isItemNotified: received:node:5d5e0ced-10eb-4785-8dae-2db723626968:localhost:node-d78fa53b-bb5d-4d11-a109-f9b4e82663fe:Node d78fa53b-bb5d-4d11-a109-f9b4e82663fe :: false

deleteSubnodes 1.121s
2023-05-24 23:00:00 |

2023-05-24 23:00:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 23:00:00 | ------------------------------------

2023-05-24 23:00:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a69573ee-bc1b-4aa2-8141-4c1eba75168f</node></data>

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

2023-05-24 23:00:01 | [Mutex] waiting for: [received:nodes:a88d3b46-d28f-4573-a82a-6ac007610927:localhost]

2023-05-24 23:00:01 | [Mutex] waiting for: [received:nodes:a88d3b46-d28f-4573-a82a-6ac007610927:localhost]

2023-05-24 23:00:01 | [Mutex] waiting for: [received:nodes:a88d3b46-d28f-4573-a82a-6ac007610927:localhost]

2023-05-24 23:00:01 | [Mutex] waiting for: [received:nodes:a88d3b46-d28f-4573-a82a-6ac007610927:localhost]

2023-05-24 23:00:01 | [Mutex] received everything.

2023-05-24 23:00:01 | [Mutex] isItemNotified: received:node:a88d3b46-d28f-4573-a82a-6ac007610927:localhost:node-a69573ee-bc1b-4aa2-8141-4c1eba75168f:Node a69573ee-bc1b-4aa2-8141-4c1eba75168f :: false

2023-05-24 23:00:01 | [Mutex] waiting for: [received:nodes:bb6e0b68-0cbe-47e4-8ab1-bbc39b507174:localhost]

2023-05-24 23:00:01 | [Mutex] received everything.

2023-05-24 23:00:01 | [Mutex] isItemNotified: received:node:bb6e0b68-0cbe-47e4-8ab1-bbc39b507174:localhost:node-a69573ee-bc1b-4aa2-8141-4c1eba75168f:Node a69573ee-bc1b-4aa2-8141-4c1eba75168f :: false

publishItemsToNodes 0.198s
2023-05-24 22:59:58 |

2023-05-24 22:59:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:59:58 | ------------------------------------

2023-05-24 22:59:58 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a69573ee-bc1b-4aa2-8141-4c1eba75168f</node><item-id>item-06caf1d6-d48c-429e-8fa4-d0b92fc8939e</item-id><entry><test>item-06caf1d6-d48c-429e-8fa4-d0b92fc8939e</test></entry></data>

2023-05-24 22:59:59 | 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-06caf1d6-d48c-429e-8fa4-d0b92fc8939e</value></item-id></result>

2023-05-24 22:59:59 | [Mutex] waiting for: [published:item:notifieditem-06caf1d6-d48c-429e-8fa4-d0b92fc8939e:admin@test-domain.com]

2023-05-24 22:59:59 | [Mutex] received everything.

2023-05-24 22:59:59 | [Mutex] isItemNotified: published:item:notifieditem-06caf1d6-d48c-429e-8fa4-d0b92fc8939e:admin@test-domain.com :: true

retractItemsFromNodes 0.268s
2023-05-24 22:59:59 |

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

2023-05-24 22:59:59 | ------------------------------------

2023-05-24 22:59:59 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a69573ee-bc1b-4aa2-8141-4c1eba75168f</node><item-id>item-06caf1d6-d48c-429e-8fa4-d0b92fc8939e</item-id></data>

2023-05-24 22:59:59 | 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-06caf1d6-d48c-429e-8fa4-d0b92fc8939e</value></item-id></result>

2023-05-24 22:59:59 | [Mutex] received everything.

2023-05-24 22:59:59 | [Mutex] isItemNotified: retracted:item:notifieditem-06caf1d6-d48c-429e-8fa4-d0b92fc8939e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.191s
2023-05-24 22:59:59 |

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

2023-05-24 22:59:59 | ------------------------------------

2023-05-24 22:59:59 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a69573ee-bc1b-4aa2-8141-4c1eba75168f</node><item-id>item-06caf1d6-d48c-429e-8fa4-d0b92fc8939e</item-id></data>

2023-05-24 22:59:59 | 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-a69573ee-bc1b-4aa2-8141-4c1eba75168f</value></node><item-id label="Item ID" type="text-single"><value>item-06caf1d6-d48c-429e-8fa4-d0b92fc8939e</value></item-id><item label="Item" type="text-multi"><value><item id="item-06caf1d6-d48c-429e-8fa4-d0b92fc8939e"><test>item-06caf1d6-d48c-429e-8fa4-d0b92fc8939e</test></item></value></item></result>

2023-05-24 22:59:59 | [Mutex] notify: [retrieved:item:item-06caf1d6-d48c-429e-8fa4-d0b92fc8939e:payload-matches:true:localhost]

2023-05-24 22:59:59 | [Mutex] received everything.

2023-05-24 22:59:59 | [Mutex] isItemNotified: retrieved:item:item-06caf1d6-d48c-429e-8fa4-d0b92fc8939e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-05-24 22:59:59 |

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

2023-05-24 22:59:59 | ------------------------------------

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

2023-05-24 22:59:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-d78fa53b-bb5d-4d11-a109-f9b4e82663fe</value><value>node-a69573ee-bc1b-4aa2-8141-4c1eba75168f</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-05-24 22:59:59 |

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

2023-05-24 22:59:59 | ------------------------------------

2023-05-24 22:59:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a69573ee-bc1b-4aa2-8141-4c1eba75168f)</node-pattern></data>

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

subscribeNodes 1.113s
2023-05-24 22:59:57 |

2023-05-24 22:59:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:59:57 | ------------------------------------

2023-05-24 22:59:57 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a69573ee-bc1b-4aa2-8141-4c1eba75168f</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.207s
2023-05-24 22:59:59 |

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

2023-05-24 22:59:59 | ------------------------------------

2023-05-24 22:59:59 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a69573ee-bc1b-4aa2-8141-4c1eba75168f</node><jids><value>admin@test-domain.com</value></jids></data>

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