Generated by TestNG with ReportNG at 22:47 PDT on Friday 24 March 2023
root@7c41cec37518 / 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.305s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2023-03-24 23:01:31 |

2023-03-24 23:01:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 23:01:31 | ------------------------------------

2023-03-24 23:01:31 | [Mutex] waiting for: [configured:node:node-7a616399-78a6-44df-b32e-bdb41418155f:node-d299b2f0-168d-49a8-9fa0-16c41f4da8ff]

2023-03-24 23:01:31 | [Mutex] received everything.

2023-03-24 23:01:31 | [Mutex] isItemNotified: configured:node:node-7a616399-78a6-44df-b32e-bdb41418155f:node-d299b2f0-168d-49a8-9fa0-16c41f4da8ff :: true

2023-03-24 23:01:32 | [Mutex] waiting for: [received:nodes:e19abc24-832f-4556-aa7d-eb104372be4c:localhost]

2023-03-24 23:01:32 | [Mutex] received everything.

2023-03-24 23:01:32 | [Mutex] isItemNotified: received:node:e19abc24-832f-4556-aa7d-eb104372be4c:localhost:node-7a616399-78a6-44df-b32e-bdb41418155f:Node 7a616399-78a6-44df-b32e-bdb41418155f :: true

2023-03-24 23:01:32 | [Mutex] waiting for: [received:nodes:82d08b8f-df3c-49f1-a52c-733c906b940f:localhost]

2023-03-24 23:01:32 | [Mutex] waiting for: [received:nodes:82d08b8f-df3c-49f1-a52c-733c906b940f:localhost]

2023-03-24 23:01:32 | [Mutex] waiting for: [received:nodes:82d08b8f-df3c-49f1-a52c-733c906b940f:localhost]

2023-03-24 23:01:32 | [Mutex] received everything.

2023-03-24 23:01:32 | [Mutex] isItemNotified: received:node:82d08b8f-df3c-49f1-a52c-733c906b940f:localhost:node-7a616399-78a6-44df-b32e-bdb41418155f:Node 7a616399-78a6-44df-b32e-bdb41418155f :: false

createNodes 1.360s
2023-03-24 23:01:29 |

2023-03-24 23:01:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 23:01:29 | ------------------------------------

2023-03-24 23:01:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7a616399-78a6-44df-b32e-bdb41418155f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7a616399-78a6-44df-b32e-bdb41418155f</title></pubsub></data>

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

2023-03-24 23:01:30 | [Mutex] waiting for: [received:nodes:a952e5e6-165e-44a0-b825-59dd6cd07992:localhost]

2023-03-24 23:01:30 | [Mutex] waiting for: [received:nodes:a952e5e6-165e-44a0-b825-59dd6cd07992:localhost]

2023-03-24 23:01:30 | [Mutex] waiting for: [received:nodes:a952e5e6-165e-44a0-b825-59dd6cd07992:localhost]

2023-03-24 23:01:30 | [Mutex] waiting for: [received:nodes:a952e5e6-165e-44a0-b825-59dd6cd07992:localhost]

2023-03-24 23:01:30 | [Mutex] received everything.

2023-03-24 23:01:30 | [Mutex] isItemNotified: received:node:a952e5e6-165e-44a0-b825-59dd6cd07992:localhost:node-7a616399-78a6-44df-b32e-bdb41418155f:Node 7a616399-78a6-44df-b32e-bdb41418155f :: true

createSubnodes 1.020s
2023-03-24 23:01:30 |

2023-03-24 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 23:01:30 | ------------------------------------

2023-03-24 23:01:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d299b2f0-168d-49a8-9fa0-16c41f4da8ff</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d299b2f0-168d-49a8-9fa0-16c41f4da8ff</title></pubsub></data>

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

2023-03-24 23:01:31 | [Mutex] waiting for: [received:nodes:eef46edb-3c7b-4486-814c-f9fdda79df6f:localhost]

2023-03-24 23:01:31 | [Mutex] waiting for: [received:nodes:eef46edb-3c7b-4486-814c-f9fdda79df6f:localhost]

2023-03-24 23:01:31 | [Mutex] waiting for: [received:nodes:eef46edb-3c7b-4486-814c-f9fdda79df6f:localhost]

2023-03-24 23:01:31 | [Mutex] waiting for: [received:nodes:eef46edb-3c7b-4486-814c-f9fdda79df6f:localhost]

2023-03-24 23:01:31 | [Mutex] waiting for: [received:nodes:eef46edb-3c7b-4486-814c-f9fdda79df6f:localhost]

2023-03-24 23:01:31 | [Mutex] received everything.

2023-03-24 23:01:31 | [Mutex] isItemNotified: received:node:eef46edb-3c7b-4486-814c-f9fdda79df6f:localhost:node-d299b2f0-168d-49a8-9fa0-16c41f4da8ff:Node d299b2f0-168d-49a8-9fa0-16c41f4da8ff :: true

deleteNodes 1.017s
2023-03-24 23:01:36 |

2023-03-24 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 23:01:36 | ------------------------------------

2023-03-24 23:01:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d299b2f0-168d-49a8-9fa0-16c41f4da8ff</node></data>

2023-03-24 23:01:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-24 23:01:37 | [Mutex] waiting for: [received:nodes:dda545ce-7d0e-4500-bd96-8c63df3673c2:localhost]

2023-03-24 23:01:37 | [Mutex] waiting for: [received:nodes:dda545ce-7d0e-4500-bd96-8c63df3673c2:localhost]

2023-03-24 23:01:37 | [Mutex] waiting for: [received:nodes:dda545ce-7d0e-4500-bd96-8c63df3673c2:localhost]

2023-03-24 23:01:37 | [Mutex] received everything.

2023-03-24 23:01:37 | [Mutex] isItemNotified: received:node:dda545ce-7d0e-4500-bd96-8c63df3673c2:localhost:node-d299b2f0-168d-49a8-9fa0-16c41f4da8ff:Node d299b2f0-168d-49a8-9fa0-16c41f4da8ff :: false

deleteSubnodes 1.119s
2023-03-24 23:01:35 |

2023-03-24 23:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 23:01:35 | ------------------------------------

2023-03-24 23:01:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7a616399-78a6-44df-b32e-bdb41418155f</node></data>

2023-03-24 23:01:35 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-24 23:01:36 | [Mutex] waiting for: [received:nodes:a45c96e0-d18e-42fc-90d5-41ad65cba3fe:localhost]

2023-03-24 23:01:36 | [Mutex] waiting for: [received:nodes:a45c96e0-d18e-42fc-90d5-41ad65cba3fe:localhost]

2023-03-24 23:01:36 | [Mutex] waiting for: [received:nodes:a45c96e0-d18e-42fc-90d5-41ad65cba3fe:localhost]

2023-03-24 23:01:36 | [Mutex] received everything.

2023-03-24 23:01:36 | [Mutex] isItemNotified: received:node:a45c96e0-d18e-42fc-90d5-41ad65cba3fe:localhost:node-7a616399-78a6-44df-b32e-bdb41418155f:Node 7a616399-78a6-44df-b32e-bdb41418155f :: false

2023-03-24 23:01:36 | [Mutex] waiting for: [received:nodes:6e157780-a239-41b6-bfdb-64ea5fbe3722:localhost]

2023-03-24 23:01:36 | [Mutex] received everything.

2023-03-24 23:01:36 | [Mutex] isItemNotified: received:node:6e157780-a239-41b6-bfdb-64ea5fbe3722:localhost:node-7a616399-78a6-44df-b32e-bdb41418155f:Node 7a616399-78a6-44df-b32e-bdb41418155f :: false

publishItemsToNodes 0.173s
2023-03-24 23:01:33 |

2023-03-24 23:01:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 23:01:33 | ------------------------------------

2023-03-24 23:01:33 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7a616399-78a6-44df-b32e-bdb41418155f</node><item-id>item-ad6dfc9e-6bcd-46ba-9f23-d80295335c21</item-id><entry><test>item-ad6dfc9e-6bcd-46ba-9f23-d80295335c21</test></entry></data>

2023-03-24 23:01:34 | 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-ad6dfc9e-6bcd-46ba-9f23-d80295335c21</value></item-id></result>

2023-03-24 23:01:34 | [Mutex] received everything.

2023-03-24 23:01:34 | [Mutex] isItemNotified: published:item:notifieditem-ad6dfc9e-6bcd-46ba-9f23-d80295335c21:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2023-03-24 23:01:34 |

2023-03-24 23:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 23:01:34 | ------------------------------------

2023-03-24 23:01:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7a616399-78a6-44df-b32e-bdb41418155f</node><item-id>item-ad6dfc9e-6bcd-46ba-9f23-d80295335c21</item-id></data>

2023-03-24 23:01:34 | 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-ad6dfc9e-6bcd-46ba-9f23-d80295335c21</value></item-id></result>

2023-03-24 23:01:34 | [Mutex] received everything.

2023-03-24 23:01:34 | [Mutex] isItemNotified: retracted:item:notifieditem-ad6dfc9e-6bcd-46ba-9f23-d80295335c21:admin@test-domain.com :: true

retrieveItemsFromNodes 0.175s
2023-03-24 23:01:34 |

2023-03-24 23:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 23:01:34 | ------------------------------------

2023-03-24 23:01:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7a616399-78a6-44df-b32e-bdb41418155f</node><item-id>item-ad6dfc9e-6bcd-46ba-9f23-d80295335c21</item-id></data>

2023-03-24 23:01:34 | 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-7a616399-78a6-44df-b32e-bdb41418155f</value></node><item-id type="text-single" label="Item ID"><value>item-ad6dfc9e-6bcd-46ba-9f23-d80295335c21</value></item-id><item type="text-multi" label="Item"><value><item id="item-ad6dfc9e-6bcd-46ba-9f23-d80295335c21"><test>item-ad6dfc9e-6bcd-46ba-9f23-d80295335c21</test></item></value></item></result>

2023-03-24 23:01:34 | [Mutex] notify: [retrieved:item:item-ad6dfc9e-6bcd-46ba-9f23-d80295335c21:payload-matches:true:localhost]

2023-03-24 23:01:34 | [Mutex] received everything.

2023-03-24 23:01:34 | [Mutex] isItemNotified: retrieved:item:item-ad6dfc9e-6bcd-46ba-9f23-d80295335c21:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-24 23:01:34 |

2023-03-24 23:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 23:01:34 | ------------------------------------

2023-03-24 23:01:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-03-24 23:01:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-d299b2f0-168d-49a8-9fa0-16c41f4da8ff</value><value>test</value><value>node-7a616399-78a6-44df-b32e-bdb41418155f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-03-24 23:01:34 |

2023-03-24 23:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 23:01:34 | ------------------------------------

2023-03-24 23:01:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7a616399-78a6-44df-b32e-bdb41418155f)</node-pattern></data>

2023-03-24 23:01:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.118s
2023-03-24 23:01:32 |

2023-03-24 23:01:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 23:01:32 | ------------------------------------

2023-03-24 23:01:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7a616399-78a6-44df-b32e-bdb41418155f</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-24 23:01:32 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.211s
2023-03-24 23:01:34 |

2023-03-24 23:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-24 23:01:34 | ------------------------------------

2023-03-24 23:01:34 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7a616399-78a6-44df-b32e-bdb41418155f</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-24 23:01:34 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>