Generated by TestNG with ReportNG at 21:43 PST on Friday 05 February 2021
root@43fec6d4badf / 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.939s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.090s
2021-02-05 22:00:22 |

2021-02-05 22:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 22:00:22 | ------------------------------------

2021-02-05 22:00:22 | [Mutex] waiting for: [configured:node:node-f7898bb0-9240-4ae6-ab21-8342ec975f2d:node-e9799b61-5138-4a35-92e8-e3cb872a6213]

2021-02-05 22:00:22 | [Mutex] received everything.

2021-02-05 22:00:22 | [Mutex] isItemNotified: configured:node:node-f7898bb0-9240-4ae6-ab21-8342ec975f2d:node-e9799b61-5138-4a35-92e8-e3cb872a6213 :: true

2021-02-05 22:00:23 | [Mutex] waiting for: [received:nodes:e171cac3-1b66-49a5-b7bf-bb55fa21ee16:localhost]

2021-02-05 22:00:23 | [Mutex] received everything.

2021-02-05 22:00:23 | [Mutex] isItemNotified: received:node:e171cac3-1b66-49a5-b7bf-bb55fa21ee16:localhost:node-f7898bb0-9240-4ae6-ab21-8342ec975f2d:Node f7898bb0-9240-4ae6-ab21-8342ec975f2d :: true

2021-02-05 22:00:23 | [Mutex] waiting for: [received:nodes:25b39bf7-5a25-42b5-aae7-f831b99dcc15:localhost]

2021-02-05 22:00:23 | [Mutex] received everything.

2021-02-05 22:00:23 | [Mutex] isItemNotified: received:node:25b39bf7-5a25-42b5-aae7-f831b99dcc15:localhost:node-f7898bb0-9240-4ae6-ab21-8342ec975f2d:Node f7898bb0-9240-4ae6-ab21-8342ec975f2d :: false

createNodes 1.460s
2021-02-05 22:00:20 |

2021-02-05 22:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 22:00:20 | ------------------------------------

2021-02-05 22:00:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f7898bb0-9240-4ae6-ab21-8342ec975f2d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f7898bb0-9240-4ae6-ab21-8342ec975f2d</title></pubsub></data>

2021-02-05 22:00: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-05 22:00:21 | [Mutex] waiting for: [received:nodes:d97e82a0-f73e-4126-adb3-92fbc53edefc:localhost]

2021-02-05 22:00:21 | [Mutex] waiting for: [received:nodes:d97e82a0-f73e-4126-adb3-92fbc53edefc:localhost]

2021-02-05 22:00:21 | [Mutex] received everything.

2021-02-05 22:00:21 | [Mutex] isItemNotified: received:node:d97e82a0-f73e-4126-adb3-92fbc53edefc:localhost:node-f7898bb0-9240-4ae6-ab21-8342ec975f2d:Node f7898bb0-9240-4ae6-ab21-8342ec975f2d :: true

createSubnodes 1.038s
2021-02-05 22:00:21 |

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

2021-02-05 22:00:21 | ------------------------------------

2021-02-05 22:00:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e9799b61-5138-4a35-92e8-e3cb872a6213</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e9799b61-5138-4a35-92e8-e3cb872a6213</title></pubsub></data>

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

2021-02-05 22:00:22 | [Mutex] waiting for: [received:nodes:ba2c426e-f9f2-40b1-a3ac-dea9028fd0d7:localhost]

2021-02-05 22:00:22 | [Mutex] received everything.

2021-02-05 22:00:22 | [Mutex] isItemNotified: received:node:ba2c426e-f9f2-40b1-a3ac-dea9028fd0d7:localhost:node-e9799b61-5138-4a35-92e8-e3cb872a6213:Node e9799b61-5138-4a35-92e8-e3cb872a6213 :: true

deleteNodes 1.019s
2021-02-05 22:00:28 |

2021-02-05 22:00:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 22:00:28 | ------------------------------------

2021-02-05 22:00:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e9799b61-5138-4a35-92e8-e3cb872a6213</node></data>

2021-02-05 22:00:28 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-05 22:00:29 | [Mutex] waiting for: [received:nodes:4a6527b7-af0d-4d37-9226-6aaa677c90df:localhost]

2021-02-05 22:00:29 | [Mutex] received everything.

2021-02-05 22:00:29 | [Mutex] isItemNotified: received:node:4a6527b7-af0d-4d37-9226-6aaa677c90df:localhost:node-e9799b61-5138-4a35-92e8-e3cb872a6213:Node e9799b61-5138-4a35-92e8-e3cb872a6213 :: false

deleteSubnodes 1.135s
2021-02-05 22:00:26 |

2021-02-05 22:00:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 22:00:26 | ------------------------------------

2021-02-05 22:00:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f7898bb0-9240-4ae6-ab21-8342ec975f2d</node></data>

2021-02-05 22:00:27 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-05 22:00:28 | [Mutex] waiting for: [received:nodes:823b4406-c832-4b69-a241-683544ac3985:localhost]

2021-02-05 22:00:28 | [Mutex] received everything.

2021-02-05 22:00:28 | [Mutex] isItemNotified: received:node:823b4406-c832-4b69-a241-683544ac3985:localhost:node-f7898bb0-9240-4ae6-ab21-8342ec975f2d:Node f7898bb0-9240-4ae6-ab21-8342ec975f2d :: false

2021-02-05 22:00:28 | [Mutex] waiting for: [received:nodes:62e01283-6fd4-4a90-a5bc-76b59132be81:localhost]

2021-02-05 22:00:28 | [Mutex] received everything.

2021-02-05 22:00:28 | [Mutex] isItemNotified: received:node:62e01283-6fd4-4a90-a5bc-76b59132be81:localhost:node-f7898bb0-9240-4ae6-ab21-8342ec975f2d:Node f7898bb0-9240-4ae6-ab21-8342ec975f2d :: false

publishItemsToNodes 0.184s
2021-02-05 22:00:24 |

2021-02-05 22:00:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 22:00:24 | ------------------------------------

2021-02-05 22:00:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f7898bb0-9240-4ae6-ab21-8342ec975f2d</node><item-id>item-c419eaef-74ea-4175-91b1-e02a3331d103</item-id><entry><test>item-c419eaef-74ea-4175-91b1-e02a3331d103</test></entry></data>

2021-02-05 22:00:25 | 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-c419eaef-74ea-4175-91b1-e02a3331d103</value></item-id></result>

2021-02-05 22:00:25 | [Mutex] received everything.

2021-02-05 22:00:25 | [Mutex] isItemNotified: published:item:notifieditem-c419eaef-74ea-4175-91b1-e02a3331d103:admin@test-domain.com :: true

retractItemsFromNodes 0.183s
2021-02-05 22:00:25 |

2021-02-05 22:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 22:00:25 | ------------------------------------

2021-02-05 22:00:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f7898bb0-9240-4ae6-ab21-8342ec975f2d</node><item-id>item-c419eaef-74ea-4175-91b1-e02a3331d103</item-id></data>

2021-02-05 22:00:25 | 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-c419eaef-74ea-4175-91b1-e02a3331d103</value></item-id></result>

2021-02-05 22:00:25 | [Mutex] received everything.

2021-02-05 22:00:25 | [Mutex] isItemNotified: retracted:item:notifieditem-c419eaef-74ea-4175-91b1-e02a3331d103:admin@test-domain.com :: true

retrieveItemsFromNodes 0.340s
2021-02-05 22:00:25 |

2021-02-05 22:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 22:00:25 | ------------------------------------

2021-02-05 22:00:25 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f7898bb0-9240-4ae6-ab21-8342ec975f2d</node><item-id>item-c419eaef-74ea-4175-91b1-e02a3331d103</item-id></data>

2021-02-05 22:00:25 | 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-f7898bb0-9240-4ae6-ab21-8342ec975f2d</value></node><item-id label="Item ID" type="text-single"><value>item-c419eaef-74ea-4175-91b1-e02a3331d103</value></item-id><item label="Item" type="text-multi"><value><item id="item-c419eaef-74ea-4175-91b1-e02a3331d103"><test>item-c419eaef-74ea-4175-91b1-e02a3331d103</test></item></value></item></result>

2021-02-05 22:00:25 | [Mutex] notify: [retrieved:item:item-c419eaef-74ea-4175-91b1-e02a3331d103:payload-matches:true:localhost]

2021-02-05 22:00:25 | [Mutex] received everything.

2021-02-05 22:00:25 | [Mutex] isItemNotified: retrieved:item:item-c419eaef-74ea-4175-91b1-e02a3331d103:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-02-05 22:00:25 |

2021-02-05 22:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 22:00:25 | ------------------------------------

2021-02-05 22:00:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-05 22:00:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-f7898bb0-9240-4ae6-ab21-8342ec975f2d</value><value>test</value><value>node-e9799b61-5138-4a35-92e8-e3cb872a6213</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-02-05 22:00:25 |

2021-02-05 22:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 22:00:25 | ------------------------------------

2021-02-05 22:00:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f7898bb0-9240-4ae6-ab21-8342ec975f2d)</node-pattern></data>

2021-02-05 22:00:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.106s
2021-02-05 22:00:23 |

2021-02-05 22:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 22:00:23 | ------------------------------------

2021-02-05 22:00:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f7898bb0-9240-4ae6-ab21-8342ec975f2d</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.252s
2021-02-05 22:00:25 |

2021-02-05 22:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 22:00:25 | ------------------------------------

2021-02-05 22:00:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f7898bb0-9240-4ae6-ab21-8342ec975f2d</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-05 22:00:25 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>