Generated by TestNG with ReportNG at 22:35 PDT on Tuesday 10 May 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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 : 9.892s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2022-05-10 22:49:43 |

2022-05-10 22:49:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:49:43 | ------------------------------------

2022-05-10 22:49:43 | [Mutex] waiting for: [configured:node:node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d:node-22176bee-2cde-49fe-8feb-50f06649d1f3]

2022-05-10 22:49:43 | [Mutex] received everything.

2022-05-10 22:49:43 | [Mutex] isItemNotified: configured:node:node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d:node-22176bee-2cde-49fe-8feb-50f06649d1f3 :: true

2022-05-10 22:49:44 | [Mutex] waiting for: [received:nodes:66f320e6-fabb-4e17-a327-9dacd3561ecd:localhost]

2022-05-10 22:49:44 | [Mutex] received everything.

2022-05-10 22:49:44 | [Mutex] isItemNotified: received:node:66f320e6-fabb-4e17-a327-9dacd3561ecd:localhost:node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d:Node d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d :: true

2022-05-10 22:49:44 | [Mutex] waiting for: [received:nodes:2979efbd-c1b7-4b07-b8e7-0c8b7e7b9cac:localhost]

2022-05-10 22:49:44 | [Mutex] received everything.

2022-05-10 22:49:44 | [Mutex] isItemNotified: received:node:2979efbd-c1b7-4b07-b8e7-0c8b7e7b9cac:localhost:node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d:Node d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d :: false

createNodes 1.489s
2022-05-10 22:49:40 |

2022-05-10 22:49:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:49:40 | ------------------------------------

2022-05-10 22:49:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d</title></pubsub></data>

2022-05-10 22:49:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-10 22:49:42 | [Mutex] waiting for: [received:nodes:c84bcfb0-cf0f-4547-ae6c-db7957dce1b2:localhost]

2022-05-10 22:49:42 | [Mutex] waiting for: [received:nodes:c84bcfb0-cf0f-4547-ae6c-db7957dce1b2:localhost]

2022-05-10 22:49:42 | [Mutex] received everything.

2022-05-10 22:49:42 | [Mutex] isItemNotified: received:node:c84bcfb0-cf0f-4547-ae6c-db7957dce1b2:localhost:node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d:Node d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d :: true

createSubnodes 1.022s
2022-05-10 22:49:42 |

2022-05-10 22:49:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:49:42 | ------------------------------------

2022-05-10 22:49:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-22176bee-2cde-49fe-8feb-50f06649d1f3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 22176bee-2cde-49fe-8feb-50f06649d1f3</title></pubsub></data>

2022-05-10 22:49:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-10 22:49:43 | [Mutex] waiting for: [received:nodes:83236add-55c7-4c4c-8db2-18138694f000:localhost]

2022-05-10 22:49:43 | [Mutex] received everything.

2022-05-10 22:49:43 | [Mutex] isItemNotified: received:node:83236add-55c7-4c4c-8db2-18138694f000:localhost:node-22176bee-2cde-49fe-8feb-50f06649d1f3:Node 22176bee-2cde-49fe-8feb-50f06649d1f3 :: true

deleteNodes 1.021s
2022-05-10 22:49:48 |

2022-05-10 22:49:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:49:48 | ------------------------------------

2022-05-10 22:49:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-22176bee-2cde-49fe-8feb-50f06649d1f3</node></data>

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

2022-05-10 22:49:49 | [Mutex] waiting for: [received:nodes:168256b2-16a9-4623-89dd-12607cff5a12:localhost]

2022-05-10 22:49:49 | [Mutex] received everything.

2022-05-10 22:49:49 | [Mutex] isItemNotified: received:node:168256b2-16a9-4623-89dd-12607cff5a12:localhost:node-22176bee-2cde-49fe-8feb-50f06649d1f3:Node 22176bee-2cde-49fe-8feb-50f06649d1f3 :: false

deleteSubnodes 1.137s
2022-05-10 22:49:47 |

2022-05-10 22:49:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:49:47 | ------------------------------------

2022-05-10 22:49:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d</node></data>

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

2022-05-10 22:49:48 | [Mutex] waiting for: [received:nodes:23f4d5b5-0d69-47b3-b165-004be4afb172:localhost]

2022-05-10 22:49:48 | [Mutex] waiting for: [received:nodes:23f4d5b5-0d69-47b3-b165-004be4afb172:localhost]

2022-05-10 22:49:48 | [Mutex] waiting for: [received:nodes:23f4d5b5-0d69-47b3-b165-004be4afb172:localhost]

2022-05-10 22:49:48 | [Mutex] received everything.

2022-05-10 22:49:48 | [Mutex] isItemNotified: received:node:23f4d5b5-0d69-47b3-b165-004be4afb172:localhost:node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d:Node d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d :: false

2022-05-10 22:49:48 | [Mutex] waiting for: [received:nodes:f910de15-978b-4b62-8155-f1002903373f:localhost]

2022-05-10 22:49:48 | [Mutex] received everything.

2022-05-10 22:49:48 | [Mutex] isItemNotified: received:node:f910de15-978b-4b62-8155-f1002903373f:localhost:node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d:Node d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d :: false

publishItemsToNodes 0.203s
2022-05-10 22:49:45 |

2022-05-10 22:49:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:49:45 | ------------------------------------

2022-05-10 22:49:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d</node><item-id>item-1c29bc1f-f406-44ed-b644-36bb90e3fc06</item-id><entry><test>item-1c29bc1f-f406-44ed-b644-36bb90e3fc06</test></entry></data>

2022-05-10 22:49:45 | 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-1c29bc1f-f406-44ed-b644-36bb90e3fc06</value></item-id></result>

2022-05-10 22:49:45 | [Mutex] received everything.

2022-05-10 22:49:45 | [Mutex] isItemNotified: published:item:notifieditem-1c29bc1f-f406-44ed-b644-36bb90e3fc06:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2022-05-10 22:49:46 |

2022-05-10 22:49:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:49:46 | ------------------------------------

2022-05-10 22:49:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d</node><item-id>item-1c29bc1f-f406-44ed-b644-36bb90e3fc06</item-id></data>

2022-05-10 22:49:46 | 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-1c29bc1f-f406-44ed-b644-36bb90e3fc06</value></item-id></result>

2022-05-10 22:49:46 | [Mutex] received everything.

2022-05-10 22:49:46 | [Mutex] isItemNotified: retracted:item:notifieditem-1c29bc1f-f406-44ed-b644-36bb90e3fc06:admin@test-domain.com :: true

retrieveItemsFromNodes 0.326s
2022-05-10 22:49:45 |

2022-05-10 22:49:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:49:45 | ------------------------------------

2022-05-10 22:49:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d</node><item-id>item-1c29bc1f-f406-44ed-b644-36bb90e3fc06</item-id></data>

2022-05-10 22:49:46 | 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-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d</value></node><item-id label="Item ID" type="text-single"><value>item-1c29bc1f-f406-44ed-b644-36bb90e3fc06</value></item-id><item label="Item" type="text-multi"><value><item id="item-1c29bc1f-f406-44ed-b644-36bb90e3fc06"><test>item-1c29bc1f-f406-44ed-b644-36bb90e3fc06</test></item></value></item></result>

2022-05-10 22:49:46 | [Mutex] notify: [retrieved:item:item-1c29bc1f-f406-44ed-b644-36bb90e3fc06:payload-matches:true:localhost]

2022-05-10 22:49:46 | [Mutex] received everything.

2022-05-10 22:49:46 | [Mutex] isItemNotified: retrieved:item:item-1c29bc1f-f406-44ed-b644-36bb90e3fc06:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-10 22:49:46 |

2022-05-10 22:49:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:49:46 | ------------------------------------

2022-05-10 22:49:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-10 22:49:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-22176bee-2cde-49fe-8feb-50f06649d1f3</value><value>test</value><value>node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-10 22:49:46 |

2022-05-10 22:49:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:49:46 | ------------------------------------

2022-05-10 22:49:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d)</node-pattern></data>

2022-05-10 22:49:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.174s
2022-05-10 22:49:44 |

2022-05-10 22:49:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:49:44 | ------------------------------------

2022-05-10 22:49:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.235s
2022-05-10 22:49:46 |

2022-05-10 22:49:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 22:49:46 | ------------------------------------

2022-05-10 22:49:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d3c39e14-da3c-4dda-a1bd-2ae5774e4b4d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-10 22:49:46 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>