Generated by TestNG with ReportNG at 22:31 PDT on Sunday 27 August 2023
root@4cddc3fbde15 / Java 17.0.8 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.485s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2023-08-27 22:46:17 |

2023-08-27 22:46:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:46:17 | ------------------------------------

2023-08-27 22:46:17 | [Mutex] waiting for: [configured:node:node-09106e8c-d2ea-454f-85c7-7869f7aa1845:node-da5f5eb2-b6b5-4765-9123-8b9f128bc4e2]

2023-08-27 22:46:17 | [Mutex] received everything.

2023-08-27 22:46:17 | [Mutex] isItemNotified: configured:node:node-09106e8c-d2ea-454f-85c7-7869f7aa1845:node-da5f5eb2-b6b5-4765-9123-8b9f128bc4e2 :: true

2023-08-27 22:46:18 | [Mutex] waiting for: [received:nodes:dd5ed534-8e5e-4cf6-a7bf-ae23f296cfc0:localhost]

2023-08-27 22:46:18 | [Mutex] received everything.

2023-08-27 22:46:18 | [Mutex] isItemNotified: received:node:dd5ed534-8e5e-4cf6-a7bf-ae23f296cfc0:localhost:node-09106e8c-d2ea-454f-85c7-7869f7aa1845:Node 09106e8c-d2ea-454f-85c7-7869f7aa1845 :: true

2023-08-27 22:46:18 | [Mutex] waiting for: [received:nodes:44b69ba8-aebc-4e8e-9acb-43fffb8e4253:localhost]

2023-08-27 22:46:18 | [Mutex] waiting for: [received:nodes:44b69ba8-aebc-4e8e-9acb-43fffb8e4253:localhost]

2023-08-27 22:46:18 | [Mutex] waiting for: [received:nodes:44b69ba8-aebc-4e8e-9acb-43fffb8e4253:localhost]

2023-08-27 22:46:18 | [Mutex] received everything.

2023-08-27 22:46:18 | [Mutex] isItemNotified: received:node:44b69ba8-aebc-4e8e-9acb-43fffb8e4253:localhost:node-09106e8c-d2ea-454f-85c7-7869f7aa1845:Node 09106e8c-d2ea-454f-85c7-7869f7aa1845 :: false

createNodes 1.547s
2023-08-27 22:46:15 |

2023-08-27 22:46:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:46:15 | ------------------------------------

2023-08-27 22:46:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-09106e8c-d2ea-454f-85c7-7869f7aa1845</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 09106e8c-d2ea-454f-85c7-7869f7aa1845</title></pubsub></data>

2023-08-27 22:46:15 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-27 22:46:16 | [Mutex] waiting for: [received:nodes:d23ec1f7-3415-4404-bb7c-598ad73232c6:localhost]

2023-08-27 22:46:16 | [Mutex] waiting for: [received:nodes:d23ec1f7-3415-4404-bb7c-598ad73232c6:localhost]

2023-08-27 22:46:16 | [Mutex] waiting for: [received:nodes:d23ec1f7-3415-4404-bb7c-598ad73232c6:localhost]

2023-08-27 22:46:16 | [Mutex] waiting for: [received:nodes:d23ec1f7-3415-4404-bb7c-598ad73232c6:localhost]

2023-08-27 22:46:16 | [Mutex] received everything.

2023-08-27 22:46:16 | [Mutex] isItemNotified: received:node:d23ec1f7-3415-4404-bb7c-598ad73232c6:localhost:node-09106e8c-d2ea-454f-85c7-7869f7aa1845:Node 09106e8c-d2ea-454f-85c7-7869f7aa1845 :: true

createSubnodes 1.032s
2023-08-27 22:46:16 |

2023-08-27 22:46:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:46:16 | ------------------------------------

2023-08-27 22:46:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-da5f5eb2-b6b5-4765-9123-8b9f128bc4e2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node da5f5eb2-b6b5-4765-9123-8b9f128bc4e2</title></pubsub></data>

2023-08-27 22:46:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-27 22:46:17 | [Mutex] waiting for: [received:nodes:c7633e27-b58d-405d-ab10-bca6bc771bff:localhost]

2023-08-27 22:46:17 | [Mutex] waiting for: [received:nodes:c7633e27-b58d-405d-ab10-bca6bc771bff:localhost]

2023-08-27 22:46:17 | [Mutex] waiting for: [received:nodes:c7633e27-b58d-405d-ab10-bca6bc771bff:localhost]

2023-08-27 22:46:17 | [Mutex] waiting for: [received:nodes:c7633e27-b58d-405d-ab10-bca6bc771bff:localhost]

2023-08-27 22:46:17 | [Mutex] waiting for: [received:nodes:c7633e27-b58d-405d-ab10-bca6bc771bff:localhost]

2023-08-27 22:46:17 | [Mutex] received everything.

2023-08-27 22:46:17 | [Mutex] isItemNotified: received:node:c7633e27-b58d-405d-ab10-bca6bc771bff:localhost:node-da5f5eb2-b6b5-4765-9123-8b9f128bc4e2:Node da5f5eb2-b6b5-4765-9123-8b9f128bc4e2 :: true

deleteNodes 1.025s
2023-08-27 22:46:23 |

2023-08-27 22:46:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:46:23 | ------------------------------------

2023-08-27 22:46:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-da5f5eb2-b6b5-4765-9123-8b9f128bc4e2</node></data>

2023-08-27 22:46:23 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-27 22:46:24 | [Mutex] waiting for: [received:nodes:2ec8f350-0536-4b06-9e81-808a3228f6bc:localhost]

2023-08-27 22:46:24 | [Mutex] waiting for: [received:nodes:2ec8f350-0536-4b06-9e81-808a3228f6bc:localhost]

2023-08-27 22:46:24 | [Mutex] waiting for: [received:nodes:2ec8f350-0536-4b06-9e81-808a3228f6bc:localhost]

2023-08-27 22:46:24 | [Mutex] received everything.

2023-08-27 22:46:24 | [Mutex] isItemNotified: received:node:2ec8f350-0536-4b06-9e81-808a3228f6bc:localhost:node-da5f5eb2-b6b5-4765-9123-8b9f128bc4e2:Node da5f5eb2-b6b5-4765-9123-8b9f128bc4e2 :: false

deleteSubnodes 1.107s
2023-08-27 22:46:21 |

2023-08-27 22:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:46:21 | ------------------------------------

2023-08-27 22:46:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-09106e8c-d2ea-454f-85c7-7869f7aa1845</node></data>

2023-08-27 22:46:22 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-27 22:46:23 | [Mutex] waiting for: [received:nodes:b0d8b248-0565-4d4e-9620-d719177ca975:localhost]

2023-08-27 22:46:23 | [Mutex] received everything.

2023-08-27 22:46:23 | [Mutex] isItemNotified: received:node:b0d8b248-0565-4d4e-9620-d719177ca975:localhost:node-09106e8c-d2ea-454f-85c7-7869f7aa1845:Node 09106e8c-d2ea-454f-85c7-7869f7aa1845 :: false

2023-08-27 22:46:23 | [Mutex] waiting for: [received:nodes:024bdb8c-0c46-41ed-a175-d68e25acb4e6:localhost]

2023-08-27 22:46:23 | [Mutex] received everything.

2023-08-27 22:46:23 | [Mutex] isItemNotified: received:node:024bdb8c-0c46-41ed-a175-d68e25acb4e6:localhost:node-09106e8c-d2ea-454f-85c7-7869f7aa1845:Node 09106e8c-d2ea-454f-85c7-7869f7aa1845 :: false

publishItemsToNodes 0.184s
2023-08-27 22:46:19 |

2023-08-27 22:46:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:46:19 | ------------------------------------

2023-08-27 22:46:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-09106e8c-d2ea-454f-85c7-7869f7aa1845</node><item-id>item-8f2114d5-e4bf-4afe-86f0-4b4d9e51de69</item-id><entry><test>item-8f2114d5-e4bf-4afe-86f0-4b4d9e51de69</test></entry></data>

2023-08-27 22:46:20 | 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-8f2114d5-e4bf-4afe-86f0-4b4d9e51de69</value></item-id></result>

2023-08-27 22:46:20 | [Mutex] received everything.

2023-08-27 22:46:20 | [Mutex] isItemNotified: published:item:notifieditem-8f2114d5-e4bf-4afe-86f0-4b4d9e51de69:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2023-08-27 22:46:20 |

2023-08-27 22:46:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:46:20 | ------------------------------------

2023-08-27 22:46:20 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-09106e8c-d2ea-454f-85c7-7869f7aa1845</node><item-id>item-8f2114d5-e4bf-4afe-86f0-4b4d9e51de69</item-id></data>

2023-08-27 22:46:20 | 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-8f2114d5-e4bf-4afe-86f0-4b4d9e51de69</value></item-id></result>

2023-08-27 22:46:20 | [Mutex] received everything.

2023-08-27 22:46:20 | [Mutex] isItemNotified: retracted:item:notifieditem-8f2114d5-e4bf-4afe-86f0-4b4d9e51de69:admin@test-domain.com :: true

retrieveItemsFromNodes 0.247s
2023-08-27 22:46:20 |

2023-08-27 22:46:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:46:20 | ------------------------------------

2023-08-27 22:46:20 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-09106e8c-d2ea-454f-85c7-7869f7aa1845</node><item-id>item-8f2114d5-e4bf-4afe-86f0-4b4d9e51de69</item-id></data>

2023-08-27 22:46:20 | 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-09106e8c-d2ea-454f-85c7-7869f7aa1845</value></node><item-id type="text-single" label="Item ID"><value>item-8f2114d5-e4bf-4afe-86f0-4b4d9e51de69</value></item-id><item type="text-multi" label="Item"><value><item id="item-8f2114d5-e4bf-4afe-86f0-4b4d9e51de69"><test>item-8f2114d5-e4bf-4afe-86f0-4b4d9e51de69</test></item></value></item></result>

2023-08-27 22:46:20 | [Mutex] notify: [retrieved:item:item-8f2114d5-e4bf-4afe-86f0-4b4d9e51de69:payload-matches:true:localhost]

2023-08-27 22:46:20 | [Mutex] received everything.

2023-08-27 22:46:20 | [Mutex] isItemNotified: retrieved:item:item-8f2114d5-e4bf-4afe-86f0-4b4d9e51de69:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-08-27 22:46:20 |

2023-08-27 22:46:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:46:20 | ------------------------------------

2023-08-27 22:46:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-08-27 22:46:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-09106e8c-d2ea-454f-85c7-7869f7aa1845</value><value>test</value><value>node-da5f5eb2-b6b5-4765-9123-8b9f128bc4e2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-08-27 22:46:20 |

2023-08-27 22:46:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:46:20 | ------------------------------------

2023-08-27 22:46:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-09106e8c-d2ea-454f-85c7-7869f7aa1845)</node-pattern></data>

2023-08-27 22:46:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.116s
2023-08-27 22:46:18 |

2023-08-27 22:46:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:46:18 | ------------------------------------

2023-08-27 22:46:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-09106e8c-d2ea-454f-85c7-7869f7aa1845</node><jids><value>admin@test-domain.com</value></jids></data>

2023-08-27 22:46:18 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.183s
2023-08-27 22:46:20 |

2023-08-27 22:46:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:46:20 | ------------------------------------

2023-08-27 22:46:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-09106e8c-d2ea-454f-85c7-7869f7aa1845</node><jids><value>admin@test-domain.com</value></jids></data>

2023-08-27 22:46:20 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>