Generated by TestNG with ReportNG at 22:46 PDT on Wednesday 26 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.434s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.134s
2021-05-26 23:01:01 |

2021-05-26 23:01:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 23:01:01 | ------------------------------------

2021-05-26 23:01:01 | [Mutex] waiting for: [configured:node:node-d3128d08-1996-498e-b12d-76bf80327f5c:node-b8d9e757-2859-4740-9767-b6d961779bcf]

2021-05-26 23:01:01 | [Mutex] received everything.

2021-05-26 23:01:01 | [Mutex] isItemNotified: configured:node:node-d3128d08-1996-498e-b12d-76bf80327f5c:node-b8d9e757-2859-4740-9767-b6d961779bcf :: true

2021-05-26 23:01:02 | [Mutex] waiting for: [received:nodes:20502ff6-8c80-4c68-a9d9-cd0f0cc6aaef:localhost]

2021-05-26 23:01:02 | [Mutex] received everything.

2021-05-26 23:01:02 | [Mutex] isItemNotified: received:node:20502ff6-8c80-4c68-a9d9-cd0f0cc6aaef:localhost:node-d3128d08-1996-498e-b12d-76bf80327f5c:Node d3128d08-1996-498e-b12d-76bf80327f5c :: true

2021-05-26 23:01:02 | [Mutex] waiting for: [received:nodes:d2d8db15-1675-4e2c-ab95-e005ac5d74a4:localhost]

2021-05-26 23:01:02 | [Mutex] waiting for: [received:nodes:d2d8db15-1675-4e2c-ab95-e005ac5d74a4:localhost]

2021-05-26 23:01:02 | [Mutex] received everything.

2021-05-26 23:01:02 | [Mutex] isItemNotified: received:node:d2d8db15-1675-4e2c-ab95-e005ac5d74a4:localhost:node-d3128d08-1996-498e-b12d-76bf80327f5c:Node d3128d08-1996-498e-b12d-76bf80327f5c :: false

createNodes 1.605s
2021-05-26 23:00:58 |

2021-05-26 23:00:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 23:00:58 | ------------------------------------

2021-05-26 23:00:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d3128d08-1996-498e-b12d-76bf80327f5c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d3128d08-1996-498e-b12d-76bf80327f5c</title></pubsub></data>

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

2021-05-26 23:00:59 | [Mutex] waiting for: [received:nodes:f005a603-9663-4da2-a5a5-07d2402d00dc:localhost]

2021-05-26 23:00:59 | [Mutex] received everything.

2021-05-26 23:00:59 | [Mutex] isItemNotified: received:node:f005a603-9663-4da2-a5a5-07d2402d00dc:localhost:node-d3128d08-1996-498e-b12d-76bf80327f5c:Node d3128d08-1996-498e-b12d-76bf80327f5c :: true

createSubnodes 1.030s
2021-05-26 23:00:59 |

2021-05-26 23:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 23:00:59 | ------------------------------------

2021-05-26 23:00:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b8d9e757-2859-4740-9767-b6d961779bcf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b8d9e757-2859-4740-9767-b6d961779bcf</title></pubsub></data>

2021-05-26 23:01: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-26 23:01:01 | [Mutex] waiting for: [received:nodes:e1bbf59f-9e9a-4cb1-a292-565db5574cee:localhost]

2021-05-26 23:01:01 | [Mutex] received everything.

2021-05-26 23:01:01 | [Mutex] isItemNotified: received:node:e1bbf59f-9e9a-4cb1-a292-565db5574cee:localhost:node-b8d9e757-2859-4740-9767-b6d961779bcf:Node b8d9e757-2859-4740-9767-b6d961779bcf :: true

deleteNodes 1.029s
2021-05-26 23:01:06 |

2021-05-26 23:01:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 23:01:06 | ------------------------------------

2021-05-26 23:01:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b8d9e757-2859-4740-9767-b6d961779bcf</node></data>

2021-05-26 23:01: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-26 23:01:07 | [Mutex] waiting for: [received:nodes:98428099-4d62-4305-9bfa-28cdd878f600:localhost]

2021-05-26 23:01:07 | [Mutex] received everything.

2021-05-26 23:01:07 | [Mutex] isItemNotified: received:node:98428099-4d62-4305-9bfa-28cdd878f600:localhost:node-b8d9e757-2859-4740-9767-b6d961779bcf:Node b8d9e757-2859-4740-9767-b6d961779bcf :: false

deleteSubnodes 1.183s
2021-05-26 23:01:05 |

2021-05-26 23:01:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 23:01:05 | ------------------------------------

2021-05-26 23:01:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d3128d08-1996-498e-b12d-76bf80327f5c</node></data>

2021-05-26 23:01: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-26 23:01:06 | [Mutex] waiting for: [received:nodes:a3060476-8484-4f92-a4ef-ae78f0699775:localhost]

2021-05-26 23:01:06 | [Mutex] received everything.

2021-05-26 23:01:06 | [Mutex] isItemNotified: received:node:a3060476-8484-4f92-a4ef-ae78f0699775:localhost:node-d3128d08-1996-498e-b12d-76bf80327f5c:Node d3128d08-1996-498e-b12d-76bf80327f5c :: false

2021-05-26 23:01:06 | [Mutex] waiting for: [received:nodes:fad50e91-1e51-4a92-b896-293552bf1c28:localhost]

2021-05-26 23:01:06 | [Mutex] received everything.

2021-05-26 23:01:06 | [Mutex] isItemNotified: received:node:fad50e91-1e51-4a92-b896-293552bf1c28:localhost:node-d3128d08-1996-498e-b12d-76bf80327f5c:Node d3128d08-1996-498e-b12d-76bf80327f5c :: false

publishItemsToNodes 0.367s
2021-05-26 23:01:03 |

2021-05-26 23:01:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 23:01:03 | ------------------------------------

2021-05-26 23:01:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d3128d08-1996-498e-b12d-76bf80327f5c</node><item-id>item-73a8b1d7-7b78-4bfc-820e-1f961a8a2fb0</item-id><entry><test>item-73a8b1d7-7b78-4bfc-820e-1f961a8a2fb0</test></entry></data>

2021-05-26 23:01:03 | 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-73a8b1d7-7b78-4bfc-820e-1f961a8a2fb0</value></item-id></result>

2021-05-26 23:01:03 | [Mutex] received everything.

2021-05-26 23:01:03 | [Mutex] isItemNotified: published:item:notifieditem-73a8b1d7-7b78-4bfc-820e-1f961a8a2fb0:admin@test-domain.com :: true

retractItemsFromNodes 0.311s
2021-05-26 23:01:04 |

2021-05-26 23:01:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 23:01:04 | ------------------------------------

2021-05-26 23:01:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d3128d08-1996-498e-b12d-76bf80327f5c</node><item-id>item-73a8b1d7-7b78-4bfc-820e-1f961a8a2fb0</item-id></data>

2021-05-26 23:01:04 | 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-73a8b1d7-7b78-4bfc-820e-1f961a8a2fb0</value></item-id></result>

2021-05-26 23:01:04 | [Mutex] received everything.

2021-05-26 23:01:04 | [Mutex] isItemNotified: retracted:item:notifieditem-73a8b1d7-7b78-4bfc-820e-1f961a8a2fb0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.286s
2021-05-26 23:01:03 |

2021-05-26 23:01:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 23:01:03 | ------------------------------------

2021-05-26 23:01:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d3128d08-1996-498e-b12d-76bf80327f5c</node><item-id>item-73a8b1d7-7b78-4bfc-820e-1f961a8a2fb0</item-id></data>

2021-05-26 23:01:03 | 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-d3128d08-1996-498e-b12d-76bf80327f5c</value></node><item-id type="text-single" label="Item ID"><value>item-73a8b1d7-7b78-4bfc-820e-1f961a8a2fb0</value></item-id><item type="text-multi" label="Item"><value><item id="item-73a8b1d7-7b78-4bfc-820e-1f961a8a2fb0"><test>item-73a8b1d7-7b78-4bfc-820e-1f961a8a2fb0</test></item></value></item></result>

2021-05-26 23:01:03 | [Mutex] notify: [retrieved:item:item-73a8b1d7-7b78-4bfc-820e-1f961a8a2fb0:payload-matches:true:localhost]

2021-05-26 23:01:03 | [Mutex] received everything.

2021-05-26 23:01:03 | [Mutex] isItemNotified: retrieved:item:item-73a8b1d7-7b78-4bfc-820e-1f961a8a2fb0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-05-26 23:01:03 |

2021-05-26 23:01:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 23:01:03 | ------------------------------------

2021-05-26 23:01:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-26 23:01:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-b8d9e757-2859-4740-9767-b6d961779bcf</value><value>test</value><value>node-d3128d08-1996-498e-b12d-76bf80327f5c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-26 23:01:04 |

2021-05-26 23:01:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 23:01:04 | ------------------------------------

2021-05-26 23:01: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-d3128d08-1996-498e-b12d-76bf80327f5c)</node-pattern></data>

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

subscribeNodes 1.167s
2021-05-26 23:01:02 |

2021-05-26 23:01:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 23:01:02 | ------------------------------------

2021-05-26 23:01:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d3128d08-1996-498e-b12d-76bf80327f5c</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-26 23:01: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.311s
2021-05-26 23:01:04 |

2021-05-26 23:01:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 23:01:04 | ------------------------------------

2021-05-26 23:01:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d3128d08-1996-498e-b12d-76bf80327f5c</node><jids><value>admin@test-domain.com</value></jids></data>

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