Generated by TestNG with ReportNG at 21:47 PST on Monday 27 February 2023
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.801s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2023-02-27 22:01:25 |

2023-02-27 22:01:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 22:01:25 | ------------------------------------

2023-02-27 22:01:25 | [Mutex] waiting for: [configured:node:node-f9f176ee-f3c6-4af6-b24a-d412586ecde3:node-a8cef845-0e6b-4dbf-a2d7-479baa6270a6]

2023-02-27 22:01:25 | [Mutex] received everything.

2023-02-27 22:01:25 | [Mutex] isItemNotified: configured:node:node-f9f176ee-f3c6-4af6-b24a-d412586ecde3:node-a8cef845-0e6b-4dbf-a2d7-479baa6270a6 :: true

2023-02-27 22:01:26 | [Mutex] waiting for: [received:nodes:98ad8f8f-4329-48ba-834f-17ced8d6f5b3:localhost]

2023-02-27 22:01:26 | [Mutex] received everything.

2023-02-27 22:01:26 | [Mutex] isItemNotified: received:node:98ad8f8f-4329-48ba-834f-17ced8d6f5b3:localhost:node-f9f176ee-f3c6-4af6-b24a-d412586ecde3:Node f9f176ee-f3c6-4af6-b24a-d412586ecde3 :: true

2023-02-27 22:01:26 | [Mutex] waiting for: [received:nodes:f9e54d54-219c-4bab-9cc0-5d882bc4b772:localhost]

2023-02-27 22:01:26 | [Mutex] waiting for: [received:nodes:f9e54d54-219c-4bab-9cc0-5d882bc4b772:localhost]

2023-02-27 22:01:26 | [Mutex] waiting for: [received:nodes:f9e54d54-219c-4bab-9cc0-5d882bc4b772:localhost]

2023-02-27 22:01:26 | [Mutex] waiting for: [received:nodes:f9e54d54-219c-4bab-9cc0-5d882bc4b772:localhost]

2023-02-27 22:01:26 | [Mutex] received everything.

2023-02-27 22:01:26 | [Mutex] isItemNotified: received:node:f9e54d54-219c-4bab-9cc0-5d882bc4b772:localhost:node-f9f176ee-f3c6-4af6-b24a-d412586ecde3:Node f9f176ee-f3c6-4af6-b24a-d412586ecde3 :: false

createNodes 1.801s
2023-02-27 22:01:22 |

2023-02-27 22:01:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 22:01:22 | ------------------------------------

2023-02-27 22:01:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f9f176ee-f3c6-4af6-b24a-d412586ecde3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f9f176ee-f3c6-4af6-b24a-d412586ecde3</title></pubsub></data>

2023-02-27 22:01:23 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-27 22:01:24 | [Mutex] waiting for: [received:nodes:52d64fe5-a8d4-4967-a50e-d9a62a431e97:localhost]

2023-02-27 22:01:24 | [Mutex] waiting for: [received:nodes:52d64fe5-a8d4-4967-a50e-d9a62a431e97:localhost]

2023-02-27 22:01:24 | [Mutex] waiting for: [received:nodes:52d64fe5-a8d4-4967-a50e-d9a62a431e97:localhost]

2023-02-27 22:01:24 | [Mutex] waiting for: [received:nodes:52d64fe5-a8d4-4967-a50e-d9a62a431e97:localhost]

2023-02-27 22:01:24 | [Mutex] received everything.

2023-02-27 22:01:24 | [Mutex] isItemNotified: received:node:52d64fe5-a8d4-4967-a50e-d9a62a431e97:localhost:node-f9f176ee-f3c6-4af6-b24a-d412586ecde3:Node f9f176ee-f3c6-4af6-b24a-d412586ecde3 :: true

createSubnodes 1.025s
2023-02-27 22:01:24 |

2023-02-27 22:01:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 22:01:24 | ------------------------------------

2023-02-27 22:01:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a8cef845-0e6b-4dbf-a2d7-479baa6270a6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a8cef845-0e6b-4dbf-a2d7-479baa6270a6</title></pubsub></data>

2023-02-27 22:01:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-27 22:01:25 | [Mutex] waiting for: [received:nodes:dcdba7b2-a765-4787-9028-183733f29a15:localhost]

2023-02-27 22:01:25 | [Mutex] waiting for: [received:nodes:dcdba7b2-a765-4787-9028-183733f29a15:localhost]

2023-02-27 22:01:25 | [Mutex] received everything.

2023-02-27 22:01:25 | [Mutex] isItemNotified: received:node:dcdba7b2-a765-4787-9028-183733f29a15:localhost:node-a8cef845-0e6b-4dbf-a2d7-479baa6270a6:Node a8cef845-0e6b-4dbf-a2d7-479baa6270a6 :: true

deleteNodes 1.017s
2023-02-27 22:01:31 |

2023-02-27 22:01:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 22:01:31 | ------------------------------------

2023-02-27 22:01:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a8cef845-0e6b-4dbf-a2d7-479baa6270a6</node></data>

2023-02-27 22:01:31 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-27 22:01:32 | [Mutex] waiting for: [received:nodes:1a168e9c-2d6f-43a2-968e-fc879ca4c30e:localhost]

2023-02-27 22:01:32 | [Mutex] waiting for: [received:nodes:1a168e9c-2d6f-43a2-968e-fc879ca4c30e:localhost]

2023-02-27 22:01:32 | [Mutex] waiting for: [received:nodes:1a168e9c-2d6f-43a2-968e-fc879ca4c30e:localhost]

2023-02-27 22:01:32 | [Mutex] received everything.

2023-02-27 22:01:32 | [Mutex] isItemNotified: received:node:1a168e9c-2d6f-43a2-968e-fc879ca4c30e:localhost:node-a8cef845-0e6b-4dbf-a2d7-479baa6270a6:Node a8cef845-0e6b-4dbf-a2d7-479baa6270a6 :: false

deleteSubnodes 1.149s
2023-02-27 22:01:29 |

2023-02-27 22:01:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 22:01:29 | ------------------------------------

2023-02-27 22:01:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f9f176ee-f3c6-4af6-b24a-d412586ecde3</node></data>

2023-02-27 22:01:30 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-27 22:01:31 | [Mutex] waiting for: [received:nodes:bd8b36e4-57e4-4a4a-98cc-2a2027c910c6:localhost]

2023-02-27 22:01:31 | [Mutex] waiting for: [received:nodes:bd8b36e4-57e4-4a4a-98cc-2a2027c910c6:localhost]

2023-02-27 22:01:31 | [Mutex] waiting for: [received:nodes:bd8b36e4-57e4-4a4a-98cc-2a2027c910c6:localhost]

2023-02-27 22:01:31 | [Mutex] waiting for: [received:nodes:bd8b36e4-57e4-4a4a-98cc-2a2027c910c6:localhost]

2023-02-27 22:01:31 | [Mutex] received everything.

2023-02-27 22:01:31 | [Mutex] isItemNotified: received:node:bd8b36e4-57e4-4a4a-98cc-2a2027c910c6:localhost:node-f9f176ee-f3c6-4af6-b24a-d412586ecde3:Node f9f176ee-f3c6-4af6-b24a-d412586ecde3 :: false

2023-02-27 22:01:31 | [Mutex] waiting for: [received:nodes:03a8fe42-f404-4549-99b5-b2c3caa134be:localhost]

2023-02-27 22:01:31 | [Mutex] received everything.

2023-02-27 22:01:31 | [Mutex] isItemNotified: received:node:03a8fe42-f404-4549-99b5-b2c3caa134be:localhost:node-f9f176ee-f3c6-4af6-b24a-d412586ecde3:Node f9f176ee-f3c6-4af6-b24a-d412586ecde3 :: false

publishItemsToNodes 0.268s
2023-02-27 22:01:27 |

2023-02-27 22:01:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 22:01:27 | ------------------------------------

2023-02-27 22:01:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f9f176ee-f3c6-4af6-b24a-d412586ecde3</node><item-id>item-6af6df3d-06e9-4f78-b30d-cf6646e4441c</item-id><entry><test>item-6af6df3d-06e9-4f78-b30d-cf6646e4441c</test></entry></data>

2023-02-27 22:01:28 | 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-6af6df3d-06e9-4f78-b30d-cf6646e4441c</value></item-id></result>

2023-02-27 22:01:28 | [Mutex] received everything.

2023-02-27 22:01:28 | [Mutex] isItemNotified: published:item:notifieditem-6af6df3d-06e9-4f78-b30d-cf6646e4441c:admin@test-domain.com :: true

retractItemsFromNodes 0.313s
2023-02-27 22:01:28 |

2023-02-27 22:01:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 22:01:28 | ------------------------------------

2023-02-27 22:01:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f9f176ee-f3c6-4af6-b24a-d412586ecde3</node><item-id>item-6af6df3d-06e9-4f78-b30d-cf6646e4441c</item-id></data>

2023-02-27 22:01: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-6af6df3d-06e9-4f78-b30d-cf6646e4441c</value></item-id></result>

2023-02-27 22:01:28 | [Mutex] received everything.

2023-02-27 22:01:28 | [Mutex] isItemNotified: retracted:item:notifieditem-6af6df3d-06e9-4f78-b30d-cf6646e4441c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.215s
2023-02-27 22:01:28 |

2023-02-27 22:01:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 22:01:28 | ------------------------------------

2023-02-27 22:01:28 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f9f176ee-f3c6-4af6-b24a-d412586ecde3</node><item-id>item-6af6df3d-06e9-4f78-b30d-cf6646e4441c</item-id></data>

2023-02-27 22:01: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-f9f176ee-f3c6-4af6-b24a-d412586ecde3</value></node><item-id type="text-single" label="Item ID"><value>item-6af6df3d-06e9-4f78-b30d-cf6646e4441c</value></item-id><item type="text-multi" label="Item"><value><item id="item-6af6df3d-06e9-4f78-b30d-cf6646e4441c"><test>item-6af6df3d-06e9-4f78-b30d-cf6646e4441c</test></item></value></item></result>

2023-02-27 22:01:28 | [Mutex] notify: [retrieved:item:item-6af6df3d-06e9-4f78-b30d-cf6646e4441c:payload-matches:true:localhost]

2023-02-27 22:01:28 | [Mutex] received everything.

2023-02-27 22:01:28 | [Mutex] isItemNotified: retrieved:item:item-6af6df3d-06e9-4f78-b30d-cf6646e4441c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-02-27 22:01:28 |

2023-02-27 22:01:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 22:01:28 | ------------------------------------

2023-02-27 22:01:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-02-27 22:01:28 | 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-a8cef845-0e6b-4dbf-a2d7-479baa6270a6</value><value>node-f9f176ee-f3c6-4af6-b24a-d412586ecde3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2023-02-27 22:01:28 |

2023-02-27 22:01:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 22:01:28 | ------------------------------------

2023-02-27 22:01: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-f9f176ee-f3c6-4af6-b24a-d412586ecde3)</node-pattern></data>

2023-02-27 22:01:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.114s
2023-02-27 22:01:26 |

2023-02-27 22:01:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 22:01:26 | ------------------------------------

2023-02-27 22:01:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f9f176ee-f3c6-4af6-b24a-d412586ecde3</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-27 22:01: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.144s
2023-02-27 22:01:28 |

2023-02-27 22:01:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 22:01:28 | ------------------------------------

2023-02-27 22:01:28 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f9f176ee-f3c6-4af6-b24a-d412586ecde3</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-27 22:01:28 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>