Generated by TestNG with ReportNG at 22:25 PDT on Tuesday 27 October 2020
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.986s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2020-10-27 22:40:29 |

2020-10-27 22:40:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-27 22:40:29 | ------------------------------------

2020-10-27 22:40:29 | [Mutex] waiting for: [configured:node:node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc:node-eb2666a2-8580-4af2-8222-125990926504]

2020-10-27 22:40:29 | [Mutex] received everything.

2020-10-27 22:40:29 | [Mutex] isItemNotified: configured:node:node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc:node-eb2666a2-8580-4af2-8222-125990926504 :: true

2020-10-27 22:40:30 | [Mutex] waiting for: [received:nodes:5e34011e-0f23-4527-9b6b-4079e1e15a22:localhost]

2020-10-27 22:40:30 | [Mutex] received everything.

2020-10-27 22:40:30 | [Mutex] isItemNotified: received:node:5e34011e-0f23-4527-9b6b-4079e1e15a22:localhost:node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc:Node eeffd0b8-afec-48e8-94c1-95cc13bb6dfc :: true

2020-10-27 22:40:30 | [Mutex] waiting for: [received:nodes:58acb2b4-0db2-4ec8-90fa-c8744a37ed9b:localhost]

2020-10-27 22:40:30 | [Mutex] waiting for: [received:nodes:58acb2b4-0db2-4ec8-90fa-c8744a37ed9b:localhost]

2020-10-27 22:40:30 | [Mutex] waiting for: [received:nodes:58acb2b4-0db2-4ec8-90fa-c8744a37ed9b:localhost]

2020-10-27 22:40:30 | [Mutex] received everything.

2020-10-27 22:40:30 | [Mutex] isItemNotified: received:node:58acb2b4-0db2-4ec8-90fa-c8744a37ed9b:localhost:node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc:Node eeffd0b8-afec-48e8-94c1-95cc13bb6dfc :: false

createNodes 1.414s
2020-10-27 22:40:27 |

2020-10-27 22:40:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-27 22:40:27 | ------------------------------------

2020-10-27 22:40:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node eeffd0b8-afec-48e8-94c1-95cc13bb6dfc</title></pubsub></data>

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

2020-10-27 22:40:28 | [Mutex] waiting for: [received:nodes:6d3315af-3835-4a43-a172-6fe3ec21b9dd:localhost]

2020-10-27 22:40:28 | [Mutex] waiting for: [received:nodes:6d3315af-3835-4a43-a172-6fe3ec21b9dd:localhost]

2020-10-27 22:40:28 | [Mutex] received everything.

2020-10-27 22:40:28 | [Mutex] isItemNotified: received:node:6d3315af-3835-4a43-a172-6fe3ec21b9dd:localhost:node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc:Node eeffd0b8-afec-48e8-94c1-95cc13bb6dfc :: true

createSubnodes 1.047s
2020-10-27 22:40:28 |

2020-10-27 22:40:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-27 22:40:28 | ------------------------------------

2020-10-27 22:40:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-eb2666a2-8580-4af2-8222-125990926504</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node eb2666a2-8580-4af2-8222-125990926504</title></pubsub></data>

2020-10-27 22:40:28 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-27 22:40:29 | [Mutex] waiting for: [received:nodes:925eb759-daa1-4280-a92b-93046b6d6a3c:localhost]

2020-10-27 22:40:29 | [Mutex] received everything.

2020-10-27 22:40:29 | [Mutex] isItemNotified: received:node:925eb759-daa1-4280-a92b-93046b6d6a3c:localhost:node-eb2666a2-8580-4af2-8222-125990926504:Node eb2666a2-8580-4af2-8222-125990926504 :: true

deleteNodes 1.021s
2020-10-27 22:40:35 |

2020-10-27 22:40:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-27 22:40:35 | ------------------------------------

2020-10-27 22:40:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-eb2666a2-8580-4af2-8222-125990926504</node></data>

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

2020-10-27 22:40:36 | [Mutex] waiting for: [received:nodes:4e60f0b8-4c06-489e-8fa8-975579cfe909:localhost]

2020-10-27 22:40:36 | [Mutex] received everything.

2020-10-27 22:40:36 | [Mutex] isItemNotified: received:node:4e60f0b8-4c06-489e-8fa8-975579cfe909:localhost:node-eb2666a2-8580-4af2-8222-125990926504:Node eb2666a2-8580-4af2-8222-125990926504 :: false

deleteSubnodes 1.143s
2020-10-27 22:40:34 |

2020-10-27 22:40:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-27 22:40:34 | ------------------------------------

2020-10-27 22:40:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc</node></data>

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

2020-10-27 22:40:35 | [Mutex] waiting for: [received:nodes:3c9cd4a3-f344-4edb-bd14-771a40cfad39:localhost]

2020-10-27 22:40:35 | [Mutex] received everything.

2020-10-27 22:40:35 | [Mutex] isItemNotified: received:node:3c9cd4a3-f344-4edb-bd14-771a40cfad39:localhost:node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc:Node eeffd0b8-afec-48e8-94c1-95cc13bb6dfc :: false

2020-10-27 22:40:35 | [Mutex] waiting for: [received:nodes:7f32b1bb-abf1-41cd-8791-7fa5ef1c3cfc:localhost]

2020-10-27 22:40:35 | [Mutex] received everything.

2020-10-27 22:40:35 | [Mutex] isItemNotified: received:node:7f32b1bb-abf1-41cd-8791-7fa5ef1c3cfc:localhost:node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc:Node eeffd0b8-afec-48e8-94c1-95cc13bb6dfc :: false

publishItemsToNodes 0.176s
2020-10-27 22:40:32 |

2020-10-27 22:40:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-27 22:40:32 | ------------------------------------

2020-10-27 22:40:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc</node><item-id>item-40632be4-9798-4598-945a-6da5cd24b794</item-id><entry><test>item-40632be4-9798-4598-945a-6da5cd24b794</test></entry></data>

2020-10-27 22:40:32 | 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-40632be4-9798-4598-945a-6da5cd24b794</value></item-id></result>

2020-10-27 22:40:32 | [Mutex] received everything.

2020-10-27 22:40:32 | [Mutex] isItemNotified: published:item:notifieditem-40632be4-9798-4598-945a-6da5cd24b794:admin@test-domain.com :: true

retractItemsFromNodes 0.207s
2020-10-27 22:40:32 |

2020-10-27 22:40:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-27 22:40:32 | ------------------------------------

2020-10-27 22:40:32 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc</node><item-id>item-40632be4-9798-4598-945a-6da5cd24b794</item-id></data>

2020-10-27 22:40:32 | 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-40632be4-9798-4598-945a-6da5cd24b794</value></item-id></result>

2020-10-27 22:40:32 | [Mutex] received everything.

2020-10-27 22:40:32 | [Mutex] isItemNotified: retracted:item:notifieditem-40632be4-9798-4598-945a-6da5cd24b794:admin@test-domain.com :: true

retrieveItemsFromNodes 0.247s
2020-10-27 22:40:32 |

2020-10-27 22:40:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-27 22:40:32 | ------------------------------------

2020-10-27 22:40:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc</node><item-id>item-40632be4-9798-4598-945a-6da5cd24b794</item-id></data>

2020-10-27 22:40:32 | 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-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc</value></node><item-id label="Item ID" type="text-single"><value>item-40632be4-9798-4598-945a-6da5cd24b794</value></item-id><item label="Item" type="text-multi"><value><item id="item-40632be4-9798-4598-945a-6da5cd24b794"><test>item-40632be4-9798-4598-945a-6da5cd24b794</test></item></value></item></result>

2020-10-27 22:40:32 | [Mutex] notify: [retrieved:item:item-40632be4-9798-4598-945a-6da5cd24b794:payload-matches:true:localhost]

2020-10-27 22:40:32 | [Mutex] received everything.

2020-10-27 22:40:32 | [Mutex] isItemNotified: retrieved:item:item-40632be4-9798-4598-945a-6da5cd24b794:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-27 22:40:32 |

2020-10-27 22:40:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-27 22:40:32 | ------------------------------------

2020-10-27 22:40:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-27 22:40:32 | 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-eb2666a2-8580-4af2-8222-125990926504</value><value>node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-10-27 22:40:32 |

2020-10-27 22:40:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-27 22:40:32 | ------------------------------------

2020-10-27 22:40:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc)</node-pattern></data>

2020-10-27 22:40:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.160s
2020-10-27 22:40:30 |

2020-10-27 22:40:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-27 22:40:30 | ------------------------------------

2020-10-27 22:40:30 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-27 22:40:31 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.375s
2020-10-27 22:40:32 |

2020-10-27 22:40:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-27 22:40:32 | ------------------------------------

2020-10-27 22:40:32 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-eeffd0b8-afec-48e8-94c1-95cc13bb6dfc</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-27 22:40:33 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>