Generated by TestNG with ReportNG at 22:19 PDT on Tuesday 16 August 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.503s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.115s
2022-08-16 22:34:21 |

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

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

2022-08-16 22:34:21 | [Mutex] waiting for: [configured:node:node-34d266b1-de08-4068-ae75-c4692b019b7a:node-6cc8b02e-2a3f-435a-b40f-6f4497422524]

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

2022-08-16 22:34:22 | [Mutex] isItemNotified: configured:node:node-34d266b1-de08-4068-ae75-c4692b019b7a:node-6cc8b02e-2a3f-435a-b40f-6f4497422524 :: true

2022-08-16 22:34:23 | [Mutex] waiting for: [received:nodes:9b242687-1ef3-43d3-98aa-80a29927949a:localhost]

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

2022-08-16 22:34:23 | [Mutex] isItemNotified: received:node:9b242687-1ef3-43d3-98aa-80a29927949a:localhost:node-34d266b1-de08-4068-ae75-c4692b019b7a:Node 34d266b1-de08-4068-ae75-c4692b019b7a :: true

2022-08-16 22:34:23 | [Mutex] waiting for: [received:nodes:6ef55547-9f5f-4a0b-ab3b-6165fd237493:localhost]

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

2022-08-16 22:34:23 | [Mutex] isItemNotified: received:node:6ef55547-9f5f-4a0b-ab3b-6165fd237493:localhost:node-34d266b1-de08-4068-ae75-c4692b019b7a:Node 34d266b1-de08-4068-ae75-c4692b019b7a :: false

createNodes 1.443s
2022-08-16 22:34:19 |

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

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

2022-08-16 22:34:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-34d266b1-de08-4068-ae75-c4692b019b7a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 34d266b1-de08-4068-ae75-c4692b019b7a</title></pubsub></data>

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

2022-08-16 22:34:20 | [Mutex] waiting for: [received:nodes:3d0f8c71-02aa-436d-9f0b-410f725f0221:localhost]

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

2022-08-16 22:34:20 | [Mutex] isItemNotified: received:node:3d0f8c71-02aa-436d-9f0b-410f725f0221:localhost:node-34d266b1-de08-4068-ae75-c4692b019b7a:Node 34d266b1-de08-4068-ae75-c4692b019b7a :: true

createSubnodes 1.023s
2022-08-16 22:34:20 |

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

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

2022-08-16 22:34:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6cc8b02e-2a3f-435a-b40f-6f4497422524</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6cc8b02e-2a3f-435a-b40f-6f4497422524</title></pubsub></data>

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

2022-08-16 22:34:21 | [Mutex] waiting for: [received:nodes:f5132bee-9fdf-4a90-9f5b-4623648852d4:localhost]

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

2022-08-16 22:34:21 | [Mutex] isItemNotified: received:node:f5132bee-9fdf-4a90-9f5b-4623648852d4:localhost:node-6cc8b02e-2a3f-435a-b40f-6f4497422524:Node 6cc8b02e-2a3f-435a-b40f-6f4497422524 :: true

deleteNodes 1.017s
2022-08-16 22:34:27 |

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

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

2022-08-16 22:34:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6cc8b02e-2a3f-435a-b40f-6f4497422524</node></data>

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

2022-08-16 22:34:28 | [Mutex] waiting for: [received:nodes:a605f0c0-62d9-437a-af3d-ea5378f9f5c3:localhost]

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

2022-08-16 22:34:28 | [Mutex] isItemNotified: received:node:a605f0c0-62d9-437a-af3d-ea5378f9f5c3:localhost:node-6cc8b02e-2a3f-435a-b40f-6f4497422524:Node 6cc8b02e-2a3f-435a-b40f-6f4497422524 :: false

deleteSubnodes 1.124s
2022-08-16 22:34:26 |

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

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

2022-08-16 22:34:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-34d266b1-de08-4068-ae75-c4692b019b7a</node></data>

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

2022-08-16 22:34:27 | [Mutex] waiting for: [received:nodes:a6c8bf3a-f54b-4f4f-98b4-8c78a61c5ea6:localhost]

2022-08-16 22:34:27 | [Mutex] waiting for: [received:nodes:a6c8bf3a-f54b-4f4f-98b4-8c78a61c5ea6:localhost]

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

2022-08-16 22:34:27 | [Mutex] isItemNotified: received:node:a6c8bf3a-f54b-4f4f-98b4-8c78a61c5ea6:localhost:node-34d266b1-de08-4068-ae75-c4692b019b7a:Node 34d266b1-de08-4068-ae75-c4692b019b7a :: false

2022-08-16 22:34:27 | [Mutex] waiting for: [received:nodes:6e8d93f2-2125-4538-8384-728396fcfd2e:localhost]

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

2022-08-16 22:34:27 | [Mutex] isItemNotified: received:node:6e8d93f2-2125-4538-8384-728396fcfd2e:localhost:node-34d266b1-de08-4068-ae75-c4692b019b7a:Node 34d266b1-de08-4068-ae75-c4692b019b7a :: false

publishItemsToNodes 0.185s
2022-08-16 22:34:24 |

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

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

2022-08-16 22:34:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-34d266b1-de08-4068-ae75-c4692b019b7a</node><item-id>item-5ca28fad-1f72-458b-83eb-99a29a94e0a0</item-id><entry><test>item-5ca28fad-1f72-458b-83eb-99a29a94e0a0</test></entry></data>

2022-08-16 22:34:24 | 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-5ca28fad-1f72-458b-83eb-99a29a94e0a0</value></item-id></result>

2022-08-16 22:34:24 | [Mutex] waiting for: [published:item:notifieditem-5ca28fad-1f72-458b-83eb-99a29a94e0a0:admin@test-domain.com]

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

2022-08-16 22:34:24 | [Mutex] isItemNotified: published:item:notifieditem-5ca28fad-1f72-458b-83eb-99a29a94e0a0:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2022-08-16 22:34:24 |

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

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

2022-08-16 22:34:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-34d266b1-de08-4068-ae75-c4692b019b7a</node><item-id>item-5ca28fad-1f72-458b-83eb-99a29a94e0a0</item-id></data>

2022-08-16 22:34:25 | 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-5ca28fad-1f72-458b-83eb-99a29a94e0a0</value></item-id></result>

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

2022-08-16 22:34:25 | [Mutex] isItemNotified: retracted:item:notifieditem-5ca28fad-1f72-458b-83eb-99a29a94e0a0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.216s
2022-08-16 22:34:24 |

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

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

2022-08-16 22:34:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-34d266b1-de08-4068-ae75-c4692b019b7a</node><item-id>item-5ca28fad-1f72-458b-83eb-99a29a94e0a0</item-id></data>

2022-08-16 22:34:24 | 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-34d266b1-de08-4068-ae75-c4692b019b7a</value></node><item-id type="text-single" label="Item ID"><value>item-5ca28fad-1f72-458b-83eb-99a29a94e0a0</value></item-id><item type="text-multi" label="Item"><value><item id="item-5ca28fad-1f72-458b-83eb-99a29a94e0a0"><test>item-5ca28fad-1f72-458b-83eb-99a29a94e0a0</test></item></value></item></result>

2022-08-16 22:34:24 | [Mutex] notify: [retrieved:item:item-5ca28fad-1f72-458b-83eb-99a29a94e0a0:payload-matches:true:localhost]

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

2022-08-16 22:34:24 | [Mutex] isItemNotified: retrieved:item:item-5ca28fad-1f72-458b-83eb-99a29a94e0a0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2022-08-16 22:34:24 |

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

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

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

2022-08-16 22:34:24 | 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-34d266b1-de08-4068-ae75-c4692b019b7a</value><value>node-6cc8b02e-2a3f-435a-b40f-6f4497422524</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-16 22:34:24 |

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

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

2022-08-16 22:34: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-34d266b1-de08-4068-ae75-c4692b019b7a)</node-pattern></data>

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

subscribeNodes 1.127s
2022-08-16 22:34:23 |

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

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

2022-08-16 22:34:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-34d266b1-de08-4068-ae75-c4692b019b7a</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-16 22:34: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.195s
2022-08-16 22:34:25 |

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

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

2022-08-16 22:34:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-34d266b1-de08-4068-ae75-c4692b019b7a</node><jids><value>admin@test-domain.com</value></jids></data>

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