Generated by TestNG with ReportNG at 03:41 PST on Thursday 24 November 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.364s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.077s
2022-11-24 03:56:33 |

2022-11-24 03:56:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 03:56:33 | ------------------------------------

2022-11-24 03:56:33 | [Mutex] waiting for: [configured:node:node-f30b054a-4365-459a-bd80-b19a1c46de20:node-43bf023d-8e6d-4f9a-b96e-d61751c7d505]

2022-11-24 03:56:33 | [Mutex] received everything.

2022-11-24 03:56:33 | [Mutex] isItemNotified: configured:node:node-f30b054a-4365-459a-bd80-b19a1c46de20:node-43bf023d-8e6d-4f9a-b96e-d61751c7d505 :: true

2022-11-24 03:56:34 | [Mutex] waiting for: [received:nodes:81bcbc77-074d-4749-acb7-4fac110a8438:localhost]

2022-11-24 03:56:34 | [Mutex] received everything.

2022-11-24 03:56:34 | [Mutex] isItemNotified: received:node:81bcbc77-074d-4749-acb7-4fac110a8438:localhost:node-f30b054a-4365-459a-bd80-b19a1c46de20:Node f30b054a-4365-459a-bd80-b19a1c46de20 :: true

2022-11-24 03:56:34 | [Mutex] waiting for: [received:nodes:862b629a-df02-48fb-bc65-e34abf5b0ebf:localhost]

2022-11-24 03:56:34 | [Mutex] received everything.

2022-11-24 03:56:34 | [Mutex] isItemNotified: received:node:862b629a-df02-48fb-bc65-e34abf5b0ebf:localhost:node-f30b054a-4365-459a-bd80-b19a1c46de20:Node f30b054a-4365-459a-bd80-b19a1c46de20 :: false

createNodes 1.398s
2022-11-24 03:56:30 |

2022-11-24 03:56:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 03:56:30 | ------------------------------------

2022-11-24 03:56:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f30b054a-4365-459a-bd80-b19a1c46de20</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f30b054a-4365-459a-bd80-b19a1c46de20</title></pubsub></data>

2022-11-24 03:56:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-24 03:56:32 | [Mutex] waiting for: [received:nodes:8aab4f69-c7fc-42b5-8cbb-8eb5139ec645:localhost]

2022-11-24 03:56:32 | [Mutex] received everything.

2022-11-24 03:56:32 | [Mutex] isItemNotified: received:node:8aab4f69-c7fc-42b5-8cbb-8eb5139ec645:localhost:node-f30b054a-4365-459a-bd80-b19a1c46de20:Node f30b054a-4365-459a-bd80-b19a1c46de20 :: true

createSubnodes 1.020s
2022-11-24 03:56:32 |

2022-11-24 03:56:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 03:56:32 | ------------------------------------

2022-11-24 03:56:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-43bf023d-8e6d-4f9a-b96e-d61751c7d505</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 43bf023d-8e6d-4f9a-b96e-d61751c7d505</title></pubsub></data>

2022-11-24 03:56:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-24 03:56:33 | [Mutex] waiting for: [received:nodes:40e96888-1e12-48ff-8412-c2af236049aa:localhost]

2022-11-24 03:56:33 | [Mutex] waiting for: [received:nodes:40e96888-1e12-48ff-8412-c2af236049aa:localhost]

2022-11-24 03:56:33 | [Mutex] received everything.

2022-11-24 03:56:33 | [Mutex] isItemNotified: received:node:40e96888-1e12-48ff-8412-c2af236049aa:localhost:node-43bf023d-8e6d-4f9a-b96e-d61751c7d505:Node 43bf023d-8e6d-4f9a-b96e-d61751c7d505 :: true

deleteNodes 1.016s
2022-11-24 03:56:38 |

2022-11-24 03:56:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 03:56:38 | ------------------------------------

2022-11-24 03:56:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-43bf023d-8e6d-4f9a-b96e-d61751c7d505</node></data>

2022-11-24 03:56:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-24 03:56:39 | [Mutex] waiting for: [received:nodes:baf08cdf-2edf-41e1-832b-0af78b8bed0c:localhost]

2022-11-24 03:56:39 | [Mutex] waiting for: [received:nodes:baf08cdf-2edf-41e1-832b-0af78b8bed0c:localhost]

2022-11-24 03:56:39 | [Mutex] received everything.

2022-11-24 03:56:39 | [Mutex] isItemNotified: received:node:baf08cdf-2edf-41e1-832b-0af78b8bed0c:localhost:node-43bf023d-8e6d-4f9a-b96e-d61751c7d505:Node 43bf023d-8e6d-4f9a-b96e-d61751c7d505 :: false

deleteSubnodes 1.108s
2022-11-24 03:56:37 |

2022-11-24 03:56:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 03:56:37 | ------------------------------------

2022-11-24 03:56:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f30b054a-4365-459a-bd80-b19a1c46de20</node></data>

2022-11-24 03:56:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-24 03:56:38 | [Mutex] waiting for: [received:nodes:f385f0b9-3034-4418-88c2-717c425d7344:localhost]

2022-11-24 03:56:38 | [Mutex] received everything.

2022-11-24 03:56:38 | [Mutex] isItemNotified: received:node:f385f0b9-3034-4418-88c2-717c425d7344:localhost:node-f30b054a-4365-459a-bd80-b19a1c46de20:Node f30b054a-4365-459a-bd80-b19a1c46de20 :: false

2022-11-24 03:56:38 | [Mutex] waiting for: [received:nodes:c231fac7-bbe2-45af-b31d-6cb8cf2f120e:localhost]

2022-11-24 03:56:38 | [Mutex] received everything.

2022-11-24 03:56:38 | [Mutex] isItemNotified: received:node:c231fac7-bbe2-45af-b31d-6cb8cf2f120e:localhost:node-f30b054a-4365-459a-bd80-b19a1c46de20:Node f30b054a-4365-459a-bd80-b19a1c46de20 :: false

publishItemsToNodes 0.252s
2022-11-24 03:56:35 |

2022-11-24 03:56:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 03:56:35 | ------------------------------------

2022-11-24 03:56:35 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f30b054a-4365-459a-bd80-b19a1c46de20</node><item-id>item-42cad111-0ad3-4fac-8efc-f5c640a65184</item-id><entry><test>item-42cad111-0ad3-4fac-8efc-f5c640a65184</test></entry></data>

2022-11-24 03:56:35 | 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-42cad111-0ad3-4fac-8efc-f5c640a65184</value></item-id></result>

2022-11-24 03:56:35 | [Mutex] waiting for: [published:item:notifieditem-42cad111-0ad3-4fac-8efc-f5c640a65184:admin@test-domain.com]

2022-11-24 03:56:35 | [Mutex] received everything.

2022-11-24 03:56:35 | [Mutex] isItemNotified: published:item:notifieditem-42cad111-0ad3-4fac-8efc-f5c640a65184:admin@test-domain.com :: true

retractItemsFromNodes 0.183s
2022-11-24 03:56:36 |

2022-11-24 03:56:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 03:56:36 | ------------------------------------

2022-11-24 03:56:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f30b054a-4365-459a-bd80-b19a1c46de20</node><item-id>item-42cad111-0ad3-4fac-8efc-f5c640a65184</item-id></data>

2022-11-24 03:56:36 | 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-42cad111-0ad3-4fac-8efc-f5c640a65184</value></item-id></result>

2022-11-24 03:56:36 | [Mutex] received everything.

2022-11-24 03:56:36 | [Mutex] isItemNotified: retracted:item:notifieditem-42cad111-0ad3-4fac-8efc-f5c640a65184:admin@test-domain.com :: true

retrieveItemsFromNodes 0.243s
2022-11-24 03:56:35 |

2022-11-24 03:56:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 03:56:35 | ------------------------------------

2022-11-24 03:56:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f30b054a-4365-459a-bd80-b19a1c46de20</node><item-id>item-42cad111-0ad3-4fac-8efc-f5c640a65184</item-id></data>

2022-11-24 03:56:36 | 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-f30b054a-4365-459a-bd80-b19a1c46de20</value></node><item-id type="text-single" label="Item ID"><value>item-42cad111-0ad3-4fac-8efc-f5c640a65184</value></item-id><item type="text-multi" label="Item"><value><item id="item-42cad111-0ad3-4fac-8efc-f5c640a65184"><test>item-42cad111-0ad3-4fac-8efc-f5c640a65184</test></item></value></item></result>

2022-11-24 03:56:36 | [Mutex] notify: [retrieved:item:item-42cad111-0ad3-4fac-8efc-f5c640a65184:payload-matches:true:localhost]

2022-11-24 03:56:36 | [Mutex] received everything.

2022-11-24 03:56:36 | [Mutex] isItemNotified: retrieved:item:item-42cad111-0ad3-4fac-8efc-f5c640a65184:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2022-11-24 03:56:36 |

2022-11-24 03:56:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 03:56:36 | ------------------------------------

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

2022-11-24 03:56:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-43bf023d-8e6d-4f9a-b96e-d61751c7d505</value><value>test</value><value>node-f30b054a-4365-459a-bd80-b19a1c46de20</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.063s
2022-11-24 03:56:36 |

2022-11-24 03:56:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 03:56:36 | ------------------------------------

2022-11-24 03:56:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f30b054a-4365-459a-bd80-b19a1c46de20)</node-pattern></data>

2022-11-24 03:56:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.110s
2022-11-24 03:56:34 |

2022-11-24 03:56:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 03:56:34 | ------------------------------------

2022-11-24 03:56:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f30b054a-4365-459a-bd80-b19a1c46de20</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-24 03:56:34 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.231s
2022-11-24 03:56:36 |

2022-11-24 03:56:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 03:56:36 | ------------------------------------

2022-11-24 03:56:36 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f30b054a-4365-459a-bd80-b19a1c46de20</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-24 03:56:36 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>