Generated by TestNG with ReportNG at 22:15 PDT on Wednesday 12 May 2021
root@785cf647a4ab / 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.420s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.145s
2021-05-12 22:31:01 |

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

2021-05-12 22:31:01 | ------------------------------------

2021-05-12 22:31:01 | [Mutex] waiting for: [configured:node:node-4586b52d-d0e7-4640-84c5-193bc346e274:node-7ef7b552-1cf9-4498-814d-c8fbbd7cb16e]

2021-05-12 22:31:01 | [Mutex] received everything.

2021-05-12 22:31:01 | [Mutex] isItemNotified: configured:node:node-4586b52d-d0e7-4640-84c5-193bc346e274:node-7ef7b552-1cf9-4498-814d-c8fbbd7cb16e :: true

2021-05-12 22:31:02 | [Mutex] waiting for: [received:nodes:d174ca0e-7fa7-4514-a19d-fd45987b556d:localhost]

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

2021-05-12 22:31:02 | [Mutex] isItemNotified: received:node:d174ca0e-7fa7-4514-a19d-fd45987b556d:localhost:node-4586b52d-d0e7-4640-84c5-193bc346e274:Node 4586b52d-d0e7-4640-84c5-193bc346e274 :: true

2021-05-12 22:31:02 | [Mutex] waiting for: [received:nodes:79b78721-7808-42e8-86ed-474c6d4fe80e:localhost]

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

2021-05-12 22:31:02 | [Mutex] isItemNotified: received:node:79b78721-7808-42e8-86ed-474c6d4fe80e:localhost:node-4586b52d-d0e7-4640-84c5-193bc346e274:Node 4586b52d-d0e7-4640-84c5-193bc346e274 :: false

createNodes 1.581s
2021-05-12 22:30:58 |

2021-05-12 22:30:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-12 22:30:58 | ------------------------------------

2021-05-12 22:30:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4586b52d-d0e7-4640-84c5-193bc346e274</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4586b52d-d0e7-4640-84c5-193bc346e274</title></pubsub></data>

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

2021-05-12 22:31:00 | [Mutex] waiting for: [received:nodes:350a325b-a6ff-43fc-b6a5-1dcd18eceb8b:localhost]

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

2021-05-12 22:31:00 | [Mutex] isItemNotified: received:node:350a325b-a6ff-43fc-b6a5-1dcd18eceb8b:localhost:node-4586b52d-d0e7-4640-84c5-193bc346e274:Node 4586b52d-d0e7-4640-84c5-193bc346e274 :: true

createSubnodes 1.030s
2021-05-12 22:31:00 |

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

2021-05-12 22:31:00 | ------------------------------------

2021-05-12 22:31:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7ef7b552-1cf9-4498-814d-c8fbbd7cb16e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7ef7b552-1cf9-4498-814d-c8fbbd7cb16e</title></pubsub></data>

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

2021-05-12 22:31:01 | [Mutex] waiting for: [received:nodes:4e0df5bd-7c64-48a5-b360-037ad3595205:localhost]

2021-05-12 22:31:01 | [Mutex] received everything.

2021-05-12 22:31:01 | [Mutex] isItemNotified: received:node:4e0df5bd-7c64-48a5-b360-037ad3595205:localhost:node-7ef7b552-1cf9-4498-814d-c8fbbd7cb16e:Node 7ef7b552-1cf9-4498-814d-c8fbbd7cb16e :: true

deleteNodes 1.021s
2021-05-12 22:31:06 |

2021-05-12 22:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-12 22:31:06 | ------------------------------------

2021-05-12 22:31:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7ef7b552-1cf9-4498-814d-c8fbbd7cb16e</node></data>

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

2021-05-12 22:31:07 | [Mutex] waiting for: [received:nodes:1b9346ab-7f06-46e5-884d-8a8c7b81705b:localhost]

2021-05-12 22:31:07 | [Mutex] received everything.

2021-05-12 22:31:07 | [Mutex] isItemNotified: received:node:1b9346ab-7f06-46e5-884d-8a8c7b81705b:localhost:node-7ef7b552-1cf9-4498-814d-c8fbbd7cb16e:Node 7ef7b552-1cf9-4498-814d-c8fbbd7cb16e :: false

deleteSubnodes 1.148s
2021-05-12 22:31:05 |

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

2021-05-12 22:31:05 | ------------------------------------

2021-05-12 22:31:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4586b52d-d0e7-4640-84c5-193bc346e274</node></data>

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

2021-05-12 22:31:06 | [Mutex] waiting for: [received:nodes:84091d54-b497-4243-8bd1-89df15d96df8:localhost]

2021-05-12 22:31:06 | [Mutex] received everything.

2021-05-12 22:31:06 | [Mutex] isItemNotified: received:node:84091d54-b497-4243-8bd1-89df15d96df8:localhost:node-4586b52d-d0e7-4640-84c5-193bc346e274:Node 4586b52d-d0e7-4640-84c5-193bc346e274 :: false

2021-05-12 22:31:06 | [Mutex] waiting for: [received:nodes:97e0f19b-19d7-41ff-abc5-9d0641a319ae:localhost]

2021-05-12 22:31:06 | [Mutex] received everything.

2021-05-12 22:31:06 | [Mutex] isItemNotified: received:node:97e0f19b-19d7-41ff-abc5-9d0641a319ae:localhost:node-4586b52d-d0e7-4640-84c5-193bc346e274:Node 4586b52d-d0e7-4640-84c5-193bc346e274 :: false

publishItemsToNodes 0.262s
2021-05-12 22:31:03 |

2021-05-12 22:31:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-12 22:31:03 | ------------------------------------

2021-05-12 22:31:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4586b52d-d0e7-4640-84c5-193bc346e274</node><item-id>item-c02621a1-c078-49e4-a49a-b38f5101c4d2</item-id><entry><test>item-c02621a1-c078-49e4-a49a-b38f5101c4d2</test></entry></data>

2021-05-12 22:31:03 | 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-c02621a1-c078-49e4-a49a-b38f5101c4d2</value></item-id></result>

2021-05-12 22:31:03 | [Mutex] waiting for: [published:item:notifieditem-c02621a1-c078-49e4-a49a-b38f5101c4d2:admin@test-domain.com]

2021-05-12 22:31:03 | [Mutex] received everything.

2021-05-12 22:31:03 | [Mutex] isItemNotified: published:item:notifieditem-c02621a1-c078-49e4-a49a-b38f5101c4d2:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2021-05-12 22:31:04 |

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

2021-05-12 22:31:04 | ------------------------------------

2021-05-12 22:31:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4586b52d-d0e7-4640-84c5-193bc346e274</node><item-id>item-c02621a1-c078-49e4-a49a-b38f5101c4d2</item-id></data>

2021-05-12 22:31:04 | 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-c02621a1-c078-49e4-a49a-b38f5101c4d2</value></item-id></result>

2021-05-12 22:31:04 | [Mutex] received everything.

2021-05-12 22:31:04 | [Mutex] isItemNotified: retracted:item:notifieditem-c02621a1-c078-49e4-a49a-b38f5101c4d2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.337s
2021-05-12 22:31:03 |

2021-05-12 22:31:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-12 22:31:03 | ------------------------------------

2021-05-12 22:31:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4586b52d-d0e7-4640-84c5-193bc346e274</node><item-id>item-c02621a1-c078-49e4-a49a-b38f5101c4d2</item-id></data>

2021-05-12 22:31:04 | 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-4586b52d-d0e7-4640-84c5-193bc346e274</value></node><item-id label="Item ID" type="text-single"><value>item-c02621a1-c078-49e4-a49a-b38f5101c4d2</value></item-id><item label="Item" type="text-multi"><value><item id="item-c02621a1-c078-49e4-a49a-b38f5101c4d2"><test>item-c02621a1-c078-49e4-a49a-b38f5101c4d2</test></item></value></item></result>

2021-05-12 22:31:04 | [Mutex] notify: [retrieved:item:item-c02621a1-c078-49e4-a49a-b38f5101c4d2:payload-matches:true:localhost]

2021-05-12 22:31:04 | [Mutex] received everything.

2021-05-12 22:31:04 | [Mutex] isItemNotified: retrieved:item:item-c02621a1-c078-49e4-a49a-b38f5101c4d2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.054s
2021-05-12 22:31:04 |

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

2021-05-12 22:31:04 | ------------------------------------

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

2021-05-12 22:31:04 | 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-4586b52d-d0e7-4640-84c5-193bc346e274</value><value>node-7ef7b552-1cf9-4498-814d-c8fbbd7cb16e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.098s
2021-05-12 22:31:04 |

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

2021-05-12 22:31:04 | ------------------------------------

2021-05-12 22:31:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4586b52d-d0e7-4640-84c5-193bc346e274)</node-pattern></data>

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

subscribeNodes 1.167s
2021-05-12 22:31:02 |

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

2021-05-12 22:31:02 | ------------------------------------

2021-05-12 22:31:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4586b52d-d0e7-4640-84c5-193bc346e274</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.319s
2021-05-12 22:31:04 |

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

2021-05-12 22:31:04 | ------------------------------------

2021-05-12 22:31:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4586b52d-d0e7-4640-84c5-193bc346e274</node><jids><value>admin@test-domain.com</value></jids></data>

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