Generated by TestNG with ReportNG at 00:42 PDT on Sunday 05 November 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.206s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.092s
2023-11-05 00:56:38 |

2023-11-05 00:56:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:56:38 | ------------------------------------

2023-11-05 00:56:38 | [Mutex] waiting for: [configured:node:node-df82d06c-3c16-4b8a-8e18-9d6f34b746a2:node-bec9bb90-3e76-409d-a8d8-95cb743ef7d4]

2023-11-05 00:56:38 | [Mutex] received everything.

2023-11-05 00:56:38 | [Mutex] isItemNotified: configured:node:node-df82d06c-3c16-4b8a-8e18-9d6f34b746a2:node-bec9bb90-3e76-409d-a8d8-95cb743ef7d4 :: true

2023-11-05 00:56:39 | [Mutex] waiting for: [received:nodes:15757d56-4ad0-47d5-9bdd-0607789b1483:localhost]

2023-11-05 00:56:39 | [Mutex] received everything.

2023-11-05 00:56:39 | [Mutex] isItemNotified: received:node:15757d56-4ad0-47d5-9bdd-0607789b1483:localhost:node-df82d06c-3c16-4b8a-8e18-9d6f34b746a2:Node df82d06c-3c16-4b8a-8e18-9d6f34b746a2 :: true

2023-11-05 00:56:39 | [Mutex] waiting for: [received:nodes:359e58e2-7e59-4600-91b9-d6143ebfb2f2:localhost]

2023-11-05 00:56:39 | [Mutex] waiting for: [received:nodes:359e58e2-7e59-4600-91b9-d6143ebfb2f2:localhost]

2023-11-05 00:56:39 | [Mutex] waiting for: [received:nodes:359e58e2-7e59-4600-91b9-d6143ebfb2f2:localhost]

2023-11-05 00:56:39 | [Mutex] received everything.

2023-11-05 00:56:39 | [Mutex] isItemNotified: received:node:359e58e2-7e59-4600-91b9-d6143ebfb2f2:localhost:node-df82d06c-3c16-4b8a-8e18-9d6f34b746a2:Node df82d06c-3c16-4b8a-8e18-9d6f34b746a2 :: false

createNodes 1.403s
2023-11-05 00:56:35 |

2023-11-05 00:56:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:56:35 | ------------------------------------

2023-11-05 00:56:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-df82d06c-3c16-4b8a-8e18-9d6f34b746a2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node df82d06c-3c16-4b8a-8e18-9d6f34b746a2</title></pubsub></data>

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

2023-11-05 00:56:37 | [Mutex] waiting for: [received:nodes:a2b2303b-12c7-4163-8980-6aa55e7ebfe9:localhost]

2023-11-05 00:56:37 | [Mutex] waiting for: [received:nodes:a2b2303b-12c7-4163-8980-6aa55e7ebfe9:localhost]

2023-11-05 00:56:37 | [Mutex] waiting for: [received:nodes:a2b2303b-12c7-4163-8980-6aa55e7ebfe9:localhost]

2023-11-05 00:56:37 | [Mutex] received everything.

2023-11-05 00:56:37 | [Mutex] isItemNotified: received:node:a2b2303b-12c7-4163-8980-6aa55e7ebfe9:localhost:node-df82d06c-3c16-4b8a-8e18-9d6f34b746a2:Node df82d06c-3c16-4b8a-8e18-9d6f34b746a2 :: true

createSubnodes 1.019s
2023-11-05 00:56:37 |

2023-11-05 00:56:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:56:37 | ------------------------------------

2023-11-05 00:56:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bec9bb90-3e76-409d-a8d8-95cb743ef7d4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bec9bb90-3e76-409d-a8d8-95cb743ef7d4</title></pubsub></data>

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

2023-11-05 00:56:38 | [Mutex] waiting for: [received:nodes:f11fd8e4-d27e-4e2b-a6ce-b5ad89bbad2c:localhost]

2023-11-05 00:56:38 | [Mutex] waiting for: [received:nodes:f11fd8e4-d27e-4e2b-a6ce-b5ad89bbad2c:localhost]

2023-11-05 00:56:38 | [Mutex] waiting for: [received:nodes:f11fd8e4-d27e-4e2b-a6ce-b5ad89bbad2c:localhost]

2023-11-05 00:56:38 | [Mutex] received everything.

2023-11-05 00:56:38 | [Mutex] isItemNotified: received:node:f11fd8e4-d27e-4e2b-a6ce-b5ad89bbad2c:localhost:node-bec9bb90-3e76-409d-a8d8-95cb743ef7d4:Node bec9bb90-3e76-409d-a8d8-95cb743ef7d4 :: true

deleteNodes 1.020s
2023-11-05 00:56:43 |

2023-11-05 00:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:56:43 | ------------------------------------

2023-11-05 00:56:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bec9bb90-3e76-409d-a8d8-95cb743ef7d4</node></data>

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

2023-11-05 00:56:44 | [Mutex] waiting for: [received:nodes:84228b3c-45a2-4103-9698-75fa5dbf9105:localhost]

2023-11-05 00:56:44 | [Mutex] waiting for: [received:nodes:84228b3c-45a2-4103-9698-75fa5dbf9105:localhost]

2023-11-05 00:56:44 | [Mutex] waiting for: [received:nodes:84228b3c-45a2-4103-9698-75fa5dbf9105:localhost]

2023-11-05 00:56:44 | [Mutex] received everything.

2023-11-05 00:56:44 | [Mutex] isItemNotified: received:node:84228b3c-45a2-4103-9698-75fa5dbf9105:localhost:node-bec9bb90-3e76-409d-a8d8-95cb743ef7d4:Node bec9bb90-3e76-409d-a8d8-95cb743ef7d4 :: false

deleteSubnodes 1.101s
2023-11-05 00:56:42 |

2023-11-05 00:56:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:56:42 | ------------------------------------

2023-11-05 00:56:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-df82d06c-3c16-4b8a-8e18-9d6f34b746a2</node></data>

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

2023-11-05 00:56:43 | [Mutex] waiting for: [received:nodes:959fd553-b262-4c46-918f-f58095672860:localhost]

2023-11-05 00:56:43 | [Mutex] waiting for: [received:nodes:959fd553-b262-4c46-918f-f58095672860:localhost]

2023-11-05 00:56:43 | [Mutex] waiting for: [received:nodes:959fd553-b262-4c46-918f-f58095672860:localhost]

2023-11-05 00:56:43 | [Mutex] received everything.

2023-11-05 00:56:43 | [Mutex] isItemNotified: received:node:959fd553-b262-4c46-918f-f58095672860:localhost:node-df82d06c-3c16-4b8a-8e18-9d6f34b746a2:Node df82d06c-3c16-4b8a-8e18-9d6f34b746a2 :: false

2023-11-05 00:56:43 | [Mutex] waiting for: [received:nodes:ffed7c3a-9dfc-4804-b225-4e8be53848db:localhost]

2023-11-05 00:56:43 | [Mutex] received everything.

2023-11-05 00:56:43 | [Mutex] isItemNotified: received:node:ffed7c3a-9dfc-4804-b225-4e8be53848db:localhost:node-df82d06c-3c16-4b8a-8e18-9d6f34b746a2:Node df82d06c-3c16-4b8a-8e18-9d6f34b746a2 :: false

publishItemsToNodes 0.230s
2023-11-05 00:56:40 |

2023-11-05 00:56:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:56:40 | ------------------------------------

2023-11-05 00:56:40 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-df82d06c-3c16-4b8a-8e18-9d6f34b746a2</node><item-id>item-755122bb-43b5-4428-a123-797627f32457</item-id><entry><test>item-755122bb-43b5-4428-a123-797627f32457</test></entry></data>

2023-11-05 00:56:40 | 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-755122bb-43b5-4428-a123-797627f32457</value></item-id></result>

2023-11-05 00:56:40 | [Mutex] waiting for: [published:item:notifieditem-755122bb-43b5-4428-a123-797627f32457:admin@test-domain.com]

2023-11-05 00:56:40 | [Mutex] received everything.

2023-11-05 00:56:40 | [Mutex] isItemNotified: published:item:notifieditem-755122bb-43b5-4428-a123-797627f32457:admin@test-domain.com :: true

retractItemsFromNodes 0.231s
2023-11-05 00:56:41 |

2023-11-05 00:56:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:56:41 | ------------------------------------

2023-11-05 00:56:41 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-df82d06c-3c16-4b8a-8e18-9d6f34b746a2</node><item-id>item-755122bb-43b5-4428-a123-797627f32457</item-id></data>

2023-11-05 00:56: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-755122bb-43b5-4428-a123-797627f32457</value></item-id></result>

2023-11-05 00:56:41 | [Mutex] received everything.

2023-11-05 00:56:41 | [Mutex] isItemNotified: retracted:item:notifieditem-755122bb-43b5-4428-a123-797627f32457:admin@test-domain.com :: true

retrieveItemsFromNodes 0.164s
2023-11-05 00:56:40 |

2023-11-05 00:56:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:56:40 | ------------------------------------

2023-11-05 00:56:40 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-df82d06c-3c16-4b8a-8e18-9d6f34b746a2</node><item-id>item-755122bb-43b5-4428-a123-797627f32457</item-id></data>

2023-11-05 00:56:40 | 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-df82d06c-3c16-4b8a-8e18-9d6f34b746a2</value></node><item-id label="Item ID" type="text-single"><value>item-755122bb-43b5-4428-a123-797627f32457</value></item-id><item label="Item" type="text-multi"><value><item id="item-755122bb-43b5-4428-a123-797627f32457"><test>item-755122bb-43b5-4428-a123-797627f32457</test></item></value></item></result>

2023-11-05 00:56:40 | [Mutex] notify: [retrieved:item:item-755122bb-43b5-4428-a123-797627f32457:payload-matches:true:localhost]

2023-11-05 00:56:40 | [Mutex] received everything.

2023-11-05 00:56:40 | [Mutex] isItemNotified: retrieved:item:item-755122bb-43b5-4428-a123-797627f32457:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2023-11-05 00:56:40 |

2023-11-05 00:56:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:56:40 | ------------------------------------

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

2023-11-05 00:56: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-bec9bb90-3e76-409d-a8d8-95cb743ef7d4</value><value>node-df82d06c-3c16-4b8a-8e18-9d6f34b746a2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-11-05 00:56:41 |

2023-11-05 00:56:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:56:41 | ------------------------------------

2023-11-05 00:56: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-df82d06c-3c16-4b8a-8e18-9d6f34b746a2)</node-pattern></data>

2023-11-05 00:56:41 | 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-11-05 00:56:39 |

2023-11-05 00:56:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:56:39 | ------------------------------------

2023-11-05 00:56:39 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-df82d06c-3c16-4b8a-8e18-9d6f34b746a2</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.139s
2023-11-05 00:56:41 |

2023-11-05 00:56:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:56:41 | ------------------------------------

2023-11-05 00:56:41 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-df82d06c-3c16-4b8a-8e18-9d6f34b746a2</node><jids><value>admin@test-domain.com</value></jids></data>

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