Generated by TestNG with ReportNG at 22:50 PDT on Monday 26 April 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.372s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2021-04-26 23:05:17 |

2021-04-26 23:05:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:05:17 | ------------------------------------

2021-04-26 23:05:17 | [Mutex] waiting for: [configured:node:node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1:node-5a01075d-bc02-4537-85ce-7a2a000a692b]

2021-04-26 23:05:17 | [Mutex] received everything.

2021-04-26 23:05:17 | [Mutex] isItemNotified: configured:node:node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1:node-5a01075d-bc02-4537-85ce-7a2a000a692b :: true

2021-04-26 23:05:18 | [Mutex] waiting for: [received:nodes:0b96eab4-2418-4bb6-8759-df6d1d479e20:localhost]

2021-04-26 23:05:18 | [Mutex] received everything.

2021-04-26 23:05:18 | [Mutex] isItemNotified: received:node:0b96eab4-2418-4bb6-8759-df6d1d479e20:localhost:node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1:Node b78f0c96-9085-4a8d-bb42-0e5444a96ba1 :: true

2021-04-26 23:05:18 | [Mutex] waiting for: [received:nodes:939a0eb6-4f31-4ace-ada7-f8a3a4242dff:localhost]

2021-04-26 23:05:18 | [Mutex] received everything.

2021-04-26 23:05:18 | [Mutex] isItemNotified: received:node:939a0eb6-4f31-4ace-ada7-f8a3a4242dff:localhost:node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1:Node b78f0c96-9085-4a8d-bb42-0e5444a96ba1 :: false

createNodes 1.717s
2021-04-26 23:05:14 |

2021-04-26 23:05:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:05:14 | ------------------------------------

2021-04-26 23:05:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b78f0c96-9085-4a8d-bb42-0e5444a96ba1</title></pubsub></data>

2021-04-26 23:05:15 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-26 23:05:16 | [Mutex] waiting for: [received:nodes:0fbb90e7-910a-4071-826a-cd6114da584d:localhost]

2021-04-26 23:05:16 | [Mutex] received everything.

2021-04-26 23:05:16 | [Mutex] isItemNotified: received:node:0fbb90e7-910a-4071-826a-cd6114da584d:localhost:node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1:Node b78f0c96-9085-4a8d-bb42-0e5444a96ba1 :: true

createSubnodes 1.020s
2021-04-26 23:05:16 |

2021-04-26 23:05:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:05:16 | ------------------------------------

2021-04-26 23:05:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5a01075d-bc02-4537-85ce-7a2a000a692b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5a01075d-bc02-4537-85ce-7a2a000a692b</title></pubsub></data>

2021-04-26 23:05:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-26 23:05:17 | [Mutex] waiting for: [received:nodes:d8571f2e-3447-47a5-9443-bc5cbb0faa17:localhost]

2021-04-26 23:05:17 | [Mutex] received everything.

2021-04-26 23:05:17 | [Mutex] isItemNotified: received:node:d8571f2e-3447-47a5-9443-bc5cbb0faa17:localhost:node-5a01075d-bc02-4537-85ce-7a2a000a692b:Node 5a01075d-bc02-4537-85ce-7a2a000a692b :: true

deleteNodes 1.016s
2021-04-26 23:05:23 |

2021-04-26 23:05:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:05:23 | ------------------------------------

2021-04-26 23:05:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5a01075d-bc02-4537-85ce-7a2a000a692b</node></data>

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

2021-04-26 23:05:24 | [Mutex] waiting for: [received:nodes:b0ab11d6-9ff1-4626-b4f8-329ae4eadbf5:localhost]

2021-04-26 23:05:24 | [Mutex] received everything.

2021-04-26 23:05:24 | [Mutex] isItemNotified: received:node:b0ab11d6-9ff1-4626-b4f8-329ae4eadbf5:localhost:node-5a01075d-bc02-4537-85ce-7a2a000a692b:Node 5a01075d-bc02-4537-85ce-7a2a000a692b :: false

deleteSubnodes 1.201s
2021-04-26 23:05:21 |

2021-04-26 23:05:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:05:21 | ------------------------------------

2021-04-26 23:05:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1</node></data>

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

2021-04-26 23:05:23 | [Mutex] waiting for: [received:nodes:fe1482c3-2cdd-45fd-8615-863f217af22c:localhost]

2021-04-26 23:05:23 | [Mutex] received everything.

2021-04-26 23:05:23 | [Mutex] isItemNotified: received:node:fe1482c3-2cdd-45fd-8615-863f217af22c:localhost:node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1:Node b78f0c96-9085-4a8d-bb42-0e5444a96ba1 :: false

2021-04-26 23:05:23 | [Mutex] waiting for: [received:nodes:df8876eb-c483-413d-a2c2-d7e8b5ee64c7:localhost]

2021-04-26 23:05:23 | [Mutex] received everything.

2021-04-26 23:05:23 | [Mutex] isItemNotified: received:node:df8876eb-c483-413d-a2c2-d7e8b5ee64c7:localhost:node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1:Node b78f0c96-9085-4a8d-bb42-0e5444a96ba1 :: false

publishItemsToNodes 0.214s
2021-04-26 23:05:19 |

2021-04-26 23:05:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:05:19 | ------------------------------------

2021-04-26 23:05:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1</node><item-id>item-83c15ecc-b288-440c-8e9b-33f672505c90</item-id><entry><test>item-83c15ecc-b288-440c-8e9b-33f672505c90</test></entry></data>

2021-04-26 23:05:19 | 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-83c15ecc-b288-440c-8e9b-33f672505c90</value></item-id></result>

2021-04-26 23:05:19 | [Mutex] waiting for: [published:item:notifieditem-83c15ecc-b288-440c-8e9b-33f672505c90:admin@test-domain.com]

2021-04-26 23:05:19 | [Mutex] received everything.

2021-04-26 23:05:19 | [Mutex] isItemNotified: published:item:notifieditem-83c15ecc-b288-440c-8e9b-33f672505c90:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2021-04-26 23:05:20 |

2021-04-26 23:05:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:05:20 | ------------------------------------

2021-04-26 23:05:20 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1</node><item-id>item-83c15ecc-b288-440c-8e9b-33f672505c90</item-id></data>

2021-04-26 23:05:20 | 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-83c15ecc-b288-440c-8e9b-33f672505c90</value></item-id></result>

2021-04-26 23:05:20 | [Mutex] received everything.

2021-04-26 23:05:20 | [Mutex] isItemNotified: retracted:item:notifieditem-83c15ecc-b288-440c-8e9b-33f672505c90:admin@test-domain.com :: true

retrieveItemsFromNodes 0.374s
2021-04-26 23:05:19 |

2021-04-26 23:05:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:05:19 | ------------------------------------

2021-04-26 23:05:19 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1</node><item-id>item-83c15ecc-b288-440c-8e9b-33f672505c90</item-id></data>

2021-04-26 23:05:20 | 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-b78f0c96-9085-4a8d-bb42-0e5444a96ba1</value></node><item-id type="text-single" label="Item ID"><value>item-83c15ecc-b288-440c-8e9b-33f672505c90</value></item-id><item type="text-multi" label="Item"><value><item id="item-83c15ecc-b288-440c-8e9b-33f672505c90"><test>item-83c15ecc-b288-440c-8e9b-33f672505c90</test></item></value></item></result>

2021-04-26 23:05:20 | [Mutex] notify: [retrieved:item:item-83c15ecc-b288-440c-8e9b-33f672505c90:payload-matches:true:localhost]

2021-04-26 23:05:20 | [Mutex] received everything.

2021-04-26 23:05:20 | [Mutex] isItemNotified: retrieved:item:item-83c15ecc-b288-440c-8e9b-33f672505c90:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-04-26 23:05:20 |

2021-04-26 23:05:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:05:20 | ------------------------------------

2021-04-26 23:05:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-04-26 23:05:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-5a01075d-bc02-4537-85ce-7a2a000a692b</value><value>test</value><value>node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-04-26 23:05:20 |

2021-04-26 23:05:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:05:20 | ------------------------------------

2021-04-26 23:05:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1)</node-pattern></data>

2021-04-26 23:05:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.167s
2021-04-26 23:05:18 |

2021-04-26 23:05:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:05:18 | ------------------------------------

2021-04-26 23:05:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-26 23:05:18 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.267s
2021-04-26 23:05:20 |

2021-04-26 23:05:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:05:20 | ------------------------------------

2021-04-26 23:05:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b78f0c96-9085-4a8d-bb42-0e5444a96ba1</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-26 23:05:20 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>