Generated by TestNG with ReportNG at 21:59 PST on Wednesday 16 February 2022
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / 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 : 10.258s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.114s
2022-02-16 22:15:16 |

2022-02-16 22:15:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 22:15:16 | ------------------------------------

2022-02-16 22:15:16 | [Mutex] waiting for: [configured:node:node-d9a89654-e6d7-4d64-a854-52ef2973062b:node-71207583-3e92-4b03-86db-199f8cbcb61d]

2022-02-16 22:15:16 | [Mutex] received everything.

2022-02-16 22:15:16 | [Mutex] isItemNotified: configured:node:node-d9a89654-e6d7-4d64-a854-52ef2973062b:node-71207583-3e92-4b03-86db-199f8cbcb61d :: true

2022-02-16 22:15:17 | [Mutex] waiting for: [received:nodes:08f34a1b-f025-4c02-915d-63ccab56f7fc:localhost]

2022-02-16 22:15:17 | [Mutex] received everything.

2022-02-16 22:15:17 | [Mutex] isItemNotified: received:node:08f34a1b-f025-4c02-915d-63ccab56f7fc:localhost:node-d9a89654-e6d7-4d64-a854-52ef2973062b:Node d9a89654-e6d7-4d64-a854-52ef2973062b :: true

2022-02-16 22:15:17 | [Mutex] waiting for: [received:nodes:7e33bc85-f1e2-4836-99a5-2378eddb8dc3:localhost]

2022-02-16 22:15:17 | [Mutex] received everything.

2022-02-16 22:15:17 | [Mutex] isItemNotified: received:node:7e33bc85-f1e2-4836-99a5-2378eddb8dc3:localhost:node-d9a89654-e6d7-4d64-a854-52ef2973062b:Node d9a89654-e6d7-4d64-a854-52ef2973062b :: false

createNodes 1.499s
2022-02-16 22:15:13 |

2022-02-16 22:15:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 22:15:13 | ------------------------------------

2022-02-16 22:15:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d9a89654-e6d7-4d64-a854-52ef2973062b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d9a89654-e6d7-4d64-a854-52ef2973062b</title></pubsub></data>

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

2022-02-16 22:15:15 | [Mutex] waiting for: [received:nodes:77e48cd9-8119-45b3-8642-6609b8c02a1f:localhost]

2022-02-16 22:15:15 | [Mutex] waiting for: [received:nodes:77e48cd9-8119-45b3-8642-6609b8c02a1f:localhost]

2022-02-16 22:15:15 | [Mutex] received everything.

2022-02-16 22:15:15 | [Mutex] isItemNotified: received:node:77e48cd9-8119-45b3-8642-6609b8c02a1f:localhost:node-d9a89654-e6d7-4d64-a854-52ef2973062b:Node d9a89654-e6d7-4d64-a854-52ef2973062b :: true

createSubnodes 1.022s
2022-02-16 22:15:15 |

2022-02-16 22:15:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 22:15:15 | ------------------------------------

2022-02-16 22:15:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-71207583-3e92-4b03-86db-199f8cbcb61d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 71207583-3e92-4b03-86db-199f8cbcb61d</title></pubsub></data>

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

2022-02-16 22:15:16 | [Mutex] waiting for: [received:nodes:e87f30c6-2208-4bb9-a1d3-ac601543d3f5:localhost]

2022-02-16 22:15:16 | [Mutex] received everything.

2022-02-16 22:15:16 | [Mutex] isItemNotified: received:node:e87f30c6-2208-4bb9-a1d3-ac601543d3f5:localhost:node-71207583-3e92-4b03-86db-199f8cbcb61d:Node 71207583-3e92-4b03-86db-199f8cbcb61d :: true

deleteNodes 1.057s
2022-02-16 22:15:21 |

2022-02-16 22:15:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 22:15:21 | ------------------------------------

2022-02-16 22:15:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-71207583-3e92-4b03-86db-199f8cbcb61d</node></data>

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

2022-02-16 22:15:22 | [Mutex] waiting for: [received:nodes:ef12f917-7a64-46b9-8263-4d0c09260695:localhost]

2022-02-16 22:15:23 | [Mutex] received everything.

2022-02-16 22:15:23 | [Mutex] isItemNotified: received:node:ef12f917-7a64-46b9-8263-4d0c09260695:localhost:node-71207583-3e92-4b03-86db-199f8cbcb61d:Node 71207583-3e92-4b03-86db-199f8cbcb61d :: false

deleteSubnodes 1.150s
2022-02-16 22:15:20 |

2022-02-16 22:15:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 22:15:20 | ------------------------------------

2022-02-16 22:15:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d9a89654-e6d7-4d64-a854-52ef2973062b</node></data>

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

2022-02-16 22:15:21 | [Mutex] waiting for: [received:nodes:d84ccdb4-5a14-41ea-b6f4-7d78fa239c2a:localhost]

2022-02-16 22:15:21 | [Mutex] waiting for: [received:nodes:d84ccdb4-5a14-41ea-b6f4-7d78fa239c2a:localhost]

2022-02-16 22:15:21 | [Mutex] waiting for: [received:nodes:d84ccdb4-5a14-41ea-b6f4-7d78fa239c2a:localhost]

2022-02-16 22:15:21 | [Mutex] received everything.

2022-02-16 22:15:21 | [Mutex] isItemNotified: received:node:d84ccdb4-5a14-41ea-b6f4-7d78fa239c2a:localhost:node-d9a89654-e6d7-4d64-a854-52ef2973062b:Node d9a89654-e6d7-4d64-a854-52ef2973062b :: false

2022-02-16 22:15:21 | [Mutex] waiting for: [received:nodes:f6e77474-e79f-459b-b6f7-1683a1b43c71:localhost]

2022-02-16 22:15:21 | [Mutex] received everything.

2022-02-16 22:15:21 | [Mutex] isItemNotified: received:node:f6e77474-e79f-459b-b6f7-1683a1b43c71:localhost:node-d9a89654-e6d7-4d64-a854-52ef2973062b:Node d9a89654-e6d7-4d64-a854-52ef2973062b :: false

publishItemsToNodes 0.256s
2022-02-16 22:15:18 |

2022-02-16 22:15:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 22:15:18 | ------------------------------------

2022-02-16 22:15:18 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d9a89654-e6d7-4d64-a854-52ef2973062b</node><item-id>item-b1d5a45a-b095-4580-8147-97671819c1eb</item-id><entry><test>item-b1d5a45a-b095-4580-8147-97671819c1eb</test></entry></data>

2022-02-16 22:15:18 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-b1d5a45a-b095-4580-8147-97671819c1eb</value></item-id></result>

2022-02-16 22:15:18 | [Mutex] received everything.

2022-02-16 22:15:18 | [Mutex] isItemNotified: published:item:notifieditem-b1d5a45a-b095-4580-8147-97671819c1eb:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2022-02-16 22:15:19 |

2022-02-16 22:15:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 22:15:19 | ------------------------------------

2022-02-16 22:15:19 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d9a89654-e6d7-4d64-a854-52ef2973062b</node><item-id>item-b1d5a45a-b095-4580-8147-97671819c1eb</item-id></data>

2022-02-16 22:15:19 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-b1d5a45a-b095-4580-8147-97671819c1eb</value></item-id></result>

2022-02-16 22:15:19 | [Mutex] waiting for: [retracted:item:notifieditem-b1d5a45a-b095-4580-8147-97671819c1eb:admin@test-domain.com]

2022-02-16 22:15:19 | [Mutex] received everything.

2022-02-16 22:15:19 | [Mutex] isItemNotified: retracted:item:notifieditem-b1d5a45a-b095-4580-8147-97671819c1eb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.387s
2022-02-16 22:15:18 |

2022-02-16 22:15:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 22:15:18 | ------------------------------------

2022-02-16 22:15:18 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d9a89654-e6d7-4d64-a854-52ef2973062b</node><item-id>item-b1d5a45a-b095-4580-8147-97671819c1eb</item-id></data>

2022-02-16 22:15:19 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-d9a89654-e6d7-4d64-a854-52ef2973062b</value></node><item-id type="text-single" label="Item ID"><value>item-b1d5a45a-b095-4580-8147-97671819c1eb</value></item-id><item type="text-multi" label="Item"><value><item id="item-b1d5a45a-b095-4580-8147-97671819c1eb"><test>item-b1d5a45a-b095-4580-8147-97671819c1eb</test></item></value></item></result>

2022-02-16 22:15:19 | [Mutex] notify: [retrieved:item:item-b1d5a45a-b095-4580-8147-97671819c1eb:payload-matches:true:localhost]

2022-02-16 22:15:19 | [Mutex] received everything.

2022-02-16 22:15:19 | [Mutex] isItemNotified: retrieved:item:item-b1d5a45a-b095-4580-8147-97671819c1eb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-16 22:15:19 |

2022-02-16 22:15:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 22:15:19 | ------------------------------------

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

2022-02-16 22:15:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-d9a89654-e6d7-4d64-a854-52ef2973062b</value><value>node-71207583-3e92-4b03-86db-199f8cbcb61d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-16 22:15:19 |

2022-02-16 22:15:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 22:15:19 | ------------------------------------

2022-02-16 22:15:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d9a89654-e6d7-4d64-a854-52ef2973062b)</node-pattern></data>

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

subscribeNodes 1.156s
2022-02-16 22:15:17 |

2022-02-16 22:15:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 22:15:17 | ------------------------------------

2022-02-16 22:15:17 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d9a89654-e6d7-4d64-a854-52ef2973062b</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.323s
2022-02-16 22:15:19 |

2022-02-16 22:15:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 22:15:19 | ------------------------------------

2022-02-16 22:15:19 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d9a89654-e6d7-4d64-a854-52ef2973062b</node><jids><value>admin@test-domain.com</value></jids></data>

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