Generated by TestNG with ReportNG at 01:25 PDT on Friday 18 September 2020
root@62b09120cfea / 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.871s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.092s
2020-09-18 01:40:35 |

2020-09-18 01:40:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:40:35 | ------------------------------------

2020-09-18 01:40:35 | [Mutex] waiting for: [configured:node:node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf:node-df607b83-0297-43d1-9f30-d986b1ddc1ad]

2020-09-18 01:40:35 | [Mutex] received everything.

2020-09-18 01:40:35 | [Mutex] isItemNotified: configured:node:node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf:node-df607b83-0297-43d1-9f30-d986b1ddc1ad :: true

2020-09-18 01:40:36 | [Mutex] waiting for: [received:nodes:117def9d-ae4d-493a-87aa-76bd089c4e02:localhost]

2020-09-18 01:40:36 | [Mutex] received everything.

2020-09-18 01:40:36 | [Mutex] isItemNotified: received:node:117def9d-ae4d-493a-87aa-76bd089c4e02:localhost:node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf:Node 16ebbc1d-f9f1-49ec-bad2-95f379a299bf :: true

2020-09-18 01:40:36 | [Mutex] waiting for: [received:nodes:9b2a5a97-d7ab-4fd8-88da-4c863989921c:localhost]

2020-09-18 01:40:36 | [Mutex] received everything.

2020-09-18 01:40:36 | [Mutex] isItemNotified: received:node:9b2a5a97-d7ab-4fd8-88da-4c863989921c:localhost:node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf:Node 16ebbc1d-f9f1-49ec-bad2-95f379a299bf :: false

createNodes 1.561s
2020-09-18 01:40:32 |

2020-09-18 01:40:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:40:32 | ------------------------------------

2020-09-18 01:40:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 16ebbc1d-f9f1-49ec-bad2-95f379a299bf</title></pubsub></data>

2020-09-18 01:40:33 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-18 01:40:34 | [Mutex] waiting for: [received:nodes:3c39fbdc-196e-4565-b2d1-a4b39117bd65:localhost]

2020-09-18 01:40:34 | [Mutex] received everything.

2020-09-18 01:40:34 | [Mutex] isItemNotified: received:node:3c39fbdc-196e-4565-b2d1-a4b39117bd65:localhost:node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf:Node 16ebbc1d-f9f1-49ec-bad2-95f379a299bf :: true

createSubnodes 1.027s
2020-09-18 01:40:34 |

2020-09-18 01:40:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:40:34 | ------------------------------------

2020-09-18 01:40:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-df607b83-0297-43d1-9f30-d986b1ddc1ad</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node df607b83-0297-43d1-9f30-d986b1ddc1ad</title></pubsub></data>

2020-09-18 01:40:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-18 01:40:35 | [Mutex] waiting for: [received:nodes:bf14e9b7-c7de-47f9-8532-bb1bad7b6f5e:localhost]

2020-09-18 01:40:35 | [Mutex] received everything.

2020-09-18 01:40:35 | [Mutex] isItemNotified: received:node:bf14e9b7-c7de-47f9-8532-bb1bad7b6f5e:localhost:node-df607b83-0297-43d1-9f30-d986b1ddc1ad:Node df607b83-0297-43d1-9f30-d986b1ddc1ad :: true

deleteNodes 1.016s
2020-09-18 01:40:40 |

2020-09-18 01:40:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:40:40 | ------------------------------------

2020-09-18 01:40:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-df607b83-0297-43d1-9f30-d986b1ddc1ad</node></data>

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

2020-09-18 01:40:41 | [Mutex] waiting for: [received:nodes:9801eeea-5102-42f1-b566-1ac5a713bfef:localhost]

2020-09-18 01:40:41 | [Mutex] received everything.

2020-09-18 01:40:41 | [Mutex] isItemNotified: received:node:9801eeea-5102-42f1-b566-1ac5a713bfef:localhost:node-df607b83-0297-43d1-9f30-d986b1ddc1ad:Node df607b83-0297-43d1-9f30-d986b1ddc1ad :: false

deleteSubnodes 1.122s
2020-09-18 01:40:39 |

2020-09-18 01:40:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:40:39 | ------------------------------------

2020-09-18 01:40:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf</node></data>

2020-09-18 01:40:39 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-18 01:40:40 | [Mutex] waiting for: [received:nodes:3cb29dc2-fd52-42d5-9e31-341e3f2dc5e9:localhost]

2020-09-18 01:40:40 | [Mutex] waiting for: [received:nodes:3cb29dc2-fd52-42d5-9e31-341e3f2dc5e9:localhost]

2020-09-18 01:40:40 | [Mutex] waiting for: [received:nodes:3cb29dc2-fd52-42d5-9e31-341e3f2dc5e9:localhost]

2020-09-18 01:40:40 | [Mutex] received everything.

2020-09-18 01:40:40 | [Mutex] isItemNotified: received:node:3cb29dc2-fd52-42d5-9e31-341e3f2dc5e9:localhost:node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf:Node 16ebbc1d-f9f1-49ec-bad2-95f379a299bf :: false

2020-09-18 01:40:40 | [Mutex] waiting for: [received:nodes:68f1f012-0347-46de-a242-3540ab86fb4c:localhost]

2020-09-18 01:40:40 | [Mutex] received everything.

2020-09-18 01:40:40 | [Mutex] isItemNotified: received:node:68f1f012-0347-46de-a242-3540ab86fb4c:localhost:node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf:Node 16ebbc1d-f9f1-49ec-bad2-95f379a299bf :: false

publishItemsToNodes 0.184s
2020-09-18 01:40:37 |

2020-09-18 01:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:40:37 | ------------------------------------

2020-09-18 01:40:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf</node><item-id>item-1158fe61-80f7-4a28-9ea5-358e4eaa92ae</item-id><entry><test>item-1158fe61-80f7-4a28-9ea5-358e4eaa92ae</test></entry></data>

2020-09-18 01:40:37 | 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-1158fe61-80f7-4a28-9ea5-358e4eaa92ae</value></item-id></result>

2020-09-18 01:40:37 | [Mutex] waiting for: [published:item:notifieditem-1158fe61-80f7-4a28-9ea5-358e4eaa92ae:admin@test-domain.com]

2020-09-18 01:40:37 | [Mutex] received everything.

2020-09-18 01:40:37 | [Mutex] isItemNotified: published:item:notifieditem-1158fe61-80f7-4a28-9ea5-358e4eaa92ae:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2020-09-18 01:40:38 |

2020-09-18 01:40:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:40:38 | ------------------------------------

2020-09-18 01:40:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf</node><item-id>item-1158fe61-80f7-4a28-9ea5-358e4eaa92ae</item-id></data>

2020-09-18 01:40:38 | 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-1158fe61-80f7-4a28-9ea5-358e4eaa92ae</value></item-id></result>

2020-09-18 01:40:38 | [Mutex] received everything.

2020-09-18 01:40:38 | [Mutex] isItemNotified: retracted:item:notifieditem-1158fe61-80f7-4a28-9ea5-358e4eaa92ae:admin@test-domain.com :: true

retrieveItemsFromNodes 0.262s
2020-09-18 01:40:37 |

2020-09-18 01:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:40:37 | ------------------------------------

2020-09-18 01:40:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf</node><item-id>item-1158fe61-80f7-4a28-9ea5-358e4eaa92ae</item-id></data>

2020-09-18 01:40:37 | 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-16ebbc1d-f9f1-49ec-bad2-95f379a299bf</value></node><item-id label="Item ID" type="text-single"><value>item-1158fe61-80f7-4a28-9ea5-358e4eaa92ae</value></item-id><item label="Item" type="text-multi"><value><item id="item-1158fe61-80f7-4a28-9ea5-358e4eaa92ae"><test>item-1158fe61-80f7-4a28-9ea5-358e4eaa92ae</test></item></value></item></result>

2020-09-18 01:40:37 | [Mutex] notify: [retrieved:item:item-1158fe61-80f7-4a28-9ea5-358e4eaa92ae:payload-matches:true:localhost]

2020-09-18 01:40:37 | [Mutex] received everything.

2020-09-18 01:40:37 | [Mutex] isItemNotified: retrieved:item:item-1158fe61-80f7-4a28-9ea5-358e4eaa92ae:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2020-09-18 01:40:37 |

2020-09-18 01:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:40:37 | ------------------------------------

2020-09-18 01:40:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-18 01:40:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-df607b83-0297-43d1-9f30-d986b1ddc1ad</value><value>test</value><value>node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-18 01:40:38 |

2020-09-18 01:40:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:40:38 | ------------------------------------

2020-09-18 01:40:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf)</node-pattern></data>

2020-09-18 01:40:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.124s
2020-09-18 01:40:36 |

2020-09-18 01:40:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:40:36 | ------------------------------------

2020-09-18 01:40:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-18 01:40:36 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.223s
2020-09-18 01:40:38 |

2020-09-18 01:40:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:40:38 | ------------------------------------

2020-09-18 01:40:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-16ebbc1d-f9f1-49ec-bad2-95f379a299bf</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-18 01:40:38 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>