Generated by TestNG with ReportNG at 22:17 PDT on Saturday 09 July 2022
root@f9c07ffec79b / 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.500s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2022-07-09 22:32:49 |

2022-07-09 22:32:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 22:32:49 | ------------------------------------

2022-07-09 22:32:49 | [Mutex] waiting for: [configured:node:node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1:node-2b54226a-dd27-412b-8341-933c68aeef52]

2022-07-09 22:32:49 | [Mutex] received everything.

2022-07-09 22:32:49 | [Mutex] isItemNotified: configured:node:node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1:node-2b54226a-dd27-412b-8341-933c68aeef52 :: true

2022-07-09 22:32:50 | [Mutex] waiting for: [received:nodes:c3903215-11ff-4cfc-9e9e-85268c61249f:localhost]

2022-07-09 22:32:50 | [Mutex] received everything.

2022-07-09 22:32:50 | [Mutex] isItemNotified: received:node:c3903215-11ff-4cfc-9e9e-85268c61249f:localhost:node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1:Node a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1 :: true

2022-07-09 22:32:50 | [Mutex] waiting for: [received:nodes:3a9f0fff-642e-472d-a96d-11c3de10bc5d:localhost]

2022-07-09 22:32:50 | [Mutex] received everything.

2022-07-09 22:32:50 | [Mutex] isItemNotified: received:node:3a9f0fff-642e-472d-a96d-11c3de10bc5d:localhost:node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1:Node a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1 :: false

createNodes 1.445s
2022-07-09 22:32:46 |

2022-07-09 22:32:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 22:32:46 | ------------------------------------

2022-07-09 22:32:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1</title></pubsub></data>

2022-07-09 22:32:47 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-09 22:32:48 | [Mutex] waiting for: [received:nodes:416d1f0c-7b0c-4402-8f0a-ecb26148cd56:localhost]

2022-07-09 22:32:48 | [Mutex] waiting for: [received:nodes:416d1f0c-7b0c-4402-8f0a-ecb26148cd56:localhost]

2022-07-09 22:32:48 | [Mutex] received everything.

2022-07-09 22:32:48 | [Mutex] isItemNotified: received:node:416d1f0c-7b0c-4402-8f0a-ecb26148cd56:localhost:node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1:Node a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1 :: true

createSubnodes 1.038s
2022-07-09 22:32:48 |

2022-07-09 22:32:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 22:32:48 | ------------------------------------

2022-07-09 22:32:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2b54226a-dd27-412b-8341-933c68aeef52</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2b54226a-dd27-412b-8341-933c68aeef52</title></pubsub></data>

2022-07-09 22:32:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-09 22:32:49 | [Mutex] waiting for: [received:nodes:3e33fa3e-e168-40c7-84e0-aaaebaf8cdcb:localhost]

2022-07-09 22:32:49 | [Mutex] waiting for: [received:nodes:3e33fa3e-e168-40c7-84e0-aaaebaf8cdcb:localhost]

2022-07-09 22:32:49 | [Mutex] waiting for: [received:nodes:3e33fa3e-e168-40c7-84e0-aaaebaf8cdcb:localhost]

2022-07-09 22:32:49 | [Mutex] received everything.

2022-07-09 22:32:49 | [Mutex] isItemNotified: received:node:3e33fa3e-e168-40c7-84e0-aaaebaf8cdcb:localhost:node-2b54226a-dd27-412b-8341-933c68aeef52:Node 2b54226a-dd27-412b-8341-933c68aeef52 :: true

deleteNodes 1.015s
2022-07-09 22:32:54 |

2022-07-09 22:32:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 22:32:54 | ------------------------------------

2022-07-09 22:32:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2b54226a-dd27-412b-8341-933c68aeef52</node></data>

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

2022-07-09 22:32:55 | [Mutex] waiting for: [received:nodes:1fdad641-b1e3-45b9-962f-116795faabf4:localhost]

2022-07-09 22:32:55 | [Mutex] waiting for: [received:nodes:1fdad641-b1e3-45b9-962f-116795faabf4:localhost]

2022-07-09 22:32:55 | [Mutex] received everything.

2022-07-09 22:32:55 | [Mutex] isItemNotified: received:node:1fdad641-b1e3-45b9-962f-116795faabf4:localhost:node-2b54226a-dd27-412b-8341-933c68aeef52:Node 2b54226a-dd27-412b-8341-933c68aeef52 :: false

deleteSubnodes 1.124s
2022-07-09 22:32:53 |

2022-07-09 22:32:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 22:32:53 | ------------------------------------

2022-07-09 22:32:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1</node></data>

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

2022-07-09 22:32:54 | [Mutex] waiting for: [received:nodes:1c7ed7a1-beef-4069-8d91-72b6f93b7a2a:localhost]

2022-07-09 22:32:54 | [Mutex] waiting for: [received:nodes:1c7ed7a1-beef-4069-8d91-72b6f93b7a2a:localhost]

2022-07-09 22:32:54 | [Mutex] waiting for: [received:nodes:1c7ed7a1-beef-4069-8d91-72b6f93b7a2a:localhost]

2022-07-09 22:32:54 | [Mutex] waiting for: [received:nodes:1c7ed7a1-beef-4069-8d91-72b6f93b7a2a:localhost]

2022-07-09 22:32:54 | [Mutex] received everything.

2022-07-09 22:32:54 | [Mutex] isItemNotified: received:node:1c7ed7a1-beef-4069-8d91-72b6f93b7a2a:localhost:node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1:Node a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1 :: false

2022-07-09 22:32:54 | [Mutex] waiting for: [received:nodes:9585b84c-2410-4eae-aa12-f0ec7379c8f8:localhost]

2022-07-09 22:32:54 | [Mutex] received everything.

2022-07-09 22:32:54 | [Mutex] isItemNotified: received:node:9585b84c-2410-4eae-aa12-f0ec7379c8f8:localhost:node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1:Node a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1 :: false

publishItemsToNodes 0.268s
2022-07-09 22:32:51 |

2022-07-09 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 22:32:51 | ------------------------------------

2022-07-09 22:32:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1</node><item-id>item-0d333b8a-4988-4fef-b400-3059eb6c09c2</item-id><entry><test>item-0d333b8a-4988-4fef-b400-3059eb6c09c2</test></entry></data>

2022-07-09 22:32:51 | 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-0d333b8a-4988-4fef-b400-3059eb6c09c2</value></item-id></result>

2022-07-09 22:32:51 | [Mutex] waiting for: [published:item:notifieditem-0d333b8a-4988-4fef-b400-3059eb6c09c2:admin@test-domain.com]

2022-07-09 22:32:51 | [Mutex] received everything.

2022-07-09 22:32:51 | [Mutex] isItemNotified: published:item:notifieditem-0d333b8a-4988-4fef-b400-3059eb6c09c2:admin@test-domain.com :: true

retractItemsFromNodes 0.291s
2022-07-09 22:32:51 |

2022-07-09 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 22:32:51 | ------------------------------------

2022-07-09 22:32:51 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1</node><item-id>item-0d333b8a-4988-4fef-b400-3059eb6c09c2</item-id></data>

2022-07-09 22:32:52 | 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-0d333b8a-4988-4fef-b400-3059eb6c09c2</value></item-id></result>

2022-07-09 22:32:52 | [Mutex] received everything.

2022-07-09 22:32:52 | [Mutex] isItemNotified: retracted:item:notifieditem-0d333b8a-4988-4fef-b400-3059eb6c09c2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.138s
2022-07-09 22:32:51 |

2022-07-09 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 22:32:51 | ------------------------------------

2022-07-09 22:32:51 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1</node><item-id>item-0d333b8a-4988-4fef-b400-3059eb6c09c2</item-id></data>

2022-07-09 22:32:51 | 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-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1</value></node><item-id label="Item ID" type="text-single"><value>item-0d333b8a-4988-4fef-b400-3059eb6c09c2</value></item-id><item label="Item" type="text-multi"><value><item id="item-0d333b8a-4988-4fef-b400-3059eb6c09c2"><test>item-0d333b8a-4988-4fef-b400-3059eb6c09c2</test></item></value></item></result>

2022-07-09 22:32:51 | [Mutex] notify: [retrieved:item:item-0d333b8a-4988-4fef-b400-3059eb6c09c2:payload-matches:true:localhost]

2022-07-09 22:32:51 | [Mutex] received everything.

2022-07-09 22:32:51 | [Mutex] isItemNotified: retrieved:item:item-0d333b8a-4988-4fef-b400-3059eb6c09c2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-07-09 22:32:51 |

2022-07-09 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 22:32:51 | ------------------------------------

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

2022-07-09 22:32:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1</value><value>test</value><value>node-2b54226a-dd27-412b-8341-933c68aeef52</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-07-09 22:32:51 |

2022-07-09 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 22:32:51 | ------------------------------------

2022-07-09 22:32:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1)</node-pattern></data>

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

subscribeNodes 1.105s
2022-07-09 22:32:50 |

2022-07-09 22:32:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 22:32:50 | ------------------------------------

2022-07-09 22:32:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-09 22:32:50 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.215s
2022-07-09 22:32:52 |

2022-07-09 22:32:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 22:32:52 | ------------------------------------

2022-07-09 22:32:52 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a1d38ccc-1200-445e-a3cb-eb62f5cdb9f1</node><jids><value>admin@test-domain.com</value></jids></data>

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