Generated by TestNG with ReportNG at 03:41 PST on Thursday 24 November 2022
root@ed1b7dd8a1b3 / 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.483s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.090s
2022-11-24 03:58:48 |

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

2022-11-24 03:58:48 | ------------------------------------

2022-11-24 03:58:48 | [Mutex] waiting for: [configured:node:node-3de9c60d-a834-4923-bb41-a60b2861b299:node-1632339d-b548-4cb2-907c-4de6f828b15b]

2022-11-24 03:58:48 | [Mutex] received everything.

2022-11-24 03:58:48 | [Mutex] isItemNotified: configured:node:node-3de9c60d-a834-4923-bb41-a60b2861b299:node-1632339d-b548-4cb2-907c-4de6f828b15b :: true

2022-11-24 03:58:49 | [Mutex] waiting for: [received:nodes:2c302a2d-b213-4fa8-b740-101e723bb05a:localhost]

2022-11-24 03:58:49 | [Mutex] received everything.

2022-11-24 03:58:49 | [Mutex] isItemNotified: received:node:2c302a2d-b213-4fa8-b740-101e723bb05a:localhost:node-3de9c60d-a834-4923-bb41-a60b2861b299:Node 3de9c60d-a834-4923-bb41-a60b2861b299 :: true

2022-11-24 03:58:49 | [Mutex] waiting for: [received:nodes:ecd667a3-8028-47d4-a24a-f56dc17477ed:localhost]

2022-11-24 03:58:49 | [Mutex] waiting for: [received:nodes:ecd667a3-8028-47d4-a24a-f56dc17477ed:localhost]

2022-11-24 03:58:49 | [Mutex] received everything.

2022-11-24 03:58:49 | [Mutex] isItemNotified: received:node:ecd667a3-8028-47d4-a24a-f56dc17477ed:localhost:node-3de9c60d-a834-4923-bb41-a60b2861b299:Node 3de9c60d-a834-4923-bb41-a60b2861b299 :: false

createNodes 1.435s
2022-11-24 03:58:46 |

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

2022-11-24 03:58:46 | ------------------------------------

2022-11-24 03:58:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3de9c60d-a834-4923-bb41-a60b2861b299</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3de9c60d-a834-4923-bb41-a60b2861b299</title></pubsub></data>

2022-11-24 03:58:46 | 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:58:47 | [Mutex] waiting for: [received:nodes:b77df720-b67a-45cd-95df-a1de31601bde:localhost]

2022-11-24 03:58:47 | [Mutex] waiting for: [received:nodes:b77df720-b67a-45cd-95df-a1de31601bde:localhost]

2022-11-24 03:58:47 | [Mutex] received everything.

2022-11-24 03:58:47 | [Mutex] isItemNotified: received:node:b77df720-b67a-45cd-95df-a1de31601bde:localhost:node-3de9c60d-a834-4923-bb41-a60b2861b299:Node 3de9c60d-a834-4923-bb41-a60b2861b299 :: true

createSubnodes 1.030s
2022-11-24 03:58:47 |

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

2022-11-24 03:58:47 | ------------------------------------

2022-11-24 03:58:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1632339d-b548-4cb2-907c-4de6f828b15b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1632339d-b548-4cb2-907c-4de6f828b15b</title></pubsub></data>

2022-11-24 03:58:47 | 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:58:48 | [Mutex] waiting for: [received:nodes:6ee8c6a1-10fd-4e7f-aaf1-49c453105356:localhost]

2022-11-24 03:58:48 | [Mutex] waiting for: [received:nodes:6ee8c6a1-10fd-4e7f-aaf1-49c453105356:localhost]

2022-11-24 03:58:48 | [Mutex] received everything.

2022-11-24 03:58:48 | [Mutex] isItemNotified: received:node:6ee8c6a1-10fd-4e7f-aaf1-49c453105356:localhost:node-1632339d-b548-4cb2-907c-4de6f828b15b:Node 1632339d-b548-4cb2-907c-4de6f828b15b :: true

deleteNodes 1.018s
2022-11-24 03:58:53 |

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

2022-11-24 03:58:53 | ------------------------------------

2022-11-24 03:58:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1632339d-b548-4cb2-907c-4de6f828b15b</node></data>

2022-11-24 03:58:53 | 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:58:54 | [Mutex] waiting for: [received:nodes:37d91a5e-7d26-45ae-bd2d-6d89103787e2:localhost]

2022-11-24 03:58:54 | [Mutex] waiting for: [received:nodes:37d91a5e-7d26-45ae-bd2d-6d89103787e2:localhost]

2022-11-24 03:58:54 | [Mutex] received everything.

2022-11-24 03:58:54 | [Mutex] isItemNotified: received:node:37d91a5e-7d26-45ae-bd2d-6d89103787e2:localhost:node-1632339d-b548-4cb2-907c-4de6f828b15b:Node 1632339d-b548-4cb2-907c-4de6f828b15b :: false

deleteSubnodes 1.147s
2022-11-24 03:58:52 |

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

2022-11-24 03:58:52 | ------------------------------------

2022-11-24 03:58:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3de9c60d-a834-4923-bb41-a60b2861b299</node></data>

2022-11-24 03:58:52 | 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:58:53 | [Mutex] waiting for: [received:nodes:23a6017e-4e6d-44f7-8ede-7660dc35c792:localhost]

2022-11-24 03:58:53 | [Mutex] received everything.

2022-11-24 03:58:53 | [Mutex] isItemNotified: received:node:23a6017e-4e6d-44f7-8ede-7660dc35c792:localhost:node-3de9c60d-a834-4923-bb41-a60b2861b299:Node 3de9c60d-a834-4923-bb41-a60b2861b299 :: false

2022-11-24 03:58:53 | [Mutex] waiting for: [received:nodes:b6c85b95-ed6b-49f4-b81f-36913c03385d:localhost]

2022-11-24 03:58:53 | [Mutex] received everything.

2022-11-24 03:58:53 | [Mutex] isItemNotified: received:node:b6c85b95-ed6b-49f4-b81f-36913c03385d:localhost:node-3de9c60d-a834-4923-bb41-a60b2861b299:Node 3de9c60d-a834-4923-bb41-a60b2861b299 :: false

publishItemsToNodes 0.205s
2022-11-24 03:58:50 |

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

2022-11-24 03:58:50 | ------------------------------------

2022-11-24 03:58:50 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3de9c60d-a834-4923-bb41-a60b2861b299</node><item-id>item-89a0978b-0af3-475a-ab7a-2eb913ebb867</item-id><entry><test>item-89a0978b-0af3-475a-ab7a-2eb913ebb867</test></entry></data>

2022-11-24 03:58:50 | 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-89a0978b-0af3-475a-ab7a-2eb913ebb867</value></item-id></result>

2022-11-24 03:58:50 | [Mutex] received everything.

2022-11-24 03:58:50 | [Mutex] isItemNotified: published:item:notifieditem-89a0978b-0af3-475a-ab7a-2eb913ebb867:admin@test-domain.com :: true

retractItemsFromNodes 0.278s
2022-11-24 03:58:51 |

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

2022-11-24 03:58:51 | ------------------------------------

2022-11-24 03:58:51 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3de9c60d-a834-4923-bb41-a60b2861b299</node><item-id>item-89a0978b-0af3-475a-ab7a-2eb913ebb867</item-id></data>

2022-11-24 03:58:51 | 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-89a0978b-0af3-475a-ab7a-2eb913ebb867</value></item-id></result>

2022-11-24 03:58:51 | [Mutex] waiting for: [retracted:item:notifieditem-89a0978b-0af3-475a-ab7a-2eb913ebb867:admin@test-domain.com]

2022-11-24 03:58:51 | [Mutex] received everything.

2022-11-24 03:58:51 | [Mutex] isItemNotified: retracted:item:notifieditem-89a0978b-0af3-475a-ab7a-2eb913ebb867:admin@test-domain.com :: true

retrieveItemsFromNodes 0.266s
2022-11-24 03:58:50 |

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

2022-11-24 03:58:50 | ------------------------------------

2022-11-24 03:58:50 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3de9c60d-a834-4923-bb41-a60b2861b299</node><item-id>item-89a0978b-0af3-475a-ab7a-2eb913ebb867</item-id></data>

2022-11-24 03:58:51 | 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-3de9c60d-a834-4923-bb41-a60b2861b299</value></node><item-id type="text-single" label="Item ID"><value>item-89a0978b-0af3-475a-ab7a-2eb913ebb867</value></item-id><item type="text-multi" label="Item"><value><item id="item-89a0978b-0af3-475a-ab7a-2eb913ebb867"><test>item-89a0978b-0af3-475a-ab7a-2eb913ebb867</test></item></value></item></result>

2022-11-24 03:58:51 | [Mutex] notify: [retrieved:item:item-89a0978b-0af3-475a-ab7a-2eb913ebb867:payload-matches:true:localhost]

2022-11-24 03:58:51 | [Mutex] received everything.

2022-11-24 03:58:51 | [Mutex] isItemNotified: retrieved:item:item-89a0978b-0af3-475a-ab7a-2eb913ebb867:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-11-24 03:58:51 |

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

2022-11-24 03:58:51 | ------------------------------------

2022-11-24 03:58:51 | 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:58:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-3de9c60d-a834-4923-bb41-a60b2861b299</value><value>test</value><value>node-1632339d-b548-4cb2-907c-4de6f828b15b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2022-11-24 03:58:51 |

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

2022-11-24 03:58:51 | ------------------------------------

2022-11-24 03:58:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3de9c60d-a834-4923-bb41-a60b2861b299)</node-pattern></data>

2022-11-24 03:58:51 | 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-11-24 03:58:49 |

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

2022-11-24 03:58:49 | ------------------------------------

2022-11-24 03:58:49 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3de9c60d-a834-4923-bb41-a60b2861b299</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.176s
2022-11-24 03:58:51 |

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

2022-11-24 03:58:51 | ------------------------------------

2022-11-24 03:58:51 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3de9c60d-a834-4923-bb41-a60b2861b299</node><jids><value>admin@test-domain.com</value></jids></data>

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