Generated by TestNG with ReportNG at 22:16 PDT on Sunday 06 August 2023
root@4fbf295f62bd / 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.714s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.130s
2023-08-06 22:31:14 |

2023-08-06 22:31:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:31:14 | ------------------------------------

2023-08-06 22:31:14 | [Mutex] waiting for: [configured:node:node-748f1068-a1bd-4a85-bd69-b57c59f33ea3:node-91ada7d3-ff32-4962-bb0f-83217502dd1c]

2023-08-06 22:31:14 | [Mutex] received everything.

2023-08-06 22:31:14 | [Mutex] isItemNotified: configured:node:node-748f1068-a1bd-4a85-bd69-b57c59f33ea3:node-91ada7d3-ff32-4962-bb0f-83217502dd1c :: true

2023-08-06 22:31:15 | [Mutex] waiting for: [received:nodes:833250a8-beab-4405-ac6f-28b8cced1e77:localhost]

2023-08-06 22:31:15 | [Mutex] received everything.

2023-08-06 22:31:15 | [Mutex] isItemNotified: received:node:833250a8-beab-4405-ac6f-28b8cced1e77:localhost:node-748f1068-a1bd-4a85-bd69-b57c59f33ea3:Node 748f1068-a1bd-4a85-bd69-b57c59f33ea3 :: true

2023-08-06 22:31:15 | [Mutex] waiting for: [received:nodes:6c7f4d47-ed20-4011-a7ef-098aba7e45b7:localhost]

2023-08-06 22:31:15 | [Mutex] received everything.

2023-08-06 22:31:15 | [Mutex] isItemNotified: received:node:6c7f4d47-ed20-4011-a7ef-098aba7e45b7:localhost:node-748f1068-a1bd-4a85-bd69-b57c59f33ea3:Node 748f1068-a1bd-4a85-bd69-b57c59f33ea3 :: false

createNodes 1.451s
2023-08-06 22:31:11 |

2023-08-06 22:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:31:11 | ------------------------------------

2023-08-06 22:31:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-748f1068-a1bd-4a85-bd69-b57c59f33ea3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 748f1068-a1bd-4a85-bd69-b57c59f33ea3</title></pubsub></data>

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

2023-08-06 22:31:13 | [Mutex] waiting for: [received:nodes:5f8983d3-4a6f-406f-b2e1-8d9fcd218e48:localhost]

2023-08-06 22:31:13 | [Mutex] waiting for: [received:nodes:5f8983d3-4a6f-406f-b2e1-8d9fcd218e48:localhost]

2023-08-06 22:31:13 | [Mutex] waiting for: [received:nodes:5f8983d3-4a6f-406f-b2e1-8d9fcd218e48:localhost]

2023-08-06 22:31:13 | [Mutex] waiting for: [received:nodes:5f8983d3-4a6f-406f-b2e1-8d9fcd218e48:localhost]

2023-08-06 22:31:13 | [Mutex] received everything.

2023-08-06 22:31:13 | [Mutex] isItemNotified: received:node:5f8983d3-4a6f-406f-b2e1-8d9fcd218e48:localhost:node-748f1068-a1bd-4a85-bd69-b57c59f33ea3:Node 748f1068-a1bd-4a85-bd69-b57c59f33ea3 :: true

createSubnodes 1.034s
2023-08-06 22:31:13 |

2023-08-06 22:31:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:31:13 | ------------------------------------

2023-08-06 22:31:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-91ada7d3-ff32-4962-bb0f-83217502dd1c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 91ada7d3-ff32-4962-bb0f-83217502dd1c</title></pubsub></data>

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

2023-08-06 22:31:14 | [Mutex] waiting for: [received:nodes:330a50a5-351c-4b6e-ae21-8ff8962568d7:localhost]

2023-08-06 22:31:14 | [Mutex] waiting for: [received:nodes:330a50a5-351c-4b6e-ae21-8ff8962568d7:localhost]

2023-08-06 22:31:14 | [Mutex] waiting for: [received:nodes:330a50a5-351c-4b6e-ae21-8ff8962568d7:localhost]

2023-08-06 22:31:14 | [Mutex] waiting for: [received:nodes:330a50a5-351c-4b6e-ae21-8ff8962568d7:localhost]

2023-08-06 22:31:14 | [Mutex] received everything.

2023-08-06 22:31:14 | [Mutex] isItemNotified: received:node:330a50a5-351c-4b6e-ae21-8ff8962568d7:localhost:node-91ada7d3-ff32-4962-bb0f-83217502dd1c:Node 91ada7d3-ff32-4962-bb0f-83217502dd1c :: true

deleteNodes 1.026s
2023-08-06 22:31:19 |

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

2023-08-06 22:31:19 | ------------------------------------

2023-08-06 22:31:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-91ada7d3-ff32-4962-bb0f-83217502dd1c</node></data>

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

2023-08-06 22:31:20 | [Mutex] waiting for: [received:nodes:1347995f-fce7-449e-81de-9bcca52e8533:localhost]

2023-08-06 22:31:20 | [Mutex] received everything.

2023-08-06 22:31:20 | [Mutex] isItemNotified: received:node:1347995f-fce7-449e-81de-9bcca52e8533:localhost:node-91ada7d3-ff32-4962-bb0f-83217502dd1c:Node 91ada7d3-ff32-4962-bb0f-83217502dd1c :: false

deleteSubnodes 1.121s
2023-08-06 22:31:18 |

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

2023-08-06 22:31:18 | ------------------------------------

2023-08-06 22:31:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-748f1068-a1bd-4a85-bd69-b57c59f33ea3</node></data>

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

2023-08-06 22:31:19 | [Mutex] waiting for: [received:nodes:e106972c-2b7f-41f0-9d54-6f1b2e117a83:localhost]

2023-08-06 22:31:19 | [Mutex] waiting for: [received:nodes:e106972c-2b7f-41f0-9d54-6f1b2e117a83:localhost]

2023-08-06 22:31:19 | [Mutex] waiting for: [received:nodes:e106972c-2b7f-41f0-9d54-6f1b2e117a83:localhost]

2023-08-06 22:31:19 | [Mutex] waiting for: [received:nodes:e106972c-2b7f-41f0-9d54-6f1b2e117a83:localhost]

2023-08-06 22:31:19 | [Mutex] received everything.

2023-08-06 22:31:19 | [Mutex] isItemNotified: received:node:e106972c-2b7f-41f0-9d54-6f1b2e117a83:localhost:node-748f1068-a1bd-4a85-bd69-b57c59f33ea3:Node 748f1068-a1bd-4a85-bd69-b57c59f33ea3 :: false

2023-08-06 22:31:19 | [Mutex] waiting for: [received:nodes:d43b30c8-3e37-4a74-9fa4-d5a37d0707eb:localhost]

2023-08-06 22:31:19 | [Mutex] received everything.

2023-08-06 22:31:19 | [Mutex] isItemNotified: received:node:d43b30c8-3e37-4a74-9fa4-d5a37d0707eb:localhost:node-748f1068-a1bd-4a85-bd69-b57c59f33ea3:Node 748f1068-a1bd-4a85-bd69-b57c59f33ea3 :: false

publishItemsToNodes 0.273s
2023-08-06 22:31:16 |

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

2023-08-06 22:31:16 | ------------------------------------

2023-08-06 22:31:16 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-748f1068-a1bd-4a85-bd69-b57c59f33ea3</node><item-id>item-ca3c1b89-e5c8-40f4-9578-d857d05afeb3</item-id><entry><test>item-ca3c1b89-e5c8-40f4-9578-d857d05afeb3</test></entry></data>

2023-08-06 22:31:16 | 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-ca3c1b89-e5c8-40f4-9578-d857d05afeb3</value></item-id></result>

2023-08-06 22:31:16 | [Mutex] waiting for: [published:item:notifieditem-ca3c1b89-e5c8-40f4-9578-d857d05afeb3:admin@test-domain.com]

2023-08-06 22:31:16 | [Mutex] received everything.

2023-08-06 22:31:16 | [Mutex] isItemNotified: published:item:notifieditem-ca3c1b89-e5c8-40f4-9578-d857d05afeb3:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2023-08-06 22:31:17 |

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

2023-08-06 22:31:17 | ------------------------------------

2023-08-06 22:31:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-748f1068-a1bd-4a85-bd69-b57c59f33ea3</node><item-id>item-ca3c1b89-e5c8-40f4-9578-d857d05afeb3</item-id></data>

2023-08-06 22:31:17 | 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-ca3c1b89-e5c8-40f4-9578-d857d05afeb3</value></item-id></result>

2023-08-06 22:31:17 | [Mutex] waiting for: [retracted:item:notifieditem-ca3c1b89-e5c8-40f4-9578-d857d05afeb3:admin@test-domain.com]

2023-08-06 22:31:17 | [Mutex] received everything.

2023-08-06 22:31:17 | [Mutex] isItemNotified: retracted:item:notifieditem-ca3c1b89-e5c8-40f4-9578-d857d05afeb3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.294s
2023-08-06 22:31:16 |

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

2023-08-06 22:31:16 | ------------------------------------

2023-08-06 22:31:16 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-748f1068-a1bd-4a85-bd69-b57c59f33ea3</node><item-id>item-ca3c1b89-e5c8-40f4-9578-d857d05afeb3</item-id></data>

2023-08-06 22:31:17 | 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-748f1068-a1bd-4a85-bd69-b57c59f33ea3</value></node><item-id type="text-single" label="Item ID"><value>item-ca3c1b89-e5c8-40f4-9578-d857d05afeb3</value></item-id><item type="text-multi" label="Item"><value><item id="item-ca3c1b89-e5c8-40f4-9578-d857d05afeb3"><test>item-ca3c1b89-e5c8-40f4-9578-d857d05afeb3</test></item></value></item></result>

2023-08-06 22:31:17 | [Mutex] notify: [retrieved:item:item-ca3c1b89-e5c8-40f4-9578-d857d05afeb3:payload-matches:true:localhost]

2023-08-06 22:31:17 | [Mutex] received everything.

2023-08-06 22:31:17 | [Mutex] isItemNotified: retrieved:item:item-ca3c1b89-e5c8-40f4-9578-d857d05afeb3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-08-06 22:31:17 |

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

2023-08-06 22:31:17 | ------------------------------------

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

2023-08-06 22:31:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-91ada7d3-ff32-4962-bb0f-83217502dd1c</value><value>node-748f1068-a1bd-4a85-bd69-b57c59f33ea3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-08-06 22:31:17 |

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

2023-08-06 22:31:17 | ------------------------------------

2023-08-06 22:31:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-748f1068-a1bd-4a85-bd69-b57c59f33ea3)</node-pattern></data>

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

subscribeNodes 1.184s
2023-08-06 22:31:15 |

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

2023-08-06 22:31:15 | ------------------------------------

2023-08-06 22:31:15 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-748f1068-a1bd-4a85-bd69-b57c59f33ea3</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.211s
2023-08-06 22:31:17 |

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

2023-08-06 22:31:17 | ------------------------------------

2023-08-06 22:31:17 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-748f1068-a1bd-4a85-bd69-b57c59f33ea3</node><jids><value>admin@test-domain.com</value></jids></data>

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