Generated by TestNG with ReportNG at 21:15 PST on Monday 04 January 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 : 10.353s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.142s
2021-01-04 21:31:20 |

2021-01-04 21:31:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:20 | ------------------------------------

2021-01-04 21:31:20 | [Mutex] waiting for: [configured:node:node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27:node-4c19abd1-4d67-48d3-8d6e-c52bf54a3e1c]

2021-01-04 21:31:20 | [Mutex] received everything.

2021-01-04 21:31:20 | [Mutex] isItemNotified: configured:node:node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27:node-4c19abd1-4d67-48d3-8d6e-c52bf54a3e1c :: true

2021-01-04 21:31:21 | [Mutex] waiting for: [received:nodes:ee05cae6-4f02-4357-a9a4-d17b65f71d32:localhost]

2021-01-04 21:31:21 | [Mutex] received everything.

2021-01-04 21:31:21 | [Mutex] isItemNotified: received:node:ee05cae6-4f02-4357-a9a4-d17b65f71d32:localhost:node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27:Node 05d81c0d-4e9d-413f-87fe-1a9c65d40a27 :: true

2021-01-04 21:31:21 | [Mutex] waiting for: [received:nodes:0eefca23-a6a5-4775-be11-ffaa0d1d4414:localhost]

2021-01-04 21:31:21 | [Mutex] received everything.

2021-01-04 21:31:21 | [Mutex] isItemNotified: received:node:0eefca23-a6a5-4775-be11-ffaa0d1d4414:localhost:node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27:Node 05d81c0d-4e9d-413f-87fe-1a9c65d40a27 :: false

createNodes 1.522s
2021-01-04 21:31:18 |

2021-01-04 21:31:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:18 | ------------------------------------

2021-01-04 21:31:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 05d81c0d-4e9d-413f-87fe-1a9c65d40a27</title></pubsub></data>

2021-01-04 21:31:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-04 21:31:19 | [Mutex] waiting for: [received:nodes:90057635-e7dd-42ad-a3fe-83255ffef81c:localhost]

2021-01-04 21:31:19 | [Mutex] received everything.

2021-01-04 21:31:19 | [Mutex] isItemNotified: received:node:90057635-e7dd-42ad-a3fe-83255ffef81c:localhost:node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27:Node 05d81c0d-4e9d-413f-87fe-1a9c65d40a27 :: true

createSubnodes 1.033s
2021-01-04 21:31:19 |

2021-01-04 21:31:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:19 | ------------------------------------

2021-01-04 21:31:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4c19abd1-4d67-48d3-8d6e-c52bf54a3e1c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4c19abd1-4d67-48d3-8d6e-c52bf54a3e1c</title></pubsub></data>

2021-01-04 21:31:19 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-04 21:31:20 | [Mutex] waiting for: [received:nodes:e285ba0b-eff2-43ca-885f-4cf39bf375c4:localhost]

2021-01-04 21:31:20 | [Mutex] received everything.

2021-01-04 21:31:20 | [Mutex] isItemNotified: received:node:e285ba0b-eff2-43ca-885f-4cf39bf375c4:localhost:node-4c19abd1-4d67-48d3-8d6e-c52bf54a3e1c:Node 4c19abd1-4d67-48d3-8d6e-c52bf54a3e1c :: true

deleteNodes 1.024s
2021-01-04 21:31:26 |

2021-01-04 21:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:26 | ------------------------------------

2021-01-04 21:31:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4c19abd1-4d67-48d3-8d6e-c52bf54a3e1c</node></data>

2021-01-04 21:31:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-04 21:31:27 | [Mutex] waiting for: [received:nodes:c4181c88-d669-4607-8553-881a9641a150:localhost]

2021-01-04 21:31:27 | [Mutex] received everything.

2021-01-04 21:31:27 | [Mutex] isItemNotified: received:node:c4181c88-d669-4607-8553-881a9641a150:localhost:node-4c19abd1-4d67-48d3-8d6e-c52bf54a3e1c:Node 4c19abd1-4d67-48d3-8d6e-c52bf54a3e1c :: false

deleteSubnodes 1.155s
2021-01-04 21:31:25 |

2021-01-04 21:31:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:25 | ------------------------------------

2021-01-04 21:31:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27</node></data>

2021-01-04 21:31:25 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-04 21:31:26 | [Mutex] waiting for: [received:nodes:e32dc936-5047-4ba9-bf85-e672975fd7a9:localhost]

2021-01-04 21:31:26 | [Mutex] received everything.

2021-01-04 21:31:26 | [Mutex] isItemNotified: received:node:e32dc936-5047-4ba9-bf85-e672975fd7a9:localhost:node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27:Node 05d81c0d-4e9d-413f-87fe-1a9c65d40a27 :: false

2021-01-04 21:31:26 | [Mutex] waiting for: [received:nodes:b2276380-c36e-49e8-bd43-f5d728824bd2:localhost]

2021-01-04 21:31:26 | [Mutex] received everything.

2021-01-04 21:31:26 | [Mutex] isItemNotified: received:node:b2276380-c36e-49e8-bd43-f5d728824bd2:localhost:node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27:Node 05d81c0d-4e9d-413f-87fe-1a9c65d40a27 :: false

publishItemsToNodes 0.264s
2021-01-04 21:31:22 |

2021-01-04 21:31:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:22 | ------------------------------------

2021-01-04 21:31:22 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27</node><item-id>item-51aa7632-1bb6-482e-9e67-1fc7e8966efc</item-id><entry><test>item-51aa7632-1bb6-482e-9e67-1fc7e8966efc</test></entry></data>

2021-01-04 21:31:23 | 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-51aa7632-1bb6-482e-9e67-1fc7e8966efc</value></item-id></result>

2021-01-04 21:31:23 | [Mutex] received everything.

2021-01-04 21:31:23 | [Mutex] isItemNotified: published:item:notifieditem-51aa7632-1bb6-482e-9e67-1fc7e8966efc:admin@test-domain.com :: true

retractItemsFromNodes 0.307s
2021-01-04 21:31:23 |

2021-01-04 21:31:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:23 | ------------------------------------

2021-01-04 21:31:23 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27</node><item-id>item-51aa7632-1bb6-482e-9e67-1fc7e8966efc</item-id></data>

2021-01-04 21:31:23 | 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-51aa7632-1bb6-482e-9e67-1fc7e8966efc</value></item-id></result>

2021-01-04 21:31:23 | [Mutex] received everything.

2021-01-04 21:31:23 | [Mutex] isItemNotified: retracted:item:notifieditem-51aa7632-1bb6-482e-9e67-1fc7e8966efc:admin@test-domain.com :: true

retrieveItemsFromNodes 0.319s
2021-01-04 21:31:23 |

2021-01-04 21:31:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:23 | ------------------------------------

2021-01-04 21:31:23 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27</node><item-id>item-51aa7632-1bb6-482e-9e67-1fc7e8966efc</item-id></data>

2021-01-04 21:31:23 | 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-05d81c0d-4e9d-413f-87fe-1a9c65d40a27</value></node><item-id label="Item ID" type="text-single"><value>item-51aa7632-1bb6-482e-9e67-1fc7e8966efc</value></item-id><item label="Item" type="text-multi"><value><item id="item-51aa7632-1bb6-482e-9e67-1fc7e8966efc"><test>item-51aa7632-1bb6-482e-9e67-1fc7e8966efc</test></item></value></item></result>

2021-01-04 21:31:23 | [Mutex] notify: [retrieved:item:item-51aa7632-1bb6-482e-9e67-1fc7e8966efc:payload-matches:true:localhost]

2021-01-04 21:31:23 | [Mutex] received everything.

2021-01-04 21:31:23 | [Mutex] isItemNotified: retrieved:item:item-51aa7632-1bb6-482e-9e67-1fc7e8966efc:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-01-04 21:31:23 |

2021-01-04 21:31:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:23 | ------------------------------------

2021-01-04 21:31:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-04 21:31:23 | 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-4c19abd1-4d67-48d3-8d6e-c52bf54a3e1c</value><value>node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2021-01-04 21:31:23 |

2021-01-04 21:31:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:23 | ------------------------------------

2021-01-04 21:31:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27)</node-pattern></data>

2021-01-04 21:31:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.107s
2021-01-04 21:31:21 |

2021-01-04 21:31:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:21 | ------------------------------------

2021-01-04 21:31:21 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.267s
2021-01-04 21:31:23 |

2021-01-04 21:31:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:23 | ------------------------------------

2021-01-04 21:31:23 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-05d81c0d-4e9d-413f-87fe-1a9c65d40a27</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-04 21:31:24 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>