Generated by TestNG with ReportNG at 21:49 PST on Wednesday 30 December 2020
root@87f6aca6b6f2 / 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.111s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.117s
2020-12-30 22:05:18 |

2020-12-30 22:05:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 22:05:18 | ------------------------------------

2020-12-30 22:05:18 | [Mutex] waiting for: [configured:node:node-733a591e-6e32-4f4b-b899-f9862cfca6a1:node-56616c8f-9b20-4f08-ac50-704e6beda31c]

2020-12-30 22:05:18 | [Mutex] received everything.

2020-12-30 22:05:18 | [Mutex] isItemNotified: configured:node:node-733a591e-6e32-4f4b-b899-f9862cfca6a1:node-56616c8f-9b20-4f08-ac50-704e6beda31c :: true

2020-12-30 22:05:19 | [Mutex] waiting for: [received:nodes:496085dd-12b9-4596-9506-bcaf670be576:localhost]

2020-12-30 22:05:19 | [Mutex] received everything.

2020-12-30 22:05:19 | [Mutex] isItemNotified: received:node:496085dd-12b9-4596-9506-bcaf670be576:localhost:node-733a591e-6e32-4f4b-b899-f9862cfca6a1:Node 733a591e-6e32-4f4b-b899-f9862cfca6a1 :: true

2020-12-30 22:05:19 | [Mutex] waiting for: [received:nodes:05fd330d-e892-4bf0-b0ab-0e03090cb066:localhost]

2020-12-30 22:05:19 | [Mutex] waiting for: [received:nodes:05fd330d-e892-4bf0-b0ab-0e03090cb066:localhost]

2020-12-30 22:05:19 | [Mutex] received everything.

2020-12-30 22:05:19 | [Mutex] isItemNotified: received:node:05fd330d-e892-4bf0-b0ab-0e03090cb066:localhost:node-733a591e-6e32-4f4b-b899-f9862cfca6a1:Node 733a591e-6e32-4f4b-b899-f9862cfca6a1 :: false

createNodes 1.596s
2020-12-30 22:05:15 |

2020-12-30 22:05:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 22:05:15 | ------------------------------------

2020-12-30 22:05:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-733a591e-6e32-4f4b-b899-f9862cfca6a1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 733a591e-6e32-4f4b-b899-f9862cfca6a1</title></pubsub></data>

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

2020-12-30 22:05:17 | [Mutex] waiting for: [received:nodes:cdd22c95-9520-44e4-bcb5-6450f6b7c5a4:localhost]

2020-12-30 22:05:17 | [Mutex] received everything.

2020-12-30 22:05:17 | [Mutex] isItemNotified: received:node:cdd22c95-9520-44e4-bcb5-6450f6b7c5a4:localhost:node-733a591e-6e32-4f4b-b899-f9862cfca6a1:Node 733a591e-6e32-4f4b-b899-f9862cfca6a1 :: true

createSubnodes 1.027s
2020-12-30 22:05:17 |

2020-12-30 22:05:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 22:05:17 | ------------------------------------

2020-12-30 22:05:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-56616c8f-9b20-4f08-ac50-704e6beda31c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 56616c8f-9b20-4f08-ac50-704e6beda31c</title></pubsub></data>

2020-12-30 22:05:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-30 22:05:18 | [Mutex] waiting for: [received:nodes:afdfed3e-6e54-42f6-8fc9-4ba5941dca65:localhost]

2020-12-30 22:05:18 | [Mutex] waiting for: [received:nodes:afdfed3e-6e54-42f6-8fc9-4ba5941dca65:localhost]

2020-12-30 22:05:18 | [Mutex] received everything.

2020-12-30 22:05:18 | [Mutex] isItemNotified: received:node:afdfed3e-6e54-42f6-8fc9-4ba5941dca65:localhost:node-56616c8f-9b20-4f08-ac50-704e6beda31c:Node 56616c8f-9b20-4f08-ac50-704e6beda31c :: true

deleteNodes 1.018s
2020-12-30 22:05:24 |

2020-12-30 22:05:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 22:05:24 | ------------------------------------

2020-12-30 22:05:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-56616c8f-9b20-4f08-ac50-704e6beda31c</node></data>

2020-12-30 22:05:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-30 22:05:25 | [Mutex] waiting for: [received:nodes:6c0acfde-37c5-4094-bc45-736b430535e5:localhost]

2020-12-30 22:05:25 | [Mutex] received everything.

2020-12-30 22:05:25 | [Mutex] isItemNotified: received:node:6c0acfde-37c5-4094-bc45-736b430535e5:localhost:node-56616c8f-9b20-4f08-ac50-704e6beda31c:Node 56616c8f-9b20-4f08-ac50-704e6beda31c :: false

deleteSubnodes 1.111s
2020-12-30 22:05:22 |

2020-12-30 22:05:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 22:05:22 | ------------------------------------

2020-12-30 22:05:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-733a591e-6e32-4f4b-b899-f9862cfca6a1</node></data>

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

2020-12-30 22:05:24 | [Mutex] waiting for: [received:nodes:90acae6d-723b-40ae-a823-abf7178f83c8:localhost]

2020-12-30 22:05:24 | [Mutex] waiting for: [received:nodes:90acae6d-723b-40ae-a823-abf7178f83c8:localhost]

2020-12-30 22:05:24 | [Mutex] received everything.

2020-12-30 22:05:24 | [Mutex] isItemNotified: received:node:90acae6d-723b-40ae-a823-abf7178f83c8:localhost:node-733a591e-6e32-4f4b-b899-f9862cfca6a1:Node 733a591e-6e32-4f4b-b899-f9862cfca6a1 :: false

2020-12-30 22:05:24 | [Mutex] waiting for: [received:nodes:adf0ac29-ded1-48cb-ab2c-5c7f00f6831a:localhost]

2020-12-30 22:05:24 | [Mutex] received everything.

2020-12-30 22:05:24 | [Mutex] isItemNotified: received:node:adf0ac29-ded1-48cb-ab2c-5c7f00f6831a:localhost:node-733a591e-6e32-4f4b-b899-f9862cfca6a1:Node 733a591e-6e32-4f4b-b899-f9862cfca6a1 :: false

publishItemsToNodes 0.248s
2020-12-30 22:05:20 |

2020-12-30 22:05:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 22:05:20 | ------------------------------------

2020-12-30 22:05:20 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-733a591e-6e32-4f4b-b899-f9862cfca6a1</node><item-id>item-4073b353-59ba-47e1-84fc-3f7d343e9321</item-id><entry><test>item-4073b353-59ba-47e1-84fc-3f7d343e9321</test></entry></data>

2020-12-30 22:05:21 | 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-4073b353-59ba-47e1-84fc-3f7d343e9321</value></item-id></result>

2020-12-30 22:05:21 | [Mutex] received everything.

2020-12-30 22:05:21 | [Mutex] isItemNotified: published:item:notifieditem-4073b353-59ba-47e1-84fc-3f7d343e9321:admin@test-domain.com :: true

retractItemsFromNodes 0.196s
2020-12-30 22:05:21 |

2020-12-30 22:05:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 22:05:21 | ------------------------------------

2020-12-30 22:05:21 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-733a591e-6e32-4f4b-b899-f9862cfca6a1</node><item-id>item-4073b353-59ba-47e1-84fc-3f7d343e9321</item-id></data>

2020-12-30 22:05:21 | 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-4073b353-59ba-47e1-84fc-3f7d343e9321</value></item-id></result>

2020-12-30 22:05:21 | [Mutex] received everything.

2020-12-30 22:05:21 | [Mutex] isItemNotified: retracted:item:notifieditem-4073b353-59ba-47e1-84fc-3f7d343e9321:admin@test-domain.com :: true

retrieveItemsFromNodes 0.284s
2020-12-30 22:05:21 |

2020-12-30 22:05:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 22:05:21 | ------------------------------------

2020-12-30 22:05:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-733a591e-6e32-4f4b-b899-f9862cfca6a1</node><item-id>item-4073b353-59ba-47e1-84fc-3f7d343e9321</item-id></data>

2020-12-30 22:05:21 | 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-733a591e-6e32-4f4b-b899-f9862cfca6a1</value></node><item-id label="Item ID" type="text-single"><value>item-4073b353-59ba-47e1-84fc-3f7d343e9321</value></item-id><item label="Item" type="text-multi"><value><item id="item-4073b353-59ba-47e1-84fc-3f7d343e9321"><test>item-4073b353-59ba-47e1-84fc-3f7d343e9321</test></item></value></item></result>

2020-12-30 22:05:21 | [Mutex] notify: [retrieved:item:item-4073b353-59ba-47e1-84fc-3f7d343e9321:payload-matches:true:localhost]

2020-12-30 22:05:21 | [Mutex] received everything.

2020-12-30 22:05:21 | [Mutex] isItemNotified: retrieved:item:item-4073b353-59ba-47e1-84fc-3f7d343e9321:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-12-30 22:05:21 |

2020-12-30 22:05:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 22:05:21 | ------------------------------------

2020-12-30 22:05:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-12-30 22:05:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-733a591e-6e32-4f4b-b899-f9862cfca6a1</value><value>test</value><value>node-56616c8f-9b20-4f08-ac50-704e6beda31c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-12-30 22:05:21 |

2020-12-30 22:05:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 22:05:21 | ------------------------------------

2020-12-30 22:05:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-733a591e-6e32-4f4b-b899-f9862cfca6a1)</node-pattern></data>

2020-12-30 22:05:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.127s
2020-12-30 22:05:19 |

2020-12-30 22:05:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 22:05:19 | ------------------------------------

2020-12-30 22:05:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-733a591e-6e32-4f4b-b899-f9862cfca6a1</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-30 22:05:19 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.298s
2020-12-30 22:05:21 |

2020-12-30 22:05:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 22:05:21 | ------------------------------------

2020-12-30 22:05:21 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-733a591e-6e32-4f4b-b899-f9862cfca6a1</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-30 22:05:21 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>