Generated by TestNG with ReportNG at 15:45 PDT on Friday 25 September 2020
root@a2ca0c7e65bb / 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 : 9.898s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2020-09-25 16:01:35 |

2020-09-25 16:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:01:35 | ------------------------------------

2020-09-25 16:01:35 | [Mutex] waiting for: [configured:node:node-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5:node-debbdc6b-5c50-4c2b-9979-821a019b1ce0]

2020-09-25 16:01:35 | [Mutex] received everything.

2020-09-25 16:01:35 | [Mutex] isItemNotified: configured:node:node-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5:node-debbdc6b-5c50-4c2b-9979-821a019b1ce0 :: true

2020-09-25 16:01:36 | [Mutex] waiting for: [received:nodes:0cac3bfe-f6bf-4d25-b8e2-3942ce30acf1:localhost]

2020-09-25 16:01:36 | [Mutex] waiting for: [received:nodes:0cac3bfe-f6bf-4d25-b8e2-3942ce30acf1:localhost]

2020-09-25 16:01:36 | [Mutex] received everything.

2020-09-25 16:01:36 | [Mutex] isItemNotified: received:node:0cac3bfe-f6bf-4d25-b8e2-3942ce30acf1:localhost:node-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5:Node ee8554df-e2cc-4927-9a0b-80fd19ce3aa5 :: true

2020-09-25 16:01:36 | [Mutex] waiting for: [received:nodes:fe2b3d57-88bf-4fe8-93d4-4402f9bca00f:localhost]

2020-09-25 16:01:36 | [Mutex] received everything.

2020-09-25 16:01:36 | [Mutex] isItemNotified: received:node:fe2b3d57-88bf-4fe8-93d4-4402f9bca00f:localhost:node-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5:Node ee8554df-e2cc-4927-9a0b-80fd19ce3aa5 :: false

createNodes 1.409s
2020-09-25 16:01:33 |

2020-09-25 16:01:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:01:33 | ------------------------------------

2020-09-25 16:01:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ee8554df-e2cc-4927-9a0b-80fd19ce3aa5</title></pubsub></data>

2020-09-25 16:01:33 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-25 16:01:34 | [Mutex] waiting for: [received:nodes:934724c3-57ca-40d8-9f42-d007cb0cf3be:localhost]

2020-09-25 16:01:34 | [Mutex] received everything.

2020-09-25 16:01:34 | [Mutex] isItemNotified: received:node:934724c3-57ca-40d8-9f42-d007cb0cf3be:localhost:node-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5:Node ee8554df-e2cc-4927-9a0b-80fd19ce3aa5 :: true

createSubnodes 1.023s
2020-09-25 16:01:34 |

2020-09-25 16:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:01:34 | ------------------------------------

2020-09-25 16:01:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-debbdc6b-5c50-4c2b-9979-821a019b1ce0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node debbdc6b-5c50-4c2b-9979-821a019b1ce0</title></pubsub></data>

2020-09-25 16:01:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-25 16:01:35 | [Mutex] waiting for: [received:nodes:f0f709dc-4601-49e1-a397-1214d9430e05:localhost]

2020-09-25 16:01:35 | [Mutex] received everything.

2020-09-25 16:01:35 | [Mutex] isItemNotified: received:node:f0f709dc-4601-49e1-a397-1214d9430e05:localhost:node-debbdc6b-5c50-4c2b-9979-821a019b1ce0:Node debbdc6b-5c50-4c2b-9979-821a019b1ce0 :: true

deleteNodes 1.024s
2020-09-25 16:01:41 |

2020-09-25 16:01:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:01:41 | ------------------------------------

2020-09-25 16:01:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-debbdc6b-5c50-4c2b-9979-821a019b1ce0</node></data>

2020-09-25 16:01:41 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-25 16:01:42 | [Mutex] waiting for: [received:nodes:011e08dc-856c-4d11-a2da-5815ce60ee01:localhost]

2020-09-25 16:01:42 | [Mutex] received everything.

2020-09-25 16:01:42 | [Mutex] isItemNotified: received:node:011e08dc-856c-4d11-a2da-5815ce60ee01:localhost:node-debbdc6b-5c50-4c2b-9979-821a019b1ce0:Node debbdc6b-5c50-4c2b-9979-821a019b1ce0 :: false

deleteSubnodes 1.108s
2020-09-25 16:01:40 |

2020-09-25 16:01:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:01:40 | ------------------------------------

2020-09-25 16:01:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5</node></data>

2020-09-25 16:01:40 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-25 16:01:41 | [Mutex] waiting for: [received:nodes:447c8b5a-f9ed-427b-9496-682e26b5886b:localhost]

2020-09-25 16:01:41 | [Mutex] received everything.

2020-09-25 16:01:41 | [Mutex] isItemNotified: received:node:447c8b5a-f9ed-427b-9496-682e26b5886b:localhost:node-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5:Node ee8554df-e2cc-4927-9a0b-80fd19ce3aa5 :: false

2020-09-25 16:01:41 | [Mutex] waiting for: [received:nodes:49c5fc35-bd68-4563-b5e1-11528c6bfe98:localhost]

2020-09-25 16:01:41 | [Mutex] received everything.

2020-09-25 16:01:41 | [Mutex] isItemNotified: received:node:49c5fc35-bd68-4563-b5e1-11528c6bfe98:localhost:node-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5:Node ee8554df-e2cc-4927-9a0b-80fd19ce3aa5 :: false

publishItemsToNodes 0.232s
2020-09-25 16:01:38 |

2020-09-25 16:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:01:38 | ------------------------------------

2020-09-25 16:01:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5</node><item-id>item-00b31118-1cf1-45e2-a070-f9a4d642111d</item-id><entry><test>item-00b31118-1cf1-45e2-a070-f9a4d642111d</test></entry></data>

2020-09-25 16:01:38 | 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-00b31118-1cf1-45e2-a070-f9a4d642111d</value></item-id></result>

2020-09-25 16:01:38 | [Mutex] waiting for: [published:item:notifieditem-00b31118-1cf1-45e2-a070-f9a4d642111d:admin@test-domain.com]

2020-09-25 16:01:38 | [Mutex] received everything.

2020-09-25 16:01:38 | [Mutex] isItemNotified: published:item:notifieditem-00b31118-1cf1-45e2-a070-f9a4d642111d:admin@test-domain.com :: true

retractItemsFromNodes 0.331s
2020-09-25 16:01:38 |

2020-09-25 16:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:01:38 | ------------------------------------

2020-09-25 16:01:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5</node><item-id>item-00b31118-1cf1-45e2-a070-f9a4d642111d</item-id></data>

2020-09-25 16:01:38 | 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-00b31118-1cf1-45e2-a070-f9a4d642111d</value></item-id></result>

2020-09-25 16:01:38 | [Mutex] received everything.

2020-09-25 16:01:38 | [Mutex] isItemNotified: retracted:item:notifieditem-00b31118-1cf1-45e2-a070-f9a4d642111d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.189s
2020-09-25 16:01:38 |

2020-09-25 16:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:01:38 | ------------------------------------

2020-09-25 16:01:38 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5</node><item-id>item-00b31118-1cf1-45e2-a070-f9a4d642111d</item-id></data>

2020-09-25 16:01:38 | 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-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5</value></node><item-id type="text-single" label="Item ID"><value>item-00b31118-1cf1-45e2-a070-f9a4d642111d</value></item-id><item type="text-multi" label="Item"><value><item id="item-00b31118-1cf1-45e2-a070-f9a4d642111d"><test>item-00b31118-1cf1-45e2-a070-f9a4d642111d</test></item></value></item></result>

2020-09-25 16:01:38 | [Mutex] notify: [retrieved:item:item-00b31118-1cf1-45e2-a070-f9a4d642111d:payload-matches:true:localhost]

2020-09-25 16:01:38 | [Mutex] received everything.

2020-09-25 16:01:38 | [Mutex] isItemNotified: retrieved:item:item-00b31118-1cf1-45e2-a070-f9a4d642111d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2020-09-25 16:01:38 |

2020-09-25 16:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:01:38 | ------------------------------------

2020-09-25 16:01:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-25 16:01:38 | 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-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5</value><value>node-debbdc6b-5c50-4c2b-9979-821a019b1ce0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-25 16:01:38 |

2020-09-25 16:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:01:38 | ------------------------------------

2020-09-25 16:01:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5)</node-pattern></data>

2020-09-25 16:01:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.129s
2020-09-25 16:01:36 |

2020-09-25 16:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:01:36 | ------------------------------------

2020-09-25 16:01:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-25 16:01:37 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.340s
2020-09-25 16:01:38 |

2020-09-25 16:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:01:38 | ------------------------------------

2020-09-25 16:01:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ee8554df-e2cc-4927-9a0b-80fd19ce3aa5</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-25 16:01:39 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>