Generated by TestNG with ReportNG at 22:50 PDT on Wednesday 24 August 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.336s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.092s
2022-08-24 23:04:44 |

2022-08-24 23:04:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:04:44 | ------------------------------------

2022-08-24 23:04:44 | [Mutex] waiting for: [configured:node:node-c0727acd-96a2-47ea-b2f3-8263c9a6ec90:node-0dfb2f78-1b67-4536-a0ac-71fa29903e28]

2022-08-24 23:04:44 | [Mutex] received everything.

2022-08-24 23:04:44 | [Mutex] isItemNotified: configured:node:node-c0727acd-96a2-47ea-b2f3-8263c9a6ec90:node-0dfb2f78-1b67-4536-a0ac-71fa29903e28 :: true

2022-08-24 23:04:45 | [Mutex] waiting for: [received:nodes:a4314e92-25b8-4fb4-be1b-f4e9129231de:localhost]

2022-08-24 23:04:45 | [Mutex] received everything.

2022-08-24 23:04:45 | [Mutex] isItemNotified: received:node:a4314e92-25b8-4fb4-be1b-f4e9129231de:localhost:node-c0727acd-96a2-47ea-b2f3-8263c9a6ec90:Node c0727acd-96a2-47ea-b2f3-8263c9a6ec90 :: true

2022-08-24 23:04:45 | [Mutex] waiting for: [received:nodes:c1c5694e-e13b-4a90-805c-deb3b8918c20:localhost]

2022-08-24 23:04:45 | [Mutex] waiting for: [received:nodes:c1c5694e-e13b-4a90-805c-deb3b8918c20:localhost]

2022-08-24 23:04:45 | [Mutex] received everything.

2022-08-24 23:04:45 | [Mutex] isItemNotified: received:node:c1c5694e-e13b-4a90-805c-deb3b8918c20:localhost:node-c0727acd-96a2-47ea-b2f3-8263c9a6ec90:Node c0727acd-96a2-47ea-b2f3-8263c9a6ec90 :: false

createNodes 1.418s
2022-08-24 23:04:42 |

2022-08-24 23:04:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:04:42 | ------------------------------------

2022-08-24 23:04:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c0727acd-96a2-47ea-b2f3-8263c9a6ec90</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c0727acd-96a2-47ea-b2f3-8263c9a6ec90</title></pubsub></data>

2022-08-24 23:04:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-24 23:04:43 | [Mutex] waiting for: [received:nodes:d2f320bb-4bd5-4e45-a9e8-2953d3b862a2:localhost]

2022-08-24 23:04:43 | [Mutex] received everything.

2022-08-24 23:04:43 | [Mutex] isItemNotified: received:node:d2f320bb-4bd5-4e45-a9e8-2953d3b862a2:localhost:node-c0727acd-96a2-47ea-b2f3-8263c9a6ec90:Node c0727acd-96a2-47ea-b2f3-8263c9a6ec90 :: true

createSubnodes 1.020s
2022-08-24 23:04:43 |

2022-08-24 23:04:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:04:43 | ------------------------------------

2022-08-24 23:04:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0dfb2f78-1b67-4536-a0ac-71fa29903e28</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0dfb2f78-1b67-4536-a0ac-71fa29903e28</title></pubsub></data>

2022-08-24 23:04:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-24 23:04:44 | [Mutex] waiting for: [received:nodes:d263bcc6-6982-4820-b8e7-e567af0e1cf8:localhost]

2022-08-24 23:04:44 | [Mutex] waiting for: [received:nodes:d263bcc6-6982-4820-b8e7-e567af0e1cf8:localhost]

2022-08-24 23:04:44 | [Mutex] received everything.

2022-08-24 23:04:44 | [Mutex] isItemNotified: received:node:d263bcc6-6982-4820-b8e7-e567af0e1cf8:localhost:node-0dfb2f78-1b67-4536-a0ac-71fa29903e28:Node 0dfb2f78-1b67-4536-a0ac-71fa29903e28 :: true

deleteNodes 1.017s
2022-08-24 23:04:49 |

2022-08-24 23:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:04:49 | ------------------------------------

2022-08-24 23:04:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0dfb2f78-1b67-4536-a0ac-71fa29903e28</node></data>

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

2022-08-24 23:04:50 | [Mutex] waiting for: [received:nodes:1a418468-c068-403e-a211-4902abbe6d9d:localhost]

2022-08-24 23:04:50 | [Mutex] received everything.

2022-08-24 23:04:50 | [Mutex] isItemNotified: received:node:1a418468-c068-403e-a211-4902abbe6d9d:localhost:node-0dfb2f78-1b67-4536-a0ac-71fa29903e28:Node 0dfb2f78-1b67-4536-a0ac-71fa29903e28 :: false

deleteSubnodes 1.132s
2022-08-24 23:04:48 |

2022-08-24 23:04:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:04:48 | ------------------------------------

2022-08-24 23:04:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c0727acd-96a2-47ea-b2f3-8263c9a6ec90</node></data>

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

2022-08-24 23:04:49 | [Mutex] waiting for: [received:nodes:a916144e-b640-471b-a3b8-2667ee86ed8d:localhost]

2022-08-24 23:04:49 | [Mutex] waiting for: [received:nodes:a916144e-b640-471b-a3b8-2667ee86ed8d:localhost]

2022-08-24 23:04:49 | [Mutex] received everything.

2022-08-24 23:04:49 | [Mutex] isItemNotified: received:node:a916144e-b640-471b-a3b8-2667ee86ed8d:localhost:node-c0727acd-96a2-47ea-b2f3-8263c9a6ec90:Node c0727acd-96a2-47ea-b2f3-8263c9a6ec90 :: false

2022-08-24 23:04:49 | [Mutex] waiting for: [received:nodes:92441b1e-d530-446d-b45b-1bc0a0e2b7f1:localhost]

2022-08-24 23:04:49 | [Mutex] received everything.

2022-08-24 23:04:49 | [Mutex] isItemNotified: received:node:92441b1e-d530-446d-b45b-1bc0a0e2b7f1:localhost:node-c0727acd-96a2-47ea-b2f3-8263c9a6ec90:Node c0727acd-96a2-47ea-b2f3-8263c9a6ec90 :: false

publishItemsToNodes 0.231s
2022-08-24 23:04:46 |

2022-08-24 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:04:46 | ------------------------------------

2022-08-24 23:04:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c0727acd-96a2-47ea-b2f3-8263c9a6ec90</node><item-id>item-410b4f7e-73ca-484a-8999-3ad3f737244a</item-id><entry><test>item-410b4f7e-73ca-484a-8999-3ad3f737244a</test></entry></data>

2022-08-24 23:04:47 | 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-410b4f7e-73ca-484a-8999-3ad3f737244a</value></item-id></result>

2022-08-24 23:04:47 | [Mutex] waiting for: [published:item:notifieditem-410b4f7e-73ca-484a-8999-3ad3f737244a:admin@test-domain.com]

2022-08-24 23:04:47 | [Mutex] received everything.

2022-08-24 23:04:47 | [Mutex] isItemNotified: published:item:notifieditem-410b4f7e-73ca-484a-8999-3ad3f737244a:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2022-08-24 23:04:47 |

2022-08-24 23:04:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:04:47 | ------------------------------------

2022-08-24 23:04:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c0727acd-96a2-47ea-b2f3-8263c9a6ec90</node><item-id>item-410b4f7e-73ca-484a-8999-3ad3f737244a</item-id></data>

2022-08-24 23:04:47 | 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-410b4f7e-73ca-484a-8999-3ad3f737244a</value></item-id></result>

2022-08-24 23:04:47 | [Mutex] received everything.

2022-08-24 23:04:47 | [Mutex] isItemNotified: retracted:item:notifieditem-410b4f7e-73ca-484a-8999-3ad3f737244a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.120s
2022-08-24 23:04:47 |

2022-08-24 23:04:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:04:47 | ------------------------------------

2022-08-24 23:04:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c0727acd-96a2-47ea-b2f3-8263c9a6ec90</node><item-id>item-410b4f7e-73ca-484a-8999-3ad3f737244a</item-id></data>

2022-08-24 23:04:47 | 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-c0727acd-96a2-47ea-b2f3-8263c9a6ec90</value></node><item-id type="text-single" label="Item ID"><value>item-410b4f7e-73ca-484a-8999-3ad3f737244a</value></item-id><item type="text-multi" label="Item"><value><item id="item-410b4f7e-73ca-484a-8999-3ad3f737244a"><test>item-410b4f7e-73ca-484a-8999-3ad3f737244a</test></item></value></item></result>

2022-08-24 23:04:47 | [Mutex] notify: [retrieved:item:item-410b4f7e-73ca-484a-8999-3ad3f737244a:payload-matches:true:localhost]

2022-08-24 23:04:47 | [Mutex] received everything.

2022-08-24 23:04:47 | [Mutex] isItemNotified: retrieved:item:item-410b4f7e-73ca-484a-8999-3ad3f737244a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-08-24 23:04:47 |

2022-08-24 23:04:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:04:47 | ------------------------------------

2022-08-24 23:04:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-24 23:04:47 | 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-c0727acd-96a2-47ea-b2f3-8263c9a6ec90</value><value>node-0dfb2f78-1b67-4536-a0ac-71fa29903e28</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-24 23:04:47 |

2022-08-24 23:04:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:04:47 | ------------------------------------

2022-08-24 23:04:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c0727acd-96a2-47ea-b2f3-8263c9a6ec90)</node-pattern></data>

2022-08-24 23:04:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.106s
2022-08-24 23:04:45 |

2022-08-24 23:04:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:04:45 | ------------------------------------

2022-08-24 23:04:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c0727acd-96a2-47ea-b2f3-8263c9a6ec90</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-24 23:04:45 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.259s
2022-08-24 23:04:47 |

2022-08-24 23:04:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 23:04:47 | ------------------------------------

2022-08-24 23:04:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c0727acd-96a2-47ea-b2f3-8263c9a6ec90</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-24 23:04:47 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>