Generated by TestNG with ReportNG at 22:18 PDT on Saturday 25 June 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.371s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.138s
2022-06-25 22:33:19 |

2022-06-25 22:33:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:33:19 | ------------------------------------

2022-06-25 22:33:19 | [Mutex] waiting for: [configured:node:node-4be44f08-2092-4adb-b639-b846b5b4e2b9:node-4b6ebbc2-0481-4551-90ed-39efa800f594]

2022-06-25 22:33:19 | [Mutex] received everything.

2022-06-25 22:33:19 | [Mutex] isItemNotified: configured:node:node-4be44f08-2092-4adb-b639-b846b5b4e2b9:node-4b6ebbc2-0481-4551-90ed-39efa800f594 :: true

2022-06-25 22:33:20 | [Mutex] waiting for: [received:nodes:845777bb-a49b-4689-ae89-953c00c3aec6:localhost]

2022-06-25 22:33:20 | [Mutex] waiting for: [received:nodes:845777bb-a49b-4689-ae89-953c00c3aec6:localhost]

2022-06-25 22:33:20 | [Mutex] received everything.

2022-06-25 22:33:20 | [Mutex] isItemNotified: received:node:845777bb-a49b-4689-ae89-953c00c3aec6:localhost:node-4be44f08-2092-4adb-b639-b846b5b4e2b9:Node 4be44f08-2092-4adb-b639-b846b5b4e2b9 :: true

2022-06-25 22:33:20 | [Mutex] waiting for: [received:nodes:c74e6ab2-b46f-4ffb-b9d8-e21940b03845:localhost]

2022-06-25 22:33:20 | [Mutex] received everything.

2022-06-25 22:33:20 | [Mutex] isItemNotified: received:node:c74e6ab2-b46f-4ffb-b9d8-e21940b03845:localhost:node-4be44f08-2092-4adb-b639-b846b5b4e2b9:Node 4be44f08-2092-4adb-b639-b846b5b4e2b9 :: false

createNodes 1.401s
2022-06-25 22:33:17 |

2022-06-25 22:33:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:33:17 | ------------------------------------

2022-06-25 22:33:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4be44f08-2092-4adb-b639-b846b5b4e2b9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4be44f08-2092-4adb-b639-b846b5b4e2b9</title></pubsub></data>

2022-06-25 22:33:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-25 22:33:18 | [Mutex] waiting for: [received:nodes:e084c870-7b22-4bb5-b86a-7ef3e3f9e33a:localhost]

2022-06-25 22:33:18 | [Mutex] received everything.

2022-06-25 22:33:18 | [Mutex] isItemNotified: received:node:e084c870-7b22-4bb5-b86a-7ef3e3f9e33a:localhost:node-4be44f08-2092-4adb-b639-b846b5b4e2b9:Node 4be44f08-2092-4adb-b639-b846b5b4e2b9 :: true

createSubnodes 1.024s
2022-06-25 22:33:18 |

2022-06-25 22:33:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:33:18 | ------------------------------------

2022-06-25 22:33:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4b6ebbc2-0481-4551-90ed-39efa800f594</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4b6ebbc2-0481-4551-90ed-39efa800f594</title></pubsub></data>

2022-06-25 22:33:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-25 22:33:19 | [Mutex] waiting for: [received:nodes:58bde85e-cf76-4f00-adde-ab80566a97e5:localhost]

2022-06-25 22:33:19 | [Mutex] received everything.

2022-06-25 22:33:19 | [Mutex] isItemNotified: received:node:58bde85e-cf76-4f00-adde-ab80566a97e5:localhost:node-4b6ebbc2-0481-4551-90ed-39efa800f594:Node 4b6ebbc2-0481-4551-90ed-39efa800f594 :: true

deleteNodes 1.019s
2022-06-25 22:33:24 |

2022-06-25 22:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:33:24 | ------------------------------------

2022-06-25 22:33:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4b6ebbc2-0481-4551-90ed-39efa800f594</node></data>

2022-06-25 22:33:25 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-25 22:33:26 | [Mutex] waiting for: [received:nodes:b913b3ff-3611-4e1c-86f5-ebe71e9d3bf0:localhost]

2022-06-25 22:33:26 | [Mutex] waiting for: [received:nodes:b913b3ff-3611-4e1c-86f5-ebe71e9d3bf0:localhost]

2022-06-25 22:33:26 | [Mutex] received everything.

2022-06-25 22:33:26 | [Mutex] isItemNotified: received:node:b913b3ff-3611-4e1c-86f5-ebe71e9d3bf0:localhost:node-4b6ebbc2-0481-4551-90ed-39efa800f594:Node 4b6ebbc2-0481-4551-90ed-39efa800f594 :: false

deleteSubnodes 1.109s
2022-06-25 22:33:23 |

2022-06-25 22:33:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:33:23 | ------------------------------------

2022-06-25 22:33:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4be44f08-2092-4adb-b639-b846b5b4e2b9</node></data>

2022-06-25 22:33:23 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-25 22:33:24 | [Mutex] waiting for: [received:nodes:a0bad1eb-87b6-4770-bc37-1552bae2c85f:localhost]

2022-06-25 22:33:24 | [Mutex] received everything.

2022-06-25 22:33:24 | [Mutex] isItemNotified: received:node:a0bad1eb-87b6-4770-bc37-1552bae2c85f:localhost:node-4be44f08-2092-4adb-b639-b846b5b4e2b9:Node 4be44f08-2092-4adb-b639-b846b5b4e2b9 :: false

2022-06-25 22:33:24 | [Mutex] waiting for: [received:nodes:55fa0fe8-c697-4e17-9f92-749e0304f5b6:localhost]

2022-06-25 22:33:24 | [Mutex] received everything.

2022-06-25 22:33:24 | [Mutex] isItemNotified: received:node:55fa0fe8-c697-4e17-9f92-749e0304f5b6:localhost:node-4be44f08-2092-4adb-b639-b846b5b4e2b9:Node 4be44f08-2092-4adb-b639-b846b5b4e2b9 :: false

publishItemsToNodes 0.204s
2022-06-25 22:33:21 |

2022-06-25 22:33:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:33:21 | ------------------------------------

2022-06-25 22:33:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4be44f08-2092-4adb-b639-b846b5b4e2b9</node><item-id>item-8ff40649-5b20-4129-978c-020996404aa1</item-id><entry><test>item-8ff40649-5b20-4129-978c-020996404aa1</test></entry></data>

2022-06-25 22:33:22 | 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-8ff40649-5b20-4129-978c-020996404aa1</value></item-id></result>

2022-06-25 22:33:22 | [Mutex] received everything.

2022-06-25 22:33:22 | [Mutex] isItemNotified: published:item:notifieditem-8ff40649-5b20-4129-978c-020996404aa1:admin@test-domain.com :: true

retractItemsFromNodes 0.175s
2022-06-25 22:33:22 |

2022-06-25 22:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:33:22 | ------------------------------------

2022-06-25 22:33:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4be44f08-2092-4adb-b639-b846b5b4e2b9</node><item-id>item-8ff40649-5b20-4129-978c-020996404aa1</item-id></data>

2022-06-25 22:33:22 | 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-8ff40649-5b20-4129-978c-020996404aa1</value></item-id></result>

2022-06-25 22:33:22 | [Mutex] received everything.

2022-06-25 22:33:22 | [Mutex] isItemNotified: retracted:item:notifieditem-8ff40649-5b20-4129-978c-020996404aa1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.257s
2022-06-25 22:33:22 |

2022-06-25 22:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:33:22 | ------------------------------------

2022-06-25 22:33:22 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4be44f08-2092-4adb-b639-b846b5b4e2b9</node><item-id>item-8ff40649-5b20-4129-978c-020996404aa1</item-id></data>

2022-06-25 22:33:22 | 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-4be44f08-2092-4adb-b639-b846b5b4e2b9</value></node><item-id label="Item ID" type="text-single"><value>item-8ff40649-5b20-4129-978c-020996404aa1</value></item-id><item label="Item" type="text-multi"><value><item id="item-8ff40649-5b20-4129-978c-020996404aa1"><test>item-8ff40649-5b20-4129-978c-020996404aa1</test></item></value></item></result>

2022-06-25 22:33:22 | [Mutex] notify: [retrieved:item:item-8ff40649-5b20-4129-978c-020996404aa1:payload-matches:true:localhost]

2022-06-25 22:33:22 | [Mutex] received everything.

2022-06-25 22:33:22 | [Mutex] isItemNotified: retrieved:item:item-8ff40649-5b20-4129-978c-020996404aa1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-25 22:33:22 |

2022-06-25 22:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:33:22 | ------------------------------------

2022-06-25 22:33:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-06-25 22:33:22 | 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-4be44f08-2092-4adb-b639-b846b5b4e2b9</value><value>node-4b6ebbc2-0481-4551-90ed-39efa800f594</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-25 22:33:22 |

2022-06-25 22:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:33:22 | ------------------------------------

2022-06-25 22:33:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4be44f08-2092-4adb-b639-b846b5b4e2b9)</node-pattern></data>

2022-06-25 22:33:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.112s
2022-06-25 22:33:20 |

2022-06-25 22:33:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:33:20 | ------------------------------------

2022-06-25 22:33:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4be44f08-2092-4adb-b639-b846b5b4e2b9</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-25 22:33:20 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.211s
2022-06-25 22:33:22 |

2022-06-25 22:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:33:22 | ------------------------------------

2022-06-25 22:33:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4be44f08-2092-4adb-b639-b846b5b4e2b9</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-25 22:33:22 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>