Generated by TestNG with ReportNG at 22:44 PDT on Wednesday 15 March 2023
root@ed1b7dd8a1b3 / Java 17.0.2 (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.420s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2023-03-15 22:59:19 |

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

2023-03-15 22:59:19 | ------------------------------------

2023-03-15 22:59:19 | [Mutex] waiting for: [configured:node:node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c:node-a233d31c-7bdc-40b1-a6ae-b0d82249f713]

2023-03-15 22:59:19 | [Mutex] received everything.

2023-03-15 22:59:19 | [Mutex] isItemNotified: configured:node:node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c:node-a233d31c-7bdc-40b1-a6ae-b0d82249f713 :: true

2023-03-15 22:59:20 | [Mutex] waiting for: [received:nodes:d3dc9353-f6e0-4aa5-9131-db3071b6674d:localhost]

2023-03-15 22:59:20 | [Mutex] received everything.

2023-03-15 22:59:20 | [Mutex] isItemNotified: received:node:d3dc9353-f6e0-4aa5-9131-db3071b6674d:localhost:node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c:Node cb605fae-ad3f-4b0e-91ab-8cef7951ac8c :: true

2023-03-15 22:59:20 | [Mutex] waiting for: [received:nodes:758bcd6e-8d59-4c4e-94e3-998f8b3ff32c:localhost]

2023-03-15 22:59:20 | [Mutex] waiting for: [received:nodes:758bcd6e-8d59-4c4e-94e3-998f8b3ff32c:localhost]

2023-03-15 22:59:20 | [Mutex] waiting for: [received:nodes:758bcd6e-8d59-4c4e-94e3-998f8b3ff32c:localhost]

2023-03-15 22:59:20 | [Mutex] waiting for: [received:nodes:758bcd6e-8d59-4c4e-94e3-998f8b3ff32c:localhost]

2023-03-15 22:59:20 | [Mutex] received everything.

2023-03-15 22:59:20 | [Mutex] isItemNotified: received:node:758bcd6e-8d59-4c4e-94e3-998f8b3ff32c:localhost:node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c:Node cb605fae-ad3f-4b0e-91ab-8cef7951ac8c :: false

createNodes 1.393s
2023-03-15 22:59:17 |

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

2023-03-15 22:59:17 | ------------------------------------

2023-03-15 22:59:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cb605fae-ad3f-4b0e-91ab-8cef7951ac8c</title></pubsub></data>

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

2023-03-15 22:59:18 | [Mutex] waiting for: [received:nodes:2f3d5b12-76ec-48fb-813f-2b38ecf8f871:localhost]

2023-03-15 22:59:18 | [Mutex] waiting for: [received:nodes:2f3d5b12-76ec-48fb-813f-2b38ecf8f871:localhost]

2023-03-15 22:59:18 | [Mutex] waiting for: [received:nodes:2f3d5b12-76ec-48fb-813f-2b38ecf8f871:localhost]

2023-03-15 22:59:18 | [Mutex] waiting for: [received:nodes:2f3d5b12-76ec-48fb-813f-2b38ecf8f871:localhost]

2023-03-15 22:59:18 | [Mutex] received everything.

2023-03-15 22:59:18 | [Mutex] isItemNotified: received:node:2f3d5b12-76ec-48fb-813f-2b38ecf8f871:localhost:node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c:Node cb605fae-ad3f-4b0e-91ab-8cef7951ac8c :: true

createSubnodes 1.024s
2023-03-15 22:59:18 |

2023-03-15 22:59:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 22:59:18 | ------------------------------------

2023-03-15 22:59:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a233d31c-7bdc-40b1-a6ae-b0d82249f713</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a233d31c-7bdc-40b1-a6ae-b0d82249f713</title></pubsub></data>

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

2023-03-15 22:59:19 | [Mutex] waiting for: [received:nodes:6db42d06-1b5e-43a5-a7a3-ddde8fdc0f95:localhost]

2023-03-15 22:59:19 | [Mutex] waiting for: [received:nodes:6db42d06-1b5e-43a5-a7a3-ddde8fdc0f95:localhost]

2023-03-15 22:59:19 | [Mutex] waiting for: [received:nodes:6db42d06-1b5e-43a5-a7a3-ddde8fdc0f95:localhost]

2023-03-15 22:59:19 | [Mutex] waiting for: [received:nodes:6db42d06-1b5e-43a5-a7a3-ddde8fdc0f95:localhost]

2023-03-15 22:59:19 | [Mutex] received everything.

2023-03-15 22:59:19 | [Mutex] isItemNotified: received:node:6db42d06-1b5e-43a5-a7a3-ddde8fdc0f95:localhost:node-a233d31c-7bdc-40b1-a6ae-b0d82249f713:Node a233d31c-7bdc-40b1-a6ae-b0d82249f713 :: true

deleteNodes 1.019s
2023-03-15 22:59:25 |

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

2023-03-15 22:59:25 | ------------------------------------

2023-03-15 22:59:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a233d31c-7bdc-40b1-a6ae-b0d82249f713</node></data>

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

2023-03-15 22:59:26 | [Mutex] waiting for: [received:nodes:8a9ae16e-62fa-41ba-959a-575152fad4ac:localhost]

2023-03-15 22:59:26 | [Mutex] waiting for: [received:nodes:8a9ae16e-62fa-41ba-959a-575152fad4ac:localhost]

2023-03-15 22:59:26 | [Mutex] waiting for: [received:nodes:8a9ae16e-62fa-41ba-959a-575152fad4ac:localhost]

2023-03-15 22:59:26 | [Mutex] received everything.

2023-03-15 22:59:26 | [Mutex] isItemNotified: received:node:8a9ae16e-62fa-41ba-959a-575152fad4ac:localhost:node-a233d31c-7bdc-40b1-a6ae-b0d82249f713:Node a233d31c-7bdc-40b1-a6ae-b0d82249f713 :: false

deleteSubnodes 1.119s
2023-03-15 22:59:23 |

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

2023-03-15 22:59:23 | ------------------------------------

2023-03-15 22:59:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c</node></data>

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

2023-03-15 22:59:25 | [Mutex] waiting for: [received:nodes:069ed2a1-ba61-4db5-a10e-308c83ba910f:localhost]

2023-03-15 22:59:25 | [Mutex] waiting for: [received:nodes:069ed2a1-ba61-4db5-a10e-308c83ba910f:localhost]

2023-03-15 22:59:25 | [Mutex] waiting for: [received:nodes:069ed2a1-ba61-4db5-a10e-308c83ba910f:localhost]

2023-03-15 22:59:25 | [Mutex] waiting for: [received:nodes:069ed2a1-ba61-4db5-a10e-308c83ba910f:localhost]

2023-03-15 22:59:25 | [Mutex] received everything.

2023-03-15 22:59:25 | [Mutex] isItemNotified: received:node:069ed2a1-ba61-4db5-a10e-308c83ba910f:localhost:node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c:Node cb605fae-ad3f-4b0e-91ab-8cef7951ac8c :: false

2023-03-15 22:59:25 | [Mutex] waiting for: [received:nodes:853b4398-b74e-40d0-8d01-f247370f53f3:localhost]

2023-03-15 22:59:25 | [Mutex] received everything.

2023-03-15 22:59:25 | [Mutex] isItemNotified: received:node:853b4398-b74e-40d0-8d01-f247370f53f3:localhost:node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c:Node cb605fae-ad3f-4b0e-91ab-8cef7951ac8c :: false

publishItemsToNodes 0.208s
2023-03-15 22:59:21 |

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

2023-03-15 22:59:21 | ------------------------------------

2023-03-15 22:59:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c</node><item-id>item-cff3bcd4-95a3-4dc1-a683-fa6f04f55271</item-id><entry><test>item-cff3bcd4-95a3-4dc1-a683-fa6f04f55271</test></entry></data>

2023-03-15 22:59:22 | 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-cff3bcd4-95a3-4dc1-a683-fa6f04f55271</value></item-id></result>

2023-03-15 22:59:22 | [Mutex] received everything.

2023-03-15 22:59:22 | [Mutex] isItemNotified: published:item:notifieditem-cff3bcd4-95a3-4dc1-a683-fa6f04f55271:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2023-03-15 22:59:22 |

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

2023-03-15 22:59:22 | ------------------------------------

2023-03-15 22:59:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c</node><item-id>item-cff3bcd4-95a3-4dc1-a683-fa6f04f55271</item-id></data>

2023-03-15 22:59:22 | 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-cff3bcd4-95a3-4dc1-a683-fa6f04f55271</value></item-id></result>

2023-03-15 22:59:22 | [Mutex] received everything.

2023-03-15 22:59:22 | [Mutex] isItemNotified: retracted:item:notifieditem-cff3bcd4-95a3-4dc1-a683-fa6f04f55271:admin@test-domain.com :: true

retrieveItemsFromNodes 0.289s
2023-03-15 22:59:22 |

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

2023-03-15 22:59:22 | ------------------------------------

2023-03-15 22:59:22 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c</node><item-id>item-cff3bcd4-95a3-4dc1-a683-fa6f04f55271</item-id></data>

2023-03-15 22:59:22 | 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-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c</value></node><item-id type="text-single" label="Item ID"><value>item-cff3bcd4-95a3-4dc1-a683-fa6f04f55271</value></item-id><item type="text-multi" label="Item"><value><item id="item-cff3bcd4-95a3-4dc1-a683-fa6f04f55271"><test>item-cff3bcd4-95a3-4dc1-a683-fa6f04f55271</test></item></value></item></result>

2023-03-15 22:59:22 | [Mutex] notify: [retrieved:item:item-cff3bcd4-95a3-4dc1-a683-fa6f04f55271:payload-matches:true:localhost]

2023-03-15 22:59:22 | [Mutex] received everything.

2023-03-15 22:59:22 | [Mutex] isItemNotified: retrieved:item:item-cff3bcd4-95a3-4dc1-a683-fa6f04f55271:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-15 22:59:22 |

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

2023-03-15 22:59:22 | ------------------------------------

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

2023-03-15 22:59:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c</value><value>node-a233d31c-7bdc-40b1-a6ae-b0d82249f713</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2023-03-15 22:59:22 |

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

2023-03-15 22:59:22 | ------------------------------------

2023-03-15 22:59:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c)</node-pattern></data>

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

subscribeNodes 1.115s
2023-03-15 22:59:20 |

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

2023-03-15 22:59:20 | ------------------------------------

2023-03-15 22:59:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.179s
2023-03-15 22:59:22 |

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

2023-03-15 22:59:22 | ------------------------------------

2023-03-15 22:59:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-cb605fae-ad3f-4b0e-91ab-8cef7951ac8c</node><jids><value>admin@test-domain.com</value></jids></data>

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