Generated by TestNG with ReportNG at 21:24 PST on Wednesday 18 November 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 : 9.883s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.136s
2020-11-18 21:42:26 |

2020-11-18 21:42:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:42:26 | ------------------------------------

2020-11-18 21:42:26 | [Mutex] waiting for: [configured:node:node-7354d89f-36b0-45f6-8431-60a14774d5fe:node-568bbb1d-db96-43a0-ae54-09e69b64a16f]

2020-11-18 21:42:26 | [Mutex] received everything.

2020-11-18 21:42:26 | [Mutex] isItemNotified: configured:node:node-7354d89f-36b0-45f6-8431-60a14774d5fe:node-568bbb1d-db96-43a0-ae54-09e69b64a16f :: true

2020-11-18 21:42:27 | [Mutex] waiting for: [received:nodes:834b7c7d-a4c1-4c0e-9720-44370f30805a:localhost]

2020-11-18 21:42:27 | [Mutex] received everything.

2020-11-18 21:42:27 | [Mutex] isItemNotified: received:node:834b7c7d-a4c1-4c0e-9720-44370f30805a:localhost:node-7354d89f-36b0-45f6-8431-60a14774d5fe:Node 7354d89f-36b0-45f6-8431-60a14774d5fe :: true

2020-11-18 21:42:27 | [Mutex] waiting for: [received:nodes:53e97c2b-86cd-4f49-b37b-93b9b27e62e7:localhost]

2020-11-18 21:42:27 | [Mutex] received everything.

2020-11-18 21:42:27 | [Mutex] isItemNotified: received:node:53e97c2b-86cd-4f49-b37b-93b9b27e62e7:localhost:node-7354d89f-36b0-45f6-8431-60a14774d5fe:Node 7354d89f-36b0-45f6-8431-60a14774d5fe :: false

createNodes 1.502s
2020-11-18 21:42:24 |

2020-11-18 21:42:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:42:24 | ------------------------------------

2020-11-18 21:42:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7354d89f-36b0-45f6-8431-60a14774d5fe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7354d89f-36b0-45f6-8431-60a14774d5fe</title></pubsub></data>

2020-11-18 21:42:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-18 21:42:25 | [Mutex] waiting for: [received:nodes:2b46fb05-e54b-4a2e-b9bd-ba2efd37128a:localhost]

2020-11-18 21:42:25 | [Mutex] received everything.

2020-11-18 21:42:25 | [Mutex] isItemNotified: received:node:2b46fb05-e54b-4a2e-b9bd-ba2efd37128a:localhost:node-7354d89f-36b0-45f6-8431-60a14774d5fe:Node 7354d89f-36b0-45f6-8431-60a14774d5fe :: true

createSubnodes 1.024s
2020-11-18 21:42:25 |

2020-11-18 21:42:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:42:25 | ------------------------------------

2020-11-18 21:42:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-568bbb1d-db96-43a0-ae54-09e69b64a16f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 568bbb1d-db96-43a0-ae54-09e69b64a16f</title></pubsub></data>

2020-11-18 21:42:25 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-18 21:42:26 | [Mutex] waiting for: [received:nodes:cdc7eedd-71e3-462b-be35-ecf81b5a6a68:localhost]

2020-11-18 21:42:26 | [Mutex] received everything.

2020-11-18 21:42:26 | [Mutex] isItemNotified: received:node:cdc7eedd-71e3-462b-be35-ecf81b5a6a68:localhost:node-568bbb1d-db96-43a0-ae54-09e69b64a16f:Node 568bbb1d-db96-43a0-ae54-09e69b64a16f :: true

deleteNodes 1.023s
2020-11-18 21:42:31 |

2020-11-18 21:42:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:42:31 | ------------------------------------

2020-11-18 21:42:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-568bbb1d-db96-43a0-ae54-09e69b64a16f</node></data>

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

2020-11-18 21:42:32 | [Mutex] waiting for: [received:nodes:b42818d2-f775-483f-a0e5-6c0e3242e5ab:localhost]

2020-11-18 21:42:32 | [Mutex] received everything.

2020-11-18 21:42:32 | [Mutex] isItemNotified: received:node:b42818d2-f775-483f-a0e5-6c0e3242e5ab:localhost:node-568bbb1d-db96-43a0-ae54-09e69b64a16f:Node 568bbb1d-db96-43a0-ae54-09e69b64a16f :: false

deleteSubnodes 1.116s
2020-11-18 21:42:30 |

2020-11-18 21:42:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:42:30 | ------------------------------------

2020-11-18 21:42:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7354d89f-36b0-45f6-8431-60a14774d5fe</node></data>

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

2020-11-18 21:42:31 | [Mutex] waiting for: [received:nodes:f5a7cb27-7ff4-4002-92fa-7f79502c9c95:localhost]

2020-11-18 21:42:31 | [Mutex] waiting for: [received:nodes:f5a7cb27-7ff4-4002-92fa-7f79502c9c95:localhost]

2020-11-18 21:42:31 | [Mutex] received everything.

2020-11-18 21:42:31 | [Mutex] isItemNotified: received:node:f5a7cb27-7ff4-4002-92fa-7f79502c9c95:localhost:node-7354d89f-36b0-45f6-8431-60a14774d5fe:Node 7354d89f-36b0-45f6-8431-60a14774d5fe :: false

2020-11-18 21:42:31 | [Mutex] waiting for: [received:nodes:547b55b5-2647-4a7f-8511-96e2e73af91d:localhost]

2020-11-18 21:42:31 | [Mutex] received everything.

2020-11-18 21:42:31 | [Mutex] isItemNotified: received:node:547b55b5-2647-4a7f-8511-96e2e73af91d:localhost:node-7354d89f-36b0-45f6-8431-60a14774d5fe:Node 7354d89f-36b0-45f6-8431-60a14774d5fe :: false

publishItemsToNodes 0.226s
2020-11-18 21:42:28 |

2020-11-18 21:42:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:42:28 | ------------------------------------

2020-11-18 21:42:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7354d89f-36b0-45f6-8431-60a14774d5fe</node><item-id>item-3051dc62-9c65-4fc7-ada1-85f0f9808f57</item-id><entry><test>item-3051dc62-9c65-4fc7-ada1-85f0f9808f57</test></entry></data>

2020-11-18 21:42:29 | 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-3051dc62-9c65-4fc7-ada1-85f0f9808f57</value></item-id></result>

2020-11-18 21:42:29 | [Mutex] received everything.

2020-11-18 21:42:29 | [Mutex] isItemNotified: published:item:notifieditem-3051dc62-9c65-4fc7-ada1-85f0f9808f57:admin@test-domain.com :: true

retractItemsFromNodes 0.291s
2020-11-18 21:42:29 |

2020-11-18 21:42:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:42:29 | ------------------------------------

2020-11-18 21:42:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7354d89f-36b0-45f6-8431-60a14774d5fe</node><item-id>item-3051dc62-9c65-4fc7-ada1-85f0f9808f57</item-id></data>

2020-11-18 21:42:29 | 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-3051dc62-9c65-4fc7-ada1-85f0f9808f57</value></item-id></result>

2020-11-18 21:42:29 | [Mutex] waiting for: [retracted:item:notifieditem-3051dc62-9c65-4fc7-ada1-85f0f9808f57:admin@test-domain.com]

2020-11-18 21:42:29 | [Mutex] received everything.

2020-11-18 21:42:29 | [Mutex] isItemNotified: retracted:item:notifieditem-3051dc62-9c65-4fc7-ada1-85f0f9808f57:admin@test-domain.com :: true

retrieveItemsFromNodes 0.239s
2020-11-18 21:42:29 |

2020-11-18 21:42:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:42:29 | ------------------------------------

2020-11-18 21:42:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7354d89f-36b0-45f6-8431-60a14774d5fe</node><item-id>item-3051dc62-9c65-4fc7-ada1-85f0f9808f57</item-id></data>

2020-11-18 21:42:29 | 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-7354d89f-36b0-45f6-8431-60a14774d5fe</value></node><item-id type="text-single" label="Item ID"><value>item-3051dc62-9c65-4fc7-ada1-85f0f9808f57</value></item-id><item type="text-multi" label="Item"><value><item id="item-3051dc62-9c65-4fc7-ada1-85f0f9808f57"><test>item-3051dc62-9c65-4fc7-ada1-85f0f9808f57</test></item></value></item></result>

2020-11-18 21:42:29 | [Mutex] notify: [retrieved:item:item-3051dc62-9c65-4fc7-ada1-85f0f9808f57:payload-matches:true:localhost]

2020-11-18 21:42:29 | [Mutex] received everything.

2020-11-18 21:42:29 | [Mutex] isItemNotified: retrieved:item:item-3051dc62-9c65-4fc7-ada1-85f0f9808f57:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-11-18 21:42:29 |

2020-11-18 21:42:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:42:29 | ------------------------------------

2020-11-18 21:42:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-18 21:42:29 | 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-568bbb1d-db96-43a0-ae54-09e69b64a16f</value><value>node-7354d89f-36b0-45f6-8431-60a14774d5fe</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-11-18 21:42:29 |

2020-11-18 21:42:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:42:29 | ------------------------------------

2020-11-18 21:42:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7354d89f-36b0-45f6-8431-60a14774d5fe)</node-pattern></data>

2020-11-18 21:42:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.108s
2020-11-18 21:42:27 |

2020-11-18 21:42:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:42:27 | ------------------------------------

2020-11-18 21:42:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7354d89f-36b0-45f6-8431-60a14774d5fe</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-18 21:42:27 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.163s
2020-11-18 21:42:29 |

2020-11-18 21:42:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:42:29 | ------------------------------------

2020-11-18 21:42:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7354d89f-36b0-45f6-8431-60a14774d5fe</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-18 21:42:29 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>