Generated by TestNG with ReportNG at 22:26 PDT on Friday 04 June 2021
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.448s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.129s
2021-06-04 22:41:39 |

2021-06-04 22:41:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:41:39 | ------------------------------------

2021-06-04 22:41:39 | [Mutex] waiting for: [configured:node:node-6c125fde-fe3b-46a1-a6b3-69d89568a636:node-32d19200-0a37-4cd8-bb11-3aae692d54ca]

2021-06-04 22:41:39 | [Mutex] received everything.

2021-06-04 22:41:39 | [Mutex] isItemNotified: configured:node:node-6c125fde-fe3b-46a1-a6b3-69d89568a636:node-32d19200-0a37-4cd8-bb11-3aae692d54ca :: true

2021-06-04 22:41:40 | [Mutex] waiting for: [received:nodes:718242c1-2608-40d0-9aa4-a316c2d6b803:localhost]

2021-06-04 22:41:40 | [Mutex] waiting for: [received:nodes:718242c1-2608-40d0-9aa4-a316c2d6b803:localhost]

2021-06-04 22:41:40 | [Mutex] received everything.

2021-06-04 22:41:40 | [Mutex] isItemNotified: received:node:718242c1-2608-40d0-9aa4-a316c2d6b803:localhost:node-6c125fde-fe3b-46a1-a6b3-69d89568a636:Node 6c125fde-fe3b-46a1-a6b3-69d89568a636 :: true

2021-06-04 22:41:40 | [Mutex] waiting for: [received:nodes:7c807ae0-b53b-483c-99f6-2674554c1695:localhost]

2021-06-04 22:41:40 | [Mutex] waiting for: [received:nodes:7c807ae0-b53b-483c-99f6-2674554c1695:localhost]

2021-06-04 22:41:40 | [Mutex] waiting for: [received:nodes:7c807ae0-b53b-483c-99f6-2674554c1695:localhost]

2021-06-04 22:41:40 | [Mutex] waiting for: [received:nodes:7c807ae0-b53b-483c-99f6-2674554c1695:localhost]

2021-06-04 22:41:40 | [Mutex] received everything.

2021-06-04 22:41:40 | [Mutex] isItemNotified: received:node:7c807ae0-b53b-483c-99f6-2674554c1695:localhost:node-6c125fde-fe3b-46a1-a6b3-69d89568a636:Node 6c125fde-fe3b-46a1-a6b3-69d89568a636 :: false

createNodes 1.502s
2021-06-04 22:41:36 |

2021-06-04 22:41:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:41:36 | ------------------------------------

2021-06-04 22:41:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6c125fde-fe3b-46a1-a6b3-69d89568a636</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6c125fde-fe3b-46a1-a6b3-69d89568a636</title></pubsub></data>

2021-06-04 22:41:37 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-04 22:41:38 | [Mutex] waiting for: [received:nodes:5b3aca6c-22ef-4553-9f9f-19ef8c31cbd8:localhost]

2021-06-04 22:41:38 | [Mutex] waiting for: [received:nodes:5b3aca6c-22ef-4553-9f9f-19ef8c31cbd8:localhost]

2021-06-04 22:41:38 | [Mutex] received everything.

2021-06-04 22:41:38 | [Mutex] isItemNotified: received:node:5b3aca6c-22ef-4553-9f9f-19ef8c31cbd8:localhost:node-6c125fde-fe3b-46a1-a6b3-69d89568a636:Node 6c125fde-fe3b-46a1-a6b3-69d89568a636 :: true

createSubnodes 1.027s
2021-06-04 22:41:38 |

2021-06-04 22:41:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:41:38 | ------------------------------------

2021-06-04 22:41:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-32d19200-0a37-4cd8-bb11-3aae692d54ca</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 32d19200-0a37-4cd8-bb11-3aae692d54ca</title></pubsub></data>

2021-06-04 22:41:38 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-04 22:41:39 | [Mutex] waiting for: [received:nodes:d25bd3f6-fee8-42df-b64d-9d40b0678754:localhost]

2021-06-04 22:41:39 | [Mutex] received everything.

2021-06-04 22:41:39 | [Mutex] isItemNotified: received:node:d25bd3f6-fee8-42df-b64d-9d40b0678754:localhost:node-32d19200-0a37-4cd8-bb11-3aae692d54ca:Node 32d19200-0a37-4cd8-bb11-3aae692d54ca :: true

deleteNodes 1.021s
2021-06-04 22:41:45 |

2021-06-04 22:41:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:41:45 | ------------------------------------

2021-06-04 22:41:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-32d19200-0a37-4cd8-bb11-3aae692d54ca</node></data>

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

2021-06-04 22:41:46 | [Mutex] waiting for: [received:nodes:73862155-ff8e-48bd-b340-d290a2d53d40:localhost]

2021-06-04 22:41:46 | [Mutex] received everything.

2021-06-04 22:41:46 | [Mutex] isItemNotified: received:node:73862155-ff8e-48bd-b340-d290a2d53d40:localhost:node-32d19200-0a37-4cd8-bb11-3aae692d54ca:Node 32d19200-0a37-4cd8-bb11-3aae692d54ca :: false

deleteSubnodes 1.222s
2021-06-04 22:41:43 |

2021-06-04 22:41:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:41:43 | ------------------------------------

2021-06-04 22:41:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6c125fde-fe3b-46a1-a6b3-69d89568a636</node></data>

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

2021-06-04 22:41:45 | [Mutex] waiting for: [received:nodes:8295e968-0332-4b8d-9802-1fed75ea602d:localhost]

2021-06-04 22:41:45 | [Mutex] received everything.

2021-06-04 22:41:45 | [Mutex] isItemNotified: received:node:8295e968-0332-4b8d-9802-1fed75ea602d:localhost:node-6c125fde-fe3b-46a1-a6b3-69d89568a636:Node 6c125fde-fe3b-46a1-a6b3-69d89568a636 :: false

2021-06-04 22:41:45 | [Mutex] waiting for: [received:nodes:34ab3165-752e-4ee3-aa3e-591495a40927:localhost]

2021-06-04 22:41:45 | [Mutex] received everything.

2021-06-04 22:41:45 | [Mutex] isItemNotified: received:node:34ab3165-752e-4ee3-aa3e-591495a40927:localhost:node-6c125fde-fe3b-46a1-a6b3-69d89568a636:Node 6c125fde-fe3b-46a1-a6b3-69d89568a636 :: false

publishItemsToNodes 0.291s
2021-06-04 22:41:41 |

2021-06-04 22:41:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:41:41 | ------------------------------------

2021-06-04 22:41:41 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6c125fde-fe3b-46a1-a6b3-69d89568a636</node><item-id>item-cef0212d-8358-4d31-b14e-7f81dd53d6d1</item-id><entry><test>item-cef0212d-8358-4d31-b14e-7f81dd53d6d1</test></entry></data>

2021-06-04 22:41:41 | 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-cef0212d-8358-4d31-b14e-7f81dd53d6d1</value></item-id></result>

2021-06-04 22:41:41 | [Mutex] waiting for: [published:item:notifieditem-cef0212d-8358-4d31-b14e-7f81dd53d6d1:admin@test-domain.com]

2021-06-04 22:41:41 | [Mutex] received everything.

2021-06-04 22:41:41 | [Mutex] isItemNotified: published:item:notifieditem-cef0212d-8358-4d31-b14e-7f81dd53d6d1:admin@test-domain.com :: true

retractItemsFromNodes 0.307s
2021-06-04 22:41:42 |

2021-06-04 22:41:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:41:42 | ------------------------------------

2021-06-04 22:41:42 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6c125fde-fe3b-46a1-a6b3-69d89568a636</node><item-id>item-cef0212d-8358-4d31-b14e-7f81dd53d6d1</item-id></data>

2021-06-04 22:41:42 | 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-cef0212d-8358-4d31-b14e-7f81dd53d6d1</value></item-id></result>

2021-06-04 22:41:42 | [Mutex] received everything.

2021-06-04 22:41:42 | [Mutex] isItemNotified: retracted:item:notifieditem-cef0212d-8358-4d31-b14e-7f81dd53d6d1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.348s
2021-06-04 22:41:41 |

2021-06-04 22:41:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:41:41 | ------------------------------------

2021-06-04 22:41:41 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6c125fde-fe3b-46a1-a6b3-69d89568a636</node><item-id>item-cef0212d-8358-4d31-b14e-7f81dd53d6d1</item-id></data>

2021-06-04 22:41:42 | 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-6c125fde-fe3b-46a1-a6b3-69d89568a636</value></node><item-id type="text-single" label="Item ID"><value>item-cef0212d-8358-4d31-b14e-7f81dd53d6d1</value></item-id><item type="text-multi" label="Item"><value><item id="item-cef0212d-8358-4d31-b14e-7f81dd53d6d1"><test>item-cef0212d-8358-4d31-b14e-7f81dd53d6d1</test></item></value></item></result>

2021-06-04 22:41:42 | [Mutex] notify: [retrieved:item:item-cef0212d-8358-4d31-b14e-7f81dd53d6d1:payload-matches:true:localhost]

2021-06-04 22:41:42 | [Mutex] received everything.

2021-06-04 22:41:42 | [Mutex] isItemNotified: retrieved:item:item-cef0212d-8358-4d31-b14e-7f81dd53d6d1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-06-04 22:41:42 |

2021-06-04 22:41:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:41:42 | ------------------------------------

2021-06-04 22:41:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-06-04 22:41:42 | 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-6c125fde-fe3b-46a1-a6b3-69d89568a636</value><value>node-32d19200-0a37-4cd8-bb11-3aae692d54ca</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-06-04 22:41:42 |

2021-06-04 22:41:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:41:42 | ------------------------------------

2021-06-04 22:41:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6c125fde-fe3b-46a1-a6b3-69d89568a636)</node-pattern></data>

2021-06-04 22:41:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.161s
2021-06-04 22:41:40 |

2021-06-04 22:41:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:41:40 | ------------------------------------

2021-06-04 22:41:40 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6c125fde-fe3b-46a1-a6b3-69d89568a636</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-04 22:41:40 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.295s
2021-06-04 22:41:42 |

2021-06-04 22:41:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:41:42 | ------------------------------------

2021-06-04 22:41:42 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6c125fde-fe3b-46a1-a6b3-69d89568a636</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-04 22:41:42 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>