Generated by TestNG with ReportNG at 22:19 PDT on Thursday 11 August 2022
root@f9c07ffec79b / 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.479s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.092s
2022-08-11 22:34:15 |

2022-08-11 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:34:15 | ------------------------------------

2022-08-11 22:34:15 | [Mutex] waiting for: [configured:node:node-26eb5e24-53a5-49f9-a761-d0d97878872e:node-b32c7199-506e-4a4c-8534-e5becfa2a2f3]

2022-08-11 22:34:15 | [Mutex] received everything.

2022-08-11 22:34:15 | [Mutex] isItemNotified: configured:node:node-26eb5e24-53a5-49f9-a761-d0d97878872e:node-b32c7199-506e-4a4c-8534-e5becfa2a2f3 :: true

2022-08-11 22:34:16 | [Mutex] waiting for: [received:nodes:10e3bc36-dae5-4566-99fd-d32b2835ef69:localhost]

2022-08-11 22:34:16 | [Mutex] received everything.

2022-08-11 22:34:16 | [Mutex] isItemNotified: received:node:10e3bc36-dae5-4566-99fd-d32b2835ef69:localhost:node-26eb5e24-53a5-49f9-a761-d0d97878872e:Node 26eb5e24-53a5-49f9-a761-d0d97878872e :: true

2022-08-11 22:34:16 | [Mutex] waiting for: [received:nodes:f4b77151-17af-4f28-8ef0-25dd7f10da89:localhost]

2022-08-11 22:34:16 | [Mutex] received everything.

2022-08-11 22:34:16 | [Mutex] isItemNotified: received:node:f4b77151-17af-4f28-8ef0-25dd7f10da89:localhost:node-26eb5e24-53a5-49f9-a761-d0d97878872e:Node 26eb5e24-53a5-49f9-a761-d0d97878872e :: false

createNodes 1.456s
2022-08-11 22:34:12 |

2022-08-11 22:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:34:12 | ------------------------------------

2022-08-11 22:34:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-26eb5e24-53a5-49f9-a761-d0d97878872e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 26eb5e24-53a5-49f9-a761-d0d97878872e</title></pubsub></data>

2022-08-11 22:34:12 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-11 22:34:13 | [Mutex] waiting for: [received:nodes:f14d9b27-f895-4038-a4eb-b76af60920ec:localhost]

2022-08-11 22:34:13 | [Mutex] waiting for: [received:nodes:f14d9b27-f895-4038-a4eb-b76af60920ec:localhost]

2022-08-11 22:34:13 | [Mutex] received everything.

2022-08-11 22:34:13 | [Mutex] isItemNotified: received:node:f14d9b27-f895-4038-a4eb-b76af60920ec:localhost:node-26eb5e24-53a5-49f9-a761-d0d97878872e:Node 26eb5e24-53a5-49f9-a761-d0d97878872e :: true

createSubnodes 1.021s
2022-08-11 22:34:13 |

2022-08-11 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:34:13 | ------------------------------------

2022-08-11 22:34:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b32c7199-506e-4a4c-8534-e5becfa2a2f3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b32c7199-506e-4a4c-8534-e5becfa2a2f3</title></pubsub></data>

2022-08-11 22:34:14 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-11 22:34:15 | [Mutex] waiting for: [received:nodes:b538bca7-f0ea-497d-af60-4f5ff3d2045f:localhost]

2022-08-11 22:34:15 | [Mutex] waiting for: [received:nodes:b538bca7-f0ea-497d-af60-4f5ff3d2045f:localhost]

2022-08-11 22:34:15 | [Mutex] received everything.

2022-08-11 22:34:15 | [Mutex] isItemNotified: received:node:b538bca7-f0ea-497d-af60-4f5ff3d2045f:localhost:node-b32c7199-506e-4a4c-8534-e5becfa2a2f3:Node b32c7199-506e-4a4c-8534-e5becfa2a2f3 :: true

deleteNodes 1.016s
2022-08-11 22:34:20 |

2022-08-11 22:34:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:34:20 | ------------------------------------

2022-08-11 22:34:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b32c7199-506e-4a4c-8534-e5becfa2a2f3</node></data>

2022-08-11 22:34:20 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-11 22:34:21 | [Mutex] waiting for: [received:nodes:b821aa8e-de32-487c-a639-18f1d8bd9337:localhost]

2022-08-11 22:34:21 | [Mutex] waiting for: [received:nodes:b821aa8e-de32-487c-a639-18f1d8bd9337:localhost]

2022-08-11 22:34:21 | [Mutex] waiting for: [received:nodes:b821aa8e-de32-487c-a639-18f1d8bd9337:localhost]

2022-08-11 22:34:21 | [Mutex] received everything.

2022-08-11 22:34:21 | [Mutex] isItemNotified: received:node:b821aa8e-de32-487c-a639-18f1d8bd9337:localhost:node-b32c7199-506e-4a4c-8534-e5becfa2a2f3:Node b32c7199-506e-4a4c-8534-e5becfa2a2f3 :: false

deleteSubnodes 1.126s
2022-08-11 22:34:19 |

2022-08-11 22:34:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:34:19 | ------------------------------------

2022-08-11 22:34:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-26eb5e24-53a5-49f9-a761-d0d97878872e</node></data>

2022-08-11 22:34:19 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-11 22:34:20 | [Mutex] waiting for: [received:nodes:6dc30dea-4c38-4223-817f-d37935126b5f:localhost]

2022-08-11 22:34:20 | [Mutex] waiting for: [received:nodes:6dc30dea-4c38-4223-817f-d37935126b5f:localhost]

2022-08-11 22:34:20 | [Mutex] waiting for: [received:nodes:6dc30dea-4c38-4223-817f-d37935126b5f:localhost]

2022-08-11 22:34:20 | [Mutex] waiting for: [received:nodes:6dc30dea-4c38-4223-817f-d37935126b5f:localhost]

2022-08-11 22:34:20 | [Mutex] received everything.

2022-08-11 22:34:20 | [Mutex] isItemNotified: received:node:6dc30dea-4c38-4223-817f-d37935126b5f:localhost:node-26eb5e24-53a5-49f9-a761-d0d97878872e:Node 26eb5e24-53a5-49f9-a761-d0d97878872e :: false

2022-08-11 22:34:20 | [Mutex] waiting for: [received:nodes:a68acecb-48de-4608-8ede-30e9b50289b0:localhost]

2022-08-11 22:34:20 | [Mutex] received everything.

2022-08-11 22:34:20 | [Mutex] isItemNotified: received:node:a68acecb-48de-4608-8ede-30e9b50289b0:localhost:node-26eb5e24-53a5-49f9-a761-d0d97878872e:Node 26eb5e24-53a5-49f9-a761-d0d97878872e :: false

publishItemsToNodes 0.181s
2022-08-11 22:34:17 |

2022-08-11 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:34:17 | ------------------------------------

2022-08-11 22:34:17 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-26eb5e24-53a5-49f9-a761-d0d97878872e</node><item-id>item-ac9225dc-3aef-45c0-b792-ff6aa2591c16</item-id><entry><test>item-ac9225dc-3aef-45c0-b792-ff6aa2591c16</test></entry></data>

2022-08-11 22:34:17 | 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-ac9225dc-3aef-45c0-b792-ff6aa2591c16</value></item-id></result>

2022-08-11 22:34:17 | [Mutex] waiting for: [published:item:notifieditem-ac9225dc-3aef-45c0-b792-ff6aa2591c16:admin@test-domain.com]

2022-08-11 22:34:17 | [Mutex] received everything.

2022-08-11 22:34:17 | [Mutex] isItemNotified: published:item:notifieditem-ac9225dc-3aef-45c0-b792-ff6aa2591c16:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2022-08-11 22:34:17 |

2022-08-11 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:34:17 | ------------------------------------

2022-08-11 22:34:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-26eb5e24-53a5-49f9-a761-d0d97878872e</node><item-id>item-ac9225dc-3aef-45c0-b792-ff6aa2591c16</item-id></data>

2022-08-11 22:34:18 | 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-ac9225dc-3aef-45c0-b792-ff6aa2591c16</value></item-id></result>

2022-08-11 22:34:18 | [Mutex] received everything.

2022-08-11 22:34:18 | [Mutex] isItemNotified: retracted:item:notifieditem-ac9225dc-3aef-45c0-b792-ff6aa2591c16:admin@test-domain.com :: true

retrieveItemsFromNodes 0.260s
2022-08-11 22:34:17 |

2022-08-11 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:34:17 | ------------------------------------

2022-08-11 22:34:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-26eb5e24-53a5-49f9-a761-d0d97878872e</node><item-id>item-ac9225dc-3aef-45c0-b792-ff6aa2591c16</item-id></data>

2022-08-11 22:34:17 | 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-26eb5e24-53a5-49f9-a761-d0d97878872e</value></node><item-id type="text-single" label="Item ID"><value>item-ac9225dc-3aef-45c0-b792-ff6aa2591c16</value></item-id><item type="text-multi" label="Item"><value><item id="item-ac9225dc-3aef-45c0-b792-ff6aa2591c16"><test>item-ac9225dc-3aef-45c0-b792-ff6aa2591c16</test></item></value></item></result>

2022-08-11 22:34:17 | [Mutex] notify: [retrieved:item:item-ac9225dc-3aef-45c0-b792-ff6aa2591c16:payload-matches:true:localhost]

2022-08-11 22:34:17 | [Mutex] received everything.

2022-08-11 22:34:17 | [Mutex] isItemNotified: retrieved:item:item-ac9225dc-3aef-45c0-b792-ff6aa2591c16:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-11 22:34:17 |

2022-08-11 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:34:17 | ------------------------------------

2022-08-11 22:34:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-11 22:34:17 | 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-26eb5e24-53a5-49f9-a761-d0d97878872e</value><value>node-b32c7199-506e-4a4c-8534-e5becfa2a2f3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-11 22:34:17 |

2022-08-11 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:34:17 | ------------------------------------

2022-08-11 22:34:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-26eb5e24-53a5-49f9-a761-d0d97878872e)</node-pattern></data>

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

subscribeNodes 1.132s
2022-08-11 22:34:16 |

2022-08-11 22:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:34:16 | ------------------------------------

2022-08-11 22:34:16 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-26eb5e24-53a5-49f9-a761-d0d97878872e</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-11 22:34:16 | 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
2022-08-11 22:34:18 |

2022-08-11 22:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:34:18 | ------------------------------------

2022-08-11 22:34:18 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-26eb5e24-53a5-49f9-a761-d0d97878872e</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-11 22:34:18 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>