Generated by TestNG with ReportNG at 22:45 PDT on Tuesday 27 October 2020
root@87f6aca6b6f2 / 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.744s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.165s
2020-10-27 23:00:26 |

2020-10-27 23:00:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-27 23:00:26 | ------------------------------------

2020-10-27 23:00:26 | [Mutex] waiting for: [configured:node:node-1f90409f-8da8-4bb0-aad4-b1891563576d:node-36d34308-3a0c-454c-a594-b2602d70408a]

2020-10-27 23:00:26 | [Mutex] received everything.

2020-10-27 23:00:26 | [Mutex] isItemNotified: configured:node:node-1f90409f-8da8-4bb0-aad4-b1891563576d:node-36d34308-3a0c-454c-a594-b2602d70408a :: true

2020-10-27 23:00:27 | [Mutex] waiting for: [received:nodes:1f00c56f-8ae9-48f9-a539-499d1a6616dc:localhost]

2020-10-27 23:00:27 | [Mutex] waiting for: [received:nodes:1f00c56f-8ae9-48f9-a539-499d1a6616dc:localhost]

2020-10-27 23:00:27 | [Mutex] received everything.

2020-10-27 23:00:27 | [Mutex] isItemNotified: received:node:1f00c56f-8ae9-48f9-a539-499d1a6616dc:localhost:node-1f90409f-8da8-4bb0-aad4-b1891563576d:Node 1f90409f-8da8-4bb0-aad4-b1891563576d :: true

2020-10-27 23:00:27 | [Mutex] waiting for: [received:nodes:44305f41-876c-45bc-b042-29ef4d9b9d73:localhost]

2020-10-27 23:00:27 | [Mutex] received everything.

2020-10-27 23:00:27 | [Mutex] isItemNotified: received:node:44305f41-876c-45bc-b042-29ef4d9b9d73:localhost:node-1f90409f-8da8-4bb0-aad4-b1891563576d:Node 1f90409f-8da8-4bb0-aad4-b1891563576d :: false

createNodes 1.521s
2020-10-27 23:00:23 |

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

2020-10-27 23:00:23 | ------------------------------------

2020-10-27 23:00:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1f90409f-8da8-4bb0-aad4-b1891563576d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1f90409f-8da8-4bb0-aad4-b1891563576d</title></pubsub></data>

2020-10-27 23:00:23 | 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 23:00:24 | [Mutex] waiting for: [received:nodes:f1841eb4-ac69-47be-8532-a2db7c584c9d:localhost]

2020-10-27 23:00:24 | [Mutex] received everything.

2020-10-27 23:00:24 | [Mutex] isItemNotified: received:node:f1841eb4-ac69-47be-8532-a2db7c584c9d:localhost:node-1f90409f-8da8-4bb0-aad4-b1891563576d:Node 1f90409f-8da8-4bb0-aad4-b1891563576d :: true

createSubnodes 1.033s
2020-10-27 23:00:24 |

2020-10-27 23:00:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-27 23:00:24 | ------------------------------------

2020-10-27 23:00:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-36d34308-3a0c-454c-a594-b2602d70408a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 36d34308-3a0c-454c-a594-b2602d70408a</title></pubsub></data>

2020-10-27 23:00:25 | 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 23:00:26 | [Mutex] waiting for: [received:nodes:7d5fce59-ff2c-487b-86a0-5c38cb8927ab:localhost]

2020-10-27 23:00:26 | [Mutex] received everything.

2020-10-27 23:00:26 | [Mutex] isItemNotified: received:node:7d5fce59-ff2c-487b-86a0-5c38cb8927ab:localhost:node-36d34308-3a0c-454c-a594-b2602d70408a:Node 36d34308-3a0c-454c-a594-b2602d70408a :: true

deleteNodes 1.027s
2020-10-27 23:00:31 |

2020-10-27 23:00:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-27 23:00:31 | ------------------------------------

2020-10-27 23:00:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-36d34308-3a0c-454c-a594-b2602d70408a</node></data>

2020-10-27 23:00:31 | 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 23:00:32 | [Mutex] waiting for: [received:nodes:8ac5de5e-c143-4def-817c-33fd62624d11:localhost]

2020-10-27 23:00:33 | [Mutex] received everything.

2020-10-27 23:00:33 | [Mutex] isItemNotified: received:node:8ac5de5e-c143-4def-817c-33fd62624d11:localhost:node-36d34308-3a0c-454c-a594-b2602d70408a:Node 36d34308-3a0c-454c-a594-b2602d70408a :: false

deleteSubnodes 1.169s
2020-10-27 23:00:30 |

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

2020-10-27 23:00:30 | ------------------------------------

2020-10-27 23:00:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1f90409f-8da8-4bb0-aad4-b1891563576d</node></data>

2020-10-27 23:00:30 | 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 23:00:31 | [Mutex] waiting for: [received:nodes:55318c89-d6ce-43f6-b5ec-f75cce124354:localhost]

2020-10-27 23:00:31 | [Mutex] received everything.

2020-10-27 23:00:31 | [Mutex] isItemNotified: received:node:55318c89-d6ce-43f6-b5ec-f75cce124354:localhost:node-1f90409f-8da8-4bb0-aad4-b1891563576d:Node 1f90409f-8da8-4bb0-aad4-b1891563576d :: false

2020-10-27 23:00:31 | [Mutex] waiting for: [received:nodes:d466a08d-b42d-4d9b-8cb7-8d9ffeaa1c55:localhost]

2020-10-27 23:00:31 | [Mutex] received everything.

2020-10-27 23:00:31 | [Mutex] isItemNotified: received:node:d466a08d-b42d-4d9b-8cb7-8d9ffeaa1c55:localhost:node-1f90409f-8da8-4bb0-aad4-b1891563576d:Node 1f90409f-8da8-4bb0-aad4-b1891563576d :: false

publishItemsToNodes 0.219s
2020-10-27 23:00:28 |

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

2020-10-27 23:00:28 | ------------------------------------

2020-10-27 23:00:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1f90409f-8da8-4bb0-aad4-b1891563576d</node><item-id>item-6777d33a-826b-47cb-be64-a2f796d2cdd4</item-id><entry><test>item-6777d33a-826b-47cb-be64-a2f796d2cdd4</test></entry></data>

2020-10-27 23:00:28 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-6777d33a-826b-47cb-be64-a2f796d2cdd4</value></item-id></result>

2020-10-27 23:00:28 | [Mutex] waiting for: [published:item:notifieditem-6777d33a-826b-47cb-be64-a2f796d2cdd4:admin@test-domain.com]

2020-10-27 23:00:28 | [Mutex] received everything.

2020-10-27 23:00:28 | [Mutex] isItemNotified: published:item:notifieditem-6777d33a-826b-47cb-be64-a2f796d2cdd4:admin@test-domain.com :: true

retractItemsFromNodes 0.300s
2020-10-27 23:00:29 |

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

2020-10-27 23:00:29 | ------------------------------------

2020-10-27 23:00:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1f90409f-8da8-4bb0-aad4-b1891563576d</node><item-id>item-6777d33a-826b-47cb-be64-a2f796d2cdd4</item-id></data>

2020-10-27 23:00:29 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-6777d33a-826b-47cb-be64-a2f796d2cdd4</value></item-id></result>

2020-10-27 23:00:29 | [Mutex] received everything.

2020-10-27 23:00:29 | [Mutex] isItemNotified: retracted:item:notifieditem-6777d33a-826b-47cb-be64-a2f796d2cdd4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.430s
2020-10-27 23:00:28 |

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

2020-10-27 23:00:28 | ------------------------------------

2020-10-27 23:00:28 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1f90409f-8da8-4bb0-aad4-b1891563576d</node><item-id>item-6777d33a-826b-47cb-be64-a2f796d2cdd4</item-id></data>

2020-10-27 23:00:28 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-1f90409f-8da8-4bb0-aad4-b1891563576d</value></node><item-id type="text-single" label="Item ID"><value>item-6777d33a-826b-47cb-be64-a2f796d2cdd4</value></item-id><item type="text-multi" label="Item"><value><item id="item-6777d33a-826b-47cb-be64-a2f796d2cdd4"><test>item-6777d33a-826b-47cb-be64-a2f796d2cdd4</test></item></value></item></result>

2020-10-27 23:00:28 | [Mutex] notify: [retrieved:item:item-6777d33a-826b-47cb-be64-a2f796d2cdd4:payload-matches:true:localhost]

2020-10-27 23:00:28 | [Mutex] received everything.

2020-10-27 23:00:28 | [Mutex] isItemNotified: retrieved:item:item-6777d33a-826b-47cb-be64-a2f796d2cdd4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-27 23:00:28 |

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

2020-10-27 23:00:28 | ------------------------------------

2020-10-27 23:00:28 | 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 23:00:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-36d34308-3a0c-454c-a594-b2602d70408a</value><value>node-1f90409f-8da8-4bb0-aad4-b1891563576d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-10-27 23:00:29 |

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

2020-10-27 23:00:29 | ------------------------------------

2020-10-27 23:00:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1f90409f-8da8-4bb0-aad4-b1891563576d)</node-pattern></data>

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

subscribeNodes 1.144s
2020-10-27 23:00:27 |

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

2020-10-27 23:00:27 | ------------------------------------

2020-10-27 23:00:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1f90409f-8da8-4bb0-aad4-b1891563576d</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.414s
2020-10-27 23:00:29 |

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

2020-10-27 23:00:29 | ------------------------------------

2020-10-27 23:00:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1f90409f-8da8-4bb0-aad4-b1891563576d</node><jids><value>admin@test-domain.com</value></jids></data>

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