Generated by TestNG with ReportNG at 22:38 PDT on Sunday 14 August 2022
root@7c41cec37518 / 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.553s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.083s
2022-08-14 22:53:17 |

2022-08-14 22:53:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-14 22:53:17 | ------------------------------------

2022-08-14 22:53:17 | [Mutex] waiting for: [configured:node:node-11046ed5-e120-40aa-889e-584ee7847cf7:node-24e2b8c9-2443-48ef-b907-10fe96109877]

2022-08-14 22:53:17 | [Mutex] received everything.

2022-08-14 22:53:17 | [Mutex] isItemNotified: configured:node:node-11046ed5-e120-40aa-889e-584ee7847cf7:node-24e2b8c9-2443-48ef-b907-10fe96109877 :: true

2022-08-14 22:53:18 | [Mutex] waiting for: [received:nodes:7f77d584-f906-4ffa-9aca-30c3e75c2cc1:localhost]

2022-08-14 22:53:18 | [Mutex] received everything.

2022-08-14 22:53:18 | [Mutex] isItemNotified: received:node:7f77d584-f906-4ffa-9aca-30c3e75c2cc1:localhost:node-11046ed5-e120-40aa-889e-584ee7847cf7:Node 11046ed5-e120-40aa-889e-584ee7847cf7 :: true

2022-08-14 22:53:18 | [Mutex] waiting for: [received:nodes:4726ffd6-8b11-4a45-8236-09416a5d576b:localhost]

2022-08-14 22:53:18 | [Mutex] waiting for: [received:nodes:4726ffd6-8b11-4a45-8236-09416a5d576b:localhost]

2022-08-14 22:53:18 | [Mutex] received everything.

2022-08-14 22:53:18 | [Mutex] isItemNotified: received:node:4726ffd6-8b11-4a45-8236-09416a5d576b:localhost:node-11046ed5-e120-40aa-889e-584ee7847cf7:Node 11046ed5-e120-40aa-889e-584ee7847cf7 :: false

createNodes 1.484s
2022-08-14 22:53:14 |

2022-08-14 22:53:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-14 22:53:14 | ------------------------------------

2022-08-14 22:53:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-11046ed5-e120-40aa-889e-584ee7847cf7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 11046ed5-e120-40aa-889e-584ee7847cf7</title></pubsub></data>

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

2022-08-14 22:53:16 | [Mutex] waiting for: [received:nodes:5d6f9ca4-aa40-43ba-8b69-993d854a05bb:localhost]

2022-08-14 22:53:16 | [Mutex] received everything.

2022-08-14 22:53:16 | [Mutex] isItemNotified: received:node:5d6f9ca4-aa40-43ba-8b69-993d854a05bb:localhost:node-11046ed5-e120-40aa-889e-584ee7847cf7:Node 11046ed5-e120-40aa-889e-584ee7847cf7 :: true

createSubnodes 1.032s
2022-08-14 22:53:16 |

2022-08-14 22:53:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-14 22:53:16 | ------------------------------------

2022-08-14 22:53:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-24e2b8c9-2443-48ef-b907-10fe96109877</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 24e2b8c9-2443-48ef-b907-10fe96109877</title></pubsub></data>

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

2022-08-14 22:53:17 | [Mutex] waiting for: [received:nodes:10101187-2792-478a-9cc0-aafffc636f78:localhost]

2022-08-14 22:53:17 | [Mutex] waiting for: [received:nodes:10101187-2792-478a-9cc0-aafffc636f78:localhost]

2022-08-14 22:53:17 | [Mutex] received everything.

2022-08-14 22:53:17 | [Mutex] isItemNotified: received:node:10101187-2792-478a-9cc0-aafffc636f78:localhost:node-24e2b8c9-2443-48ef-b907-10fe96109877:Node 24e2b8c9-2443-48ef-b907-10fe96109877 :: true

deleteNodes 1.015s
2022-08-14 22:53:22 |

2022-08-14 22:53:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-14 22:53:22 | ------------------------------------

2022-08-14 22:53:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-24e2b8c9-2443-48ef-b907-10fe96109877</node></data>

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

2022-08-14 22:53:23 | [Mutex] waiting for: [received:nodes:7638b66d-8f56-4c05-aa14-b2d366ec9d14:localhost]

2022-08-14 22:53:23 | [Mutex] waiting for: [received:nodes:7638b66d-8f56-4c05-aa14-b2d366ec9d14:localhost]

2022-08-14 22:53:23 | [Mutex] waiting for: [received:nodes:7638b66d-8f56-4c05-aa14-b2d366ec9d14:localhost]

2022-08-14 22:53:23 | [Mutex] received everything.

2022-08-14 22:53:23 | [Mutex] isItemNotified: received:node:7638b66d-8f56-4c05-aa14-b2d366ec9d14:localhost:node-24e2b8c9-2443-48ef-b907-10fe96109877:Node 24e2b8c9-2443-48ef-b907-10fe96109877 :: false

deleteSubnodes 1.143s
2022-08-14 22:53:21 |

2022-08-14 22:53:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-14 22:53:21 | ------------------------------------

2022-08-14 22:53:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-11046ed5-e120-40aa-889e-584ee7847cf7</node></data>

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

2022-08-14 22:53:22 | [Mutex] waiting for: [received:nodes:7c698669-05c7-47c0-9555-c77b3e75cf52:localhost]

2022-08-14 22:53:22 | [Mutex] waiting for: [received:nodes:7c698669-05c7-47c0-9555-c77b3e75cf52:localhost]

2022-08-14 22:53:22 | [Mutex] waiting for: [received:nodes:7c698669-05c7-47c0-9555-c77b3e75cf52:localhost]

2022-08-14 22:53:22 | [Mutex] waiting for: [received:nodes:7c698669-05c7-47c0-9555-c77b3e75cf52:localhost]

2022-08-14 22:53:22 | [Mutex] received everything.

2022-08-14 22:53:22 | [Mutex] isItemNotified: received:node:7c698669-05c7-47c0-9555-c77b3e75cf52:localhost:node-11046ed5-e120-40aa-889e-584ee7847cf7:Node 11046ed5-e120-40aa-889e-584ee7847cf7 :: false

2022-08-14 22:53:22 | [Mutex] waiting for: [received:nodes:0e8c0aa5-86ff-4c39-b16b-c0bca185bfeb:localhost]

2022-08-14 22:53:22 | [Mutex] received everything.

2022-08-14 22:53:22 | [Mutex] isItemNotified: received:node:0e8c0aa5-86ff-4c39-b16b-c0bca185bfeb:localhost:node-11046ed5-e120-40aa-889e-584ee7847cf7:Node 11046ed5-e120-40aa-889e-584ee7847cf7 :: false

publishItemsToNodes 0.227s
2022-08-14 22:53:19 |

2022-08-14 22:53:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-14 22:53:19 | ------------------------------------

2022-08-14 22:53:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-11046ed5-e120-40aa-889e-584ee7847cf7</node><item-id>item-0b0a8001-518c-47af-8af4-728646656ca1</item-id><entry><test>item-0b0a8001-518c-47af-8af4-728646656ca1</test></entry></data>

2022-08-14 22:53:19 | 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-0b0a8001-518c-47af-8af4-728646656ca1</value></item-id></result>

2022-08-14 22:53:19 | [Mutex] received everything.

2022-08-14 22:53:19 | [Mutex] isItemNotified: published:item:notifieditem-0b0a8001-518c-47af-8af4-728646656ca1:admin@test-domain.com :: true

retractItemsFromNodes 0.256s
2022-08-14 22:53:20 |

2022-08-14 22:53:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-14 22:53:20 | ------------------------------------

2022-08-14 22:53:20 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-11046ed5-e120-40aa-889e-584ee7847cf7</node><item-id>item-0b0a8001-518c-47af-8af4-728646656ca1</item-id></data>

2022-08-14 22:53:20 | 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-0b0a8001-518c-47af-8af4-728646656ca1</value></item-id></result>

2022-08-14 22:53:20 | [Mutex] waiting for: [retracted:item:notifieditem-0b0a8001-518c-47af-8af4-728646656ca1:admin@test-domain.com]

2022-08-14 22:53:20 | [Mutex] received everything.

2022-08-14 22:53:20 | [Mutex] isItemNotified: retracted:item:notifieditem-0b0a8001-518c-47af-8af4-728646656ca1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.229s
2022-08-14 22:53:19 |

2022-08-14 22:53:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-14 22:53:19 | ------------------------------------

2022-08-14 22:53:19 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-11046ed5-e120-40aa-889e-584ee7847cf7</node><item-id>item-0b0a8001-518c-47af-8af4-728646656ca1</item-id></data>

2022-08-14 22:53:19 | 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-11046ed5-e120-40aa-889e-584ee7847cf7</value></node><item-id type="text-single" label="Item ID"><value>item-0b0a8001-518c-47af-8af4-728646656ca1</value></item-id><item type="text-multi" label="Item"><value><item id="item-0b0a8001-518c-47af-8af4-728646656ca1"><test>item-0b0a8001-518c-47af-8af4-728646656ca1</test></item></value></item></result>

2022-08-14 22:53:19 | [Mutex] notify: [retrieved:item:item-0b0a8001-518c-47af-8af4-728646656ca1:payload-matches:true:localhost]

2022-08-14 22:53:19 | [Mutex] received everything.

2022-08-14 22:53:19 | [Mutex] isItemNotified: retrieved:item:item-0b0a8001-518c-47af-8af4-728646656ca1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-14 22:53:19 |

2022-08-14 22:53:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-14 22:53:19 | ------------------------------------

2022-08-14 22:53:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-14 22:53:20 | 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-24e2b8c9-2443-48ef-b907-10fe96109877</value><value>node-11046ed5-e120-40aa-889e-584ee7847cf7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.050s
2022-08-14 22:53:20 |

2022-08-14 22:53:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-14 22:53:20 | ------------------------------------

2022-08-14 22:53:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-11046ed5-e120-40aa-889e-584ee7847cf7)</node-pattern></data>

2022-08-14 22:53:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.175s
2022-08-14 22:53:18 |

2022-08-14 22:53:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-14 22:53:18 | ------------------------------------

2022-08-14 22:53:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-11046ed5-e120-40aa-889e-584ee7847cf7</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-14 22:53:18 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.206s
2022-08-14 22:53:20 |

2022-08-14 22:53:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-14 22:53:20 | ------------------------------------

2022-08-14 22:53:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-11046ed5-e120-40aa-889e-584ee7847cf7</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-14 22:53:20 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>