Generated by TestNG with ReportNG at 22:46 PDT on Wednesday 24 August 2022
root@7c41cec37518 / 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.551s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.086s
2022-08-24 23:00:50 |

2022-08-24 23:00:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:00:50 | ------------------------------------

2022-08-24 23:00:50 | [Mutex] waiting for: [configured:node:node-4f1fec21-4290-4e0e-8f0f-5a4beb357147:node-467a4c43-0923-4f79-9055-c86788ac5d60]

2022-08-24 23:00:50 | [Mutex] received everything.

2022-08-24 23:00:50 | [Mutex] isItemNotified: configured:node:node-4f1fec21-4290-4e0e-8f0f-5a4beb357147:node-467a4c43-0923-4f79-9055-c86788ac5d60 :: true

2022-08-24 23:00:51 | [Mutex] waiting for: [received:nodes:5db79bff-9a93-482f-9506-d2f4c91b2bc6:localhost]

2022-08-24 23:00:51 | [Mutex] received everything.

2022-08-24 23:00:51 | [Mutex] isItemNotified: received:node:5db79bff-9a93-482f-9506-d2f4c91b2bc6:localhost:node-4f1fec21-4290-4e0e-8f0f-5a4beb357147:Node 4f1fec21-4290-4e0e-8f0f-5a4beb357147 :: true

2022-08-24 23:00:51 | [Mutex] waiting for: [received:nodes:4f610e79-834d-49cf-b52e-0a5c05e6805d:localhost]

2022-08-24 23:00:51 | [Mutex] waiting for: [received:nodes:4f610e79-834d-49cf-b52e-0a5c05e6805d:localhost]

2022-08-24 23:00:51 | [Mutex] received everything.

2022-08-24 23:00:51 | [Mutex] isItemNotified: received:node:4f610e79-834d-49cf-b52e-0a5c05e6805d:localhost:node-4f1fec21-4290-4e0e-8f0f-5a4beb357147:Node 4f1fec21-4290-4e0e-8f0f-5a4beb357147 :: false

createNodes 1.508s
2022-08-24 23:00:47 |

2022-08-24 23:00:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:00:47 | ------------------------------------

2022-08-24 23:00:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4f1fec21-4290-4e0e-8f0f-5a4beb357147</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4f1fec21-4290-4e0e-8f0f-5a4beb357147</title></pubsub></data>

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

2022-08-24 23:00:49 | [Mutex] waiting for: [received:nodes:c748591d-9efc-477e-85fa-19a2efa4ae6c:localhost]

2022-08-24 23:00:49 | [Mutex] received everything.

2022-08-24 23:00:49 | [Mutex] isItemNotified: received:node:c748591d-9efc-477e-85fa-19a2efa4ae6c:localhost:node-4f1fec21-4290-4e0e-8f0f-5a4beb357147:Node 4f1fec21-4290-4e0e-8f0f-5a4beb357147 :: true

createSubnodes 1.024s
2022-08-24 23:00:49 |

2022-08-24 23:00:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:00:49 | ------------------------------------

2022-08-24 23:00:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-467a4c43-0923-4f79-9055-c86788ac5d60</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 467a4c43-0923-4f79-9055-c86788ac5d60</title></pubsub></data>

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

2022-08-24 23:00:50 | [Mutex] waiting for: [received:nodes:34765853-945e-48db-a61d-0eebca9c7299:localhost]

2022-08-24 23:00:50 | [Mutex] received everything.

2022-08-24 23:00:50 | [Mutex] isItemNotified: received:node:34765853-945e-48db-a61d-0eebca9c7299:localhost:node-467a4c43-0923-4f79-9055-c86788ac5d60:Node 467a4c43-0923-4f79-9055-c86788ac5d60 :: true

deleteNodes 1.019s
2022-08-24 23:00:55 |

2022-08-24 23:00:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:00:55 | ------------------------------------

2022-08-24 23:00:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-467a4c43-0923-4f79-9055-c86788ac5d60</node></data>

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

2022-08-24 23:00:56 | [Mutex] waiting for: [received:nodes:027ce3ed-36f3-41ff-b415-b2be1e827832:localhost]

2022-08-24 23:00:56 | [Mutex] received everything.

2022-08-24 23:00:56 | [Mutex] isItemNotified: received:node:027ce3ed-36f3-41ff-b415-b2be1e827832:localhost:node-467a4c43-0923-4f79-9055-c86788ac5d60:Node 467a4c43-0923-4f79-9055-c86788ac5d60 :: false

deleteSubnodes 1.118s
2022-08-24 23:00:54 |

2022-08-24 23:00:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:00:54 | ------------------------------------

2022-08-24 23:00:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4f1fec21-4290-4e0e-8f0f-5a4beb357147</node></data>

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

2022-08-24 23:00:55 | [Mutex] waiting for: [received:nodes:f8f28727-5e9a-4d07-8a05-b1f0f31e2445:localhost]

2022-08-24 23:00:55 | [Mutex] received everything.

2022-08-24 23:00:55 | [Mutex] isItemNotified: received:node:f8f28727-5e9a-4d07-8a05-b1f0f31e2445:localhost:node-4f1fec21-4290-4e0e-8f0f-5a4beb357147:Node 4f1fec21-4290-4e0e-8f0f-5a4beb357147 :: false

2022-08-24 23:00:55 | [Mutex] waiting for: [received:nodes:32fee2f2-b54f-4971-8017-ee2c2af5f1e9:localhost]

2022-08-24 23:00:55 | [Mutex] received everything.

2022-08-24 23:00:55 | [Mutex] isItemNotified: received:node:32fee2f2-b54f-4971-8017-ee2c2af5f1e9:localhost:node-4f1fec21-4290-4e0e-8f0f-5a4beb357147:Node 4f1fec21-4290-4e0e-8f0f-5a4beb357147 :: false

publishItemsToNodes 0.196s
2022-08-24 23:00:52 |

2022-08-24 23:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:00:52 | ------------------------------------

2022-08-24 23:00:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4f1fec21-4290-4e0e-8f0f-5a4beb357147</node><item-id>item-0fd3c43d-a77e-4815-8b9e-cd7edb3925c4</item-id><entry><test>item-0fd3c43d-a77e-4815-8b9e-cd7edb3925c4</test></entry></data>

2022-08-24 23:00:52 | 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-0fd3c43d-a77e-4815-8b9e-cd7edb3925c4</value></item-id></result>

2022-08-24 23:00:52 | [Mutex] received everything.

2022-08-24 23:00:52 | [Mutex] isItemNotified: published:item:notifieditem-0fd3c43d-a77e-4815-8b9e-cd7edb3925c4:admin@test-domain.com :: true

retractItemsFromNodes 0.308s
2022-08-24 23:00:52 |

2022-08-24 23:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:00:52 | ------------------------------------

2022-08-24 23:00:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4f1fec21-4290-4e0e-8f0f-5a4beb357147</node><item-id>item-0fd3c43d-a77e-4815-8b9e-cd7edb3925c4</item-id></data>

2022-08-24 23:00:53 | 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-0fd3c43d-a77e-4815-8b9e-cd7edb3925c4</value></item-id></result>

2022-08-24 23:00:53 | [Mutex] waiting for: [retracted:item:notifieditem-0fd3c43d-a77e-4815-8b9e-cd7edb3925c4:admin@test-domain.com]

2022-08-24 23:00:53 | [Mutex] received everything.

2022-08-24 23:00:53 | [Mutex] isItemNotified: retracted:item:notifieditem-0fd3c43d-a77e-4815-8b9e-cd7edb3925c4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.260s
2022-08-24 23:00:52 |

2022-08-24 23:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:00:52 | ------------------------------------

2022-08-24 23:00:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4f1fec21-4290-4e0e-8f0f-5a4beb357147</node><item-id>item-0fd3c43d-a77e-4815-8b9e-cd7edb3925c4</item-id></data>

2022-08-24 23:00:52 | 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-4f1fec21-4290-4e0e-8f0f-5a4beb357147</value></node><item-id label="Item ID" type="text-single"><value>item-0fd3c43d-a77e-4815-8b9e-cd7edb3925c4</value></item-id><item label="Item" type="text-multi"><value><item id="item-0fd3c43d-a77e-4815-8b9e-cd7edb3925c4"><test>item-0fd3c43d-a77e-4815-8b9e-cd7edb3925c4</test></item></value></item></result>

2022-08-24 23:00:52 | [Mutex] notify: [retrieved:item:item-0fd3c43d-a77e-4815-8b9e-cd7edb3925c4:payload-matches:true:localhost]

2022-08-24 23:00:52 | [Mutex] received everything.

2022-08-24 23:00:52 | [Mutex] isItemNotified: retrieved:item:item-0fd3c43d-a77e-4815-8b9e-cd7edb3925c4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-24 23:00:52 |

2022-08-24 23:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:00:52 | ------------------------------------

2022-08-24 23:00:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-24 23:00:52 | 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-467a4c43-0923-4f79-9055-c86788ac5d60</value><value>node-4f1fec21-4290-4e0e-8f0f-5a4beb357147</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-24 23:00:52 |

2022-08-24 23:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:00:52 | ------------------------------------

2022-08-24 23:00:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4f1fec21-4290-4e0e-8f0f-5a4beb357147)</node-pattern></data>

2022-08-24 23:00:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.111s
2022-08-24 23:00:51 |

2022-08-24 23:00:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:00:51 | ------------------------------------

2022-08-24 23:00:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4f1fec21-4290-4e0e-8f0f-5a4beb357147</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.182s
2022-08-24 23:00:53 |

2022-08-24 23:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:00:53 | ------------------------------------

2022-08-24 23:00:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4f1fec21-4290-4e0e-8f0f-5a4beb357147</node><jids><value>admin@test-domain.com</value></jids></data>

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