Generated by TestNG with ReportNG at 14:03 PST on Wednesday 16 December 2020
root@eaa73862192b / 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.160s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.131s
2020-12-16 14:19:31 |

2020-12-16 14:19:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 14:19:31 | ------------------------------------

2020-12-16 14:19:31 | [Mutex] waiting for: [configured:node:node-26b27ca8-f4c1-4166-aa70-99d840cb81fa:node-d6aced5c-8423-4250-b5ad-cee0edb3bde5]

2020-12-16 14:19:32 | [Mutex] received everything.

2020-12-16 14:19:32 | [Mutex] isItemNotified: configured:node:node-26b27ca8-f4c1-4166-aa70-99d840cb81fa:node-d6aced5c-8423-4250-b5ad-cee0edb3bde5 :: true

2020-12-16 14:19:33 | [Mutex] waiting for: [received:nodes:5a0e48f7-ca30-4af7-a86a-eea56183d601:localhost]

2020-12-16 14:19:33 | [Mutex] received everything.

2020-12-16 14:19:33 | [Mutex] isItemNotified: received:node:5a0e48f7-ca30-4af7-a86a-eea56183d601:localhost:node-26b27ca8-f4c1-4166-aa70-99d840cb81fa:Node 26b27ca8-f4c1-4166-aa70-99d840cb81fa :: true

2020-12-16 14:19:33 | [Mutex] waiting for: [received:nodes:2f9e83fc-80d6-4751-a4ba-34c45b085d49:localhost]

2020-12-16 14:19:33 | [Mutex] waiting for: [received:nodes:2f9e83fc-80d6-4751-a4ba-34c45b085d49:localhost]

2020-12-16 14:19:33 | [Mutex] received everything.

2020-12-16 14:19:33 | [Mutex] isItemNotified: received:node:2f9e83fc-80d6-4751-a4ba-34c45b085d49:localhost:node-26b27ca8-f4c1-4166-aa70-99d840cb81fa:Node 26b27ca8-f4c1-4166-aa70-99d840cb81fa :: false

createNodes 1.447s
2020-12-16 14:19:29 |

2020-12-16 14:19:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 14:19:29 | ------------------------------------

2020-12-16 14:19:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-26b27ca8-f4c1-4166-aa70-99d840cb81fa</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 26b27ca8-f4c1-4166-aa70-99d840cb81fa</title></pubsub></data>

2020-12-16 14:19:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-16 14:19:30 | [Mutex] waiting for: [received:nodes:275c5df1-c507-4b95-99ae-0764449e68c0:localhost]

2020-12-16 14:19:30 | [Mutex] received everything.

2020-12-16 14:19:30 | [Mutex] isItemNotified: received:node:275c5df1-c507-4b95-99ae-0764449e68c0:localhost:node-26b27ca8-f4c1-4166-aa70-99d840cb81fa:Node 26b27ca8-f4c1-4166-aa70-99d840cb81fa :: true

createSubnodes 1.024s
2020-12-16 14:19:30 |

2020-12-16 14:19:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 14:19:30 | ------------------------------------

2020-12-16 14:19:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d6aced5c-8423-4250-b5ad-cee0edb3bde5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d6aced5c-8423-4250-b5ad-cee0edb3bde5</title></pubsub></data>

2020-12-16 14:19:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-16 14:19:31 | [Mutex] waiting for: [received:nodes:26cb2e54-4429-4d9c-9564-31c2c6d18202:localhost]

2020-12-16 14:19:31 | [Mutex] received everything.

2020-12-16 14:19:31 | [Mutex] isItemNotified: received:node:26cb2e54-4429-4d9c-9564-31c2c6d18202:localhost:node-d6aced5c-8423-4250-b5ad-cee0edb3bde5:Node d6aced5c-8423-4250-b5ad-cee0edb3bde5 :: true

deleteNodes 1.041s
2020-12-16 14:19:37 |

2020-12-16 14:19:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 14:19:37 | ------------------------------------

2020-12-16 14:19:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d6aced5c-8423-4250-b5ad-cee0edb3bde5</node></data>

2020-12-16 14:19:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-16 14:19:38 | [Mutex] waiting for: [received:nodes:4fbd2507-79da-45b6-8947-4abc17ea12ea:localhost]

2020-12-16 14:19:38 | [Mutex] received everything.

2020-12-16 14:19:38 | [Mutex] isItemNotified: received:node:4fbd2507-79da-45b6-8947-4abc17ea12ea:localhost:node-d6aced5c-8423-4250-b5ad-cee0edb3bde5:Node d6aced5c-8423-4250-b5ad-cee0edb3bde5 :: false

deleteSubnodes 1.119s
2020-12-16 14:19:36 |

2020-12-16 14:19:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 14:19:36 | ------------------------------------

2020-12-16 14:19:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-26b27ca8-f4c1-4166-aa70-99d840cb81fa</node></data>

2020-12-16 14:19:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-16 14:19:37 | [Mutex] waiting for: [received:nodes:0ab430eb-a9ba-4bf2-828e-613f995a1945:localhost]

2020-12-16 14:19:37 | [Mutex] waiting for: [received:nodes:0ab430eb-a9ba-4bf2-828e-613f995a1945:localhost]

2020-12-16 14:19:37 | [Mutex] received everything.

2020-12-16 14:19:37 | [Mutex] isItemNotified: received:node:0ab430eb-a9ba-4bf2-828e-613f995a1945:localhost:node-26b27ca8-f4c1-4166-aa70-99d840cb81fa:Node 26b27ca8-f4c1-4166-aa70-99d840cb81fa :: false

2020-12-16 14:19:37 | [Mutex] waiting for: [received:nodes:46466fc4-fb02-4673-97dc-2047ed154eb0:localhost]

2020-12-16 14:19:37 | [Mutex] received everything.

2020-12-16 14:19:37 | [Mutex] isItemNotified: received:node:46466fc4-fb02-4673-97dc-2047ed154eb0:localhost:node-26b27ca8-f4c1-4166-aa70-99d840cb81fa:Node 26b27ca8-f4c1-4166-aa70-99d840cb81fa :: false

publishItemsToNodes 0.184s
2020-12-16 14:19:34 |

2020-12-16 14:19:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 14:19:34 | ------------------------------------

2020-12-16 14:19:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-26b27ca8-f4c1-4166-aa70-99d840cb81fa</node><item-id>item-14dead8f-d9f7-44ec-bf13-1e738acd75ff</item-id><entry><test>item-14dead8f-d9f7-44ec-bf13-1e738acd75ff</test></entry></data>

2020-12-16 14:19:34 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-14dead8f-d9f7-44ec-bf13-1e738acd75ff</value></item-id></result>

2020-12-16 14:19:34 | [Mutex] waiting for: [published:item:notifieditem-14dead8f-d9f7-44ec-bf13-1e738acd75ff:admin@test-domain.com]

2020-12-16 14:19:34 | [Mutex] received everything.

2020-12-16 14:19:34 | [Mutex] isItemNotified: published:item:notifieditem-14dead8f-d9f7-44ec-bf13-1e738acd75ff:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2020-12-16 14:19:34 |

2020-12-16 14:19:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 14:19:34 | ------------------------------------

2020-12-16 14:19:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-26b27ca8-f4c1-4166-aa70-99d840cb81fa</node><item-id>item-14dead8f-d9f7-44ec-bf13-1e738acd75ff</item-id></data>

2020-12-16 14:19:35 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-14dead8f-d9f7-44ec-bf13-1e738acd75ff</value></item-id></result>

2020-12-16 14:19:35 | [Mutex] received everything.

2020-12-16 14:19:35 | [Mutex] isItemNotified: retracted:item:notifieditem-14dead8f-d9f7-44ec-bf13-1e738acd75ff:admin@test-domain.com :: true

retrieveItemsFromNodes 0.269s
2020-12-16 14:19:34 |

2020-12-16 14:19:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 14:19:34 | ------------------------------------

2020-12-16 14:19:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-26b27ca8-f4c1-4166-aa70-99d840cb81fa</node><item-id>item-14dead8f-d9f7-44ec-bf13-1e738acd75ff</item-id></data>

2020-12-16 14:19:34 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-26b27ca8-f4c1-4166-aa70-99d840cb81fa</value></node><item-id label="Item ID" type="text-single"><value>item-14dead8f-d9f7-44ec-bf13-1e738acd75ff</value></item-id><item label="Item" type="text-multi"><value><item id="item-14dead8f-d9f7-44ec-bf13-1e738acd75ff"><test>item-14dead8f-d9f7-44ec-bf13-1e738acd75ff</test></item></value></item></result>

2020-12-16 14:19:34 | [Mutex] notify: [retrieved:item:item-14dead8f-d9f7-44ec-bf13-1e738acd75ff:payload-matches:true:localhost]

2020-12-16 14:19:34 | [Mutex] received everything.

2020-12-16 14:19:34 | [Mutex] isItemNotified: retrieved:item:item-14dead8f-d9f7-44ec-bf13-1e738acd75ff:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-12-16 14:19:34 |

2020-12-16 14:19:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 14:19:34 | ------------------------------------

2020-12-16 14:19:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-12-16 14:19:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-26b27ca8-f4c1-4166-aa70-99d840cb81fa</value><value>node-d6aced5c-8423-4250-b5ad-cee0edb3bde5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-12-16 14:19:34 |

2020-12-16 14:19:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 14:19:34 | ------------------------------------

2020-12-16 14:19: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-26b27ca8-f4c1-4166-aa70-99d840cb81fa)</node-pattern></data>

2020-12-16 14:19:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.135s
2020-12-16 14:19:33 |

2020-12-16 14:19:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 14:19:33 | ------------------------------------

2020-12-16 14:19:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-26b27ca8-f4c1-4166-aa70-99d840cb81fa</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-16 14:19: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.319s
2020-12-16 14:19:35 |

2020-12-16 14:19:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 14:19:35 | ------------------------------------

2020-12-16 14:19:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-26b27ca8-f4c1-4166-aa70-99d840cb81fa</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-16 14:19:35 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>