Generated by TestNG with ReportNG at 21:47 PST on Tuesday 15 February 2022
root@785cf647a4ab / 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.468s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.109s
2022-02-15 22:03:20 |

2022-02-15 22:03:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 22:03:20 | ------------------------------------

2022-02-15 22:03:20 | [Mutex] waiting for: [configured:node:node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d:node-464f2b74-8ff8-4780-9433-2be94d53b254]

2022-02-15 22:03:20 | [Mutex] received everything.

2022-02-15 22:03:20 | [Mutex] isItemNotified: configured:node:node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d:node-464f2b74-8ff8-4780-9433-2be94d53b254 :: true

2022-02-15 22:03:21 | [Mutex] waiting for: [received:nodes:127e357f-5d45-443d-a09f-943ea0cf720f:localhost]

2022-02-15 22:03:21 | [Mutex] waiting for: [received:nodes:127e357f-5d45-443d-a09f-943ea0cf720f:localhost]

2022-02-15 22:03:21 | [Mutex] received everything.

2022-02-15 22:03:21 | [Mutex] isItemNotified: received:node:127e357f-5d45-443d-a09f-943ea0cf720f:localhost:node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d:Node 3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d :: true

2022-02-15 22:03:21 | [Mutex] waiting for: [received:nodes:b3577b19-1228-41e4-af37-960216fee94e:localhost]

2022-02-15 22:03:21 | [Mutex] waiting for: [received:nodes:b3577b19-1228-41e4-af37-960216fee94e:localhost]

2022-02-15 22:03:21 | [Mutex] received everything.

2022-02-15 22:03:21 | [Mutex] isItemNotified: received:node:b3577b19-1228-41e4-af37-960216fee94e:localhost:node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d:Node 3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d :: false

createNodes 1.637s
2022-02-15 22:03:17 |

2022-02-15 22:03:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 22:03:17 | ------------------------------------

2022-02-15 22:03:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d</title></pubsub></data>

2022-02-15 22:03:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-15 22:03:19 | [Mutex] waiting for: [received:nodes:ec623ebc-bdc5-4887-ab9d-2600d16fa335:localhost]

2022-02-15 22:03:19 | [Mutex] received everything.

2022-02-15 22:03:19 | [Mutex] isItemNotified: received:node:ec623ebc-bdc5-4887-ab9d-2600d16fa335:localhost:node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d:Node 3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d :: true

createSubnodes 1.033s
2022-02-15 22:03:19 |

2022-02-15 22:03:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 22:03:19 | ------------------------------------

2022-02-15 22:03:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-464f2b74-8ff8-4780-9433-2be94d53b254</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 464f2b74-8ff8-4780-9433-2be94d53b254</title></pubsub></data>

2022-02-15 22:03:19 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-15 22:03:20 | [Mutex] waiting for: [received:nodes:b112f61e-d583-4189-9fc3-1b228c17fe4f:localhost]

2022-02-15 22:03:20 | [Mutex] waiting for: [received:nodes:b112f61e-d583-4189-9fc3-1b228c17fe4f:localhost]

2022-02-15 22:03:20 | [Mutex] received everything.

2022-02-15 22:03:20 | [Mutex] isItemNotified: received:node:b112f61e-d583-4189-9fc3-1b228c17fe4f:localhost:node-464f2b74-8ff8-4780-9433-2be94d53b254:Node 464f2b74-8ff8-4780-9433-2be94d53b254 :: true

deleteNodes 1.020s
2022-02-15 22:03:26 |

2022-02-15 22:03:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 22:03:26 | ------------------------------------

2022-02-15 22:03:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-464f2b74-8ff8-4780-9433-2be94d53b254</node></data>

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

2022-02-15 22:03:27 | [Mutex] waiting for: [received:nodes:39fa78f5-5928-4cbd-8458-c8be614c0620:localhost]

2022-02-15 22:03:27 | [Mutex] received everything.

2022-02-15 22:03:27 | [Mutex] isItemNotified: received:node:39fa78f5-5928-4cbd-8458-c8be614c0620:localhost:node-464f2b74-8ff8-4780-9433-2be94d53b254:Node 464f2b74-8ff8-4780-9433-2be94d53b254 :: false

deleteSubnodes 1.138s
2022-02-15 22:03:25 |

2022-02-15 22:03:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 22:03:25 | ------------------------------------

2022-02-15 22:03:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d</node></data>

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

2022-02-15 22:03:26 | [Mutex] waiting for: [received:nodes:18fb83c8-8f34-42f4-b326-4f461bf0e5d1:localhost]

2022-02-15 22:03:26 | [Mutex] received everything.

2022-02-15 22:03:26 | [Mutex] isItemNotified: received:node:18fb83c8-8f34-42f4-b326-4f461bf0e5d1:localhost:node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d:Node 3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d :: false

2022-02-15 22:03:26 | [Mutex] waiting for: [received:nodes:ab6055d1-b5c2-4505-ae80-072caa5422c1:localhost]

2022-02-15 22:03:26 | [Mutex] received everything.

2022-02-15 22:03:26 | [Mutex] isItemNotified: received:node:ab6055d1-b5c2-4505-ae80-072caa5422c1:localhost:node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d:Node 3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d :: false

publishItemsToNodes 0.268s
2022-02-15 22:03:22 |

2022-02-15 22:03:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 22:03:22 | ------------------------------------

2022-02-15 22:03:22 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d</node><item-id>item-bf6ce38e-c6d3-475a-99bf-cb68ef290293</item-id><entry><test>item-bf6ce38e-c6d3-475a-99bf-cb68ef290293</test></entry></data>

2022-02-15 22:03:23 | 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-bf6ce38e-c6d3-475a-99bf-cb68ef290293</value></item-id></result>

2022-02-15 22:03:23 | [Mutex] received everything.

2022-02-15 22:03:23 | [Mutex] isItemNotified: published:item:notifieditem-bf6ce38e-c6d3-475a-99bf-cb68ef290293:admin@test-domain.com :: true

retractItemsFromNodes 0.197s
2022-02-15 22:03:23 |

2022-02-15 22:03:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 22:03:23 | ------------------------------------

2022-02-15 22:03:23 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d</node><item-id>item-bf6ce38e-c6d3-475a-99bf-cb68ef290293</item-id></data>

2022-02-15 22:03:23 | 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-bf6ce38e-c6d3-475a-99bf-cb68ef290293</value></item-id></result>

2022-02-15 22:03:23 | [Mutex] waiting for: [retracted:item:notifieditem-bf6ce38e-c6d3-475a-99bf-cb68ef290293:admin@test-domain.com]

2022-02-15 22:03:23 | [Mutex] received everything.

2022-02-15 22:03:23 | [Mutex] isItemNotified: retracted:item:notifieditem-bf6ce38e-c6d3-475a-99bf-cb68ef290293:admin@test-domain.com :: true

retrieveItemsFromNodes 0.430s
2022-02-15 22:03:23 |

2022-02-15 22:03:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 22:03:23 | ------------------------------------

2022-02-15 22:03:23 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d</node><item-id>item-bf6ce38e-c6d3-475a-99bf-cb68ef290293</item-id></data>

2022-02-15 22:03:23 | 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-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d</value></node><item-id label="Item ID" type="text-single"><value>item-bf6ce38e-c6d3-475a-99bf-cb68ef290293</value></item-id><item label="Item" type="text-multi"><value><item id="item-bf6ce38e-c6d3-475a-99bf-cb68ef290293"><test>item-bf6ce38e-c6d3-475a-99bf-cb68ef290293</test></item></value></item></result>

2022-02-15 22:03:23 | [Mutex] notify: [retrieved:item:item-bf6ce38e-c6d3-475a-99bf-cb68ef290293:payload-matches:true:localhost]

2022-02-15 22:03:23 | [Mutex] received everything.

2022-02-15 22:03:23 | [Mutex] isItemNotified: retrieved:item:item-bf6ce38e-c6d3-475a-99bf-cb68ef290293:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-15 22:03:23 |

2022-02-15 22:03:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 22:03:23 | ------------------------------------

2022-02-15 22:03:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-15 22:03:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-464f2b74-8ff8-4780-9433-2be94d53b254</value><value>test</value><value>node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-15 22:03:23 |

2022-02-15 22:03:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 22:03:23 | ------------------------------------

2022-02-15 22:03:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d)</node-pattern></data>

2022-02-15 22:03:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.187s
2022-02-15 22:03:21 |

2022-02-15 22:03:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 22:03:21 | ------------------------------------

2022-02-15 22:03:21 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-15 22:03:21 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.365s
2022-02-15 22:03:23 |

2022-02-15 22:03:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 22:03:23 | ------------------------------------

2022-02-15 22:03:23 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3e5c5c75-ccf1-4a0f-a1c7-a60f0e5e9f6d</node><jids><value>admin@test-domain.com</value></jids></data>

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