Generated by TestNG with ReportNG at 22:22 PDT on Thursday 13 October 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.515s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2022-10-13 22:36:25 |

2022-10-13 22:36:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 22:36:25 | ------------------------------------

2022-10-13 22:36:25 | [Mutex] waiting for: [configured:node:node-936421e2-ae39-4d7b-9154-9a3f9ee72581:node-bbf7948a-b547-47bc-88fb-2f5d98c151dd]

2022-10-13 22:36:25 | [Mutex] received everything.

2022-10-13 22:36:25 | [Mutex] isItemNotified: configured:node:node-936421e2-ae39-4d7b-9154-9a3f9ee72581:node-bbf7948a-b547-47bc-88fb-2f5d98c151dd :: true

2022-10-13 22:36:26 | [Mutex] waiting for: [received:nodes:2696b047-a075-4e41-b13a-fbd022f82a05:localhost]

2022-10-13 22:36:26 | [Mutex] received everything.

2022-10-13 22:36:26 | [Mutex] isItemNotified: received:node:2696b047-a075-4e41-b13a-fbd022f82a05:localhost:node-936421e2-ae39-4d7b-9154-9a3f9ee72581:Node 936421e2-ae39-4d7b-9154-9a3f9ee72581 :: true

2022-10-13 22:36:26 | [Mutex] waiting for: [received:nodes:83890021-e5ec-438d-a3dd-7f526125342d:localhost]

2022-10-13 22:36:26 | [Mutex] waiting for: [received:nodes:83890021-e5ec-438d-a3dd-7f526125342d:localhost]

2022-10-13 22:36:26 | [Mutex] received everything.

2022-10-13 22:36:26 | [Mutex] isItemNotified: received:node:83890021-e5ec-438d-a3dd-7f526125342d:localhost:node-936421e2-ae39-4d7b-9154-9a3f9ee72581:Node 936421e2-ae39-4d7b-9154-9a3f9ee72581 :: false

createNodes 1.455s
2022-10-13 22:36:22 |

2022-10-13 22:36:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 22:36:22 | ------------------------------------

2022-10-13 22:36:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-936421e2-ae39-4d7b-9154-9a3f9ee72581</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 936421e2-ae39-4d7b-9154-9a3f9ee72581</title></pubsub></data>

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

2022-10-13 22:36:24 | [Mutex] waiting for: [received:nodes:c32829aa-d400-4749-a01f-65ee9cbf9919:localhost]

2022-10-13 22:36:24 | [Mutex] waiting for: [received:nodes:c32829aa-d400-4749-a01f-65ee9cbf9919:localhost]

2022-10-13 22:36:24 | [Mutex] received everything.

2022-10-13 22:36:24 | [Mutex] isItemNotified: received:node:c32829aa-d400-4749-a01f-65ee9cbf9919:localhost:node-936421e2-ae39-4d7b-9154-9a3f9ee72581:Node 936421e2-ae39-4d7b-9154-9a3f9ee72581 :: true

createSubnodes 1.024s
2022-10-13 22:36:24 |

2022-10-13 22:36:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 22:36:24 | ------------------------------------

2022-10-13 22:36:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bbf7948a-b547-47bc-88fb-2f5d98c151dd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bbf7948a-b547-47bc-88fb-2f5d98c151dd</title></pubsub></data>

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

2022-10-13 22:36:25 | [Mutex] waiting for: [received:nodes:c2a6c3a6-e341-43e5-a0eb-011541949435:localhost]

2022-10-13 22:36:25 | [Mutex] received everything.

2022-10-13 22:36:25 | [Mutex] isItemNotified: received:node:c2a6c3a6-e341-43e5-a0eb-011541949435:localhost:node-bbf7948a-b547-47bc-88fb-2f5d98c151dd:Node bbf7948a-b547-47bc-88fb-2f5d98c151dd :: true

deleteNodes 1.018s
2022-10-13 22:36:30 |

2022-10-13 22:36:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 22:36:30 | ------------------------------------

2022-10-13 22:36:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bbf7948a-b547-47bc-88fb-2f5d98c151dd</node></data>

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

2022-10-13 22:36:31 | [Mutex] waiting for: [received:nodes:1d373632-2473-45fa-a48e-15f881ddae1f:localhost]

2022-10-13 22:36:31 | [Mutex] received everything.

2022-10-13 22:36:31 | [Mutex] isItemNotified: received:node:1d373632-2473-45fa-a48e-15f881ddae1f:localhost:node-bbf7948a-b547-47bc-88fb-2f5d98c151dd:Node bbf7948a-b547-47bc-88fb-2f5d98c151dd :: false

deleteSubnodes 1.122s
2022-10-13 22:36:29 |

2022-10-13 22:36:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 22:36:29 | ------------------------------------

2022-10-13 22:36:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-936421e2-ae39-4d7b-9154-9a3f9ee72581</node></data>

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

2022-10-13 22:36:30 | [Mutex] waiting for: [received:nodes:496f72bf-ca40-4426-9391-e52c6c2cf5ff:localhost]

2022-10-13 22:36:30 | [Mutex] waiting for: [received:nodes:496f72bf-ca40-4426-9391-e52c6c2cf5ff:localhost]

2022-10-13 22:36:30 | [Mutex] waiting for: [received:nodes:496f72bf-ca40-4426-9391-e52c6c2cf5ff:localhost]

2022-10-13 22:36:30 | [Mutex] received everything.

2022-10-13 22:36:30 | [Mutex] isItemNotified: received:node:496f72bf-ca40-4426-9391-e52c6c2cf5ff:localhost:node-936421e2-ae39-4d7b-9154-9a3f9ee72581:Node 936421e2-ae39-4d7b-9154-9a3f9ee72581 :: false

2022-10-13 22:36:30 | [Mutex] waiting for: [received:nodes:4e803813-13d0-40da-929f-bcc3f87bc161:localhost]

2022-10-13 22:36:30 | [Mutex] received everything.

2022-10-13 22:36:30 | [Mutex] isItemNotified: received:node:4e803813-13d0-40da-929f-bcc3f87bc161:localhost:node-936421e2-ae39-4d7b-9154-9a3f9ee72581:Node 936421e2-ae39-4d7b-9154-9a3f9ee72581 :: false

publishItemsToNodes 0.244s
2022-10-13 22:36:27 |

2022-10-13 22:36:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 22:36:27 | ------------------------------------

2022-10-13 22:36:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-936421e2-ae39-4d7b-9154-9a3f9ee72581</node><item-id>item-047de07f-00fc-4774-b4f8-06bfa8f964cc</item-id><entry><test>item-047de07f-00fc-4774-b4f8-06bfa8f964cc</test></entry></data>

2022-10-13 22:36:27 | 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-047de07f-00fc-4774-b4f8-06bfa8f964cc</value></item-id></result>

2022-10-13 22:36:27 | [Mutex] received everything.

2022-10-13 22:36:27 | [Mutex] isItemNotified: published:item:notifieditem-047de07f-00fc-4774-b4f8-06bfa8f964cc:admin@test-domain.com :: true

retractItemsFromNodes 0.291s
2022-10-13 22:36:28 |

2022-10-13 22:36:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 22:36:28 | ------------------------------------

2022-10-13 22:36:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-936421e2-ae39-4d7b-9154-9a3f9ee72581</node><item-id>item-047de07f-00fc-4774-b4f8-06bfa8f964cc</item-id></data>

2022-10-13 22:36:28 | 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-047de07f-00fc-4774-b4f8-06bfa8f964cc</value></item-id></result>

2022-10-13 22:36:28 | [Mutex] received everything.

2022-10-13 22:36:28 | [Mutex] isItemNotified: retracted:item:notifieditem-047de07f-00fc-4774-b4f8-06bfa8f964cc:admin@test-domain.com :: true

retrieveItemsFromNodes 0.196s
2022-10-13 22:36:27 |

2022-10-13 22:36:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 22:36:27 | ------------------------------------

2022-10-13 22:36:27 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-936421e2-ae39-4d7b-9154-9a3f9ee72581</node><item-id>item-047de07f-00fc-4774-b4f8-06bfa8f964cc</item-id></data>

2022-10-13 22:36:28 | 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-936421e2-ae39-4d7b-9154-9a3f9ee72581</value></node><item-id type="text-single" label="Item ID"><value>item-047de07f-00fc-4774-b4f8-06bfa8f964cc</value></item-id><item type="text-multi" label="Item"><value><item id="item-047de07f-00fc-4774-b4f8-06bfa8f964cc"><test>item-047de07f-00fc-4774-b4f8-06bfa8f964cc</test></item></value></item></result>

2022-10-13 22:36:28 | [Mutex] notify: [retrieved:item:item-047de07f-00fc-4774-b4f8-06bfa8f964cc:payload-matches:true:localhost]

2022-10-13 22:36:28 | [Mutex] received everything.

2022-10-13 22:36:28 | [Mutex] isItemNotified: retrieved:item:item-047de07f-00fc-4774-b4f8-06bfa8f964cc:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-10-13 22:36:28 |

2022-10-13 22:36:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 22:36:28 | ------------------------------------

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

2022-10-13 22:36:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-936421e2-ae39-4d7b-9154-9a3f9ee72581</value><value>test</value><value>node-bbf7948a-b547-47bc-88fb-2f5d98c151dd</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-10-13 22:36:28 |

2022-10-13 22:36:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 22:36:28 | ------------------------------------

2022-10-13 22:36:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-936421e2-ae39-4d7b-9154-9a3f9ee72581)</node-pattern></data>

2022-10-13 22:36:28 | 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-10-13 22:36:26 |

2022-10-13 22:36:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 22:36:26 | ------------------------------------

2022-10-13 22:36:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-936421e2-ae39-4d7b-9154-9a3f9ee72581</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-13 22:36:26 | 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-10-13 22:36:28 |

2022-10-13 22:36:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 22:36:28 | ------------------------------------

2022-10-13 22:36:28 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-936421e2-ae39-4d7b-9154-9a3f9ee72581</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-13 22:36:28 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>