Generated by TestNG with ReportNG at 22:50 PDT on Monday 17 October 2022
root@ed1b7dd8a1b3 / 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.501s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2022-10-17 23:05:04 |

2022-10-17 23:05:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 23:05:04 | ------------------------------------

2022-10-17 23:05:04 | [Mutex] waiting for: [configured:node:node-05de4770-c3b9-4425-8bb7-831c5627e8f8:node-d8b78938-22b3-48b4-962a-52d2367ba2f2]

2022-10-17 23:05:04 | [Mutex] received everything.

2022-10-17 23:05:04 | [Mutex] isItemNotified: configured:node:node-05de4770-c3b9-4425-8bb7-831c5627e8f8:node-d8b78938-22b3-48b4-962a-52d2367ba2f2 :: true

2022-10-17 23:05:05 | [Mutex] waiting for: [received:nodes:e6efdf5c-765b-4f3e-831b-23a8733fbbee:localhost]

2022-10-17 23:05:05 | [Mutex] received everything.

2022-10-17 23:05:05 | [Mutex] isItemNotified: received:node:e6efdf5c-765b-4f3e-831b-23a8733fbbee:localhost:node-05de4770-c3b9-4425-8bb7-831c5627e8f8:Node 05de4770-c3b9-4425-8bb7-831c5627e8f8 :: true

2022-10-17 23:05:05 | [Mutex] waiting for: [received:nodes:b7b136f1-ca40-4b79-9444-247962295dbd:localhost]

2022-10-17 23:05:05 | [Mutex] received everything.

2022-10-17 23:05:05 | [Mutex] isItemNotified: received:node:b7b136f1-ca40-4b79-9444-247962295dbd:localhost:node-05de4770-c3b9-4425-8bb7-831c5627e8f8:Node 05de4770-c3b9-4425-8bb7-831c5627e8f8 :: false

createNodes 1.391s
2022-10-17 23:05:02 |

2022-10-17 23:05:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 23:05:02 | ------------------------------------

2022-10-17 23:05:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-05de4770-c3b9-4425-8bb7-831c5627e8f8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 05de4770-c3b9-4425-8bb7-831c5627e8f8</title></pubsub></data>

2022-10-17 23:05:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-17 23:05:03 | [Mutex] waiting for: [received:nodes:4baacbf7-61f3-42dc-94d0-440cb5d9ce5a:localhost]

2022-10-17 23:05:03 | [Mutex] received everything.

2022-10-17 23:05:03 | [Mutex] isItemNotified: received:node:4baacbf7-61f3-42dc-94d0-440cb5d9ce5a:localhost:node-05de4770-c3b9-4425-8bb7-831c5627e8f8:Node 05de4770-c3b9-4425-8bb7-831c5627e8f8 :: true

createSubnodes 1.025s
2022-10-17 23:05:03 |

2022-10-17 23:05:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 23:05:03 | ------------------------------------

2022-10-17 23:05:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d8b78938-22b3-48b4-962a-52d2367ba2f2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d8b78938-22b3-48b4-962a-52d2367ba2f2</title></pubsub></data>

2022-10-17 23:05:03 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-17 23:05:04 | [Mutex] waiting for: [received:nodes:52f34465-657c-4619-9e77-7ba7ea1ca777:localhost]

2022-10-17 23:05:04 | [Mutex] received everything.

2022-10-17 23:05:04 | [Mutex] isItemNotified: received:node:52f34465-657c-4619-9e77-7ba7ea1ca777:localhost:node-d8b78938-22b3-48b4-962a-52d2367ba2f2:Node d8b78938-22b3-48b4-962a-52d2367ba2f2 :: true

deleteNodes 1.018s
2022-10-17 23:05:10 |

2022-10-17 23:05:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 23:05:10 | ------------------------------------

2022-10-17 23:05:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d8b78938-22b3-48b4-962a-52d2367ba2f2</node></data>

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

2022-10-17 23:05:11 | [Mutex] waiting for: [received:nodes:0b59e5a7-a3b8-4088-b5f0-bac99da2d905:localhost]

2022-10-17 23:05:11 | [Mutex] waiting for: [received:nodes:0b59e5a7-a3b8-4088-b5f0-bac99da2d905:localhost]

2022-10-17 23:05:11 | [Mutex] waiting for: [received:nodes:0b59e5a7-a3b8-4088-b5f0-bac99da2d905:localhost]

2022-10-17 23:05:11 | [Mutex] received everything.

2022-10-17 23:05:11 | [Mutex] isItemNotified: received:node:0b59e5a7-a3b8-4088-b5f0-bac99da2d905:localhost:node-d8b78938-22b3-48b4-962a-52d2367ba2f2:Node d8b78938-22b3-48b4-962a-52d2367ba2f2 :: false

deleteSubnodes 1.172s
2022-10-17 23:05:09 |

2022-10-17 23:05:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 23:05:09 | ------------------------------------

2022-10-17 23:05:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-05de4770-c3b9-4425-8bb7-831c5627e8f8</node></data>

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

2022-10-17 23:05:10 | [Mutex] waiting for: [received:nodes:245f8b57-c13c-40ad-bc28-791b027bd6cc:localhost]

2022-10-17 23:05:10 | [Mutex] received everything.

2022-10-17 23:05:10 | [Mutex] isItemNotified: received:node:245f8b57-c13c-40ad-bc28-791b027bd6cc:localhost:node-05de4770-c3b9-4425-8bb7-831c5627e8f8:Node 05de4770-c3b9-4425-8bb7-831c5627e8f8 :: false

2022-10-17 23:05:10 | [Mutex] waiting for: [received:nodes:0d253ecd-b208-437a-ace8-2b7065e164ad:localhost]

2022-10-17 23:05:10 | [Mutex] received everything.

2022-10-17 23:05:10 | [Mutex] isItemNotified: received:node:0d253ecd-b208-437a-ace8-2b7065e164ad:localhost:node-05de4770-c3b9-4425-8bb7-831c5627e8f8:Node 05de4770-c3b9-4425-8bb7-831c5627e8f8 :: false

publishItemsToNodes 0.237s
2022-10-17 23:05:06 |

2022-10-17 23:05:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 23:05:06 | ------------------------------------

2022-10-17 23:05:06 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-05de4770-c3b9-4425-8bb7-831c5627e8f8</node><item-id>item-29e35417-3e69-461f-a691-f7f429c59b70</item-id><entry><test>item-29e35417-3e69-461f-a691-f7f429c59b70</test></entry></data>

2022-10-17 23:05:07 | 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-29e35417-3e69-461f-a691-f7f429c59b70</value></item-id></result>

2022-10-17 23:05:07 | [Mutex] waiting for: [published:item:notifieditem-29e35417-3e69-461f-a691-f7f429c59b70:admin@test-domain.com]

2022-10-17 23:05:07 | [Mutex] received everything.

2022-10-17 23:05:07 | [Mutex] isItemNotified: published:item:notifieditem-29e35417-3e69-461f-a691-f7f429c59b70:admin@test-domain.com :: true

retractItemsFromNodes 0.255s
2022-10-17 23:05:07 |

2022-10-17 23:05:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 23:05:07 | ------------------------------------

2022-10-17 23:05:07 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-05de4770-c3b9-4425-8bb7-831c5627e8f8</node><item-id>item-29e35417-3e69-461f-a691-f7f429c59b70</item-id></data>

2022-10-17 23:05:07 | 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-29e35417-3e69-461f-a691-f7f429c59b70</value></item-id></result>

2022-10-17 23:05:07 | [Mutex] received everything.

2022-10-17 23:05:07 | [Mutex] isItemNotified: retracted:item:notifieditem-29e35417-3e69-461f-a691-f7f429c59b70:admin@test-domain.com :: true

retrieveItemsFromNodes 0.216s
2022-10-17 23:05:07 |

2022-10-17 23:05:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 23:05:07 | ------------------------------------

2022-10-17 23:05:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-05de4770-c3b9-4425-8bb7-831c5627e8f8</node><item-id>item-29e35417-3e69-461f-a691-f7f429c59b70</item-id></data>

2022-10-17 23:05:07 | 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-05de4770-c3b9-4425-8bb7-831c5627e8f8</value></node><item-id label="Item ID" type="text-single"><value>item-29e35417-3e69-461f-a691-f7f429c59b70</value></item-id><item label="Item" type="text-multi"><value><item id="item-29e35417-3e69-461f-a691-f7f429c59b70"><test>item-29e35417-3e69-461f-a691-f7f429c59b70</test></item></value></item></result>

2022-10-17 23:05:07 | [Mutex] notify: [retrieved:item:item-29e35417-3e69-461f-a691-f7f429c59b70:payload-matches:true:localhost]

2022-10-17 23:05:07 | [Mutex] received everything.

2022-10-17 23:05:07 | [Mutex] isItemNotified: retrieved:item:item-29e35417-3e69-461f-a691-f7f429c59b70:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-10-17 23:05:07 |

2022-10-17 23:05:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 23:05:07 | ------------------------------------

2022-10-17 23:05:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-10-17 23:05:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-05de4770-c3b9-4425-8bb7-831c5627e8f8</value><value>test</value><value>node-d8b78938-22b3-48b4-962a-52d2367ba2f2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-10-17 23:05:07 |

2022-10-17 23:05:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 23:05:07 | ------------------------------------

2022-10-17 23:05:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-05de4770-c3b9-4425-8bb7-831c5627e8f8)</node-pattern></data>

2022-10-17 23:05:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.133s
2022-10-17 23:05:05 |

2022-10-17 23:05:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 23:05:05 | ------------------------------------

2022-10-17 23:05:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-05de4770-c3b9-4425-8bb7-831c5627e8f8</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.267s
2022-10-17 23:05:07 |

2022-10-17 23:05:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 23:05:07 | ------------------------------------

2022-10-17 23:05:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-05de4770-c3b9-4425-8bb7-831c5627e8f8</node><jids><value>admin@test-domain.com</value></jids></data>

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