Generated by TestNG with ReportNG at 01:43 PST on Thursday 03 February 2022
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / 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 : 10.318s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2022-02-03 01:58:52 |

2022-02-03 01:58:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 01:58:52 | ------------------------------------

2022-02-03 01:58:52 | [Mutex] waiting for: [configured:node:node-b7aa3da3-bb1c-492d-8eba-154384b3edc0:node-cd84dd82-eea3-420a-8875-d3a7710c12f2]

2022-02-03 01:58:52 | [Mutex] received everything.

2022-02-03 01:58:52 | [Mutex] isItemNotified: configured:node:node-b7aa3da3-bb1c-492d-8eba-154384b3edc0:node-cd84dd82-eea3-420a-8875-d3a7710c12f2 :: true

2022-02-03 01:58:53 | [Mutex] waiting for: [received:nodes:ec2c8bdd-662d-4afb-8cfc-2fc2efda44ed:localhost]

2022-02-03 01:58:53 | [Mutex] received everything.

2022-02-03 01:58:53 | [Mutex] isItemNotified: received:node:ec2c8bdd-662d-4afb-8cfc-2fc2efda44ed:localhost:node-b7aa3da3-bb1c-492d-8eba-154384b3edc0:Node b7aa3da3-bb1c-492d-8eba-154384b3edc0 :: true

2022-02-03 01:58:53 | [Mutex] waiting for: [received:nodes:e405fbe4-c8f0-4ffe-ab2a-80548012accd:localhost]

2022-02-03 01:58:53 | [Mutex] received everything.

2022-02-03 01:58:53 | [Mutex] isItemNotified: received:node:e405fbe4-c8f0-4ffe-ab2a-80548012accd:localhost:node-b7aa3da3-bb1c-492d-8eba-154384b3edc0:Node b7aa3da3-bb1c-492d-8eba-154384b3edc0 :: false

createNodes 1.467s
2022-02-03 01:58:49 |

2022-02-03 01:58:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 01:58:49 | ------------------------------------

2022-02-03 01:58:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b7aa3da3-bb1c-492d-8eba-154384b3edc0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b7aa3da3-bb1c-492d-8eba-154384b3edc0</title></pubsub></data>

2022-02-03 01:58:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-03 01:58:51 | [Mutex] waiting for: [received:nodes:902768cd-7aad-4571-821a-22a375b3b0ce:localhost]

2022-02-03 01:58:51 | [Mutex] received everything.

2022-02-03 01:58:51 | [Mutex] isItemNotified: received:node:902768cd-7aad-4571-821a-22a375b3b0ce:localhost:node-b7aa3da3-bb1c-492d-8eba-154384b3edc0:Node b7aa3da3-bb1c-492d-8eba-154384b3edc0 :: true

createSubnodes 1.041s
2022-02-03 01:58:51 |

2022-02-03 01:58:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 01:58:51 | ------------------------------------

2022-02-03 01:58:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cd84dd82-eea3-420a-8875-d3a7710c12f2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cd84dd82-eea3-420a-8875-d3a7710c12f2</title></pubsub></data>

2022-02-03 01:58:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-03 01:58:52 | [Mutex] waiting for: [received:nodes:b35c79f0-dda1-456c-b75f-1120c7defaed:localhost]

2022-02-03 01:58:52 | [Mutex] received everything.

2022-02-03 01:58:52 | [Mutex] isItemNotified: received:node:b35c79f0-dda1-456c-b75f-1120c7defaed:localhost:node-cd84dd82-eea3-420a-8875-d3a7710c12f2:Node cd84dd82-eea3-420a-8875-d3a7710c12f2 :: true

deleteNodes 1.016s
2022-02-03 01:58:57 |

2022-02-03 01:58:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 01:58:57 | ------------------------------------

2022-02-03 01:58:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cd84dd82-eea3-420a-8875-d3a7710c12f2</node></data>

2022-02-03 01:58:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-03 01:58:58 | [Mutex] waiting for: [received:nodes:4a9e37c1-c7d8-4807-9e9a-ba430642b035:localhost]

2022-02-03 01:58:58 | [Mutex] received everything.

2022-02-03 01:58:58 | [Mutex] isItemNotified: received:node:4a9e37c1-c7d8-4807-9e9a-ba430642b035:localhost:node-cd84dd82-eea3-420a-8875-d3a7710c12f2:Node cd84dd82-eea3-420a-8875-d3a7710c12f2 :: false

deleteSubnodes 1.133s
2022-02-03 01:58:56 |

2022-02-03 01:58:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 01:58:56 | ------------------------------------

2022-02-03 01:58:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b7aa3da3-bb1c-492d-8eba-154384b3edc0</node></data>

2022-02-03 01:58:56 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-03 01:58:57 | [Mutex] waiting for: [received:nodes:5b7d7e0f-6926-46be-b87f-489e4c024245:localhost]

2022-02-03 01:58:57 | [Mutex] received everything.

2022-02-03 01:58:57 | [Mutex] isItemNotified: received:node:5b7d7e0f-6926-46be-b87f-489e4c024245:localhost:node-b7aa3da3-bb1c-492d-8eba-154384b3edc0:Node b7aa3da3-bb1c-492d-8eba-154384b3edc0 :: false

2022-02-03 01:58:57 | [Mutex] waiting for: [received:nodes:20093d18-4d31-4a1d-89d1-3720f263498a:localhost]

2022-02-03 01:58:57 | [Mutex] received everything.

2022-02-03 01:58:57 | [Mutex] isItemNotified: received:node:20093d18-4d31-4a1d-89d1-3720f263498a:localhost:node-b7aa3da3-bb1c-492d-8eba-154384b3edc0:Node b7aa3da3-bb1c-492d-8eba-154384b3edc0 :: false

publishItemsToNodes 0.290s
2022-02-03 01:58:54 |

2022-02-03 01:58:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 01:58:54 | ------------------------------------

2022-02-03 01:58:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b7aa3da3-bb1c-492d-8eba-154384b3edc0</node><item-id>item-ec85e65e-452b-4ecc-b40b-570bc3b61d5a</item-id><entry><test>item-ec85e65e-452b-4ecc-b40b-570bc3b61d5a</test></entry></data>

2022-02-03 01:58:54 | 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-ec85e65e-452b-4ecc-b40b-570bc3b61d5a</value></item-id></result>

2022-02-03 01:58:54 | [Mutex] waiting for: [published:item:notifieditem-ec85e65e-452b-4ecc-b40b-570bc3b61d5a:admin@test-domain.com]

2022-02-03 01:58:54 | [Mutex] received everything.

2022-02-03 01:58:54 | [Mutex] isItemNotified: published:item:notifieditem-ec85e65e-452b-4ecc-b40b-570bc3b61d5a:admin@test-domain.com :: true

retractItemsFromNodes 0.311s
2022-02-03 01:58:55 |

2022-02-03 01:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 01:58:55 | ------------------------------------

2022-02-03 01:58:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b7aa3da3-bb1c-492d-8eba-154384b3edc0</node><item-id>item-ec85e65e-452b-4ecc-b40b-570bc3b61d5a</item-id></data>

2022-02-03 01:58:55 | 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-ec85e65e-452b-4ecc-b40b-570bc3b61d5a</value></item-id></result>

2022-02-03 01:58:55 | [Mutex] received everything.

2022-02-03 01:58:55 | [Mutex] isItemNotified: retracted:item:notifieditem-ec85e65e-452b-4ecc-b40b-570bc3b61d5a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.241s
2022-02-03 01:58:54 |

2022-02-03 01:58:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 01:58:54 | ------------------------------------

2022-02-03 01:58:54 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b7aa3da3-bb1c-492d-8eba-154384b3edc0</node><item-id>item-ec85e65e-452b-4ecc-b40b-570bc3b61d5a</item-id></data>

2022-02-03 01:58:54 | 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-b7aa3da3-bb1c-492d-8eba-154384b3edc0</value></node><item-id type="text-single" label="Item ID"><value>item-ec85e65e-452b-4ecc-b40b-570bc3b61d5a</value></item-id><item type="text-multi" label="Item"><value><item id="item-ec85e65e-452b-4ecc-b40b-570bc3b61d5a"><test>item-ec85e65e-452b-4ecc-b40b-570bc3b61d5a</test></item></value></item></result>

2022-02-03 01:58:54 | [Mutex] notify: [retrieved:item:item-ec85e65e-452b-4ecc-b40b-570bc3b61d5a:payload-matches:true:localhost]

2022-02-03 01:58:54 | [Mutex] received everything.

2022-02-03 01:58:54 | [Mutex] isItemNotified: retrieved:item:item-ec85e65e-452b-4ecc-b40b-570bc3b61d5a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-02-03 01:58:54 |

2022-02-03 01:58:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 01:58:54 | ------------------------------------

2022-02-03 01:58:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-03 01:58:54 | 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-b7aa3da3-bb1c-492d-8eba-154384b3edc0</value><value>node-cd84dd82-eea3-420a-8875-d3a7710c12f2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-03 01:58:54 |

2022-02-03 01:58:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 01:58:54 | ------------------------------------

2022-02-03 01:58:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b7aa3da3-bb1c-492d-8eba-154384b3edc0)</node-pattern></data>

2022-02-03 01:58:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.236s
2022-02-03 01:58:53 |

2022-02-03 01:58:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 01:58:53 | ------------------------------------

2022-02-03 01:58:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b7aa3da3-bb1c-492d-8eba-154384b3edc0</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-03 01:58:53 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.363s
2022-02-03 01:58:55 |

2022-02-03 01:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 01:58:55 | ------------------------------------

2022-02-03 01:58:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b7aa3da3-bb1c-492d-8eba-154384b3edc0</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-03 01:58:55 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>