Generated by TestNG with ReportNG at 21:39 PST on Thursday 24 November 2022
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.493s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.114s
2022-11-24 21:54:21 |

2022-11-24 21:54:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 21:54:21 | ------------------------------------

2022-11-24 21:54:21 | [Mutex] waiting for: [configured:node:node-389eb37a-1f9b-4615-8a66-27cdb46a5f67:node-8de38c2e-7db0-4a54-b8af-2a6cfbbfe933]

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

2022-11-24 21:54:21 | [Mutex] isItemNotified: configured:node:node-389eb37a-1f9b-4615-8a66-27cdb46a5f67:node-8de38c2e-7db0-4a54-b8af-2a6cfbbfe933 :: true

2022-11-24 21:54:22 | [Mutex] waiting for: [received:nodes:7b8da99f-095e-4300-a076-57551a8df0cb:localhost]

2022-11-24 21:54:22 | [Mutex] received everything.

2022-11-24 21:54:22 | [Mutex] isItemNotified: received:node:7b8da99f-095e-4300-a076-57551a8df0cb:localhost:node-389eb37a-1f9b-4615-8a66-27cdb46a5f67:Node 389eb37a-1f9b-4615-8a66-27cdb46a5f67 :: true

2022-11-24 21:54:22 | [Mutex] waiting for: [received:nodes:273233ba-9905-46b2-8cdd-0a63b452779c:localhost]

2022-11-24 21:54:22 | [Mutex] waiting for: [received:nodes:273233ba-9905-46b2-8cdd-0a63b452779c:localhost]

2022-11-24 21:54:22 | [Mutex] received everything.

2022-11-24 21:54:22 | [Mutex] isItemNotified: received:node:273233ba-9905-46b2-8cdd-0a63b452779c:localhost:node-389eb37a-1f9b-4615-8a66-27cdb46a5f67:Node 389eb37a-1f9b-4615-8a66-27cdb46a5f67 :: false

createNodes 1.517s
2022-11-24 21:54:19 |

2022-11-24 21:54:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 21:54:19 | ------------------------------------

2022-11-24 21:54:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-389eb37a-1f9b-4615-8a66-27cdb46a5f67</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 389eb37a-1f9b-4615-8a66-27cdb46a5f67</title></pubsub></data>

2022-11-24 21:54:19 | 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 21:54:20 | [Mutex] waiting for: [received:nodes:51cda328-88eb-4624-94f7-5b5311fa7620:localhost]

2022-11-24 21:54:20 | [Mutex] waiting for: [received:nodes:51cda328-88eb-4624-94f7-5b5311fa7620:localhost]

2022-11-24 21:54:20 | [Mutex] waiting for: [received:nodes:51cda328-88eb-4624-94f7-5b5311fa7620:localhost]

2022-11-24 21:54:20 | [Mutex] received everything.

2022-11-24 21:54:20 | [Mutex] isItemNotified: received:node:51cda328-88eb-4624-94f7-5b5311fa7620:localhost:node-389eb37a-1f9b-4615-8a66-27cdb46a5f67:Node 389eb37a-1f9b-4615-8a66-27cdb46a5f67 :: true

createSubnodes 1.019s
2022-11-24 21:54:20 |

2022-11-24 21:54:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 21:54:20 | ------------------------------------

2022-11-24 21:54:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8de38c2e-7db0-4a54-b8af-2a6cfbbfe933</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8de38c2e-7db0-4a54-b8af-2a6cfbbfe933</title></pubsub></data>

2022-11-24 21:54:20 | 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 21:54:21 | [Mutex] waiting for: [received:nodes:41aa4c23-34ba-4853-862f-605f44dca498:localhost]

2022-11-24 21:54:21 | [Mutex] waiting for: [received:nodes:41aa4c23-34ba-4853-862f-605f44dca498:localhost]

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

2022-11-24 21:54:21 | [Mutex] isItemNotified: received:node:41aa4c23-34ba-4853-862f-605f44dca498:localhost:node-8de38c2e-7db0-4a54-b8af-2a6cfbbfe933:Node 8de38c2e-7db0-4a54-b8af-2a6cfbbfe933 :: true

deleteNodes 1.016s
2022-11-24 21:54:27 |

2022-11-24 21:54:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 21:54:27 | ------------------------------------

2022-11-24 21:54:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8de38c2e-7db0-4a54-b8af-2a6cfbbfe933</node></data>

2022-11-24 21:54:27 | 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 21:54:28 | [Mutex] waiting for: [received:nodes:26684bb7-a772-45be-87e5-76511ea91d3f:localhost]

2022-11-24 21:54:28 | [Mutex] received everything.

2022-11-24 21:54:28 | [Mutex] isItemNotified: received:node:26684bb7-a772-45be-87e5-76511ea91d3f:localhost:node-8de38c2e-7db0-4a54-b8af-2a6cfbbfe933:Node 8de38c2e-7db0-4a54-b8af-2a6cfbbfe933 :: false

deleteSubnodes 1.116s
2022-11-24 21:54:26 |

2022-11-24 21:54:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 21:54:26 | ------------------------------------

2022-11-24 21:54:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-389eb37a-1f9b-4615-8a66-27cdb46a5f67</node></data>

2022-11-24 21:54:26 | 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 21:54:27 | [Mutex] waiting for: [received:nodes:4ed206df-ce1e-477f-bd68-9a26b8c9dc95:localhost]

2022-11-24 21:54:27 | [Mutex] waiting for: [received:nodes:4ed206df-ce1e-477f-bd68-9a26b8c9dc95:localhost]

2022-11-24 21:54:27 | [Mutex] received everything.

2022-11-24 21:54:27 | [Mutex] isItemNotified: received:node:4ed206df-ce1e-477f-bd68-9a26b8c9dc95:localhost:node-389eb37a-1f9b-4615-8a66-27cdb46a5f67:Node 389eb37a-1f9b-4615-8a66-27cdb46a5f67 :: false

2022-11-24 21:54:27 | [Mutex] waiting for: [received:nodes:59d4f7fd-3f80-4d27-9fe1-33e0bb35bc0e:localhost]

2022-11-24 21:54:27 | [Mutex] received everything.

2022-11-24 21:54:27 | [Mutex] isItemNotified: received:node:59d4f7fd-3f80-4d27-9fe1-33e0bb35bc0e:localhost:node-389eb37a-1f9b-4615-8a66-27cdb46a5f67:Node 389eb37a-1f9b-4615-8a66-27cdb46a5f67 :: false

publishItemsToNodes 0.191s
2022-11-24 21:54:24 |

2022-11-24 21:54:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 21:54:24 | ------------------------------------

2022-11-24 21:54:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-389eb37a-1f9b-4615-8a66-27cdb46a5f67</node><item-id>item-31537e70-f285-42bb-96f4-fe68041edcc9</item-id><entry><test>item-31537e70-f285-42bb-96f4-fe68041edcc9</test></entry></data>

2022-11-24 21:54:24 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-31537e70-f285-42bb-96f4-fe68041edcc9</value></item-id></result>

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

2022-11-24 21:54:24 | [Mutex] isItemNotified: published:item:notifieditem-31537e70-f285-42bb-96f4-fe68041edcc9:admin@test-domain.com :: true

retractItemsFromNodes 0.266s
2022-11-24 21:54:24 |

2022-11-24 21:54:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 21:54:24 | ------------------------------------

2022-11-24 21:54:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-389eb37a-1f9b-4615-8a66-27cdb46a5f67</node><item-id>item-31537e70-f285-42bb-96f4-fe68041edcc9</item-id></data>

2022-11-24 21:54:24 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-31537e70-f285-42bb-96f4-fe68041edcc9</value></item-id></result>

2022-11-24 21:54:24 | [Mutex] waiting for: [retracted:item:notifieditem-31537e70-f285-42bb-96f4-fe68041edcc9:admin@test-domain.com]

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

2022-11-24 21:54:24 | [Mutex] isItemNotified: retracted:item:notifieditem-31537e70-f285-42bb-96f4-fe68041edcc9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.247s
2022-11-24 21:54:24 |

2022-11-24 21:54:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 21:54:24 | ------------------------------------

2022-11-24 21:54:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-389eb37a-1f9b-4615-8a66-27cdb46a5f67</node><item-id>item-31537e70-f285-42bb-96f4-fe68041edcc9</item-id></data>

2022-11-24 21:54:24 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-389eb37a-1f9b-4615-8a66-27cdb46a5f67</value></node><item-id label="Item ID" type="text-single"><value>item-31537e70-f285-42bb-96f4-fe68041edcc9</value></item-id><item label="Item" type="text-multi"><value><item id="item-31537e70-f285-42bb-96f4-fe68041edcc9"><test>item-31537e70-f285-42bb-96f4-fe68041edcc9</test></item></value></item></result>

2022-11-24 21:54:24 | [Mutex] notify: [retrieved:item:item-31537e70-f285-42bb-96f4-fe68041edcc9:payload-matches:true:localhost]

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

2022-11-24 21:54:24 | [Mutex] isItemNotified: retrieved:item:item-31537e70-f285-42bb-96f4-fe68041edcc9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-11-24 21:54:24 |

2022-11-24 21:54:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 21:54:24 | ------------------------------------

2022-11-24 21:54:24 | 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 21:54:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-389eb37a-1f9b-4615-8a66-27cdb46a5f67</value><value>test</value><value>node-8de38c2e-7db0-4a54-b8af-2a6cfbbfe933</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-11-24 21:54:24 |

2022-11-24 21:54:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 21:54:24 | ------------------------------------

2022-11-24 21:54:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-389eb37a-1f9b-4615-8a66-27cdb46a5f67)</node-pattern></data>

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

subscribeNodes 1.120s
2022-11-24 21:54:22 |

2022-11-24 21:54:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 21:54:22 | ------------------------------------

2022-11-24 21:54:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-389eb37a-1f9b-4615-8a66-27cdb46a5f67</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.172s
2022-11-24 21:54:24 |

2022-11-24 21:54:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 21:54:24 | ------------------------------------

2022-11-24 21:54:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-389eb37a-1f9b-4615-8a66-27cdb46a5f67</node><jids><value>admin@test-domain.com</value></jids></data>

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