Generated by TestNG with ReportNG at 22:14 PDT on Monday 21 June 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.369s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2021-06-21 22:30:36 |

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

2021-06-21 22:30:36 | ------------------------------------

2021-06-21 22:30:36 | [Mutex] waiting for: [configured:node:node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346:node-d7cc1a24-cb92-46a7-98f6-467e8a20782c]

2021-06-21 22:30:36 | [Mutex] received everything.

2021-06-21 22:30:36 | [Mutex] isItemNotified: configured:node:node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346:node-d7cc1a24-cb92-46a7-98f6-467e8a20782c :: true

2021-06-21 22:30:37 | [Mutex] waiting for: [received:nodes:91ceddca-bd0b-411f-ba13-1425e507eb0d:localhost]

2021-06-21 22:30:37 | [Mutex] received everything.

2021-06-21 22:30:37 | [Mutex] isItemNotified: received:node:91ceddca-bd0b-411f-ba13-1425e507eb0d:localhost:node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346:Node 4c3c43e6-1cbf-4d43-9e7b-b19296a02346 :: true

2021-06-21 22:30:37 | [Mutex] waiting for: [received:nodes:f1af5234-ca3e-4fb9-becb-a3dde813ac0e:localhost]

2021-06-21 22:30:37 | [Mutex] waiting for: [received:nodes:f1af5234-ca3e-4fb9-becb-a3dde813ac0e:localhost]

2021-06-21 22:30:37 | [Mutex] received everything.

2021-06-21 22:30:37 | [Mutex] isItemNotified: received:node:f1af5234-ca3e-4fb9-becb-a3dde813ac0e:localhost:node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346:Node 4c3c43e6-1cbf-4d43-9e7b-b19296a02346 :: false

createNodes 1.688s
2021-06-21 22:30:33 |

2021-06-21 22:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-21 22:30:33 | ------------------------------------

2021-06-21 22:30:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4c3c43e6-1cbf-4d43-9e7b-b19296a02346</title></pubsub></data>

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

2021-06-21 22:30:35 | [Mutex] waiting for: [received:nodes:29fdaf89-edb9-472e-bf62-4dc278fb1b49:localhost]

2021-06-21 22:30:35 | [Mutex] received everything.

2021-06-21 22:30:35 | [Mutex] isItemNotified: received:node:29fdaf89-edb9-472e-bf62-4dc278fb1b49:localhost:node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346:Node 4c3c43e6-1cbf-4d43-9e7b-b19296a02346 :: true

createSubnodes 1.026s
2021-06-21 22:30:35 |

2021-06-21 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-21 22:30:35 | ------------------------------------

2021-06-21 22:30:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d7cc1a24-cb92-46a7-98f6-467e8a20782c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d7cc1a24-cb92-46a7-98f6-467e8a20782c</title></pubsub></data>

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

2021-06-21 22:30:36 | [Mutex] waiting for: [received:nodes:a7713029-9401-4efa-a9b8-6f716206ab5c:localhost]

2021-06-21 22:30:36 | [Mutex] waiting for: [received:nodes:a7713029-9401-4efa-a9b8-6f716206ab5c:localhost]

2021-06-21 22:30:36 | [Mutex] waiting for: [received:nodes:a7713029-9401-4efa-a9b8-6f716206ab5c:localhost]

2021-06-21 22:30:36 | [Mutex] received everything.

2021-06-21 22:30:36 | [Mutex] isItemNotified: received:node:a7713029-9401-4efa-a9b8-6f716206ab5c:localhost:node-d7cc1a24-cb92-46a7-98f6-467e8a20782c:Node d7cc1a24-cb92-46a7-98f6-467e8a20782c :: true

deleteNodes 1.018s
2021-06-21 22:30:42 |

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

2021-06-21 22:30:42 | ------------------------------------

2021-06-21 22:30:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d7cc1a24-cb92-46a7-98f6-467e8a20782c</node></data>

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

2021-06-21 22:30:43 | [Mutex] waiting for: [received:nodes:b59a0eb8-502a-4ada-a054-6847ad30abc7:localhost]

2021-06-21 22:30:43 | [Mutex] received everything.

2021-06-21 22:30:43 | [Mutex] isItemNotified: received:node:b59a0eb8-502a-4ada-a054-6847ad30abc7:localhost:node-d7cc1a24-cb92-46a7-98f6-467e8a20782c:Node d7cc1a24-cb92-46a7-98f6-467e8a20782c :: false

deleteSubnodes 1.134s
2021-06-21 22:30:40 |

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

2021-06-21 22:30:40 | ------------------------------------

2021-06-21 22:30:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346</node></data>

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

2021-06-21 22:30:41 | [Mutex] waiting for: [received:nodes:601c063e-56d8-46f6-a65d-305ee22bb93e:localhost]

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

2021-06-21 22:30:41 | [Mutex] isItemNotified: received:node:601c063e-56d8-46f6-a65d-305ee22bb93e:localhost:node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346:Node 4c3c43e6-1cbf-4d43-9e7b-b19296a02346 :: false

2021-06-21 22:30:41 | [Mutex] waiting for: [received:nodes:80953f96-fc9b-4507-961e-2029a6d30c83:localhost]

2021-06-21 22:30:42 | [Mutex] received everything.

2021-06-21 22:30:42 | [Mutex] isItemNotified: received:node:80953f96-fc9b-4507-961e-2029a6d30c83:localhost:node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346:Node 4c3c43e6-1cbf-4d43-9e7b-b19296a02346 :: false

publishItemsToNodes 0.209s
2021-06-21 22:30:38 |

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

2021-06-21 22:30:38 | ------------------------------------

2021-06-21 22:30:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346</node><item-id>item-126a327a-fb49-418c-95ff-53e7972f1e57</item-id><entry><test>item-126a327a-fb49-418c-95ff-53e7972f1e57</test></entry></data>

2021-06-21 22:30:38 | 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-126a327a-fb49-418c-95ff-53e7972f1e57</value></item-id></result>

2021-06-21 22:30:38 | [Mutex] waiting for: [published:item:notifieditem-126a327a-fb49-418c-95ff-53e7972f1e57:admin@test-domain.com]

2021-06-21 22:30:38 | [Mutex] received everything.

2021-06-21 22:30:38 | [Mutex] isItemNotified: published:item:notifieditem-126a327a-fb49-418c-95ff-53e7972f1e57:admin@test-domain.com :: true

retractItemsFromNodes 0.282s
2021-06-21 22:30:39 |

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

2021-06-21 22:30:39 | ------------------------------------

2021-06-21 22:30:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346</node><item-id>item-126a327a-fb49-418c-95ff-53e7972f1e57</item-id></data>

2021-06-21 22:30:39 | 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-126a327a-fb49-418c-95ff-53e7972f1e57</value></item-id></result>

2021-06-21 22:30:39 | [Mutex] waiting for: [retracted:item:notifieditem-126a327a-fb49-418c-95ff-53e7972f1e57:admin@test-domain.com]

2021-06-21 22:30:39 | [Mutex] received everything.

2021-06-21 22:30:39 | [Mutex] isItemNotified: retracted:item:notifieditem-126a327a-fb49-418c-95ff-53e7972f1e57:admin@test-domain.com :: true

retrieveItemsFromNodes 0.430s
2021-06-21 22:30:38 |

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

2021-06-21 22:30:38 | ------------------------------------

2021-06-21 22:30:38 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346</node><item-id>item-126a327a-fb49-418c-95ff-53e7972f1e57</item-id></data>

2021-06-21 22:30:39 | 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-4c3c43e6-1cbf-4d43-9e7b-b19296a02346</value></node><item-id type="text-single" label="Item ID"><value>item-126a327a-fb49-418c-95ff-53e7972f1e57</value></item-id><item type="text-multi" label="Item"><value><item id="item-126a327a-fb49-418c-95ff-53e7972f1e57"><test>item-126a327a-fb49-418c-95ff-53e7972f1e57</test></item></value></item></result>

2021-06-21 22:30:39 | [Mutex] notify: [retrieved:item:item-126a327a-fb49-418c-95ff-53e7972f1e57:payload-matches:true:localhost]

2021-06-21 22:30:39 | [Mutex] received everything.

2021-06-21 22:30:39 | [Mutex] isItemNotified: retrieved:item:item-126a327a-fb49-418c-95ff-53e7972f1e57:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2021-06-21 22:30:39 |

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

2021-06-21 22:30:39 | ------------------------------------

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

2021-06-21 22:30:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346</value><value>test</value><value>node-d7cc1a24-cb92-46a7-98f6-467e8a20782c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-06-21 22:30:39 |

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

2021-06-21 22:30:39 | ------------------------------------

2021-06-21 22:30:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346)</node-pattern></data>

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

subscribeNodes 1.217s
2021-06-21 22:30:37 |

2021-06-21 22:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-21 22:30:37 | ------------------------------------

2021-06-21 22:30:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.260s
2021-06-21 22:30:39 |

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

2021-06-21 22:30:39 | ------------------------------------

2021-06-21 22:30:39 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4c3c43e6-1cbf-4d43-9e7b-b19296a02346</node><jids><value>admin@test-domain.com</value></jids></data>

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