Generated by TestNG with ReportNG at 22:15 PDT on Friday 14 May 2021
root@b2c2a8eba6e6 / 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.039s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.036s
2021-05-14 22:29:48 |

2021-05-14 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:48 | ------------------------------------

2021-05-14 22:29:48 | [Mutex] waiting for: [configured:node:node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e:node-a8eb6d89-7075-464e-b71e-8c6200cb8556]

2021-05-14 22:29:48 | [Mutex] received everything.

2021-05-14 22:29:48 | [Mutex] isItemNotified: configured:node:node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e:node-a8eb6d89-7075-464e-b71e-8c6200cb8556 :: true

2021-05-14 22:29:49 | [Mutex] waiting for: [received:nodes:8235adb0-79ec-4fd4-9fa0-0c3a238e383c:localhost]

2021-05-14 22:29:49 | [Mutex] received everything.

2021-05-14 22:29:49 | [Mutex] isItemNotified: received:node:8235adb0-79ec-4fd4-9fa0-0c3a238e383c:localhost:node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e:Node a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e :: true

2021-05-14 22:29:49 | [Mutex] waiting for: [received:nodes:6dc2124e-882e-4cce-8005-15470158d486:localhost]

2021-05-14 22:29:49 | [Mutex] received everything.

2021-05-14 22:29:49 | [Mutex] isItemNotified: received:node:6dc2124e-882e-4cce-8005-15470158d486:localhost:node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e:Node a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e :: false

createNodes 1.439s
2021-05-14 22:29:45 |

2021-05-14 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:45 | ------------------------------------

2021-05-14 22:29:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e</title></pubsub></data>

2021-05-14 22:29:46 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-14 22:29:47 | [Mutex] waiting for: [received:nodes:90398152-969b-4c44-a6fd-c28817c44fe3:localhost]

2021-05-14 22:29:47 | [Mutex] received everything.

2021-05-14 22:29:47 | [Mutex] isItemNotified: received:node:90398152-969b-4c44-a6fd-c28817c44fe3:localhost:node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e:Node a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e :: true

createSubnodes 1.023s
2021-05-14 22:29:47 |

2021-05-14 22:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:47 | ------------------------------------

2021-05-14 22:29:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a8eb6d89-7075-464e-b71e-8c6200cb8556</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a8eb6d89-7075-464e-b71e-8c6200cb8556</title></pubsub></data>

2021-05-14 22:29:47 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-14 22:29:48 | [Mutex] waiting for: [received:nodes:13acd40e-80c2-48f9-8778-9126f88b69be:localhost]

2021-05-14 22:29:48 | [Mutex] received everything.

2021-05-14 22:29:48 | [Mutex] isItemNotified: received:node:13acd40e-80c2-48f9-8778-9126f88b69be:localhost:node-a8eb6d89-7075-464e-b71e-8c6200cb8556:Node a8eb6d89-7075-464e-b71e-8c6200cb8556 :: true

deleteNodes 1.019s
2021-05-14 22:29:54 |

2021-05-14 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:54 | ------------------------------------

2021-05-14 22:29:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a8eb6d89-7075-464e-b71e-8c6200cb8556</node></data>

2021-05-14 22:29:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-14 22:29:55 | [Mutex] waiting for: [received:nodes:3d5e766c-7d42-4a7b-a323-30e07689f23c:localhost]

2021-05-14 22:29:55 | [Mutex] waiting for: [received:nodes:3d5e766c-7d42-4a7b-a323-30e07689f23c:localhost]

2021-05-14 22:29:55 | [Mutex] received everything.

2021-05-14 22:29:55 | [Mutex] isItemNotified: received:node:3d5e766c-7d42-4a7b-a323-30e07689f23c:localhost:node-a8eb6d89-7075-464e-b71e-8c6200cb8556:Node a8eb6d89-7075-464e-b71e-8c6200cb8556 :: false

deleteSubnodes 1.192s
2021-05-14 22:29:52 |

2021-05-14 22:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:52 | ------------------------------------

2021-05-14 22:29:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e</node></data>

2021-05-14 22:29:52 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-14 22:29:53 | [Mutex] waiting for: [received:nodes:e84ca2d3-8a60-496e-93c0-68c0f9ef39aa:localhost]

2021-05-14 22:29:53 | [Mutex] received everything.

2021-05-14 22:29:53 | [Mutex] isItemNotified: received:node:e84ca2d3-8a60-496e-93c0-68c0f9ef39aa:localhost:node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e:Node a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e :: false

2021-05-14 22:29:53 | [Mutex] waiting for: [received:nodes:c0557301-3caa-4b83-af6c-99946f717cee:localhost]

2021-05-14 22:29:53 | [Mutex] received everything.

2021-05-14 22:29:53 | [Mutex] isItemNotified: received:node:c0557301-3caa-4b83-af6c-99946f717cee:localhost:node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e:Node a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e :: false

publishItemsToNodes 0.312s
2021-05-14 22:29:50 |

2021-05-14 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:50 | ------------------------------------

2021-05-14 22:29:50 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e</node><item-id>item-5a4b8d1b-6e69-45a3-bdb2-be7c274d749c</item-id><entry><test>item-5a4b8d1b-6e69-45a3-bdb2-be7c274d749c</test></entry></data>

2021-05-14 22:29:50 | 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-5a4b8d1b-6e69-45a3-bdb2-be7c274d749c</value></item-id></result>

2021-05-14 22:29:50 | [Mutex] waiting for: [published:item:notifieditem-5a4b8d1b-6e69-45a3-bdb2-be7c274d749c:admin@test-domain.com]

2021-05-14 22:29:50 | [Mutex] received everything.

2021-05-14 22:29:50 | [Mutex] isItemNotified: published:item:notifieditem-5a4b8d1b-6e69-45a3-bdb2-be7c274d749c:admin@test-domain.com :: true

retractItemsFromNodes 0.307s
2021-05-14 22:29:51 |

2021-05-14 22:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:51 | ------------------------------------

2021-05-14 22:29:51 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e</node><item-id>item-5a4b8d1b-6e69-45a3-bdb2-be7c274d749c</item-id></data>

2021-05-14 22:29:51 | 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-5a4b8d1b-6e69-45a3-bdb2-be7c274d749c</value></item-id></result>

2021-05-14 22:29:51 | [Mutex] received everything.

2021-05-14 22:29:51 | [Mutex] isItemNotified: retracted:item:notifieditem-5a4b8d1b-6e69-45a3-bdb2-be7c274d749c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.331s
2021-05-14 22:29:50 |

2021-05-14 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:50 | ------------------------------------

2021-05-14 22:29:50 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e</node><item-id>item-5a4b8d1b-6e69-45a3-bdb2-be7c274d749c</item-id></data>

2021-05-14 22:29:51 | 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-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e</value></node><item-id type="text-single" label="Item ID"><value>item-5a4b8d1b-6e69-45a3-bdb2-be7c274d749c</value></item-id><item type="text-multi" label="Item"><value><item id="item-5a4b8d1b-6e69-45a3-bdb2-be7c274d749c"><test>item-5a4b8d1b-6e69-45a3-bdb2-be7c274d749c</test></item></value></item></result>

2021-05-14 22:29:51 | [Mutex] notify: [retrieved:item:item-5a4b8d1b-6e69-45a3-bdb2-be7c274d749c:payload-matches:true:localhost]

2021-05-14 22:29:51 | [Mutex] received everything.

2021-05-14 22:29:51 | [Mutex] isItemNotified: retrieved:item:item-5a4b8d1b-6e69-45a3-bdb2-be7c274d749c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-14 22:29:51 |

2021-05-14 22:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:51 | ------------------------------------

2021-05-14 22:29:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-14 22:29:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e</value><value>test</value><value>node-a8eb6d89-7075-464e-b71e-8c6200cb8556</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-14 22:29:51 |

2021-05-14 22:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:51 | ------------------------------------

2021-05-14 22:29:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e)</node-pattern></data>

2021-05-14 22:29:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.151s
2021-05-14 22:29:49 |

2021-05-14 22:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:49 | ------------------------------------

2021-05-14 22:29:49 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-14 22:29:49 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.287s
2021-05-14 22:29:51 |

2021-05-14 22:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:51 | ------------------------------------

2021-05-14 22:29:51 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a9eda9d2-8a5c-4d6f-8480-2b5c46420d3e</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-14 22:29:51 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>