Generated by TestNG with ReportNG at 21:14 PST on Thursday 18 February 2021
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 : 9.870s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.121s
2021-02-18 21:31:21 |

2021-02-18 21:31:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:21 | ------------------------------------

2021-02-18 21:31:21 | [Mutex] waiting for: [configured:node:node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254:node-090477ba-f3f3-457a-8520-700641024125]

2021-02-18 21:31:21 | [Mutex] received everything.

2021-02-18 21:31:21 | [Mutex] isItemNotified: configured:node:node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254:node-090477ba-f3f3-457a-8520-700641024125 :: true

2021-02-18 21:31:22 | [Mutex] waiting for: [received:nodes:d3ebf031-782c-4f53-b5ca-2b1524e3dd84:localhost]

2021-02-18 21:31:22 | [Mutex] received everything.

2021-02-18 21:31:22 | [Mutex] isItemNotified: received:node:d3ebf031-782c-4f53-b5ca-2b1524e3dd84:localhost:node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254:Node ef35698e-94c3-4ab9-89f4-abfc1a3d6254 :: true

2021-02-18 21:31:22 | [Mutex] waiting for: [received:nodes:6125927c-2ad6-4427-ab0d-9de912f008cc:localhost]

2021-02-18 21:31:22 | [Mutex] received everything.

2021-02-18 21:31:22 | [Mutex] isItemNotified: received:node:6125927c-2ad6-4427-ab0d-9de912f008cc:localhost:node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254:Node ef35698e-94c3-4ab9-89f4-abfc1a3d6254 :: false

createNodes 1.423s
2021-02-18 21:31:18 |

2021-02-18 21:31:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:18 | ------------------------------------

2021-02-18 21:31:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ef35698e-94c3-4ab9-89f4-abfc1a3d6254</title></pubsub></data>

2021-02-18 21:31:19 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-18 21:31:20 | [Mutex] waiting for: [received:nodes:46dd3092-3ec4-493d-813a-88e5f4062aa9:localhost]

2021-02-18 21:31:20 | [Mutex] received everything.

2021-02-18 21:31:20 | [Mutex] isItemNotified: received:node:46dd3092-3ec4-493d-813a-88e5f4062aa9:localhost:node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254:Node ef35698e-94c3-4ab9-89f4-abfc1a3d6254 :: true

createSubnodes 1.033s
2021-02-18 21:31:20 |

2021-02-18 21:31:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:20 | ------------------------------------

2021-02-18 21:31:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-090477ba-f3f3-457a-8520-700641024125</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 090477ba-f3f3-457a-8520-700641024125</title></pubsub></data>

2021-02-18 21:31:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-18 21:31:21 | [Mutex] waiting for: [received:nodes:0be3a559-51b2-4db9-94d3-776771bb4603:localhost]

2021-02-18 21:31:21 | [Mutex] waiting for: [received:nodes:0be3a559-51b2-4db9-94d3-776771bb4603:localhost]

2021-02-18 21:31:21 | [Mutex] received everything.

2021-02-18 21:31:21 | [Mutex] isItemNotified: received:node:0be3a559-51b2-4db9-94d3-776771bb4603:localhost:node-090477ba-f3f3-457a-8520-700641024125:Node 090477ba-f3f3-457a-8520-700641024125 :: true

deleteNodes 1.020s
2021-02-18 21:31:26 |

2021-02-18 21:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:26 | ------------------------------------

2021-02-18 21:31:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-090477ba-f3f3-457a-8520-700641024125</node></data>

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

2021-02-18 21:31:27 | [Mutex] waiting for: [received:nodes:7c79d3ec-cf73-4f2f-8e5e-1a7213299689:localhost]

2021-02-18 21:31:27 | [Mutex] received everything.

2021-02-18 21:31:27 | [Mutex] isItemNotified: received:node:7c79d3ec-cf73-4f2f-8e5e-1a7213299689:localhost:node-090477ba-f3f3-457a-8520-700641024125:Node 090477ba-f3f3-457a-8520-700641024125 :: false

deleteSubnodes 1.148s
2021-02-18 21:31:25 |

2021-02-18 21:31:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:25 | ------------------------------------

2021-02-18 21:31:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254</node></data>

2021-02-18 21:31:25 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-18 21:31:26 | [Mutex] waiting for: [received:nodes:35bda3f9-9cd8-42a7-bf19-a9a03a1b3067:localhost]

2021-02-18 21:31:26 | [Mutex] received everything.

2021-02-18 21:31:26 | [Mutex] isItemNotified: received:node:35bda3f9-9cd8-42a7-bf19-a9a03a1b3067:localhost:node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254:Node ef35698e-94c3-4ab9-89f4-abfc1a3d6254 :: false

2021-02-18 21:31:26 | [Mutex] waiting for: [received:nodes:214264ca-c033-423c-b735-e84c5744dcbc:localhost]

2021-02-18 21:31:26 | [Mutex] received everything.

2021-02-18 21:31:26 | [Mutex] isItemNotified: received:node:214264ca-c033-423c-b735-e84c5744dcbc:localhost:node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254:Node ef35698e-94c3-4ab9-89f4-abfc1a3d6254 :: false

publishItemsToNodes 0.270s
2021-02-18 21:31:23 |

2021-02-18 21:31:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:23 | ------------------------------------

2021-02-18 21:31:23 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254</node><item-id>item-e55e8437-a1d7-4d06-94cc-37188221c79b</item-id><entry><test>item-e55e8437-a1d7-4d06-94cc-37188221c79b</test></entry></data>

2021-02-18 21:31:23 | 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-e55e8437-a1d7-4d06-94cc-37188221c79b</value></item-id></result>

2021-02-18 21:31:23 | [Mutex] waiting for: [published:item:notifieditem-e55e8437-a1d7-4d06-94cc-37188221c79b:admin@test-domain.com]

2021-02-18 21:31:23 | [Mutex] received everything.

2021-02-18 21:31:23 | [Mutex] isItemNotified: published:item:notifieditem-e55e8437-a1d7-4d06-94cc-37188221c79b:admin@test-domain.com :: true

retractItemsFromNodes 0.272s
2021-02-18 21:31:24 |

2021-02-18 21:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:24 | ------------------------------------

2021-02-18 21:31:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254</node><item-id>item-e55e8437-a1d7-4d06-94cc-37188221c79b</item-id></data>

2021-02-18 21:31:24 | 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-e55e8437-a1d7-4d06-94cc-37188221c79b</value></item-id></result>

2021-02-18 21:31:24 | [Mutex] received everything.

2021-02-18 21:31:24 | [Mutex] isItemNotified: retracted:item:notifieditem-e55e8437-a1d7-4d06-94cc-37188221c79b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.215s
2021-02-18 21:31:23 |

2021-02-18 21:31:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:23 | ------------------------------------

2021-02-18 21:31:23 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254</node><item-id>item-e55e8437-a1d7-4d06-94cc-37188221c79b</item-id></data>

2021-02-18 21:31:24 | 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-ef35698e-94c3-4ab9-89f4-abfc1a3d6254</value></node><item-id label="Item ID" type="text-single"><value>item-e55e8437-a1d7-4d06-94cc-37188221c79b</value></item-id><item label="Item" type="text-multi"><value><item id="item-e55e8437-a1d7-4d06-94cc-37188221c79b"><test>item-e55e8437-a1d7-4d06-94cc-37188221c79b</test></item></value></item></result>

2021-02-18 21:31:24 | [Mutex] notify: [retrieved:item:item-e55e8437-a1d7-4d06-94cc-37188221c79b:payload-matches:true:localhost]

2021-02-18 21:31:24 | [Mutex] received everything.

2021-02-18 21:31:24 | [Mutex] isItemNotified: retrieved:item:item-e55e8437-a1d7-4d06-94cc-37188221c79b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-02-18 21:31:24 |

2021-02-18 21:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:24 | ------------------------------------

2021-02-18 21:31:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-18 21:31:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-090477ba-f3f3-457a-8520-700641024125</value><value>test</value><value>node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-02-18 21:31:24 |

2021-02-18 21:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:24 | ------------------------------------

2021-02-18 21:31:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254)</node-pattern></data>

2021-02-18 21:31:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.098s
2021-02-18 21:31:22 |

2021-02-18 21:31:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:22 | ------------------------------------

2021-02-18 21:31:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.244s
2021-02-18 21:31:24 |

2021-02-18 21:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:24 | ------------------------------------

2021-02-18 21:31:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ef35698e-94c3-4ab9-89f4-abfc1a3d6254</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-18 21:31:24 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>