Generated by TestNG with ReportNG at 22:42 PDT on Monday 03 May 2021
root@785cf647a4ab / 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.095s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2021-05-03 22:57:31 |

2021-05-03 22:57:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:31 | ------------------------------------

2021-05-03 22:57:32 | [Mutex] waiting for: [configured:node:node-85fe3343-0ac0-41fa-b0fe-96a205016039:node-6a9c0706-2c0a-4835-a08f-fc04e1756065]

2021-05-03 22:57:32 | [Mutex] received everything.

2021-05-03 22:57:32 | [Mutex] isItemNotified: configured:node:node-85fe3343-0ac0-41fa-b0fe-96a205016039:node-6a9c0706-2c0a-4835-a08f-fc04e1756065 :: true

2021-05-03 22:57:33 | [Mutex] waiting for: [received:nodes:d6cca28f-a07a-4954-9d98-c43feec1d4e9:localhost]

2021-05-03 22:57:33 | [Mutex] received everything.

2021-05-03 22:57:33 | [Mutex] isItemNotified: received:node:d6cca28f-a07a-4954-9d98-c43feec1d4e9:localhost:node-85fe3343-0ac0-41fa-b0fe-96a205016039:Node 85fe3343-0ac0-41fa-b0fe-96a205016039 :: true

2021-05-03 22:57:33 | [Mutex] waiting for: [received:nodes:ebcaedf2-b99c-4cef-81f8-29fb2222d996:localhost]

2021-05-03 22:57:33 | [Mutex] received everything.

2021-05-03 22:57:33 | [Mutex] isItemNotified: received:node:ebcaedf2-b99c-4cef-81f8-29fb2222d996:localhost:node-85fe3343-0ac0-41fa-b0fe-96a205016039:Node 85fe3343-0ac0-41fa-b0fe-96a205016039 :: false

createNodes 1.442s
2021-05-03 22:57:29 |

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

2021-05-03 22:57:29 | ------------------------------------

2021-05-03 22:57:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-85fe3343-0ac0-41fa-b0fe-96a205016039</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 85fe3343-0ac0-41fa-b0fe-96a205016039</title></pubsub></data>

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

2021-05-03 22:57:30 | [Mutex] waiting for: [received:nodes:e8a595d7-3937-41b4-8914-b54e92cbf738:localhost]

2021-05-03 22:57:30 | [Mutex] received everything.

2021-05-03 22:57:30 | [Mutex] isItemNotified: received:node:e8a595d7-3937-41b4-8914-b54e92cbf738:localhost:node-85fe3343-0ac0-41fa-b0fe-96a205016039:Node 85fe3343-0ac0-41fa-b0fe-96a205016039 :: true

createSubnodes 1.025s
2021-05-03 22:57:30 |

2021-05-03 22:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:30 | ------------------------------------

2021-05-03 22:57:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6a9c0706-2c0a-4835-a08f-fc04e1756065</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6a9c0706-2c0a-4835-a08f-fc04e1756065</title></pubsub></data>

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

2021-05-03 22:57:31 | [Mutex] waiting for: [received:nodes:83f48443-12ab-4a3f-ab97-0f4d3422b98d:localhost]

2021-05-03 22:57:31 | [Mutex] received everything.

2021-05-03 22:57:31 | [Mutex] isItemNotified: received:node:83f48443-12ab-4a3f-ab97-0f4d3422b98d:localhost:node-6a9c0706-2c0a-4835-a08f-fc04e1756065:Node 6a9c0706-2c0a-4835-a08f-fc04e1756065 :: true

deleteNodes 1.018s
2021-05-03 22:57:37 |

2021-05-03 22:57:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:37 | ------------------------------------

2021-05-03 22:57:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6a9c0706-2c0a-4835-a08f-fc04e1756065</node></data>

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

2021-05-03 22:57:38 | [Mutex] waiting for: [received:nodes:61fac96f-28d0-44cf-9f6a-1409fe1750f7:localhost]

2021-05-03 22:57:38 | [Mutex] received everything.

2021-05-03 22:57:38 | [Mutex] isItemNotified: received:node:61fac96f-28d0-44cf-9f6a-1409fe1750f7:localhost:node-6a9c0706-2c0a-4835-a08f-fc04e1756065:Node 6a9c0706-2c0a-4835-a08f-fc04e1756065 :: false

deleteSubnodes 1.175s
2021-05-03 22:57:36 |

2021-05-03 22:57:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:36 | ------------------------------------

2021-05-03 22:57:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-85fe3343-0ac0-41fa-b0fe-96a205016039</node></data>

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

2021-05-03 22:57:37 | [Mutex] waiting for: [received:nodes:cf47dec2-7d86-44e7-8f42-487154c929d8:localhost]

2021-05-03 22:57:37 | [Mutex] waiting for: [received:nodes:cf47dec2-7d86-44e7-8f42-487154c929d8:localhost]

2021-05-03 22:57:37 | [Mutex] received everything.

2021-05-03 22:57:37 | [Mutex] isItemNotified: received:node:cf47dec2-7d86-44e7-8f42-487154c929d8:localhost:node-85fe3343-0ac0-41fa-b0fe-96a205016039:Node 85fe3343-0ac0-41fa-b0fe-96a205016039 :: false

2021-05-03 22:57:37 | [Mutex] waiting for: [received:nodes:73f793c3-b800-47fc-a98b-a06e59df6f92:localhost]

2021-05-03 22:57:37 | [Mutex] received everything.

2021-05-03 22:57:37 | [Mutex] isItemNotified: received:node:73f793c3-b800-47fc-a98b-a06e59df6f92:localhost:node-85fe3343-0ac0-41fa-b0fe-96a205016039:Node 85fe3343-0ac0-41fa-b0fe-96a205016039 :: false

publishItemsToNodes 0.230s
2021-05-03 22:57:34 |

2021-05-03 22:57:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:34 | ------------------------------------

2021-05-03 22:57:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-85fe3343-0ac0-41fa-b0fe-96a205016039</node><item-id>item-057142bf-9d21-4b09-af8d-c6ae362e48fc</item-id><entry><test>item-057142bf-9d21-4b09-af8d-c6ae362e48fc</test></entry></data>

2021-05-03 22:57:34 | 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-057142bf-9d21-4b09-af8d-c6ae362e48fc</value></item-id></result>

2021-05-03 22:57:34 | [Mutex] received everything.

2021-05-03 22:57:34 | [Mutex] isItemNotified: published:item:notifieditem-057142bf-9d21-4b09-af8d-c6ae362e48fc:admin@test-domain.com :: true

retractItemsFromNodes 0.191s
2021-05-03 22:57:34 |

2021-05-03 22:57:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:34 | ------------------------------------

2021-05-03 22:57:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-85fe3343-0ac0-41fa-b0fe-96a205016039</node><item-id>item-057142bf-9d21-4b09-af8d-c6ae362e48fc</item-id></data>

2021-05-03 22:57:35 | 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-057142bf-9d21-4b09-af8d-c6ae362e48fc</value></item-id></result>

2021-05-03 22:57:35 | [Mutex] received everything.

2021-05-03 22:57:35 | [Mutex] isItemNotified: retracted:item:notifieditem-057142bf-9d21-4b09-af8d-c6ae362e48fc:admin@test-domain.com :: true

retrieveItemsFromNodes 0.335s
2021-05-03 22:57:34 |

2021-05-03 22:57:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:34 | ------------------------------------

2021-05-03 22:57:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-85fe3343-0ac0-41fa-b0fe-96a205016039</node><item-id>item-057142bf-9d21-4b09-af8d-c6ae362e48fc</item-id></data>

2021-05-03 22:57:34 | 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-85fe3343-0ac0-41fa-b0fe-96a205016039</value></node><item-id type="text-single" label="Item ID"><value>item-057142bf-9d21-4b09-af8d-c6ae362e48fc</value></item-id><item type="text-multi" label="Item"><value><item id="item-057142bf-9d21-4b09-af8d-c6ae362e48fc"><test>item-057142bf-9d21-4b09-af8d-c6ae362e48fc</test></item></value></item></result>

2021-05-03 22:57:34 | [Mutex] notify: [retrieved:item:item-057142bf-9d21-4b09-af8d-c6ae362e48fc:payload-matches:true:localhost]

2021-05-03 22:57:34 | [Mutex] received everything.

2021-05-03 22:57:34 | [Mutex] isItemNotified: retrieved:item:item-057142bf-9d21-4b09-af8d-c6ae362e48fc:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-03 22:57:34 |

2021-05-03 22:57:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:34 | ------------------------------------

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

2021-05-03 22:57:34 | 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-85fe3343-0ac0-41fa-b0fe-96a205016039</value><value>node-6a9c0706-2c0a-4835-a08f-fc04e1756065</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-03 22:57:34 |

2021-05-03 22:57:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:34 | ------------------------------------

2021-05-03 22:57:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-85fe3343-0ac0-41fa-b0fe-96a205016039)</node-pattern></data>

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

subscribeNodes 1.165s
2021-05-03 22:57:33 |

2021-05-03 22:57:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:33 | ------------------------------------

2021-05-03 22:57:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-85fe3343-0ac0-41fa-b0fe-96a205016039</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.283s
2021-05-03 22:57:35 |

2021-05-03 22:57:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:35 | ------------------------------------

2021-05-03 22:57:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-85fe3343-0ac0-41fa-b0fe-96a205016039</node><jids><value>admin@test-domain.com</value></jids></data>

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