Generated by TestNG with ReportNG at 23:50 PDT on Sunday 13 September 2020
root@bb2e6c1b4ae6 / 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.959s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2020-09-14 00:07:03 |

2020-09-14 00:07:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 00:07:03 | ------------------------------------

2020-09-14 00:07:03 | [Mutex] waiting for: [configured:node:node-46444bba-d569-4c78-b57a-0e0c9bf39398:node-1dc9f658-e6e7-42f2-acb8-8d3831c96cb2]

2020-09-14 00:07:03 | [Mutex] received everything.

2020-09-14 00:07:03 | [Mutex] isItemNotified: configured:node:node-46444bba-d569-4c78-b57a-0e0c9bf39398:node-1dc9f658-e6e7-42f2-acb8-8d3831c96cb2 :: true

2020-09-14 00:07:04 | [Mutex] waiting for: [received:nodes:c3a3dd3f-79c6-44a7-bc13-1d9bdca16723:localhost]

2020-09-14 00:07:04 | [Mutex] received everything.

2020-09-14 00:07:04 | [Mutex] isItemNotified: received:node:c3a3dd3f-79c6-44a7-bc13-1d9bdca16723:localhost:node-46444bba-d569-4c78-b57a-0e0c9bf39398:Node 46444bba-d569-4c78-b57a-0e0c9bf39398 :: true

2020-09-14 00:07:04 | [Mutex] waiting for: [received:nodes:b20f911c-9e2a-488d-b8dd-bde23a4ee9d4:localhost]

2020-09-14 00:07:04 | [Mutex] received everything.

2020-09-14 00:07:04 | [Mutex] isItemNotified: received:node:b20f911c-9e2a-488d-b8dd-bde23a4ee9d4:localhost:node-46444bba-d569-4c78-b57a-0e0c9bf39398:Node 46444bba-d569-4c78-b57a-0e0c9bf39398 :: false

createNodes 1.420s
2020-09-14 00:07:00 |

2020-09-14 00:07:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 00:07:00 | ------------------------------------

2020-09-14 00:07:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-46444bba-d569-4c78-b57a-0e0c9bf39398</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 46444bba-d569-4c78-b57a-0e0c9bf39398</title></pubsub></data>

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

2020-09-14 00:07:02 | [Mutex] waiting for: [received:nodes:2552f471-3d4f-4b88-aed9-6022ed86020d:localhost]

2020-09-14 00:07:02 | [Mutex] received everything.

2020-09-14 00:07:02 | [Mutex] isItemNotified: received:node:2552f471-3d4f-4b88-aed9-6022ed86020d:localhost:node-46444bba-d569-4c78-b57a-0e0c9bf39398:Node 46444bba-d569-4c78-b57a-0e0c9bf39398 :: true

createSubnodes 1.030s
2020-09-14 00:07:02 |

2020-09-14 00:07:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 00:07:02 | ------------------------------------

2020-09-14 00:07:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1dc9f658-e6e7-42f2-acb8-8d3831c96cb2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1dc9f658-e6e7-42f2-acb8-8d3831c96cb2</title></pubsub></data>

2020-09-14 00:07:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-14 00:07:03 | [Mutex] waiting for: [received:nodes:facab96d-4ba3-4539-8014-bcc295ddfe05:localhost]

2020-09-14 00:07:03 | [Mutex] received everything.

2020-09-14 00:07:03 | [Mutex] isItemNotified: received:node:facab96d-4ba3-4539-8014-bcc295ddfe05:localhost:node-1dc9f658-e6e7-42f2-acb8-8d3831c96cb2:Node 1dc9f658-e6e7-42f2-acb8-8d3831c96cb2 :: true

deleteNodes 1.017s
2020-09-14 00:07:08 |

2020-09-14 00:07:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 00:07:08 | ------------------------------------

2020-09-14 00:07:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1dc9f658-e6e7-42f2-acb8-8d3831c96cb2</node></data>

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

2020-09-14 00:07:09 | [Mutex] waiting for: [received:nodes:67a9dbc9-6041-41d9-8b1d-7e01dc291760:localhost]

2020-09-14 00:07:09 | [Mutex] received everything.

2020-09-14 00:07:09 | [Mutex] isItemNotified: received:node:67a9dbc9-6041-41d9-8b1d-7e01dc291760:localhost:node-1dc9f658-e6e7-42f2-acb8-8d3831c96cb2:Node 1dc9f658-e6e7-42f2-acb8-8d3831c96cb2 :: false

deleteSubnodes 1.118s
2020-09-14 00:07:07 |

2020-09-14 00:07:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 00:07:07 | ------------------------------------

2020-09-14 00:07:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-46444bba-d569-4c78-b57a-0e0c9bf39398</node></data>

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

2020-09-14 00:07:08 | [Mutex] waiting for: [received:nodes:5740c71d-6047-43c5-be7a-e049d8ca4c0f:localhost]

2020-09-14 00:07:08 | [Mutex] received everything.

2020-09-14 00:07:08 | [Mutex] isItemNotified: received:node:5740c71d-6047-43c5-be7a-e049d8ca4c0f:localhost:node-46444bba-d569-4c78-b57a-0e0c9bf39398:Node 46444bba-d569-4c78-b57a-0e0c9bf39398 :: false

2020-09-14 00:07:08 | [Mutex] waiting for: [received:nodes:36924c6d-154e-4c3c-9d49-6af4116450f7:localhost]

2020-09-14 00:07:08 | [Mutex] received everything.

2020-09-14 00:07:08 | [Mutex] isItemNotified: received:node:36924c6d-154e-4c3c-9d49-6af4116450f7:localhost:node-46444bba-d569-4c78-b57a-0e0c9bf39398:Node 46444bba-d569-4c78-b57a-0e0c9bf39398 :: false

publishItemsToNodes 0.321s
2020-09-14 00:07:05 |

2020-09-14 00:07:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 00:07:05 | ------------------------------------

2020-09-14 00:07:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-46444bba-d569-4c78-b57a-0e0c9bf39398</node><item-id>item-b73964c5-0436-417b-b76a-431e82b4c06e</item-id><entry><test>item-b73964c5-0436-417b-b76a-431e82b4c06e</test></entry></data>

2020-09-14 00:07:05 | 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-b73964c5-0436-417b-b76a-431e82b4c06e</value></item-id></result>

2020-09-14 00:07:05 | [Mutex] received everything.

2020-09-14 00:07:05 | [Mutex] isItemNotified: published:item:notifieditem-b73964c5-0436-417b-b76a-431e82b4c06e:admin@test-domain.com :: true

retractItemsFromNodes 0.196s
2020-09-14 00:07:06 |

2020-09-14 00:07:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 00:07:06 | ------------------------------------

2020-09-14 00:07:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-46444bba-d569-4c78-b57a-0e0c9bf39398</node><item-id>item-b73964c5-0436-417b-b76a-431e82b4c06e</item-id></data>

2020-09-14 00:07:06 | 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-b73964c5-0436-417b-b76a-431e82b4c06e</value></item-id></result>

2020-09-14 00:07:06 | [Mutex] received everything.

2020-09-14 00:07:06 | [Mutex] isItemNotified: retracted:item:notifieditem-b73964c5-0436-417b-b76a-431e82b4c06e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.228s
2020-09-14 00:07:05 |

2020-09-14 00:07:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 00:07:05 | ------------------------------------

2020-09-14 00:07:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-46444bba-d569-4c78-b57a-0e0c9bf39398</node><item-id>item-b73964c5-0436-417b-b76a-431e82b4c06e</item-id></data>

2020-09-14 00:07:06 | 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-46444bba-d569-4c78-b57a-0e0c9bf39398</value></node><item-id label="Item ID" type="text-single"><value>item-b73964c5-0436-417b-b76a-431e82b4c06e</value></item-id><item label="Item" type="text-multi"><value><item id="item-b73964c5-0436-417b-b76a-431e82b4c06e"><test>item-b73964c5-0436-417b-b76a-431e82b4c06e</test></item></value></item></result>

2020-09-14 00:07:06 | [Mutex] notify: [retrieved:item:item-b73964c5-0436-417b-b76a-431e82b4c06e:payload-matches:true:localhost]

2020-09-14 00:07:06 | [Mutex] received everything.

2020-09-14 00:07:06 | [Mutex] isItemNotified: retrieved:item:item-b73964c5-0436-417b-b76a-431e82b4c06e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-14 00:07:06 |

2020-09-14 00:07:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 00:07:06 | ------------------------------------

2020-09-14 00:07:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-14 00:07:06 | 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-1dc9f658-e6e7-42f2-acb8-8d3831c96cb2</value><value>node-46444bba-d569-4c78-b57a-0e0c9bf39398</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-09-14 00:07:06 |

2020-09-14 00:07:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 00:07:06 | ------------------------------------

2020-09-14 00:07:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-46444bba-d569-4c78-b57a-0e0c9bf39398)</node-pattern></data>

2020-09-14 00:07:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.154s
2020-09-14 00:07:04 |

2020-09-14 00:07:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 00:07:04 | ------------------------------------

2020-09-14 00:07:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-46444bba-d569-4c78-b57a-0e0c9bf39398</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-14 00:07:04 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.247s
2020-09-14 00:07:06 |

2020-09-14 00:07:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 00:07:06 | ------------------------------------

2020-09-14 00:07:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-46444bba-d569-4c78-b57a-0e0c9bf39398</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-14 00:07:06 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>