Generated by TestNG with ReportNG at 20:44 PDT on Wednesday 05 July 2023
root@8f5c98824654 / Java 17.0.6 (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.466s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2023-07-05 20:58:32 |

2023-07-05 20:58:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 20:58:32 | ------------------------------------

2023-07-05 20:58:32 | [Mutex] waiting for: [configured:node:node-4cc025d4-83b5-4c6c-8347-652e01e100dc:node-f15d9836-c6b5-4d3a-8a17-14b908cd7411]

2023-07-05 20:58:32 | [Mutex] received everything.

2023-07-05 20:58:32 | [Mutex] isItemNotified: configured:node:node-4cc025d4-83b5-4c6c-8347-652e01e100dc:node-f15d9836-c6b5-4d3a-8a17-14b908cd7411 :: true

2023-07-05 20:58:33 | [Mutex] waiting for: [received:nodes:fbb60cd5-2ae5-47ee-8d69-8f41e9f4673c:localhost]

2023-07-05 20:58:33 | [Mutex] received everything.

2023-07-05 20:58:33 | [Mutex] isItemNotified: received:node:fbb60cd5-2ae5-47ee-8d69-8f41e9f4673c:localhost:node-4cc025d4-83b5-4c6c-8347-652e01e100dc:Node 4cc025d4-83b5-4c6c-8347-652e01e100dc :: true

2023-07-05 20:58:33 | [Mutex] waiting for: [received:nodes:6fb181b9-06f4-4f18-a375-54bf168bf597:localhost]

2023-07-05 20:58:33 | [Mutex] waiting for: [received:nodes:6fb181b9-06f4-4f18-a375-54bf168bf597:localhost]

2023-07-05 20:58:33 | [Mutex] waiting for: [received:nodes:6fb181b9-06f4-4f18-a375-54bf168bf597:localhost]

2023-07-05 20:58:33 | [Mutex] received everything.

2023-07-05 20:58:33 | [Mutex] isItemNotified: received:node:6fb181b9-06f4-4f18-a375-54bf168bf597:localhost:node-4cc025d4-83b5-4c6c-8347-652e01e100dc:Node 4cc025d4-83b5-4c6c-8347-652e01e100dc :: false

createNodes 1.429s
2023-07-05 20:58:30 |

2023-07-05 20:58:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 20:58:30 | ------------------------------------

2023-07-05 20:58:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4cc025d4-83b5-4c6c-8347-652e01e100dc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4cc025d4-83b5-4c6c-8347-652e01e100dc</title></pubsub></data>

2023-07-05 20:58:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-05 20:58:31 | [Mutex] waiting for: [received:nodes:5eccc76b-b3f0-4c32-a39d-b22d1687782c:localhost]

2023-07-05 20:58:31 | [Mutex] waiting for: [received:nodes:5eccc76b-b3f0-4c32-a39d-b22d1687782c:localhost]

2023-07-05 20:58:31 | [Mutex] waiting for: [received:nodes:5eccc76b-b3f0-4c32-a39d-b22d1687782c:localhost]

2023-07-05 20:58:31 | [Mutex] waiting for: [received:nodes:5eccc76b-b3f0-4c32-a39d-b22d1687782c:localhost]

2023-07-05 20:58:31 | [Mutex] received everything.

2023-07-05 20:58:31 | [Mutex] isItemNotified: received:node:5eccc76b-b3f0-4c32-a39d-b22d1687782c:localhost:node-4cc025d4-83b5-4c6c-8347-652e01e100dc:Node 4cc025d4-83b5-4c6c-8347-652e01e100dc :: true

createSubnodes 1.028s
2023-07-05 20:58:31 |

2023-07-05 20:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 20:58:31 | ------------------------------------

2023-07-05 20:58:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f15d9836-c6b5-4d3a-8a17-14b908cd7411</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f15d9836-c6b5-4d3a-8a17-14b908cd7411</title></pubsub></data>

2023-07-05 20:58:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-05 20:58:32 | [Mutex] waiting for: [received:nodes:d63b7553-fbd7-4311-bdb3-eb18e456a39b:localhost]

2023-07-05 20:58:32 | [Mutex] waiting for: [received:nodes:d63b7553-fbd7-4311-bdb3-eb18e456a39b:localhost]

2023-07-05 20:58:32 | [Mutex] waiting for: [received:nodes:d63b7553-fbd7-4311-bdb3-eb18e456a39b:localhost]

2023-07-05 20:58:32 | [Mutex] received everything.

2023-07-05 20:58:32 | [Mutex] isItemNotified: received:node:d63b7553-fbd7-4311-bdb3-eb18e456a39b:localhost:node-f15d9836-c6b5-4d3a-8a17-14b908cd7411:Node f15d9836-c6b5-4d3a-8a17-14b908cd7411 :: true

deleteNodes 1.022s
2023-07-05 20:58:38 |

2023-07-05 20:58:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 20:58:38 | ------------------------------------

2023-07-05 20:58:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f15d9836-c6b5-4d3a-8a17-14b908cd7411</node></data>

2023-07-05 20:58:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-05 20:58:39 | [Mutex] waiting for: [received:nodes:39730dcb-5060-495e-85fa-52889d292889:localhost]

2023-07-05 20:58:39 | [Mutex] waiting for: [received:nodes:39730dcb-5060-495e-85fa-52889d292889:localhost]

2023-07-05 20:58:39 | [Mutex] waiting for: [received:nodes:39730dcb-5060-495e-85fa-52889d292889:localhost]

2023-07-05 20:58:39 | [Mutex] received everything.

2023-07-05 20:58:39 | [Mutex] isItemNotified: received:node:39730dcb-5060-495e-85fa-52889d292889:localhost:node-f15d9836-c6b5-4d3a-8a17-14b908cd7411:Node f15d9836-c6b5-4d3a-8a17-14b908cd7411 :: false

deleteSubnodes 1.113s
2023-07-05 20:58:37 |

2023-07-05 20:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 20:58:37 | ------------------------------------

2023-07-05 20:58:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4cc025d4-83b5-4c6c-8347-652e01e100dc</node></data>

2023-07-05 20:58:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-05 20:58:38 | [Mutex] waiting for: [received:nodes:45dca2c4-40fe-4979-a5ff-47d9bc8ca8f6:localhost]

2023-07-05 20:58:38 | [Mutex] waiting for: [received:nodes:45dca2c4-40fe-4979-a5ff-47d9bc8ca8f6:localhost]

2023-07-05 20:58:38 | [Mutex] waiting for: [received:nodes:45dca2c4-40fe-4979-a5ff-47d9bc8ca8f6:localhost]

2023-07-05 20:58:38 | [Mutex] received everything.

2023-07-05 20:58:38 | [Mutex] isItemNotified: received:node:45dca2c4-40fe-4979-a5ff-47d9bc8ca8f6:localhost:node-4cc025d4-83b5-4c6c-8347-652e01e100dc:Node 4cc025d4-83b5-4c6c-8347-652e01e100dc :: false

2023-07-05 20:58:38 | [Mutex] waiting for: [received:nodes:eed468c4-b85c-46be-9a8a-8683ddc21e12:localhost]

2023-07-05 20:58:38 | [Mutex] received everything.

2023-07-05 20:58:38 | [Mutex] isItemNotified: received:node:eed468c4-b85c-46be-9a8a-8683ddc21e12:localhost:node-4cc025d4-83b5-4c6c-8347-652e01e100dc:Node 4cc025d4-83b5-4c6c-8347-652e01e100dc :: false

publishItemsToNodes 0.223s
2023-07-05 20:58:34 |

2023-07-05 20:58:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 20:58:34 | ------------------------------------

2023-07-05 20:58:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4cc025d4-83b5-4c6c-8347-652e01e100dc</node><item-id>item-855066a2-f9cd-4e76-b70c-e17bc77878ca</item-id><entry><test>item-855066a2-f9cd-4e76-b70c-e17bc77878ca</test></entry></data>

2023-07-05 20:58:35 | 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-855066a2-f9cd-4e76-b70c-e17bc77878ca</value></item-id></result>

2023-07-05 20:58:35 | [Mutex] received everything.

2023-07-05 20:58:35 | [Mutex] isItemNotified: published:item:notifieditem-855066a2-f9cd-4e76-b70c-e17bc77878ca:admin@test-domain.com :: true

retractItemsFromNodes 0.246s
2023-07-05 20:58:35 |

2023-07-05 20:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 20:58:35 | ------------------------------------

2023-07-05 20:58:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4cc025d4-83b5-4c6c-8347-652e01e100dc</node><item-id>item-855066a2-f9cd-4e76-b70c-e17bc77878ca</item-id></data>

2023-07-05 20:58:35 | 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-855066a2-f9cd-4e76-b70c-e17bc77878ca</value></item-id></result>

2023-07-05 20:58:35 | [Mutex] waiting for: [retracted:item:notifieditem-855066a2-f9cd-4e76-b70c-e17bc77878ca:admin@test-domain.com]

2023-07-05 20:58:35 | [Mutex] received everything.

2023-07-05 20:58:35 | [Mutex] isItemNotified: retracted:item:notifieditem-855066a2-f9cd-4e76-b70c-e17bc77878ca:admin@test-domain.com :: true

retrieveItemsFromNodes 0.240s
2023-07-05 20:58:35 |

2023-07-05 20:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 20:58:35 | ------------------------------------

2023-07-05 20:58:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4cc025d4-83b5-4c6c-8347-652e01e100dc</node><item-id>item-855066a2-f9cd-4e76-b70c-e17bc77878ca</item-id></data>

2023-07-05 20:58:35 | 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-4cc025d4-83b5-4c6c-8347-652e01e100dc</value></node><item-id type="text-single" label="Item ID"><value>item-855066a2-f9cd-4e76-b70c-e17bc77878ca</value></item-id><item type="text-multi" label="Item"><value><item id="item-855066a2-f9cd-4e76-b70c-e17bc77878ca"><test>item-855066a2-f9cd-4e76-b70c-e17bc77878ca</test></item></value></item></result>

2023-07-05 20:58:35 | [Mutex] notify: [retrieved:item:item-855066a2-f9cd-4e76-b70c-e17bc77878ca:payload-matches:true:localhost]

2023-07-05 20:58:35 | [Mutex] received everything.

2023-07-05 20:58:35 | [Mutex] isItemNotified: retrieved:item:item-855066a2-f9cd-4e76-b70c-e17bc77878ca:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-07-05 20:58:35 |

2023-07-05 20:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 20:58:35 | ------------------------------------

2023-07-05 20:58:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-05 20:58:35 | 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-f15d9836-c6b5-4d3a-8a17-14b908cd7411</value><value>node-4cc025d4-83b5-4c6c-8347-652e01e100dc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-05 20:58:35 |

2023-07-05 20:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 20:58:35 | ------------------------------------

2023-07-05 20:58:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4cc025d4-83b5-4c6c-8347-652e01e100dc)</node-pattern></data>

2023-07-05 20:58:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.145s
2023-07-05 20:58:33 |

2023-07-05 20:58:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 20:58:33 | ------------------------------------

2023-07-05 20:58:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4cc025d4-83b5-4c6c-8347-652e01e100dc</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-05 20:58:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.184s
2023-07-05 20:58:35 |

2023-07-05 20:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 20:58:35 | ------------------------------------

2023-07-05 20:58:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4cc025d4-83b5-4c6c-8347-652e01e100dc</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-05 20:58:36 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>