Generated by TestNG with ReportNG at 23:00 PDT on Tuesday 10 May 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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 : 9.609s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.079s
2022-05-10 23:15:46 |

2022-05-10 23:15:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 23:15:46 | ------------------------------------

2022-05-10 23:15:46 | [Mutex] waiting for: [configured:node:node-9754c485-0767-4f78-9ce9-421b1816a0f0:node-38734b33-e0b5-4ff9-ab4c-0e0ad1d53f0e]

2022-05-10 23:15:46 | [Mutex] received everything.

2022-05-10 23:15:46 | [Mutex] isItemNotified: configured:node:node-9754c485-0767-4f78-9ce9-421b1816a0f0:node-38734b33-e0b5-4ff9-ab4c-0e0ad1d53f0e :: true

2022-05-10 23:15:47 | [Mutex] waiting for: [received:nodes:1ec0ff56-a42d-459e-bff1-09a25cc9b05f:localhost]

2022-05-10 23:15:47 | [Mutex] received everything.

2022-05-10 23:15:47 | [Mutex] isItemNotified: received:node:1ec0ff56-a42d-459e-bff1-09a25cc9b05f:localhost:node-9754c485-0767-4f78-9ce9-421b1816a0f0:Node 9754c485-0767-4f78-9ce9-421b1816a0f0 :: true

2022-05-10 23:15:47 | [Mutex] waiting for: [received:nodes:ffc16b32-5b69-448c-9290-83ba61beba99:localhost]

2022-05-10 23:15:47 | [Mutex] waiting for: [received:nodes:ffc16b32-5b69-448c-9290-83ba61beba99:localhost]

2022-05-10 23:15:47 | [Mutex] received everything.

2022-05-10 23:15:47 | [Mutex] isItemNotified: received:node:ffc16b32-5b69-448c-9290-83ba61beba99:localhost:node-9754c485-0767-4f78-9ce9-421b1816a0f0:Node 9754c485-0767-4f78-9ce9-421b1816a0f0 :: false

createNodes 1.400s
2022-05-10 23:15:44 |

2022-05-10 23:15:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 23:15:44 | ------------------------------------

2022-05-10 23:15:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9754c485-0767-4f78-9ce9-421b1816a0f0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9754c485-0767-4f78-9ce9-421b1816a0f0</title></pubsub></data>

2022-05-10 23:15:44 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-10 23:15:45 | [Mutex] waiting for: [received:nodes:845df44d-8c7f-4455-ab9c-470c0959b208:localhost]

2022-05-10 23:15:45 | [Mutex] received everything.

2022-05-10 23:15:45 | [Mutex] isItemNotified: received:node:845df44d-8c7f-4455-ab9c-470c0959b208:localhost:node-9754c485-0767-4f78-9ce9-421b1816a0f0:Node 9754c485-0767-4f78-9ce9-421b1816a0f0 :: true

createSubnodes 1.020s
2022-05-10 23:15:45 |

2022-05-10 23:15:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 23:15:45 | ------------------------------------

2022-05-10 23:15:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-38734b33-e0b5-4ff9-ab4c-0e0ad1d53f0e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 38734b33-e0b5-4ff9-ab4c-0e0ad1d53f0e</title></pubsub></data>

2022-05-10 23:15:45 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-10 23:15:46 | [Mutex] waiting for: [received:nodes:7fcfaf46-27b8-4be3-8154-de1f7e4d3bca:localhost]

2022-05-10 23:15:46 | [Mutex] received everything.

2022-05-10 23:15:46 | [Mutex] isItemNotified: received:node:7fcfaf46-27b8-4be3-8154-de1f7e4d3bca:localhost:node-38734b33-e0b5-4ff9-ab4c-0e0ad1d53f0e:Node 38734b33-e0b5-4ff9-ab4c-0e0ad1d53f0e :: true

deleteNodes 1.018s
2022-05-10 23:15:52 |

2022-05-10 23:15:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 23:15:52 | ------------------------------------

2022-05-10 23:15:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-38734b33-e0b5-4ff9-ab4c-0e0ad1d53f0e</node></data>

2022-05-10 23:15:52 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-10 23:15:53 | [Mutex] waiting for: [received:nodes:40d1edf7-f908-42d4-b118-1eb4e260cd71:localhost]

2022-05-10 23:15:53 | [Mutex] waiting for: [received:nodes:40d1edf7-f908-42d4-b118-1eb4e260cd71:localhost]

2022-05-10 23:15:53 | [Mutex] received everything.

2022-05-10 23:15:53 | [Mutex] isItemNotified: received:node:40d1edf7-f908-42d4-b118-1eb4e260cd71:localhost:node-38734b33-e0b5-4ff9-ab4c-0e0ad1d53f0e:Node 38734b33-e0b5-4ff9-ab4c-0e0ad1d53f0e :: false

deleteSubnodes 1.130s
2022-05-10 23:15:50 |

2022-05-10 23:15:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 23:15:50 | ------------------------------------

2022-05-10 23:15:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9754c485-0767-4f78-9ce9-421b1816a0f0</node></data>

2022-05-10 23:15:51 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-10 23:15:52 | [Mutex] waiting for: [received:nodes:8f158094-76ee-46fa-b965-700b3157d8a7:localhost]

2022-05-10 23:15:52 | [Mutex] received everything.

2022-05-10 23:15:52 | [Mutex] isItemNotified: received:node:8f158094-76ee-46fa-b965-700b3157d8a7:localhost:node-9754c485-0767-4f78-9ce9-421b1816a0f0:Node 9754c485-0767-4f78-9ce9-421b1816a0f0 :: false

2022-05-10 23:15:52 | [Mutex] waiting for: [received:nodes:b7eb8610-d902-4228-ac2b-82714efbfe40:localhost]

2022-05-10 23:15:52 | [Mutex] received everything.

2022-05-10 23:15:52 | [Mutex] isItemNotified: received:node:b7eb8610-d902-4228-ac2b-82714efbfe40:localhost:node-9754c485-0767-4f78-9ce9-421b1816a0f0:Node 9754c485-0767-4f78-9ce9-421b1816a0f0 :: false

publishItemsToNodes 0.224s
2022-05-10 23:15:48 |

2022-05-10 23:15:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 23:15:48 | ------------------------------------

2022-05-10 23:15:48 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9754c485-0767-4f78-9ce9-421b1816a0f0</node><item-id>item-a9e0b77e-5125-4df2-961b-ba78a1c16e74</item-id><entry><test>item-a9e0b77e-5125-4df2-961b-ba78a1c16e74</test></entry></data>

2022-05-10 23:15:48 | 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-a9e0b77e-5125-4df2-961b-ba78a1c16e74</value></item-id></result>

2022-05-10 23:15:48 | [Mutex] waiting for: [published:item:notifieditem-a9e0b77e-5125-4df2-961b-ba78a1c16e74:admin@test-domain.com]

2022-05-10 23:15:49 | [Mutex] received everything.

2022-05-10 23:15:49 | [Mutex] isItemNotified: published:item:notifieditem-a9e0b77e-5125-4df2-961b-ba78a1c16e74:admin@test-domain.com :: true

retractItemsFromNodes 0.239s
2022-05-10 23:15:49 |

2022-05-10 23:15:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 23:15:49 | ------------------------------------

2022-05-10 23:15:49 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9754c485-0767-4f78-9ce9-421b1816a0f0</node><item-id>item-a9e0b77e-5125-4df2-961b-ba78a1c16e74</item-id></data>

2022-05-10 23:15:49 | 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-a9e0b77e-5125-4df2-961b-ba78a1c16e74</value></item-id></result>

2022-05-10 23:15:49 | [Mutex] received everything.

2022-05-10 23:15:49 | [Mutex] isItemNotified: retracted:item:notifieditem-a9e0b77e-5125-4df2-961b-ba78a1c16e74:admin@test-domain.com :: true

retrieveItemsFromNodes 0.264s
2022-05-10 23:15:49 |

2022-05-10 23:15:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 23:15:49 | ------------------------------------

2022-05-10 23:15:49 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9754c485-0767-4f78-9ce9-421b1816a0f0</node><item-id>item-a9e0b77e-5125-4df2-961b-ba78a1c16e74</item-id></data>

2022-05-10 23:15:49 | 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-9754c485-0767-4f78-9ce9-421b1816a0f0</value></node><item-id type="text-single" label="Item ID"><value>item-a9e0b77e-5125-4df2-961b-ba78a1c16e74</value></item-id><item type="text-multi" label="Item"><value><item id="item-a9e0b77e-5125-4df2-961b-ba78a1c16e74"><test>item-a9e0b77e-5125-4df2-961b-ba78a1c16e74</test></item></value></item></result>

2022-05-10 23:15:49 | [Mutex] notify: [retrieved:item:item-a9e0b77e-5125-4df2-961b-ba78a1c16e74:payload-matches:true:localhost]

2022-05-10 23:15:49 | [Mutex] received everything.

2022-05-10 23:15:49 | [Mutex] isItemNotified: retrieved:item:item-a9e0b77e-5125-4df2-961b-ba78a1c16e74:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-10 23:15:49 |

2022-05-10 23:15:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 23:15:49 | ------------------------------------

2022-05-10 23:15:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-10 23:15:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-38734b33-e0b5-4ff9-ab4c-0e0ad1d53f0e</value><value>test</value><value>node-9754c485-0767-4f78-9ce9-421b1816a0f0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-05-10 23:15:49 |

2022-05-10 23:15:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 23:15:49 | ------------------------------------

2022-05-10 23:15:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9754c485-0767-4f78-9ce9-421b1816a0f0)</node-pattern></data>

2022-05-10 23:15:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.113s
2022-05-10 23:15:47 |

2022-05-10 23:15:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 23:15:47 | ------------------------------------

2022-05-10 23:15:47 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9754c485-0767-4f78-9ce9-421b1816a0f0</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-10 23:15:47 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.295s
2022-05-10 23:15:49 |

2022-05-10 23:15:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-10 23:15:49 | ------------------------------------

2022-05-10 23:15:49 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9754c485-0767-4f78-9ce9-421b1816a0f0</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-10 23:15:49 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>