Generated by TestNG with ReportNG at 22:26 PDT on Wednesday 24 March 2021
root@eaa73862192b / 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.053s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2021-03-24 22:40:34 |

2021-03-24 22:40:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:40:34 | ------------------------------------

2021-03-24 22:40:34 | [Mutex] waiting for: [configured:node:node-289b6d6e-392c-4246-9f7c-f5a5143efd17:node-b295ddf1-56a9-4e18-8020-835d3403cd3e]

2021-03-24 22:40:35 | [Mutex] received everything.

2021-03-24 22:40:35 | [Mutex] isItemNotified: configured:node:node-289b6d6e-392c-4246-9f7c-f5a5143efd17:node-b295ddf1-56a9-4e18-8020-835d3403cd3e :: true

2021-03-24 22:40:36 | [Mutex] waiting for: [received:nodes:2fda9b29-900e-402f-8311-139a42cc7787:localhost]

2021-03-24 22:40:36 | [Mutex] waiting for: [received:nodes:2fda9b29-900e-402f-8311-139a42cc7787:localhost]

2021-03-24 22:40:36 | [Mutex] received everything.

2021-03-24 22:40:36 | [Mutex] isItemNotified: received:node:2fda9b29-900e-402f-8311-139a42cc7787:localhost:node-289b6d6e-392c-4246-9f7c-f5a5143efd17:Node 289b6d6e-392c-4246-9f7c-f5a5143efd17 :: true

2021-03-24 22:40:36 | [Mutex] waiting for: [received:nodes:9163e3f6-f5c6-460e-9b09-3ad2041bbfda:localhost]

2021-03-24 22:40:36 | [Mutex] received everything.

2021-03-24 22:40:36 | [Mutex] isItemNotified: received:node:9163e3f6-f5c6-460e-9b09-3ad2041bbfda:localhost:node-289b6d6e-392c-4246-9f7c-f5a5143efd17:Node 289b6d6e-392c-4246-9f7c-f5a5143efd17 :: false

createNodes 1.610s
2021-03-24 22:40:32 |

2021-03-24 22:40:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:40:32 | ------------------------------------

2021-03-24 22:40:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-289b6d6e-392c-4246-9f7c-f5a5143efd17</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 289b6d6e-392c-4246-9f7c-f5a5143efd17</title></pubsub></data>

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

2021-03-24 22:40:33 | [Mutex] waiting for: [received:nodes:065c3918-eba2-4c28-a1e4-7091cd39ca1a:localhost]

2021-03-24 22:40:33 | [Mutex] received everything.

2021-03-24 22:40:33 | [Mutex] isItemNotified: received:node:065c3918-eba2-4c28-a1e4-7091cd39ca1a:localhost:node-289b6d6e-392c-4246-9f7c-f5a5143efd17:Node 289b6d6e-392c-4246-9f7c-f5a5143efd17 :: true

createSubnodes 1.031s
2021-03-24 22:40:33 |

2021-03-24 22:40:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:40:33 | ------------------------------------

2021-03-24 22:40:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b295ddf1-56a9-4e18-8020-835d3403cd3e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b295ddf1-56a9-4e18-8020-835d3403cd3e</title></pubsub></data>

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

2021-03-24 22:40:34 | [Mutex] waiting for: [received:nodes:299f623a-1d0d-4b85-9821-86bddc7ea079:localhost]

2021-03-24 22:40:34 | [Mutex] received everything.

2021-03-24 22:40:34 | [Mutex] isItemNotified: received:node:299f623a-1d0d-4b85-9821-86bddc7ea079:localhost:node-b295ddf1-56a9-4e18-8020-835d3403cd3e:Node b295ddf1-56a9-4e18-8020-835d3403cd3e :: true

deleteNodes 1.018s
2021-03-24 22:40:40 |

2021-03-24 22:40:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:40:40 | ------------------------------------

2021-03-24 22:40:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b295ddf1-56a9-4e18-8020-835d3403cd3e</node></data>

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

2021-03-24 22:40:41 | [Mutex] waiting for: [received:nodes:33330ae1-14a4-41a0-9252-60db3367914e:localhost]

2021-03-24 22:40:41 | [Mutex] received everything.

2021-03-24 22:40:41 | [Mutex] isItemNotified: received:node:33330ae1-14a4-41a0-9252-60db3367914e:localhost:node-b295ddf1-56a9-4e18-8020-835d3403cd3e:Node b295ddf1-56a9-4e18-8020-835d3403cd3e :: false

deleteSubnodes 1.117s
2021-03-24 22:40:39 |

2021-03-24 22:40:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:40:39 | ------------------------------------

2021-03-24 22:40:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-289b6d6e-392c-4246-9f7c-f5a5143efd17</node></data>

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

2021-03-24 22:40:40 | [Mutex] waiting for: [received:nodes:3e196ba6-e4e6-4d4d-833d-d02d957d8b65:localhost]

2021-03-24 22:40:40 | [Mutex] received everything.

2021-03-24 22:40:40 | [Mutex] isItemNotified: received:node:3e196ba6-e4e6-4d4d-833d-d02d957d8b65:localhost:node-289b6d6e-392c-4246-9f7c-f5a5143efd17:Node 289b6d6e-392c-4246-9f7c-f5a5143efd17 :: false

2021-03-24 22:40:40 | [Mutex] waiting for: [received:nodes:27e3bae6-459b-45ac-836d-842d61857054:localhost]

2021-03-24 22:40:40 | [Mutex] received everything.

2021-03-24 22:40:40 | [Mutex] isItemNotified: received:node:27e3bae6-459b-45ac-836d-842d61857054:localhost:node-289b6d6e-392c-4246-9f7c-f5a5143efd17:Node 289b6d6e-392c-4246-9f7c-f5a5143efd17 :: false

publishItemsToNodes 0.210s
2021-03-24 22:40:37 |

2021-03-24 22:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:40:37 | ------------------------------------

2021-03-24 22:40:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-289b6d6e-392c-4246-9f7c-f5a5143efd17</node><item-id>item-7b85e0a0-3204-44f0-9b76-065c417b6298</item-id><entry><test>item-7b85e0a0-3204-44f0-9b76-065c417b6298</test></entry></data>

2021-03-24 22:40:37 | 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-7b85e0a0-3204-44f0-9b76-065c417b6298</value></item-id></result>

2021-03-24 22:40:37 | [Mutex] received everything.

2021-03-24 22:40:37 | [Mutex] isItemNotified: published:item:notifieditem-7b85e0a0-3204-44f0-9b76-065c417b6298:admin@test-domain.com :: true

retractItemsFromNodes 0.179s
2021-03-24 22:40:37 |

2021-03-24 22:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:40:37 | ------------------------------------

2021-03-24 22:40:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-289b6d6e-392c-4246-9f7c-f5a5143efd17</node><item-id>item-7b85e0a0-3204-44f0-9b76-065c417b6298</item-id></data>

2021-03-24 22:40:37 | 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-7b85e0a0-3204-44f0-9b76-065c417b6298</value></item-id></result>

2021-03-24 22:40:37 | [Mutex] received everything.

2021-03-24 22:40:37 | [Mutex] isItemNotified: retracted:item:notifieditem-7b85e0a0-3204-44f0-9b76-065c417b6298:admin@test-domain.com :: true

retrieveItemsFromNodes 0.232s
2021-03-24 22:40:37 |

2021-03-24 22:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:40:37 | ------------------------------------

2021-03-24 22:40:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-289b6d6e-392c-4246-9f7c-f5a5143efd17</node><item-id>item-7b85e0a0-3204-44f0-9b76-065c417b6298</item-id></data>

2021-03-24 22:40:37 | 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-289b6d6e-392c-4246-9f7c-f5a5143efd17</value></node><item-id label="Item ID" type="text-single"><value>item-7b85e0a0-3204-44f0-9b76-065c417b6298</value></item-id><item label="Item" type="text-multi"><value><item id="item-7b85e0a0-3204-44f0-9b76-065c417b6298"><test>item-7b85e0a0-3204-44f0-9b76-065c417b6298</test></item></value></item></result>

2021-03-24 22:40:37 | [Mutex] notify: [retrieved:item:item-7b85e0a0-3204-44f0-9b76-065c417b6298:payload-matches:true:localhost]

2021-03-24 22:40:37 | [Mutex] received everything.

2021-03-24 22:40:37 | [Mutex] isItemNotified: retrieved:item:item-7b85e0a0-3204-44f0-9b76-065c417b6298:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-03-24 22:40:37 |

2021-03-24 22:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:40:37 | ------------------------------------

2021-03-24 22:40:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-24 22:40:37 | 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-b295ddf1-56a9-4e18-8020-835d3403cd3e</value><value>node-289b6d6e-392c-4246-9f7c-f5a5143efd17</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-03-24 22:40:37 |

2021-03-24 22:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:40:37 | ------------------------------------

2021-03-24 22:40:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-289b6d6e-392c-4246-9f7c-f5a5143efd17)</node-pattern></data>

2021-03-24 22:40:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.097s
2021-03-24 22:40:36 |

2021-03-24 22:40:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:40:36 | ------------------------------------

2021-03-24 22:40:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-289b6d6e-392c-4246-9f7c-f5a5143efd17</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.392s
2021-03-24 22:40:37 |

2021-03-24 22:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:40:37 | ------------------------------------

2021-03-24 22:40:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-289b6d6e-392c-4246-9f7c-f5a5143efd17</node><jids><value>admin@test-domain.com</value></jids></data>

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