Generated by TestNG with ReportNG at 22:23 PDT on Thursday 27 May 2021
root@b2c2a8eba6e6 / 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.339s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2021-05-27 22:38:04 |

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

2021-05-27 22:38:04 | ------------------------------------

2021-05-27 22:38:04 | [Mutex] waiting for: [configured:node:node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f:node-79494435-d171-42a6-82fa-217eaa98d0dd]

2021-05-27 22:38:04 | [Mutex] received everything.

2021-05-27 22:38:04 | [Mutex] isItemNotified: configured:node:node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f:node-79494435-d171-42a6-82fa-217eaa98d0dd :: true

2021-05-27 22:38:05 | [Mutex] waiting for: [received:nodes:8f07ec76-cf1c-4a92-82fc-5781173e9363:localhost]

2021-05-27 22:38:05 | [Mutex] received everything.

2021-05-27 22:38:05 | [Mutex] isItemNotified: received:node:8f07ec76-cf1c-4a92-82fc-5781173e9363:localhost:node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f:Node f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f :: true

2021-05-27 22:38:05 | [Mutex] waiting for: [received:nodes:4ee351c6-67d5-4cbe-9880-44f763ad6b52:localhost]

2021-05-27 22:38:05 | [Mutex] waiting for: [received:nodes:4ee351c6-67d5-4cbe-9880-44f763ad6b52:localhost]

2021-05-27 22:38:05 | [Mutex] received everything.

2021-05-27 22:38:05 | [Mutex] isItemNotified: received:node:4ee351c6-67d5-4cbe-9880-44f763ad6b52:localhost:node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f:Node f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f :: false

createNodes 1.711s
2021-05-27 22:38:01 |

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

2021-05-27 22:38:01 | ------------------------------------

2021-05-27 22:38:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f</title></pubsub></data>

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

2021-05-27 22:38:03 | [Mutex] waiting for: [received:nodes:a05c7407-a5a2-46ef-b780-257e20fed40d:localhost]

2021-05-27 22:38:03 | [Mutex] received everything.

2021-05-27 22:38:03 | [Mutex] isItemNotified: received:node:a05c7407-a5a2-46ef-b780-257e20fed40d:localhost:node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f:Node f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f :: true

createSubnodes 1.029s
2021-05-27 22:38:03 |

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

2021-05-27 22:38:03 | ------------------------------------

2021-05-27 22:38:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-79494435-d171-42a6-82fa-217eaa98d0dd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 79494435-d171-42a6-82fa-217eaa98d0dd</title></pubsub></data>

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

2021-05-27 22:38:04 | [Mutex] waiting for: [received:nodes:f13b066e-95a7-422e-8df7-cf18b5b94583:localhost]

2021-05-27 22:38:04 | [Mutex] received everything.

2021-05-27 22:38:04 | [Mutex] isItemNotified: received:node:f13b066e-95a7-422e-8df7-cf18b5b94583:localhost:node-79494435-d171-42a6-82fa-217eaa98d0dd:Node 79494435-d171-42a6-82fa-217eaa98d0dd :: true

deleteNodes 1.017s
2021-05-27 22:38:10 |

2021-05-27 22:38:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:10 | ------------------------------------

2021-05-27 22:38:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-79494435-d171-42a6-82fa-217eaa98d0dd</node></data>

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

2021-05-27 22:38:11 | [Mutex] waiting for: [received:nodes:a5cb99ff-fa59-4773-9e14-eeac2524ae4b:localhost]

2021-05-27 22:38:11 | [Mutex] received everything.

2021-05-27 22:38:11 | [Mutex] isItemNotified: received:node:a5cb99ff-fa59-4773-9e14-eeac2524ae4b:localhost:node-79494435-d171-42a6-82fa-217eaa98d0dd:Node 79494435-d171-42a6-82fa-217eaa98d0dd :: false

deleteSubnodes 1.165s
2021-05-27 22:38:09 |

2021-05-27 22:38:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:09 | ------------------------------------

2021-05-27 22:38:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f</node></data>

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

2021-05-27 22:38:10 | [Mutex] waiting for: [received:nodes:fdb78302-99e4-4c62-82e0-c1c0c366fbad:localhost]

2021-05-27 22:38:10 | [Mutex] received everything.

2021-05-27 22:38:10 | [Mutex] isItemNotified: received:node:fdb78302-99e4-4c62-82e0-c1c0c366fbad:localhost:node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f:Node f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f :: false

2021-05-27 22:38:10 | [Mutex] waiting for: [received:nodes:8fcd5867-1ba0-491c-8768-de6257de5b2a:localhost]

2021-05-27 22:38:10 | [Mutex] received everything.

2021-05-27 22:38:10 | [Mutex] isItemNotified: received:node:8fcd5867-1ba0-491c-8768-de6257de5b2a:localhost:node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f:Node f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f :: false

publishItemsToNodes 0.321s
2021-05-27 22:38:06 |

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

2021-05-27 22:38:06 | ------------------------------------

2021-05-27 22:38:06 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f</node><item-id>item-5d87a50d-ba8d-4bdf-86aa-97c50d111ccd</item-id><entry><test>item-5d87a50d-ba8d-4bdf-86aa-97c50d111ccd</test></entry></data>

2021-05-27 22:38:07 | 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-5d87a50d-ba8d-4bdf-86aa-97c50d111ccd</value></item-id></result>

2021-05-27 22:38:07 | [Mutex] waiting for: [published:item:notifieditem-5d87a50d-ba8d-4bdf-86aa-97c50d111ccd:admin@test-domain.com]

2021-05-27 22:38:07 | [Mutex] received everything.

2021-05-27 22:38:07 | [Mutex] isItemNotified: published:item:notifieditem-5d87a50d-ba8d-4bdf-86aa-97c50d111ccd:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2021-05-27 22:38:07 |

2021-05-27 22:38:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:07 | ------------------------------------

2021-05-27 22:38:07 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f</node><item-id>item-5d87a50d-ba8d-4bdf-86aa-97c50d111ccd</item-id></data>

2021-05-27 22:38:07 | 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-5d87a50d-ba8d-4bdf-86aa-97c50d111ccd</value></item-id></result>

2021-05-27 22:38:07 | [Mutex] received everything.

2021-05-27 22:38:07 | [Mutex] isItemNotified: retracted:item:notifieditem-5d87a50d-ba8d-4bdf-86aa-97c50d111ccd:admin@test-domain.com :: true

retrieveItemsFromNodes 0.247s
2021-05-27 22:38:07 |

2021-05-27 22:38:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:07 | ------------------------------------

2021-05-27 22:38:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f</node><item-id>item-5d87a50d-ba8d-4bdf-86aa-97c50d111ccd</item-id></data>

2021-05-27 22:38:07 | 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-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f</value></node><item-id label="Item ID" type="text-single"><value>item-5d87a50d-ba8d-4bdf-86aa-97c50d111ccd</value></item-id><item label="Item" type="text-multi"><value><item id="item-5d87a50d-ba8d-4bdf-86aa-97c50d111ccd"><test>item-5d87a50d-ba8d-4bdf-86aa-97c50d111ccd</test></item></value></item></result>

2021-05-27 22:38:07 | [Mutex] notify: [retrieved:item:item-5d87a50d-ba8d-4bdf-86aa-97c50d111ccd:payload-matches:true:localhost]

2021-05-27 22:38:07 | [Mutex] received everything.

2021-05-27 22:38:07 | [Mutex] isItemNotified: retrieved:item:item-5d87a50d-ba8d-4bdf-86aa-97c50d111ccd:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-27 22:38:07 |

2021-05-27 22:38:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:07 | ------------------------------------

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

2021-05-27 22:38:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-79494435-d171-42a6-82fa-217eaa98d0dd</value><value>test</value><value>node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-27 22:38:07 |

2021-05-27 22:38:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:07 | ------------------------------------

2021-05-27 22:38:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f)</node-pattern></data>

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

subscribeNodes 1.129s
2021-05-27 22:38:05 |

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

2021-05-27 22:38:05 | ------------------------------------

2021-05-27 22:38:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.283s
2021-05-27 22:38:07 |

2021-05-27 22:38:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 22:38:07 | ------------------------------------

2021-05-27 22:38:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f3c5c3bf-3be9-4d5d-86a2-b18679a4f45f</node><jids><value>admin@test-domain.com</value></jids></data>

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