Generated by TestNG with ReportNG at 21:44 PST on Wednesday 15 February 2023
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.304s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2023-02-15 21:58:50 |

2023-02-15 21:58:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:58:50 | ------------------------------------

2023-02-15 21:58:50 | [Mutex] waiting for: [configured:node:node-047610d2-383c-4f14-aee6-bb4700ad4a59:node-0b0ec440-8edc-424a-9f21-75f8af5b1e1a]

2023-02-15 21:58:50 | [Mutex] received everything.

2023-02-15 21:58:50 | [Mutex] isItemNotified: configured:node:node-047610d2-383c-4f14-aee6-bb4700ad4a59:node-0b0ec440-8edc-424a-9f21-75f8af5b1e1a :: true

2023-02-15 21:58:51 | [Mutex] waiting for: [received:nodes:f5cdb170-7428-4779-9075-d5ff50bd9df2:localhost]

2023-02-15 21:58:51 | [Mutex] received everything.

2023-02-15 21:58:51 | [Mutex] isItemNotified: received:node:f5cdb170-7428-4779-9075-d5ff50bd9df2:localhost:node-047610d2-383c-4f14-aee6-bb4700ad4a59:Node 047610d2-383c-4f14-aee6-bb4700ad4a59 :: true

2023-02-15 21:58:51 | [Mutex] waiting for: [received:nodes:3b8e995a-946f-46e4-a65e-4b32d1fb78b1:localhost]

2023-02-15 21:58:51 | [Mutex] waiting for: [received:nodes:3b8e995a-946f-46e4-a65e-4b32d1fb78b1:localhost]

2023-02-15 21:58:51 | [Mutex] waiting for: [received:nodes:3b8e995a-946f-46e4-a65e-4b32d1fb78b1:localhost]

2023-02-15 21:58:51 | [Mutex] waiting for: [received:nodes:3b8e995a-946f-46e4-a65e-4b32d1fb78b1:localhost]

2023-02-15 21:58:51 | [Mutex] received everything.

2023-02-15 21:58:51 | [Mutex] isItemNotified: received:node:3b8e995a-946f-46e4-a65e-4b32d1fb78b1:localhost:node-047610d2-383c-4f14-aee6-bb4700ad4a59:Node 047610d2-383c-4f14-aee6-bb4700ad4a59 :: false

createNodes 1.352s
2023-02-15 21:58:48 |

2023-02-15 21:58:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:58:48 | ------------------------------------

2023-02-15 21:58:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-047610d2-383c-4f14-aee6-bb4700ad4a59</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 047610d2-383c-4f14-aee6-bb4700ad4a59</title></pubsub></data>

2023-02-15 21:58:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-15 21:58:49 | [Mutex] waiting for: [received:nodes:18ff3a71-c91a-44e7-a2c9-ca9594d2ae63:localhost]

2023-02-15 21:58:49 | [Mutex] waiting for: [received:nodes:18ff3a71-c91a-44e7-a2c9-ca9594d2ae63:localhost]

2023-02-15 21:58:49 | [Mutex] waiting for: [received:nodes:18ff3a71-c91a-44e7-a2c9-ca9594d2ae63:localhost]

2023-02-15 21:58:49 | [Mutex] received everything.

2023-02-15 21:58:49 | [Mutex] isItemNotified: received:node:18ff3a71-c91a-44e7-a2c9-ca9594d2ae63:localhost:node-047610d2-383c-4f14-aee6-bb4700ad4a59:Node 047610d2-383c-4f14-aee6-bb4700ad4a59 :: true

createSubnodes 1.027s
2023-02-15 21:58:49 |

2023-02-15 21:58:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:58:49 | ------------------------------------

2023-02-15 21:58:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0b0ec440-8edc-424a-9f21-75f8af5b1e1a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0b0ec440-8edc-424a-9f21-75f8af5b1e1a</title></pubsub></data>

2023-02-15 21:58:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-15 21:58:50 | [Mutex] waiting for: [received:nodes:14bf5e12-9372-4f99-a5aa-26ca05bcfdc5:localhost]

2023-02-15 21:58:50 | [Mutex] waiting for: [received:nodes:14bf5e12-9372-4f99-a5aa-26ca05bcfdc5:localhost]

2023-02-15 21:58:50 | [Mutex] waiting for: [received:nodes:14bf5e12-9372-4f99-a5aa-26ca05bcfdc5:localhost]

2023-02-15 21:58:50 | [Mutex] waiting for: [received:nodes:14bf5e12-9372-4f99-a5aa-26ca05bcfdc5:localhost]

2023-02-15 21:58:50 | [Mutex] received everything.

2023-02-15 21:58:50 | [Mutex] isItemNotified: received:node:14bf5e12-9372-4f99-a5aa-26ca05bcfdc5:localhost:node-0b0ec440-8edc-424a-9f21-75f8af5b1e1a:Node 0b0ec440-8edc-424a-9f21-75f8af5b1e1a :: true

deleteNodes 1.017s
2023-02-15 21:58:56 |

2023-02-15 21:58:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:58:56 | ------------------------------------

2023-02-15 21:58:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0b0ec440-8edc-424a-9f21-75f8af5b1e1a</node></data>

2023-02-15 21:58:56 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-15 21:58:57 | [Mutex] waiting for: [received:nodes:98796008-410e-4c3d-809f-a7b8bd558fc0:localhost]

2023-02-15 21:58:57 | [Mutex] waiting for: [received:nodes:98796008-410e-4c3d-809f-a7b8bd558fc0:localhost]

2023-02-15 21:58:57 | [Mutex] waiting for: [received:nodes:98796008-410e-4c3d-809f-a7b8bd558fc0:localhost]

2023-02-15 21:58:57 | [Mutex] received everything.

2023-02-15 21:58:57 | [Mutex] isItemNotified: received:node:98796008-410e-4c3d-809f-a7b8bd558fc0:localhost:node-0b0ec440-8edc-424a-9f21-75f8af5b1e1a:Node 0b0ec440-8edc-424a-9f21-75f8af5b1e1a :: false

deleteSubnodes 1.104s
2023-02-15 21:58:55 |

2023-02-15 21:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:58:55 | ------------------------------------

2023-02-15 21:58:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-047610d2-383c-4f14-aee6-bb4700ad4a59</node></data>

2023-02-15 21:58:55 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-15 21:58:56 | [Mutex] waiting for: [received:nodes:728125f0-78d4-44f2-a1a0-7c6c4ba8eb24:localhost]

2023-02-15 21:58:56 | [Mutex] waiting for: [received:nodes:728125f0-78d4-44f2-a1a0-7c6c4ba8eb24:localhost]

2023-02-15 21:58:56 | [Mutex] waiting for: [received:nodes:728125f0-78d4-44f2-a1a0-7c6c4ba8eb24:localhost]

2023-02-15 21:58:56 | [Mutex] received everything.

2023-02-15 21:58:56 | [Mutex] isItemNotified: received:node:728125f0-78d4-44f2-a1a0-7c6c4ba8eb24:localhost:node-047610d2-383c-4f14-aee6-bb4700ad4a59:Node 047610d2-383c-4f14-aee6-bb4700ad4a59 :: false

2023-02-15 21:58:56 | [Mutex] waiting for: [received:nodes:eb052d64-e438-4f87-9573-47c25e3da5ea:localhost]

2023-02-15 21:58:56 | [Mutex] received everything.

2023-02-15 21:58:56 | [Mutex] isItemNotified: received:node:eb052d64-e438-4f87-9573-47c25e3da5ea:localhost:node-047610d2-383c-4f14-aee6-bb4700ad4a59:Node 047610d2-383c-4f14-aee6-bb4700ad4a59 :: false

publishItemsToNodes 0.190s
2023-02-15 21:58:53 |

2023-02-15 21:58:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:58:53 | ------------------------------------

2023-02-15 21:58:53 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-047610d2-383c-4f14-aee6-bb4700ad4a59</node><item-id>item-3de822b0-f7b3-44f8-88df-22aafb3bc5c2</item-id><entry><test>item-3de822b0-f7b3-44f8-88df-22aafb3bc5c2</test></entry></data>

2023-02-15 21:58:53 | 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-3de822b0-f7b3-44f8-88df-22aafb3bc5c2</value></item-id></result>

2023-02-15 21:58:53 | [Mutex] waiting for: [published:item:notifieditem-3de822b0-f7b3-44f8-88df-22aafb3bc5c2:admin@test-domain.com]

2023-02-15 21:58:53 | [Mutex] received everything.

2023-02-15 21:58:53 | [Mutex] isItemNotified: published:item:notifieditem-3de822b0-f7b3-44f8-88df-22aafb3bc5c2:admin@test-domain.com :: true

retractItemsFromNodes 0.319s
2023-02-15 21:58:53 |

2023-02-15 21:58:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:58:53 | ------------------------------------

2023-02-15 21:58:53 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-047610d2-383c-4f14-aee6-bb4700ad4a59</node><item-id>item-3de822b0-f7b3-44f8-88df-22aafb3bc5c2</item-id></data>

2023-02-15 21:58:53 | 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-3de822b0-f7b3-44f8-88df-22aafb3bc5c2</value></item-id></result>

2023-02-15 21:58:53 | [Mutex] received everything.

2023-02-15 21:58:53 | [Mutex] isItemNotified: retracted:item:notifieditem-3de822b0-f7b3-44f8-88df-22aafb3bc5c2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.183s
2023-02-15 21:58:53 |

2023-02-15 21:58:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:58:53 | ------------------------------------

2023-02-15 21:58:53 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-047610d2-383c-4f14-aee6-bb4700ad4a59</node><item-id>item-3de822b0-f7b3-44f8-88df-22aafb3bc5c2</item-id></data>

2023-02-15 21:58:53 | 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-047610d2-383c-4f14-aee6-bb4700ad4a59</value></node><item-id label="Item ID" type="text-single"><value>item-3de822b0-f7b3-44f8-88df-22aafb3bc5c2</value></item-id><item label="Item" type="text-multi"><value><item id="item-3de822b0-f7b3-44f8-88df-22aafb3bc5c2"><test>item-3de822b0-f7b3-44f8-88df-22aafb3bc5c2</test></item></value></item></result>

2023-02-15 21:58:53 | [Mutex] notify: [retrieved:item:item-3de822b0-f7b3-44f8-88df-22aafb3bc5c2:payload-matches:true:localhost]

2023-02-15 21:58:53 | [Mutex] received everything.

2023-02-15 21:58:53 | [Mutex] isItemNotified: retrieved:item:item-3de822b0-f7b3-44f8-88df-22aafb3bc5c2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2023-02-15 21:58:53 |

2023-02-15 21:58:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:58:53 | ------------------------------------

2023-02-15 21:58:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-02-15 21:58:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-047610d2-383c-4f14-aee6-bb4700ad4a59</value><value>test</value><value>node-0b0ec440-8edc-424a-9f21-75f8af5b1e1a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2023-02-15 21:58:53 |

2023-02-15 21:58:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:58:53 | ------------------------------------

2023-02-15 21:58:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-047610d2-383c-4f14-aee6-bb4700ad4a59)</node-pattern></data>

2023-02-15 21:58:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.157s
2023-02-15 21:58:51 |

2023-02-15 21:58:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:58:51 | ------------------------------------

2023-02-15 21:58:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-047610d2-383c-4f14-aee6-bb4700ad4a59</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-15 21:58:52 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.159s
2023-02-15 21:58:53 |

2023-02-15 21:58:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:58:53 | ------------------------------------

2023-02-15 21:58:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-047610d2-383c-4f14-aee6-bb4700ad4a59</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-15 21:58:54 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>