Generated by TestNG with ReportNG at 21:30 PST on Tuesday 01 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.204s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.133s
2022-02-01 21:46:42 |

2022-02-01 21:46:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:46:42 | ------------------------------------

2022-02-01 21:46:42 | [Mutex] waiting for: [configured:node:node-2fef5025-72e5-4911-b304-5b6c24dabd79:node-9835d362-9905-40a4-8ec0-83ef7a45888a]

2022-02-01 21:46:42 | [Mutex] received everything.

2022-02-01 21:46:42 | [Mutex] isItemNotified: configured:node:node-2fef5025-72e5-4911-b304-5b6c24dabd79:node-9835d362-9905-40a4-8ec0-83ef7a45888a :: true

2022-02-01 21:46:43 | [Mutex] waiting for: [received:nodes:1ff49a27-df95-463c-8457-cc7009771206:localhost]

2022-02-01 21:46:43 | [Mutex] received everything.

2022-02-01 21:46:43 | [Mutex] isItemNotified: received:node:1ff49a27-df95-463c-8457-cc7009771206:localhost:node-2fef5025-72e5-4911-b304-5b6c24dabd79:Node 2fef5025-72e5-4911-b304-5b6c24dabd79 :: true

2022-02-01 21:46:43 | [Mutex] waiting for: [received:nodes:0055e066-e638-49d3-9591-1a904511111b:localhost]

2022-02-01 21:46:43 | [Mutex] waiting for: [received:nodes:0055e066-e638-49d3-9591-1a904511111b:localhost]

2022-02-01 21:46:43 | [Mutex] received everything.

2022-02-01 21:46:43 | [Mutex] isItemNotified: received:node:0055e066-e638-49d3-9591-1a904511111b:localhost:node-2fef5025-72e5-4911-b304-5b6c24dabd79:Node 2fef5025-72e5-4911-b304-5b6c24dabd79 :: false

createNodes 1.526s
2022-02-01 21:46:39 |

2022-02-01 21:46:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:46:39 | ------------------------------------

2022-02-01 21:46:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2fef5025-72e5-4911-b304-5b6c24dabd79</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2fef5025-72e5-4911-b304-5b6c24dabd79</title></pubsub></data>

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

2022-02-01 21:46:41 | [Mutex] waiting for: [received:nodes:271ea836-4a04-4c59-958e-8b1883b6161d:localhost]

2022-02-01 21:46:41 | [Mutex] received everything.

2022-02-01 21:46:41 | [Mutex] isItemNotified: received:node:271ea836-4a04-4c59-958e-8b1883b6161d:localhost:node-2fef5025-72e5-4911-b304-5b6c24dabd79:Node 2fef5025-72e5-4911-b304-5b6c24dabd79 :: true

createSubnodes 1.031s
2022-02-01 21:46:41 |

2022-02-01 21:46:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:46:41 | ------------------------------------

2022-02-01 21:46:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9835d362-9905-40a4-8ec0-83ef7a45888a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9835d362-9905-40a4-8ec0-83ef7a45888a</title></pubsub></data>

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

2022-02-01 21:46:42 | [Mutex] waiting for: [received:nodes:9a6b59d2-9ef1-45a3-ae85-e43a723a8699:localhost]

2022-02-01 21:46:42 | [Mutex] waiting for: [received:nodes:9a6b59d2-9ef1-45a3-ae85-e43a723a8699:localhost]

2022-02-01 21:46:42 | [Mutex] received everything.

2022-02-01 21:46:42 | [Mutex] isItemNotified: received:node:9a6b59d2-9ef1-45a3-ae85-e43a723a8699:localhost:node-9835d362-9905-40a4-8ec0-83ef7a45888a:Node 9835d362-9905-40a4-8ec0-83ef7a45888a :: true

deleteNodes 1.019s
2022-02-01 21:46:47 |

2022-02-01 21:46:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:46:47 | ------------------------------------

2022-02-01 21:46:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9835d362-9905-40a4-8ec0-83ef7a45888a</node></data>

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

2022-02-01 21:46:48 | [Mutex] waiting for: [received:nodes:bb07ab47-8dc8-4a42-be1b-a7b3741bed38:localhost]

2022-02-01 21:46:48 | [Mutex] waiting for: [received:nodes:bb07ab47-8dc8-4a42-be1b-a7b3741bed38:localhost]

2022-02-01 21:46:48 | [Mutex] received everything.

2022-02-01 21:46:48 | [Mutex] isItemNotified: received:node:bb07ab47-8dc8-4a42-be1b-a7b3741bed38:localhost:node-9835d362-9905-40a4-8ec0-83ef7a45888a:Node 9835d362-9905-40a4-8ec0-83ef7a45888a :: false

deleteSubnodes 1.173s
2022-02-01 21:46:46 |

2022-02-01 21:46:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:46:46 | ------------------------------------

2022-02-01 21:46:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2fef5025-72e5-4911-b304-5b6c24dabd79</node></data>

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

2022-02-01 21:46:47 | [Mutex] waiting for: [received:nodes:170a5241-56e2-4101-8deb-4e140e60e3cf:localhost]

2022-02-01 21:46:47 | [Mutex] received everything.

2022-02-01 21:46:47 | [Mutex] isItemNotified: received:node:170a5241-56e2-4101-8deb-4e140e60e3cf:localhost:node-2fef5025-72e5-4911-b304-5b6c24dabd79:Node 2fef5025-72e5-4911-b304-5b6c24dabd79 :: false

2022-02-01 21:46:47 | [Mutex] waiting for: [received:nodes:2bf3aa61-b725-4dfe-9da2-4204889b630d:localhost]

2022-02-01 21:46:47 | [Mutex] received everything.

2022-02-01 21:46:47 | [Mutex] isItemNotified: received:node:2bf3aa61-b725-4dfe-9da2-4204889b630d:localhost:node-2fef5025-72e5-4911-b304-5b6c24dabd79:Node 2fef5025-72e5-4911-b304-5b6c24dabd79 :: false

publishItemsToNodes 0.237s
2022-02-01 21:46:44 |

2022-02-01 21:46:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:46:44 | ------------------------------------

2022-02-01 21:46:44 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2fef5025-72e5-4911-b304-5b6c24dabd79</node><item-id>item-5176f0b9-1bd9-440a-b583-e3c69bfc9f55</item-id><entry><test>item-5176f0b9-1bd9-440a-b583-e3c69bfc9f55</test></entry></data>

2022-02-01 21:46:44 | 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-5176f0b9-1bd9-440a-b583-e3c69bfc9f55</value></item-id></result>

2022-02-01 21:46:44 | [Mutex] waiting for: [published:item:notifieditem-5176f0b9-1bd9-440a-b583-e3c69bfc9f55:admin@test-domain.com]

2022-02-01 21:46:44 | [Mutex] received everything.

2022-02-01 21:46:44 | [Mutex] isItemNotified: published:item:notifieditem-5176f0b9-1bd9-440a-b583-e3c69bfc9f55:admin@test-domain.com :: true

retractItemsFromNodes 0.304s
2022-02-01 21:46:45 |

2022-02-01 21:46:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:46:45 | ------------------------------------

2022-02-01 21:46:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2fef5025-72e5-4911-b304-5b6c24dabd79</node><item-id>item-5176f0b9-1bd9-440a-b583-e3c69bfc9f55</item-id></data>

2022-02-01 21:46:45 | 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-5176f0b9-1bd9-440a-b583-e3c69bfc9f55</value></item-id></result>

2022-02-01 21:46:45 | [Mutex] received everything.

2022-02-01 21:46:45 | [Mutex] isItemNotified: retracted:item:notifieditem-5176f0b9-1bd9-440a-b583-e3c69bfc9f55:admin@test-domain.com :: true

retrieveItemsFromNodes 0.369s
2022-02-01 21:46:44 |

2022-02-01 21:46:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:46:44 | ------------------------------------

2022-02-01 21:46:44 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2fef5025-72e5-4911-b304-5b6c24dabd79</node><item-id>item-5176f0b9-1bd9-440a-b583-e3c69bfc9f55</item-id></data>

2022-02-01 21:46:44 | 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-2fef5025-72e5-4911-b304-5b6c24dabd79</value></node><item-id type="text-single" label="Item ID"><value>item-5176f0b9-1bd9-440a-b583-e3c69bfc9f55</value></item-id><item type="text-multi" label="Item"><value><item id="item-5176f0b9-1bd9-440a-b583-e3c69bfc9f55"><test>item-5176f0b9-1bd9-440a-b583-e3c69bfc9f55</test></item></value></item></result>

2022-02-01 21:46:44 | [Mutex] notify: [retrieved:item:item-5176f0b9-1bd9-440a-b583-e3c69bfc9f55:payload-matches:true:localhost]

2022-02-01 21:46:44 | [Mutex] received everything.

2022-02-01 21:46:44 | [Mutex] isItemNotified: retrieved:item:item-5176f0b9-1bd9-440a-b583-e3c69bfc9f55:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2022-02-01 21:46:44 |

2022-02-01 21:46:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:46:44 | ------------------------------------

2022-02-01 21:46:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-01 21:46:45 | 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-2fef5025-72e5-4911-b304-5b6c24dabd79</value><value>node-9835d362-9905-40a4-8ec0-83ef7a45888a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-02-01 21:46:45 |

2022-02-01 21:46:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:46:45 | ------------------------------------

2022-02-01 21:46: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-2fef5025-72e5-4911-b304-5b6c24dabd79)</node-pattern></data>

2022-02-01 21:46:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.176s
2022-02-01 21:46:43 |

2022-02-01 21:46:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:46:43 | ------------------------------------

2022-02-01 21:46:43 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2fef5025-72e5-4911-b304-5b6c24dabd79</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-01 21:46:43 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.282s
2022-02-01 21:46:45 |

2022-02-01 21:46:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:46:45 | ------------------------------------

2022-02-01 21:46:45 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2fef5025-72e5-4911-b304-5b6c24dabd79</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-01 21:46:45 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>