Generated by TestNG with ReportNG at 21:18 PST on Sunday 13 November 2022
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.524s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.081s
2022-11-13 21:33:11 |

2022-11-13 21:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 21:33:11 | ------------------------------------

2022-11-13 21:33:11 | [Mutex] waiting for: [configured:node:node-41c45a68-581e-453b-b6c4-eb89ed70cd18:node-aa934969-69f5-43e4-be8d-3b9c8b1a7214]

2022-11-13 21:33:11 | [Mutex] received everything.

2022-11-13 21:33:11 | [Mutex] isItemNotified: configured:node:node-41c45a68-581e-453b-b6c4-eb89ed70cd18:node-aa934969-69f5-43e4-be8d-3b9c8b1a7214 :: true

2022-11-13 21:33:12 | [Mutex] waiting for: [received:nodes:8399a97d-0c8c-4178-b27d-690204608b2d:localhost]

2022-11-13 21:33:12 | [Mutex] received everything.

2022-11-13 21:33:12 | [Mutex] isItemNotified: received:node:8399a97d-0c8c-4178-b27d-690204608b2d:localhost:node-41c45a68-581e-453b-b6c4-eb89ed70cd18:Node 41c45a68-581e-453b-b6c4-eb89ed70cd18 :: true

2022-11-13 21:33:12 | [Mutex] waiting for: [received:nodes:39dcc100-4201-4f07-8f28-cece45ed5777:localhost]

2022-11-13 21:33:12 | [Mutex] received everything.

2022-11-13 21:33:12 | [Mutex] isItemNotified: received:node:39dcc100-4201-4f07-8f28-cece45ed5777:localhost:node-41c45a68-581e-453b-b6c4-eb89ed70cd18:Node 41c45a68-581e-453b-b6c4-eb89ed70cd18 :: false

createNodes 1.476s
2022-11-13 21:33:08 |

2022-11-13 21:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 21:33:08 | ------------------------------------

2022-11-13 21:33:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-41c45a68-581e-453b-b6c4-eb89ed70cd18</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 41c45a68-581e-453b-b6c4-eb89ed70cd18</title></pubsub></data>

2022-11-13 21:33:09 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-13 21:33:10 | [Mutex] waiting for: [received:nodes:4759a828-653d-4d14-a6ee-9785988b1352:localhost]

2022-11-13 21:33:10 | [Mutex] received everything.

2022-11-13 21:33:10 | [Mutex] isItemNotified: received:node:4759a828-653d-4d14-a6ee-9785988b1352:localhost:node-41c45a68-581e-453b-b6c4-eb89ed70cd18:Node 41c45a68-581e-453b-b6c4-eb89ed70cd18 :: true

createSubnodes 1.036s
2022-11-13 21:33:10 |

2022-11-13 21:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 21:33:10 | ------------------------------------

2022-11-13 21:33:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-aa934969-69f5-43e4-be8d-3b9c8b1a7214</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node aa934969-69f5-43e4-be8d-3b9c8b1a7214</title></pubsub></data>

2022-11-13 21:33:10 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-13 21:33:11 | [Mutex] waiting for: [received:nodes:1b286f01-5b82-4b65-b78f-671a213ea704:localhost]

2022-11-13 21:33:11 | [Mutex] received everything.

2022-11-13 21:33:11 | [Mutex] isItemNotified: received:node:1b286f01-5b82-4b65-b78f-671a213ea704:localhost:node-aa934969-69f5-43e4-be8d-3b9c8b1a7214:Node aa934969-69f5-43e4-be8d-3b9c8b1a7214 :: true

deleteNodes 1.019s
2022-11-13 21:33:16 |

2022-11-13 21:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 21:33:16 | ------------------------------------

2022-11-13 21:33:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-aa934969-69f5-43e4-be8d-3b9c8b1a7214</node></data>

2022-11-13 21:33:16 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-13 21:33:17 | [Mutex] waiting for: [received:nodes:2dabd2d2-1e24-4540-b78c-6abd034a0ed8:localhost]

2022-11-13 21:33:17 | [Mutex] waiting for: [received:nodes:2dabd2d2-1e24-4540-b78c-6abd034a0ed8:localhost]

2022-11-13 21:33:17 | [Mutex] received everything.

2022-11-13 21:33:17 | [Mutex] isItemNotified: received:node:2dabd2d2-1e24-4540-b78c-6abd034a0ed8:localhost:node-aa934969-69f5-43e4-be8d-3b9c8b1a7214:Node aa934969-69f5-43e4-be8d-3b9c8b1a7214 :: false

deleteSubnodes 1.132s
2022-11-13 21:33:15 |

2022-11-13 21:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 21:33:15 | ------------------------------------

2022-11-13 21:33:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-41c45a68-581e-453b-b6c4-eb89ed70cd18</node></data>

2022-11-13 21:33:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-13 21:33:16 | [Mutex] waiting for: [received:nodes:45cbbc73-09e8-4728-b750-28e07285631b:localhost]

2022-11-13 21:33:16 | [Mutex] waiting for: [received:nodes:45cbbc73-09e8-4728-b750-28e07285631b:localhost]

2022-11-13 21:33:16 | [Mutex] waiting for: [received:nodes:45cbbc73-09e8-4728-b750-28e07285631b:localhost]

2022-11-13 21:33:16 | [Mutex] received everything.

2022-11-13 21:33:16 | [Mutex] isItemNotified: received:node:45cbbc73-09e8-4728-b750-28e07285631b:localhost:node-41c45a68-581e-453b-b6c4-eb89ed70cd18:Node 41c45a68-581e-453b-b6c4-eb89ed70cd18 :: false

2022-11-13 21:33:16 | [Mutex] waiting for: [received:nodes:8eafc6a7-219e-4e7e-a482-040b1bc95278:localhost]

2022-11-13 21:33:16 | [Mutex] received everything.

2022-11-13 21:33:16 | [Mutex] isItemNotified: received:node:8eafc6a7-219e-4e7e-a482-040b1bc95278:localhost:node-41c45a68-581e-453b-b6c4-eb89ed70cd18:Node 41c45a68-581e-453b-b6c4-eb89ed70cd18 :: false

publishItemsToNodes 0.244s
2022-11-13 21:33:13 |

2022-11-13 21:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 21:33:13 | ------------------------------------

2022-11-13 21:33:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-41c45a68-581e-453b-b6c4-eb89ed70cd18</node><item-id>item-2edbf815-9911-4255-8449-6d232f7cfdcf</item-id><entry><test>item-2edbf815-9911-4255-8449-6d232f7cfdcf</test></entry></data>

2022-11-13 21:33:13 | 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-2edbf815-9911-4255-8449-6d232f7cfdcf</value></item-id></result>

2022-11-13 21:33:13 | [Mutex] waiting for: [published:item:notifieditem-2edbf815-9911-4255-8449-6d232f7cfdcf:admin@test-domain.com]

2022-11-13 21:33:13 | [Mutex] received everything.

2022-11-13 21:33:13 | [Mutex] isItemNotified: published:item:notifieditem-2edbf815-9911-4255-8449-6d232f7cfdcf:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2022-11-13 21:33:14 |

2022-11-13 21:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 21:33:14 | ------------------------------------

2022-11-13 21:33:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-41c45a68-581e-453b-b6c4-eb89ed70cd18</node><item-id>item-2edbf815-9911-4255-8449-6d232f7cfdcf</item-id></data>

2022-11-13 21:33:14 | 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-2edbf815-9911-4255-8449-6d232f7cfdcf</value></item-id></result>

2022-11-13 21:33:14 | [Mutex] received everything.

2022-11-13 21:33:14 | [Mutex] isItemNotified: retracted:item:notifieditem-2edbf815-9911-4255-8449-6d232f7cfdcf:admin@test-domain.com :: true

retrieveItemsFromNodes 0.193s
2022-11-13 21:33:13 |

2022-11-13 21:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 21:33:13 | ------------------------------------

2022-11-13 21:33:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-41c45a68-581e-453b-b6c4-eb89ed70cd18</node><item-id>item-2edbf815-9911-4255-8449-6d232f7cfdcf</item-id></data>

2022-11-13 21:33:13 | 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-41c45a68-581e-453b-b6c4-eb89ed70cd18</value></node><item-id type="text-single" label="Item ID"><value>item-2edbf815-9911-4255-8449-6d232f7cfdcf</value></item-id><item type="text-multi" label="Item"><value><item id="item-2edbf815-9911-4255-8449-6d232f7cfdcf"><test>item-2edbf815-9911-4255-8449-6d232f7cfdcf</test></item></value></item></result>

2022-11-13 21:33:13 | [Mutex] notify: [retrieved:item:item-2edbf815-9911-4255-8449-6d232f7cfdcf:payload-matches:true:localhost]

2022-11-13 21:33:13 | [Mutex] received everything.

2022-11-13 21:33:13 | [Mutex] isItemNotified: retrieved:item:item-2edbf815-9911-4255-8449-6d232f7cfdcf:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-11-13 21:33:13 |

2022-11-13 21:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 21:33:13 | ------------------------------------

2022-11-13 21:33:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-11-13 21:33:14 | 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-aa934969-69f5-43e4-be8d-3b9c8b1a7214</value><value>node-41c45a68-581e-453b-b6c4-eb89ed70cd18</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-11-13 21:33:14 |

2022-11-13 21:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 21:33:14 | ------------------------------------

2022-11-13 21:33:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-41c45a68-581e-453b-b6c4-eb89ed70cd18)</node-pattern></data>

2022-11-13 21:33:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.124s
2022-11-13 21:33:12 |

2022-11-13 21:33:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 21:33:12 | ------------------------------------

2022-11-13 21:33:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-41c45a68-581e-453b-b6c4-eb89ed70cd18</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-13 21:33:12 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.235s
2022-11-13 21:33:14 |

2022-11-13 21:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-13 21:33:14 | ------------------------------------

2022-11-13 21:33:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-41c45a68-581e-453b-b6c4-eb89ed70cd18</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-13 21:33:14 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>