Generated by TestNG with ReportNG at 22:46 PDT on Friday 08 July 2022
root@f9c07ffec79b / 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.653s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.129s
2022-07-08 23:00:09 |

2022-07-08 23:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 23:00:09 | ------------------------------------

2022-07-08 23:00:09 | [Mutex] waiting for: [configured:node:node-769063eb-c79f-44a0-abd3-2fb27e68ff50:node-64d127a1-c6c2-4e1c-a2ae-18987e285e53]

2022-07-08 23:00:09 | [Mutex] received everything.

2022-07-08 23:00:09 | [Mutex] isItemNotified: configured:node:node-769063eb-c79f-44a0-abd3-2fb27e68ff50:node-64d127a1-c6c2-4e1c-a2ae-18987e285e53 :: true

2022-07-08 23:00:10 | [Mutex] waiting for: [received:nodes:d92e7e97-6613-46bc-ae05-e3baf2582bcc:localhost]

2022-07-08 23:00:10 | [Mutex] received everything.

2022-07-08 23:00:10 | [Mutex] isItemNotified: received:node:d92e7e97-6613-46bc-ae05-e3baf2582bcc:localhost:node-769063eb-c79f-44a0-abd3-2fb27e68ff50:Node 769063eb-c79f-44a0-abd3-2fb27e68ff50 :: true

2022-07-08 23:00:10 | [Mutex] waiting for: [received:nodes:eafb95e4-f81d-4c0d-8909-13ef5ea65f48:localhost]

2022-07-08 23:00:10 | [Mutex] waiting for: [received:nodes:eafb95e4-f81d-4c0d-8909-13ef5ea65f48:localhost]

2022-07-08 23:00:10 | [Mutex] received everything.

2022-07-08 23:00:10 | [Mutex] isItemNotified: received:node:eafb95e4-f81d-4c0d-8909-13ef5ea65f48:localhost:node-769063eb-c79f-44a0-abd3-2fb27e68ff50:Node 769063eb-c79f-44a0-abd3-2fb27e68ff50 :: false

createNodes 1.486s
2022-07-08 23:00:07 |

2022-07-08 23:00:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 23:00:07 | ------------------------------------

2022-07-08 23:00:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-769063eb-c79f-44a0-abd3-2fb27e68ff50</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 769063eb-c79f-44a0-abd3-2fb27e68ff50</title></pubsub></data>

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

2022-07-08 23:00:08 | [Mutex] waiting for: [received:nodes:df219f7b-474d-40e6-8634-af400547eaab:localhost]

2022-07-08 23:00:08 | [Mutex] waiting for: [received:nodes:df219f7b-474d-40e6-8634-af400547eaab:localhost]

2022-07-08 23:00:08 | [Mutex] received everything.

2022-07-08 23:00:08 | [Mutex] isItemNotified: received:node:df219f7b-474d-40e6-8634-af400547eaab:localhost:node-769063eb-c79f-44a0-abd3-2fb27e68ff50:Node 769063eb-c79f-44a0-abd3-2fb27e68ff50 :: true

createSubnodes 1.022s
2022-07-08 23:00:08 |

2022-07-08 23:00:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 23:00:08 | ------------------------------------

2022-07-08 23:00:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-64d127a1-c6c2-4e1c-a2ae-18987e285e53</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 64d127a1-c6c2-4e1c-a2ae-18987e285e53</title></pubsub></data>

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

2022-07-08 23:00:09 | [Mutex] waiting for: [received:nodes:6399da4f-42fa-4b69-b036-5328673c5861:localhost]

2022-07-08 23:00:09 | [Mutex] received everything.

2022-07-08 23:00:09 | [Mutex] isItemNotified: received:node:6399da4f-42fa-4b69-b036-5328673c5861:localhost:node-64d127a1-c6c2-4e1c-a2ae-18987e285e53:Node 64d127a1-c6c2-4e1c-a2ae-18987e285e53 :: true

deleteNodes 1.017s
2022-07-08 23:00:15 |

2022-07-08 23:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 23:00:15 | ------------------------------------

2022-07-08 23:00:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-64d127a1-c6c2-4e1c-a2ae-18987e285e53</node></data>

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

2022-07-08 23:00:16 | [Mutex] waiting for: [received:nodes:ce751edd-f41f-4a96-8f2d-de10d099af41:localhost]

2022-07-08 23:00:16 | [Mutex] received everything.

2022-07-08 23:00:16 | [Mutex] isItemNotified: received:node:ce751edd-f41f-4a96-8f2d-de10d099af41:localhost:node-64d127a1-c6c2-4e1c-a2ae-18987e285e53:Node 64d127a1-c6c2-4e1c-a2ae-18987e285e53 :: false

deleteSubnodes 1.118s
2022-07-08 23:00:14 |

2022-07-08 23:00:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 23:00:14 | ------------------------------------

2022-07-08 23:00:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-769063eb-c79f-44a0-abd3-2fb27e68ff50</node></data>

2022-07-08 23:00:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-08 23:00:15 | [Mutex] waiting for: [received:nodes:732823d7-90db-4d0c-8b93-7357bb25329d:localhost]

2022-07-08 23:00:15 | [Mutex] waiting for: [received:nodes:732823d7-90db-4d0c-8b93-7357bb25329d:localhost]

2022-07-08 23:00:15 | [Mutex] waiting for: [received:nodes:732823d7-90db-4d0c-8b93-7357bb25329d:localhost]

2022-07-08 23:00:15 | [Mutex] received everything.

2022-07-08 23:00:15 | [Mutex] isItemNotified: received:node:732823d7-90db-4d0c-8b93-7357bb25329d:localhost:node-769063eb-c79f-44a0-abd3-2fb27e68ff50:Node 769063eb-c79f-44a0-abd3-2fb27e68ff50 :: false

2022-07-08 23:00:15 | [Mutex] waiting for: [received:nodes:e11f626a-0b6d-43f8-af30-b5077c1e1b7d:localhost]

2022-07-08 23:00:15 | [Mutex] received everything.

2022-07-08 23:00:15 | [Mutex] isItemNotified: received:node:e11f626a-0b6d-43f8-af30-b5077c1e1b7d:localhost:node-769063eb-c79f-44a0-abd3-2fb27e68ff50:Node 769063eb-c79f-44a0-abd3-2fb27e68ff50 :: false

publishItemsToNodes 0.190s
2022-07-08 23:00:12 |

2022-07-08 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 23:00:12 | ------------------------------------

2022-07-08 23:00:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-769063eb-c79f-44a0-abd3-2fb27e68ff50</node><item-id>item-d440b5c9-2c9f-418a-86fb-a261fab6ecf6</item-id><entry><test>item-d440b5c9-2c9f-418a-86fb-a261fab6ecf6</test></entry></data>

2022-07-08 23:00:12 | 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-d440b5c9-2c9f-418a-86fb-a261fab6ecf6</value></item-id></result>

2022-07-08 23:00:12 | [Mutex] received everything.

2022-07-08 23:00:12 | [Mutex] isItemNotified: published:item:notifieditem-d440b5c9-2c9f-418a-86fb-a261fab6ecf6:admin@test-domain.com :: true

retractItemsFromNodes 0.306s
2022-07-08 23:00:12 |

2022-07-08 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 23:00:12 | ------------------------------------

2022-07-08 23:00:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-769063eb-c79f-44a0-abd3-2fb27e68ff50</node><item-id>item-d440b5c9-2c9f-418a-86fb-a261fab6ecf6</item-id></data>

2022-07-08 23:00:12 | 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-d440b5c9-2c9f-418a-86fb-a261fab6ecf6</value></item-id></result>

2022-07-08 23:00:12 | [Mutex] waiting for: [retracted:item:notifieditem-d440b5c9-2c9f-418a-86fb-a261fab6ecf6:admin@test-domain.com]

2022-07-08 23:00:12 | [Mutex] received everything.

2022-07-08 23:00:12 | [Mutex] isItemNotified: retracted:item:notifieditem-d440b5c9-2c9f-418a-86fb-a261fab6ecf6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.271s
2022-07-08 23:00:12 |

2022-07-08 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 23:00:12 | ------------------------------------

2022-07-08 23:00:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-769063eb-c79f-44a0-abd3-2fb27e68ff50</node><item-id>item-d440b5c9-2c9f-418a-86fb-a261fab6ecf6</item-id></data>

2022-07-08 23:00:12 | 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-769063eb-c79f-44a0-abd3-2fb27e68ff50</value></node><item-id type="text-single" label="Item ID"><value>item-d440b5c9-2c9f-418a-86fb-a261fab6ecf6</value></item-id><item type="text-multi" label="Item"><value><item id="item-d440b5c9-2c9f-418a-86fb-a261fab6ecf6"><test>item-d440b5c9-2c9f-418a-86fb-a261fab6ecf6</test></item></value></item></result>

2022-07-08 23:00:12 | [Mutex] notify: [retrieved:item:item-d440b5c9-2c9f-418a-86fb-a261fab6ecf6:payload-matches:true:localhost]

2022-07-08 23:00:12 | [Mutex] received everything.

2022-07-08 23:00:12 | [Mutex] isItemNotified: retrieved:item:item-d440b5c9-2c9f-418a-86fb-a261fab6ecf6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-08 23:00:12 |

2022-07-08 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 23:00:12 | ------------------------------------

2022-07-08 23:00:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-08 23:00:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-64d127a1-c6c2-4e1c-a2ae-18987e285e53</value><value>test</value><value>node-769063eb-c79f-44a0-abd3-2fb27e68ff50</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-08 23:00:12 |

2022-07-08 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 23:00:12 | ------------------------------------

2022-07-08 23:00:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-769063eb-c79f-44a0-abd3-2fb27e68ff50)</node-pattern></data>

2022-07-08 23:00:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.161s
2022-07-08 23:00:10 |

2022-07-08 23:00:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 23:00:10 | ------------------------------------

2022-07-08 23:00:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-769063eb-c79f-44a0-abd3-2fb27e68ff50</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-08 23:00:11 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.205s
2022-07-08 23:00:12 |

2022-07-08 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 23:00:12 | ------------------------------------

2022-07-08 23:00:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-769063eb-c79f-44a0-abd3-2fb27e68ff50</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-08 23:00:13 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>