Generated by TestNG with ReportNG at 22:20 PDT on Wednesday 07 September 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.449s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2022-09-07 22:41:43 |

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

2022-09-07 22:41:43 | ------------------------------------

2022-09-07 22:41:43 | [Mutex] waiting for: [configured:node:node-ce388dbe-cacc-4380-9257-6a4e60813d84:node-3757493b-1a34-471b-92e9-83f41e4a30a0]

2022-09-07 22:41:43 | [Mutex] received everything.

2022-09-07 22:41:43 | [Mutex] isItemNotified: configured:node:node-ce388dbe-cacc-4380-9257-6a4e60813d84:node-3757493b-1a34-471b-92e9-83f41e4a30a0 :: true

2022-09-07 22:41:44 | [Mutex] waiting for: [received:nodes:39bf03bf-23a3-4ba6-8c65-c068f9acdbd2:localhost]

2022-09-07 22:41:44 | [Mutex] received everything.

2022-09-07 22:41:44 | [Mutex] isItemNotified: received:node:39bf03bf-23a3-4ba6-8c65-c068f9acdbd2:localhost:node-ce388dbe-cacc-4380-9257-6a4e60813d84:Node ce388dbe-cacc-4380-9257-6a4e60813d84 :: true

2022-09-07 22:41:44 | [Mutex] waiting for: [received:nodes:5a178d89-ea92-4bdf-bc15-90e9744ef9a8:localhost]

2022-09-07 22:41:44 | [Mutex] received everything.

2022-09-07 22:41:44 | [Mutex] isItemNotified: received:node:5a178d89-ea92-4bdf-bc15-90e9744ef9a8:localhost:node-ce388dbe-cacc-4380-9257-6a4e60813d84:Node ce388dbe-cacc-4380-9257-6a4e60813d84 :: false

createNodes 1.387s
2022-09-07 22:41:40 |

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

2022-09-07 22:41:40 | ------------------------------------

2022-09-07 22:41:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ce388dbe-cacc-4380-9257-6a4e60813d84</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ce388dbe-cacc-4380-9257-6a4e60813d84</title></pubsub></data>

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

2022-09-07 22:41:42 | [Mutex] waiting for: [received:nodes:7195442c-ceb8-41cd-99b1-48cdacd0f71c:localhost]

2022-09-07 22:41:42 | [Mutex] received everything.

2022-09-07 22:41:42 | [Mutex] isItemNotified: received:node:7195442c-ceb8-41cd-99b1-48cdacd0f71c:localhost:node-ce388dbe-cacc-4380-9257-6a4e60813d84:Node ce388dbe-cacc-4380-9257-6a4e60813d84 :: true

createSubnodes 1.020s
2022-09-07 22:41:42 |

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

2022-09-07 22:41:42 | ------------------------------------

2022-09-07 22:41:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3757493b-1a34-471b-92e9-83f41e4a30a0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3757493b-1a34-471b-92e9-83f41e4a30a0</title></pubsub></data>

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

2022-09-07 22:41:43 | [Mutex] waiting for: [received:nodes:c8d5f12e-6d23-4d31-9178-5f923b8457af:localhost]

2022-09-07 22:41:43 | [Mutex] received everything.

2022-09-07 22:41:43 | [Mutex] isItemNotified: received:node:c8d5f12e-6d23-4d31-9178-5f923b8457af:localhost:node-3757493b-1a34-471b-92e9-83f41e4a30a0:Node 3757493b-1a34-471b-92e9-83f41e4a30a0 :: true

deleteNodes 1.017s
2022-09-07 22:41:48 |

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

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

2022-09-07 22:41:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3757493b-1a34-471b-92e9-83f41e4a30a0</node></data>

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

2022-09-07 22:41:49 | [Mutex] waiting for: [received:nodes:58d6900f-3355-40cd-a045-a80759a087b2:localhost]

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

2022-09-07 22:41:49 | [Mutex] isItemNotified: received:node:58d6900f-3355-40cd-a045-a80759a087b2:localhost:node-3757493b-1a34-471b-92e9-83f41e4a30a0:Node 3757493b-1a34-471b-92e9-83f41e4a30a0 :: false

deleteSubnodes 1.115s
2022-09-07 22:41:47 |

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

2022-09-07 22:41:47 | ------------------------------------

2022-09-07 22:41:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ce388dbe-cacc-4380-9257-6a4e60813d84</node></data>

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

2022-09-07 22:41:48 | [Mutex] waiting for: [received:nodes:14b0969f-aab9-4947-88af-114525d88c6a:localhost]

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

2022-09-07 22:41:48 | [Mutex] isItemNotified: received:node:14b0969f-aab9-4947-88af-114525d88c6a:localhost:node-ce388dbe-cacc-4380-9257-6a4e60813d84:Node ce388dbe-cacc-4380-9257-6a4e60813d84 :: false

2022-09-07 22:41:48 | [Mutex] waiting for: [received:nodes:d237ac07-2d9b-4403-b797-bc2729d319ee:localhost]

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

2022-09-07 22:41:48 | [Mutex] isItemNotified: received:node:d237ac07-2d9b-4403-b797-bc2729d319ee:localhost:node-ce388dbe-cacc-4380-9257-6a4e60813d84:Node ce388dbe-cacc-4380-9257-6a4e60813d84 :: false

publishItemsToNodes 0.209s
2022-09-07 22:41:45 |

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

2022-09-07 22:41:45 | ------------------------------------

2022-09-07 22:41:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ce388dbe-cacc-4380-9257-6a4e60813d84</node><item-id>item-938709bf-3a07-417e-a736-7b635af33604</item-id><entry><test>item-938709bf-3a07-417e-a736-7b635af33604</test></entry></data>

2022-09-07 22:41:45 | 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-938709bf-3a07-417e-a736-7b635af33604</value></item-id></result>

2022-09-07 22:41:45 | [Mutex] waiting for: [published:item:notifieditem-938709bf-3a07-417e-a736-7b635af33604:admin@test-domain.com]

2022-09-07 22:41:45 | [Mutex] received everything.

2022-09-07 22:41:45 | [Mutex] isItemNotified: published:item:notifieditem-938709bf-3a07-417e-a736-7b635af33604:admin@test-domain.com :: true

retractItemsFromNodes 0.264s
2022-09-07 22:41:45 |

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

2022-09-07 22:41:45 | ------------------------------------

2022-09-07 22:41:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ce388dbe-cacc-4380-9257-6a4e60813d84</node><item-id>item-938709bf-3a07-417e-a736-7b635af33604</item-id></data>

2022-09-07 22:41:46 | 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-938709bf-3a07-417e-a736-7b635af33604</value></item-id></result>

2022-09-07 22:41:46 | [Mutex] received everything.

2022-09-07 22:41:46 | [Mutex] isItemNotified: retracted:item:notifieditem-938709bf-3a07-417e-a736-7b635af33604:admin@test-domain.com :: true

retrieveItemsFromNodes 0.161s
2022-09-07 22:41:45 |

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

2022-09-07 22:41:45 | ------------------------------------

2022-09-07 22:41:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ce388dbe-cacc-4380-9257-6a4e60813d84</node><item-id>item-938709bf-3a07-417e-a736-7b635af33604</item-id></data>

2022-09-07 22:41:45 | 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-ce388dbe-cacc-4380-9257-6a4e60813d84</value></node><item-id label="Item ID" type="text-single"><value>item-938709bf-3a07-417e-a736-7b635af33604</value></item-id><item label="Item" type="text-multi"><value><item id="item-938709bf-3a07-417e-a736-7b635af33604"><test>item-938709bf-3a07-417e-a736-7b635af33604</test></item></value></item></result>

2022-09-07 22:41:45 | [Mutex] notify: [retrieved:item:item-938709bf-3a07-417e-a736-7b635af33604:payload-matches:true:localhost]

2022-09-07 22:41:45 | [Mutex] received everything.

2022-09-07 22:41:45 | [Mutex] isItemNotified: retrieved:item:item-938709bf-3a07-417e-a736-7b635af33604:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-07 22:41:45 |

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

2022-09-07 22:41:45 | ------------------------------------

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

2022-09-07 22:41:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-ce388dbe-cacc-4380-9257-6a4e60813d84</value><value>test</value><value>node-3757493b-1a34-471b-92e9-83f41e4a30a0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-07 22:41:45 |

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

2022-09-07 22:41:45 | ------------------------------------

2022-09-07 22:41:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ce388dbe-cacc-4380-9257-6a4e60813d84)</node-pattern></data>

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

subscribeNodes 1.176s
2022-09-07 22:41:44 |

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

2022-09-07 22:41:44 | ------------------------------------

2022-09-07 22:41:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ce388dbe-cacc-4380-9257-6a4e60813d84</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.219s
2022-09-07 22:41:46 |

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

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

2022-09-07 22:41:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ce388dbe-cacc-4380-9257-6a4e60813d84</node><jids><value>admin@test-domain.com</value></jids></data>

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