Generated by TestNG with ReportNG at 23:02 PDT on Wednesday 26 August 2020
root@729cee58eda8 / 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.203s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.134s
2020-08-26 23:17:50 |

2020-08-26 23:17:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 23:17:50 | ------------------------------------

2020-08-26 23:17:50 | [Mutex] waiting for: [configured:node:node-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f:node-33b8baad-3378-4d9d-803c-414d251a8e20]

2020-08-26 23:17:50 | [Mutex] received everything.

2020-08-26 23:17:50 | [Mutex] isItemNotified: configured:node:node-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f:node-33b8baad-3378-4d9d-803c-414d251a8e20 :: true

2020-08-26 23:17:51 | [Mutex] waiting for: [received:nodes:f8f93ce4-6db0-42f8-860f-66ba624d66e3:localhost]

2020-08-26 23:17:51 | [Mutex] received everything.

2020-08-26 23:17:51 | [Mutex] isItemNotified: received:node:f8f93ce4-6db0-42f8-860f-66ba624d66e3:localhost:node-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f:Node e73cbbea-03f3-4900-8cf7-0b6b10b23d2f :: true

2020-08-26 23:17:51 | [Mutex] waiting for: [received:nodes:1fbfa64c-5c87-4689-8462-382856d4a4c2:localhost]

2020-08-26 23:17:51 | [Mutex] waiting for: [received:nodes:1fbfa64c-5c87-4689-8462-382856d4a4c2:localhost]

2020-08-26 23:17:51 | [Mutex] received everything.

2020-08-26 23:17:51 | [Mutex] isItemNotified: received:node:1fbfa64c-5c87-4689-8462-382856d4a4c2:localhost:node-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f:Node e73cbbea-03f3-4900-8cf7-0b6b10b23d2f :: false

createNodes 1.432s
2020-08-26 23:17:47 |

2020-08-26 23:17:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 23:17:47 | ------------------------------------

2020-08-26 23:17:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e73cbbea-03f3-4900-8cf7-0b6b10b23d2f</title></pubsub></data>

2020-08-26 23:17:47 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-26 23:17:48 | [Mutex] waiting for: [received:nodes:8b2ddc68-e0e2-43ec-80b5-4b30384e1b67:localhost]

2020-08-26 23:17:49 | [Mutex] received everything.

2020-08-26 23:17:49 | [Mutex] isItemNotified: received:node:8b2ddc68-e0e2-43ec-80b5-4b30384e1b67:localhost:node-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f:Node e73cbbea-03f3-4900-8cf7-0b6b10b23d2f :: true

createSubnodes 1.027s
2020-08-26 23:17:49 |

2020-08-26 23:17:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 23:17:49 | ------------------------------------

2020-08-26 23:17:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-33b8baad-3378-4d9d-803c-414d251a8e20</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 33b8baad-3378-4d9d-803c-414d251a8e20</title></pubsub></data>

2020-08-26 23:17:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-26 23:17:50 | [Mutex] waiting for: [received:nodes:e4527f47-5a76-4e56-826f-fba309ceb0a5:localhost]

2020-08-26 23:17:50 | [Mutex] received everything.

2020-08-26 23:17:50 | [Mutex] isItemNotified: received:node:e4527f47-5a76-4e56-826f-fba309ceb0a5:localhost:node-33b8baad-3378-4d9d-803c-414d251a8e20:Node 33b8baad-3378-4d9d-803c-414d251a8e20 :: true

deleteNodes 1.020s
2020-08-26 23:17:55 |

2020-08-26 23:17:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 23:17:55 | ------------------------------------

2020-08-26 23:17:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-33b8baad-3378-4d9d-803c-414d251a8e20</node></data>

2020-08-26 23:17:55 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-26 23:17:56 | [Mutex] waiting for: [received:nodes:cde1deb6-83b7-468b-9db1-4d18cf70bd02:localhost]

2020-08-26 23:17:56 | [Mutex] received everything.

2020-08-26 23:17:56 | [Mutex] isItemNotified: received:node:cde1deb6-83b7-468b-9db1-4d18cf70bd02:localhost:node-33b8baad-3378-4d9d-803c-414d251a8e20:Node 33b8baad-3378-4d9d-803c-414d251a8e20 :: false

deleteSubnodes 1.135s
2020-08-26 23:17:54 |

2020-08-26 23:17:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 23:17:54 | ------------------------------------

2020-08-26 23:17:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f</node></data>

2020-08-26 23:17:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-26 23:17:55 | [Mutex] waiting for: [received:nodes:ea767ece-f41b-4ac0-8a5b-aadbc247e6f0:localhost]

2020-08-26 23:17:55 | [Mutex] received everything.

2020-08-26 23:17:55 | [Mutex] isItemNotified: received:node:ea767ece-f41b-4ac0-8a5b-aadbc247e6f0:localhost:node-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f:Node e73cbbea-03f3-4900-8cf7-0b6b10b23d2f :: false

2020-08-26 23:17:55 | [Mutex] waiting for: [received:nodes:24ab5b7a-20e7-4c39-90e8-5a04cf07e315:localhost]

2020-08-26 23:17:55 | [Mutex] received everything.

2020-08-26 23:17:55 | [Mutex] isItemNotified: received:node:24ab5b7a-20e7-4c39-90e8-5a04cf07e315:localhost:node-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f:Node e73cbbea-03f3-4900-8cf7-0b6b10b23d2f :: false

publishItemsToNodes 0.190s
2020-08-26 23:17:52 |

2020-08-26 23:17:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 23:17:52 | ------------------------------------

2020-08-26 23:17:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f</node><item-id>item-3eea8a7d-c0d9-4101-bb7e-8194248bcf42</item-id><entry><test>item-3eea8a7d-c0d9-4101-bb7e-8194248bcf42</test></entry></data>

2020-08-26 23:17:52 | 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-3eea8a7d-c0d9-4101-bb7e-8194248bcf42</value></item-id></result>

2020-08-26 23:17:52 | [Mutex] waiting for: [published:item:notifieditem-3eea8a7d-c0d9-4101-bb7e-8194248bcf42:admin@test-domain.com]

2020-08-26 23:17:52 | [Mutex] received everything.

2020-08-26 23:17:52 | [Mutex] isItemNotified: published:item:notifieditem-3eea8a7d-c0d9-4101-bb7e-8194248bcf42:admin@test-domain.com :: true

retractItemsFromNodes 0.435s
2020-08-26 23:17:52 |

2020-08-26 23:17:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 23:17:52 | ------------------------------------

2020-08-26 23:17:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f</node><item-id>item-3eea8a7d-c0d9-4101-bb7e-8194248bcf42</item-id></data>

2020-08-26 23:17:53 | 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-3eea8a7d-c0d9-4101-bb7e-8194248bcf42</value></item-id></result>

2020-08-26 23:17:53 | [Mutex] received everything.

2020-08-26 23:17:53 | [Mutex] isItemNotified: retracted:item:notifieditem-3eea8a7d-c0d9-4101-bb7e-8194248bcf42:admin@test-domain.com :: true

retrieveItemsFromNodes 0.292s
2020-08-26 23:17:52 |

2020-08-26 23:17:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 23:17:52 | ------------------------------------

2020-08-26 23:17:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f</node><item-id>item-3eea8a7d-c0d9-4101-bb7e-8194248bcf42</item-id></data>

2020-08-26 23:17:52 | 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-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f</value></node><item-id label="Item ID" type="text-single"><value>item-3eea8a7d-c0d9-4101-bb7e-8194248bcf42</value></item-id><item label="Item" type="text-multi"><value><item id="item-3eea8a7d-c0d9-4101-bb7e-8194248bcf42"><test>item-3eea8a7d-c0d9-4101-bb7e-8194248bcf42</test></item></value></item></result>

2020-08-26 23:17:52 | [Mutex] notify: [retrieved:item:item-3eea8a7d-c0d9-4101-bb7e-8194248bcf42:payload-matches:true:localhost]

2020-08-26 23:17:52 | [Mutex] received everything.

2020-08-26 23:17:52 | [Mutex] isItemNotified: retrieved:item:item-3eea8a7d-c0d9-4101-bb7e-8194248bcf42:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2020-08-26 23:17:52 |

2020-08-26 23:17:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 23:17:52 | ------------------------------------

2020-08-26 23:17:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-08-26 23:17:52 | 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-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f</value><value>node-33b8baad-3378-4d9d-803c-414d251a8e20</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2020-08-26 23:17:52 |

2020-08-26 23:17:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 23:17:52 | ------------------------------------

2020-08-26 23:17:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f)</node-pattern></data>

2020-08-26 23:17:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.142s
2020-08-26 23:17:51 |

2020-08-26 23:17:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 23:17:51 | ------------------------------------

2020-08-26 23:17:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-26 23:17:51 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.263s
2020-08-26 23:17:53 |

2020-08-26 23:17:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 23:17:53 | ------------------------------------

2020-08-26 23:17:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e73cbbea-03f3-4900-8cf7-0b6b10b23d2f</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-26 23:17:53 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>