Generated by TestNG with ReportNG at 21:13 PST on Tuesday 03 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.785s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2020-11-03 21:31:11 |

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

2020-11-03 21:31:11 | ------------------------------------

2020-11-03 21:31:11 | [Mutex] waiting for: [configured:node:node-3c15958d-2e86-405d-80b0-f6bbd6eee25e:node-25938fbc-a574-4abf-9baf-877c51d994f6]

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

2020-11-03 21:31:11 | [Mutex] isItemNotified: configured:node:node-3c15958d-2e86-405d-80b0-f6bbd6eee25e:node-25938fbc-a574-4abf-9baf-877c51d994f6 :: true

2020-11-03 21:31:12 | [Mutex] waiting for: [received:nodes:8f62f047-92d5-4b66-a2b1-3bd5cb6fc44a:localhost]

2020-11-03 21:31:12 | [Mutex] received everything.

2020-11-03 21:31:12 | [Mutex] isItemNotified: received:node:8f62f047-92d5-4b66-a2b1-3bd5cb6fc44a:localhost:node-3c15958d-2e86-405d-80b0-f6bbd6eee25e:Node 3c15958d-2e86-405d-80b0-f6bbd6eee25e :: true

2020-11-03 21:31:12 | [Mutex] waiting for: [received:nodes:a45bb08e-0bcc-47bf-bd6e-abd7c6417ed0:localhost]

2020-11-03 21:31:12 | [Mutex] received everything.

2020-11-03 21:31:12 | [Mutex] isItemNotified: received:node:a45bb08e-0bcc-47bf-bd6e-abd7c6417ed0:localhost:node-3c15958d-2e86-405d-80b0-f6bbd6eee25e:Node 3c15958d-2e86-405d-80b0-f6bbd6eee25e :: false

createNodes 1.354s
2020-11-03 21:31:08 |

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

2020-11-03 21:31:08 | ------------------------------------

2020-11-03 21:31:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3c15958d-2e86-405d-80b0-f6bbd6eee25e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3c15958d-2e86-405d-80b0-f6bbd6eee25e</title></pubsub></data>

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

2020-11-03 21:31:10 | [Mutex] waiting for: [received:nodes:66fbb2e5-55c9-445a-a68a-f29fb0ab21f3:localhost]

2020-11-03 21:31:10 | [Mutex] received everything.

2020-11-03 21:31:10 | [Mutex] isItemNotified: received:node:66fbb2e5-55c9-445a-a68a-f29fb0ab21f3:localhost:node-3c15958d-2e86-405d-80b0-f6bbd6eee25e:Node 3c15958d-2e86-405d-80b0-f6bbd6eee25e :: true

createSubnodes 1.030s
2020-11-03 21:31:10 |

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

2020-11-03 21:31:10 | ------------------------------------

2020-11-03 21:31:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-25938fbc-a574-4abf-9baf-877c51d994f6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 25938fbc-a574-4abf-9baf-877c51d994f6</title></pubsub></data>

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

2020-11-03 21:31:11 | [Mutex] waiting for: [received:nodes:3cb88ff8-6214-4bbd-aa4e-6ab30c8179a5:localhost]

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

2020-11-03 21:31:11 | [Mutex] isItemNotified: received:node:3cb88ff8-6214-4bbd-aa4e-6ab30c8179a5:localhost:node-25938fbc-a574-4abf-9baf-877c51d994f6:Node 25938fbc-a574-4abf-9baf-877c51d994f6 :: true

deleteNodes 1.017s
2020-11-03 21:31:16 |

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

2020-11-03 21:31:16 | ------------------------------------

2020-11-03 21:31:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-25938fbc-a574-4abf-9baf-877c51d994f6</node></data>

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

2020-11-03 21:31:17 | [Mutex] waiting for: [received:nodes:3d0cc8f7-f422-4aca-8de1-a8d8f8c95823:localhost]

2020-11-03 21:31:17 | [Mutex] received everything.

2020-11-03 21:31:17 | [Mutex] isItemNotified: received:node:3d0cc8f7-f422-4aca-8de1-a8d8f8c95823:localhost:node-25938fbc-a574-4abf-9baf-877c51d994f6:Node 25938fbc-a574-4abf-9baf-877c51d994f6 :: false

deleteSubnodes 1.124s
2020-11-03 21:31:15 |

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

2020-11-03 21:31:15 | ------------------------------------

2020-11-03 21:31:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3c15958d-2e86-405d-80b0-f6bbd6eee25e</node></data>

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

2020-11-03 21:31:16 | [Mutex] waiting for: [received:nodes:6ba9021c-f1d9-4a93-b49b-922f4b6ea9f0:localhost]

2020-11-03 21:31:16 | [Mutex] waiting for: [received:nodes:6ba9021c-f1d9-4a93-b49b-922f4b6ea9f0:localhost]

2020-11-03 21:31:16 | [Mutex] received everything.

2020-11-03 21:31:16 | [Mutex] isItemNotified: received:node:6ba9021c-f1d9-4a93-b49b-922f4b6ea9f0:localhost:node-3c15958d-2e86-405d-80b0-f6bbd6eee25e:Node 3c15958d-2e86-405d-80b0-f6bbd6eee25e :: false

2020-11-03 21:31:16 | [Mutex] waiting for: [received:nodes:2514288f-35e8-4704-a378-73edea1f1bb7:localhost]

2020-11-03 21:31:16 | [Mutex] received everything.

2020-11-03 21:31:16 | [Mutex] isItemNotified: received:node:2514288f-35e8-4704-a378-73edea1f1bb7:localhost:node-3c15958d-2e86-405d-80b0-f6bbd6eee25e:Node 3c15958d-2e86-405d-80b0-f6bbd6eee25e :: false

publishItemsToNodes 0.207s
2020-11-03 21:31:13 |

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

2020-11-03 21:31:13 | ------------------------------------

2020-11-03 21:31:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3c15958d-2e86-405d-80b0-f6bbd6eee25e</node><item-id>item-f320eaac-4b6e-49fc-9e81-e28625861156</item-id><entry><test>item-f320eaac-4b6e-49fc-9e81-e28625861156</test></entry></data>

2020-11-03 21:31:13 | 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-f320eaac-4b6e-49fc-9e81-e28625861156</value></item-id></result>

2020-11-03 21:31:13 | [Mutex] waiting for: [published:item:notifieditem-f320eaac-4b6e-49fc-9e81-e28625861156:admin@test-domain.com]

2020-11-03 21:31:13 | [Mutex] received everything.

2020-11-03 21:31:13 | [Mutex] isItemNotified: published:item:notifieditem-f320eaac-4b6e-49fc-9e81-e28625861156:admin@test-domain.com :: true

retractItemsFromNodes 0.296s
2020-11-03 21:31:14 |

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

2020-11-03 21:31:14 | ------------------------------------

2020-11-03 21:31:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3c15958d-2e86-405d-80b0-f6bbd6eee25e</node><item-id>item-f320eaac-4b6e-49fc-9e81-e28625861156</item-id></data>

2020-11-03 21:31:14 | 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-f320eaac-4b6e-49fc-9e81-e28625861156</value></item-id></result>

2020-11-03 21:31:14 | [Mutex] received everything.

2020-11-03 21:31:14 | [Mutex] isItemNotified: retracted:item:notifieditem-f320eaac-4b6e-49fc-9e81-e28625861156:admin@test-domain.com :: true

retrieveItemsFromNodes 0.165s
2020-11-03 21:31:13 |

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

2020-11-03 21:31:13 | ------------------------------------

2020-11-03 21:31:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3c15958d-2e86-405d-80b0-f6bbd6eee25e</node><item-id>item-f320eaac-4b6e-49fc-9e81-e28625861156</item-id></data>

2020-11-03 21:31:13 | 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-3c15958d-2e86-405d-80b0-f6bbd6eee25e</value></node><item-id type="text-single" label="Item ID"><value>item-f320eaac-4b6e-49fc-9e81-e28625861156</value></item-id><item type="text-multi" label="Item"><value><item id="item-f320eaac-4b6e-49fc-9e81-e28625861156"><test>item-f320eaac-4b6e-49fc-9e81-e28625861156</test></item></value></item></result>

2020-11-03 21:31:13 | [Mutex] notify: [retrieved:item:item-f320eaac-4b6e-49fc-9e81-e28625861156:payload-matches:true:localhost]

2020-11-03 21:31:13 | [Mutex] received everything.

2020-11-03 21:31:13 | [Mutex] isItemNotified: retrieved:item:item-f320eaac-4b6e-49fc-9e81-e28625861156:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-11-03 21:31:13 |

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

2020-11-03 21:31:13 | ------------------------------------

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

2020-11-03 21:31:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-25938fbc-a574-4abf-9baf-877c51d994f6</value><value>test</value><value>node-3c15958d-2e86-405d-80b0-f6bbd6eee25e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-11-03 21:31:13 |

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

2020-11-03 21:31:13 | ------------------------------------

2020-11-03 21:31:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3c15958d-2e86-405d-80b0-f6bbd6eee25e)</node-pattern></data>

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

subscribeNodes 1.135s
2020-11-03 21:31:12 |

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

2020-11-03 21:31:12 | ------------------------------------

2020-11-03 21:31:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3c15958d-2e86-405d-80b0-f6bbd6eee25e</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.312s
2020-11-03 21:31:14 |

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

2020-11-03 21:31:14 | ------------------------------------

2020-11-03 21:31:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3c15958d-2e86-405d-80b0-f6bbd6eee25e</node><jids><value>admin@test-domain.com</value></jids></data>

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