Generated by TestNG with ReportNG at 12:37 PDT on Monday 10 July 2023
root@1512af24e4a5 / Java 17.0.6 (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.331s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2023-07-10 12:52:01 |

2023-07-10 12:52:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:52:01 | ------------------------------------

2023-07-10 12:52:01 | [Mutex] waiting for: [configured:node:node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593:node-4a20dacd-f6a5-4ad4-bead-2b4a2d174ef3]

2023-07-10 12:52:01 | [Mutex] received everything.

2023-07-10 12:52:01 | [Mutex] isItemNotified: configured:node:node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593:node-4a20dacd-f6a5-4ad4-bead-2b4a2d174ef3 :: true

2023-07-10 12:52:02 | [Mutex] waiting for: [received:nodes:f0126c33-e8a3-4fb9-ae12-73e94c336ce5:localhost]

2023-07-10 12:52:02 | [Mutex] received everything.

2023-07-10 12:52:02 | [Mutex] isItemNotified: received:node:f0126c33-e8a3-4fb9-ae12-73e94c336ce5:localhost:node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593:Node 2d3dc78a-e6a6-4ca7-95ad-0a517e808593 :: true

2023-07-10 12:52:02 | [Mutex] waiting for: [received:nodes:a4773de3-ae12-4b4e-87d2-f650b3f3ccbc:localhost]

2023-07-10 12:52:02 | [Mutex] waiting for: [received:nodes:a4773de3-ae12-4b4e-87d2-f650b3f3ccbc:localhost]

2023-07-10 12:52:02 | [Mutex] waiting for: [received:nodes:a4773de3-ae12-4b4e-87d2-f650b3f3ccbc:localhost]

2023-07-10 12:52:02 | [Mutex] waiting for: [received:nodes:a4773de3-ae12-4b4e-87d2-f650b3f3ccbc:localhost]

2023-07-10 12:52:02 | [Mutex] received everything.

2023-07-10 12:52:02 | [Mutex] isItemNotified: received:node:a4773de3-ae12-4b4e-87d2-f650b3f3ccbc:localhost:node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593:Node 2d3dc78a-e6a6-4ca7-95ad-0a517e808593 :: false

createNodes 1.431s
2023-07-10 12:51:59 |

2023-07-10 12:51:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:51:59 | ------------------------------------

2023-07-10 12:51:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2d3dc78a-e6a6-4ca7-95ad-0a517e808593</title></pubsub></data>

2023-07-10 12:51:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-10 12:52:00 | [Mutex] waiting for: [received:nodes:ee92898d-68c0-4fac-a484-d826ecd4a670:localhost]

2023-07-10 12:52:00 | [Mutex] waiting for: [received:nodes:ee92898d-68c0-4fac-a484-d826ecd4a670:localhost]

2023-07-10 12:52:00 | [Mutex] waiting for: [received:nodes:ee92898d-68c0-4fac-a484-d826ecd4a670:localhost]

2023-07-10 12:52:00 | [Mutex] waiting for: [received:nodes:ee92898d-68c0-4fac-a484-d826ecd4a670:localhost]

2023-07-10 12:52:00 | [Mutex] received everything.

2023-07-10 12:52:00 | [Mutex] isItemNotified: received:node:ee92898d-68c0-4fac-a484-d826ecd4a670:localhost:node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593:Node 2d3dc78a-e6a6-4ca7-95ad-0a517e808593 :: true

createSubnodes 1.019s
2023-07-10 12:52:00 |

2023-07-10 12:52:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:52:00 | ------------------------------------

2023-07-10 12:52:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4a20dacd-f6a5-4ad4-bead-2b4a2d174ef3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4a20dacd-f6a5-4ad4-bead-2b4a2d174ef3</title></pubsub></data>

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

2023-07-10 12:52:01 | [Mutex] waiting for: [received:nodes:1f469c13-75b2-4423-b3c1-38d017d3268e:localhost]

2023-07-10 12:52:01 | [Mutex] waiting for: [received:nodes:1f469c13-75b2-4423-b3c1-38d017d3268e:localhost]

2023-07-10 12:52:01 | [Mutex] waiting for: [received:nodes:1f469c13-75b2-4423-b3c1-38d017d3268e:localhost]

2023-07-10 12:52:01 | [Mutex] waiting for: [received:nodes:1f469c13-75b2-4423-b3c1-38d017d3268e:localhost]

2023-07-10 12:52:01 | [Mutex] waiting for: [received:nodes:1f469c13-75b2-4423-b3c1-38d017d3268e:localhost]

2023-07-10 12:52:01 | [Mutex] received everything.

2023-07-10 12:52:01 | [Mutex] isItemNotified: received:node:1f469c13-75b2-4423-b3c1-38d017d3268e:localhost:node-4a20dacd-f6a5-4ad4-bead-2b4a2d174ef3:Node 4a20dacd-f6a5-4ad4-bead-2b4a2d174ef3 :: true

deleteNodes 1.015s
2023-07-10 12:52:07 |

2023-07-10 12:52:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:52:07 | ------------------------------------

2023-07-10 12:52:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4a20dacd-f6a5-4ad4-bead-2b4a2d174ef3</node></data>

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

2023-07-10 12:52:08 | [Mutex] waiting for: [received:nodes:ff97c1fa-5196-4438-b3f8-119fdad80da3:localhost]

2023-07-10 12:52:08 | [Mutex] waiting for: [received:nodes:ff97c1fa-5196-4438-b3f8-119fdad80da3:localhost]

2023-07-10 12:52:08 | [Mutex] waiting for: [received:nodes:ff97c1fa-5196-4438-b3f8-119fdad80da3:localhost]

2023-07-10 12:52:08 | [Mutex] received everything.

2023-07-10 12:52:08 | [Mutex] isItemNotified: received:node:ff97c1fa-5196-4438-b3f8-119fdad80da3:localhost:node-4a20dacd-f6a5-4ad4-bead-2b4a2d174ef3:Node 4a20dacd-f6a5-4ad4-bead-2b4a2d174ef3 :: false

deleteSubnodes 1.099s
2023-07-10 12:52:05 |

2023-07-10 12:52:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:52:05 | ------------------------------------

2023-07-10 12:52:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593</node></data>

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

2023-07-10 12:52:06 | [Mutex] waiting for: [received:nodes:6df1e028-bcbd-4a3a-b5de-8ea10b614ed5:localhost]

2023-07-10 12:52:07 | [Mutex] waiting for: [received:nodes:6df1e028-bcbd-4a3a-b5de-8ea10b614ed5:localhost]

2023-07-10 12:52:07 | [Mutex] waiting for: [received:nodes:6df1e028-bcbd-4a3a-b5de-8ea10b614ed5:localhost]

2023-07-10 12:52:07 | [Mutex] waiting for: [received:nodes:6df1e028-bcbd-4a3a-b5de-8ea10b614ed5:localhost]

2023-07-10 12:52:07 | [Mutex] received everything.

2023-07-10 12:52:07 | [Mutex] isItemNotified: received:node:6df1e028-bcbd-4a3a-b5de-8ea10b614ed5:localhost:node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593:Node 2d3dc78a-e6a6-4ca7-95ad-0a517e808593 :: false

2023-07-10 12:52:07 | [Mutex] waiting for: [received:nodes:dbeee038-30f1-45bf-9780-113b7e1ebf61:localhost]

2023-07-10 12:52:07 | [Mutex] received everything.

2023-07-10 12:52:07 | [Mutex] isItemNotified: received:node:dbeee038-30f1-45bf-9780-113b7e1ebf61:localhost:node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593:Node 2d3dc78a-e6a6-4ca7-95ad-0a517e808593 :: false

publishItemsToNodes 0.182s
2023-07-10 12:52:03 |

2023-07-10 12:52:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:52:03 | ------------------------------------

2023-07-10 12:52:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593</node><item-id>item-6031e0f9-d891-4488-abd9-d0f8d322b1f2</item-id><entry><test>item-6031e0f9-d891-4488-abd9-d0f8d322b1f2</test></entry></data>

2023-07-10 12:52:04 | 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-6031e0f9-d891-4488-abd9-d0f8d322b1f2</value></item-id></result>

2023-07-10 12:52:04 | [Mutex] waiting for: [published:item:notifieditem-6031e0f9-d891-4488-abd9-d0f8d322b1f2:admin@test-domain.com]

2023-07-10 12:52:04 | [Mutex] received everything.

2023-07-10 12:52:04 | [Mutex] isItemNotified: published:item:notifieditem-6031e0f9-d891-4488-abd9-d0f8d322b1f2:admin@test-domain.com :: true

retractItemsFromNodes 0.274s
2023-07-10 12:52:04 |

2023-07-10 12:52:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:52:04 | ------------------------------------

2023-07-10 12:52:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593</node><item-id>item-6031e0f9-d891-4488-abd9-d0f8d322b1f2</item-id></data>

2023-07-10 12:52:04 | 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-6031e0f9-d891-4488-abd9-d0f8d322b1f2</value></item-id></result>

2023-07-10 12:52:04 | [Mutex] received everything.

2023-07-10 12:52:04 | [Mutex] isItemNotified: retracted:item:notifieditem-6031e0f9-d891-4488-abd9-d0f8d322b1f2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.205s
2023-07-10 12:52:04 |

2023-07-10 12:52:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:52:04 | ------------------------------------

2023-07-10 12:52:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593</node><item-id>item-6031e0f9-d891-4488-abd9-d0f8d322b1f2</item-id></data>

2023-07-10 12:52:04 | 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-2d3dc78a-e6a6-4ca7-95ad-0a517e808593</value></node><item-id type="text-single" label="Item ID"><value>item-6031e0f9-d891-4488-abd9-d0f8d322b1f2</value></item-id><item type="text-multi" label="Item"><value><item id="item-6031e0f9-d891-4488-abd9-d0f8d322b1f2"><test>item-6031e0f9-d891-4488-abd9-d0f8d322b1f2</test></item></value></item></result>

2023-07-10 12:52:04 | [Mutex] notify: [retrieved:item:item-6031e0f9-d891-4488-abd9-d0f8d322b1f2:payload-matches:true:localhost]

2023-07-10 12:52:04 | [Mutex] received everything.

2023-07-10 12:52:04 | [Mutex] isItemNotified: retrieved:item:item-6031e0f9-d891-4488-abd9-d0f8d322b1f2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-07-10 12:52:04 |

2023-07-10 12:52:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:52:04 | ------------------------------------

2023-07-10 12:52:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-10 12:52:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593</value><value>test</value><value>node-4a20dacd-f6a5-4ad4-bead-2b4a2d174ef3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2023-07-10 12:52:04 |

2023-07-10 12:52:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:52:04 | ------------------------------------

2023-07-10 12:52:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593)</node-pattern></data>

2023-07-10 12:52:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.102s
2023-07-10 12:52:02 |

2023-07-10 12:52:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:52:02 | ------------------------------------

2023-07-10 12:52:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-10 12:52:02 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.180s
2023-07-10 12:52:04 |

2023-07-10 12:52:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:52:04 | ------------------------------------

2023-07-10 12:52:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2d3dc78a-e6a6-4ca7-95ad-0a517e808593</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-10 12:52:04 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>