Generated by TestNG with ReportNG at 21:15 PST on Sunday 05 March 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.464s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.086s
2023-03-05 21:29:24 |

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

2023-03-05 21:29:24 | ------------------------------------

2023-03-05 21:29:24 | [Mutex] waiting for: [configured:node:node-204a1c40-290a-4623-b800-6e422249a33f:node-b8731bff-f234-4e74-89e9-a46f3cf23df1]

2023-03-05 21:29:24 | [Mutex] received everything.

2023-03-05 21:29:24 | [Mutex] isItemNotified: configured:node:node-204a1c40-290a-4623-b800-6e422249a33f:node-b8731bff-f234-4e74-89e9-a46f3cf23df1 :: true

2023-03-05 21:29:25 | [Mutex] waiting for: [received:nodes:49cc057b-929f-4334-aa8b-358533f97258:localhost]

2023-03-05 21:29:25 | [Mutex] received everything.

2023-03-05 21:29:25 | [Mutex] isItemNotified: received:node:49cc057b-929f-4334-aa8b-358533f97258:localhost:node-204a1c40-290a-4623-b800-6e422249a33f:Node 204a1c40-290a-4623-b800-6e422249a33f :: true

2023-03-05 21:29:25 | [Mutex] waiting for: [received:nodes:9a6007a5-1767-4206-ade3-d845a8bd4a88:localhost]

2023-03-05 21:29:25 | [Mutex] waiting for: [received:nodes:9a6007a5-1767-4206-ade3-d845a8bd4a88:localhost]

2023-03-05 21:29:25 | [Mutex] waiting for: [received:nodes:9a6007a5-1767-4206-ade3-d845a8bd4a88:localhost]

2023-03-05 21:29:25 | [Mutex] received everything.

2023-03-05 21:29:25 | [Mutex] isItemNotified: received:node:9a6007a5-1767-4206-ade3-d845a8bd4a88:localhost:node-204a1c40-290a-4623-b800-6e422249a33f:Node 204a1c40-290a-4623-b800-6e422249a33f :: false

createNodes 1.397s
2023-03-05 21:29:22 |

2023-03-05 21:29:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:22 | ------------------------------------

2023-03-05 21:29:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-204a1c40-290a-4623-b800-6e422249a33f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 204a1c40-290a-4623-b800-6e422249a33f</title></pubsub></data>

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

2023-03-05 21:29:23 | [Mutex] waiting for: [received:nodes:264c5e29-ba0e-43b6-b75f-81d1510705db:localhost]

2023-03-05 21:29:23 | [Mutex] waiting for: [received:nodes:264c5e29-ba0e-43b6-b75f-81d1510705db:localhost]

2023-03-05 21:29:23 | [Mutex] waiting for: [received:nodes:264c5e29-ba0e-43b6-b75f-81d1510705db:localhost]

2023-03-05 21:29:23 | [Mutex] received everything.

2023-03-05 21:29:23 | [Mutex] isItemNotified: received:node:264c5e29-ba0e-43b6-b75f-81d1510705db:localhost:node-204a1c40-290a-4623-b800-6e422249a33f:Node 204a1c40-290a-4623-b800-6e422249a33f :: true

createSubnodes 1.025s
2023-03-05 21:29:23 |

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

2023-03-05 21:29:23 | ------------------------------------

2023-03-05 21:29:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b8731bff-f234-4e74-89e9-a46f3cf23df1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b8731bff-f234-4e74-89e9-a46f3cf23df1</title></pubsub></data>

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

2023-03-05 21:29:24 | [Mutex] waiting for: [received:nodes:26223def-3154-48e0-88b1-8962cb06accc:localhost]

2023-03-05 21:29:24 | [Mutex] waiting for: [received:nodes:26223def-3154-48e0-88b1-8962cb06accc:localhost]

2023-03-05 21:29:24 | [Mutex] waiting for: [received:nodes:26223def-3154-48e0-88b1-8962cb06accc:localhost]

2023-03-05 21:29:24 | [Mutex] waiting for: [received:nodes:26223def-3154-48e0-88b1-8962cb06accc:localhost]

2023-03-05 21:29:24 | [Mutex] received everything.

2023-03-05 21:29:24 | [Mutex] isItemNotified: received:node:26223def-3154-48e0-88b1-8962cb06accc:localhost:node-b8731bff-f234-4e74-89e9-a46f3cf23df1:Node b8731bff-f234-4e74-89e9-a46f3cf23df1 :: true

deleteNodes 1.017s
2023-03-05 21:29:29 |

2023-03-05 21:29:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:29 | ------------------------------------

2023-03-05 21:29:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b8731bff-f234-4e74-89e9-a46f3cf23df1</node></data>

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

2023-03-05 21:29:30 | [Mutex] waiting for: [received:nodes:10d58a4b-e76e-4794-a510-7b280788aa4f:localhost]

2023-03-05 21:29:30 | [Mutex] waiting for: [received:nodes:10d58a4b-e76e-4794-a510-7b280788aa4f:localhost]

2023-03-05 21:29:30 | [Mutex] waiting for: [received:nodes:10d58a4b-e76e-4794-a510-7b280788aa4f:localhost]

2023-03-05 21:29:30 | [Mutex] received everything.

2023-03-05 21:29:30 | [Mutex] isItemNotified: received:node:10d58a4b-e76e-4794-a510-7b280788aa4f:localhost:node-b8731bff-f234-4e74-89e9-a46f3cf23df1:Node b8731bff-f234-4e74-89e9-a46f3cf23df1 :: false

deleteSubnodes 1.141s
2023-03-05 21:29:28 |

2023-03-05 21:29:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:28 | ------------------------------------

2023-03-05 21:29:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-204a1c40-290a-4623-b800-6e422249a33f</node></data>

2023-03-05 21:29:28 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-05 21:29:29 | [Mutex] waiting for: [received:nodes:4edb5be0-0dbe-43ef-be3b-f1eef7d2abb9:localhost]

2023-03-05 21:29:29 | [Mutex] waiting for: [received:nodes:4edb5be0-0dbe-43ef-be3b-f1eef7d2abb9:localhost]

2023-03-05 21:29:29 | [Mutex] waiting for: [received:nodes:4edb5be0-0dbe-43ef-be3b-f1eef7d2abb9:localhost]

2023-03-05 21:29:29 | [Mutex] received everything.

2023-03-05 21:29:29 | [Mutex] isItemNotified: received:node:4edb5be0-0dbe-43ef-be3b-f1eef7d2abb9:localhost:node-204a1c40-290a-4623-b800-6e422249a33f:Node 204a1c40-290a-4623-b800-6e422249a33f :: false

2023-03-05 21:29:29 | [Mutex] waiting for: [received:nodes:8ca9f0c9-54dd-49cf-9b3d-ce61d26dd4c7:localhost]

2023-03-05 21:29:29 | [Mutex] received everything.

2023-03-05 21:29:29 | [Mutex] isItemNotified: received:node:8ca9f0c9-54dd-49cf-9b3d-ce61d26dd4c7:localhost:node-204a1c40-290a-4623-b800-6e422249a33f:Node 204a1c40-290a-4623-b800-6e422249a33f :: false

publishItemsToNodes 0.213s
2023-03-05 21:29:26 |

2023-03-05 21:29:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:26 | ------------------------------------

2023-03-05 21:29:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-204a1c40-290a-4623-b800-6e422249a33f</node><item-id>item-287f7df2-f6bd-4cf7-a920-2b9e87a01e8e</item-id><entry><test>item-287f7df2-f6bd-4cf7-a920-2b9e87a01e8e</test></entry></data>

2023-03-05 21:29:27 | 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-287f7df2-f6bd-4cf7-a920-2b9e87a01e8e</value></item-id></result>

2023-03-05 21:29:27 | [Mutex] received everything.

2023-03-05 21:29:27 | [Mutex] isItemNotified: published:item:notifieditem-287f7df2-f6bd-4cf7-a920-2b9e87a01e8e:admin@test-domain.com :: true

retractItemsFromNodes 0.319s
2023-03-05 21:29:27 |

2023-03-05 21:29:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:27 | ------------------------------------

2023-03-05 21:29:27 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-204a1c40-290a-4623-b800-6e422249a33f</node><item-id>item-287f7df2-f6bd-4cf7-a920-2b9e87a01e8e</item-id></data>

2023-03-05 21:29:27 | 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-287f7df2-f6bd-4cf7-a920-2b9e87a01e8e</value></item-id></result>

2023-03-05 21:29:27 | [Mutex] received everything.

2023-03-05 21:29:27 | [Mutex] isItemNotified: retracted:item:notifieditem-287f7df2-f6bd-4cf7-a920-2b9e87a01e8e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.195s
2023-03-05 21:29:27 |

2023-03-05 21:29:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:27 | ------------------------------------

2023-03-05 21:29:27 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-204a1c40-290a-4623-b800-6e422249a33f</node><item-id>item-287f7df2-f6bd-4cf7-a920-2b9e87a01e8e</item-id></data>

2023-03-05 21:29:27 | 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-204a1c40-290a-4623-b800-6e422249a33f</value></node><item-id type="text-single" label="Item ID"><value>item-287f7df2-f6bd-4cf7-a920-2b9e87a01e8e</value></item-id><item type="text-multi" label="Item"><value><item id="item-287f7df2-f6bd-4cf7-a920-2b9e87a01e8e"><test>item-287f7df2-f6bd-4cf7-a920-2b9e87a01e8e</test></item></value></item></result>

2023-03-05 21:29:27 | [Mutex] notify: [retrieved:item:item-287f7df2-f6bd-4cf7-a920-2b9e87a01e8e:payload-matches:true:localhost]

2023-03-05 21:29:27 | [Mutex] received everything.

2023-03-05 21:29:27 | [Mutex] isItemNotified: retrieved:item:item-287f7df2-f6bd-4cf7-a920-2b9e87a01e8e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-05 21:29:27 |

2023-03-05 21:29:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:27 | ------------------------------------

2023-03-05 21:29:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-03-05 21:29:27 | 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-204a1c40-290a-4623-b800-6e422249a33f</value><value>node-b8731bff-f234-4e74-89e9-a46f3cf23df1</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-05 21:29:27 |

2023-03-05 21:29:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:27 | ------------------------------------

2023-03-05 21:29:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-204a1c40-290a-4623-b800-6e422249a33f)</node-pattern></data>

2023-03-05 21:29:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.115s
2023-03-05 21:29:25 |

2023-03-05 21:29:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:25 | ------------------------------------

2023-03-05 21:29:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-204a1c40-290a-4623-b800-6e422249a33f</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-05 21:29:25 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.203s
2023-03-05 21:29:27 |

2023-03-05 21:29:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:27 | ------------------------------------

2023-03-05 21:29:27 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-204a1c40-290a-4623-b800-6e422249a33f</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-05 21:29:27 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>