Generated by TestNG with ReportNG at 22:51 PDT on Thursday 04 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.843s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2022-08-04 23:06:54 |

2022-08-04 23:06:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 23:06:54 | ------------------------------------

2022-08-04 23:06:54 | [Mutex] waiting for: [configured:node:node-12d6b4c9-9114-4167-ab37-90fc55d293c6:node-15a0c113-2db6-43bf-861a-2eaef80da3f6]

2022-08-04 23:06:54 | [Mutex] received everything.

2022-08-04 23:06:54 | [Mutex] isItemNotified: configured:node:node-12d6b4c9-9114-4167-ab37-90fc55d293c6:node-15a0c113-2db6-43bf-861a-2eaef80da3f6 :: true

2022-08-04 23:06:55 | [Mutex] waiting for: [received:nodes:22e08ba8-3371-437c-9155-f714bc35e58a:localhost]

2022-08-04 23:06:55 | [Mutex] received everything.

2022-08-04 23:06:55 | [Mutex] isItemNotified: received:node:22e08ba8-3371-437c-9155-f714bc35e58a:localhost:node-12d6b4c9-9114-4167-ab37-90fc55d293c6:Node 12d6b4c9-9114-4167-ab37-90fc55d293c6 :: true

2022-08-04 23:06:55 | [Mutex] waiting for: [received:nodes:3cda80cb-4a65-4405-8a71-067f8b5619c8:localhost]

2022-08-04 23:06:55 | [Mutex] received everything.

2022-08-04 23:06:55 | [Mutex] isItemNotified: received:node:3cda80cb-4a65-4405-8a71-067f8b5619c8:localhost:node-12d6b4c9-9114-4167-ab37-90fc55d293c6:Node 12d6b4c9-9114-4167-ab37-90fc55d293c6 :: false

createNodes 1.723s
2022-08-04 23:06:51 |

2022-08-04 23:06:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 23:06:51 | ------------------------------------

2022-08-04 23:06:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-12d6b4c9-9114-4167-ab37-90fc55d293c6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 12d6b4c9-9114-4167-ab37-90fc55d293c6</title></pubsub></data>

2022-08-04 23:06:52 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-04 23:06:53 | [Mutex] waiting for: [received:nodes:63c2eb22-142f-4dd3-a6da-8e9045d340d2:localhost]

2022-08-04 23:06:53 | [Mutex] received everything.

2022-08-04 23:06:53 | [Mutex] isItemNotified: received:node:63c2eb22-142f-4dd3-a6da-8e9045d340d2:localhost:node-12d6b4c9-9114-4167-ab37-90fc55d293c6:Node 12d6b4c9-9114-4167-ab37-90fc55d293c6 :: true

createSubnodes 1.020s
2022-08-04 23:06:53 |

2022-08-04 23:06:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 23:06:53 | ------------------------------------

2022-08-04 23:06:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-15a0c113-2db6-43bf-861a-2eaef80da3f6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 15a0c113-2db6-43bf-861a-2eaef80da3f6</title></pubsub></data>

2022-08-04 23:06:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-04 23:06:54 | [Mutex] waiting for: [received:nodes:f5e174f7-c4f2-4a3b-9b50-30d47e62ffc2:localhost]

2022-08-04 23:06:54 | [Mutex] received everything.

2022-08-04 23:06:54 | [Mutex] isItemNotified: received:node:f5e174f7-c4f2-4a3b-9b50-30d47e62ffc2:localhost:node-15a0c113-2db6-43bf-861a-2eaef80da3f6:Node 15a0c113-2db6-43bf-861a-2eaef80da3f6 :: true

deleteNodes 1.018s
2022-08-04 23:06:59 |

2022-08-04 23:06:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 23:06:59 | ------------------------------------

2022-08-04 23:06:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-15a0c113-2db6-43bf-861a-2eaef80da3f6</node></data>

2022-08-04 23:06:59 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-04 23:07:00 | [Mutex] waiting for: [received:nodes:78ec3c7f-91f9-48c0-9aaf-49979bd878a5:localhost]

2022-08-04 23:07:00 | [Mutex] waiting for: [received:nodes:78ec3c7f-91f9-48c0-9aaf-49979bd878a5:localhost]

2022-08-04 23:07:00 | [Mutex] received everything.

2022-08-04 23:07:00 | [Mutex] isItemNotified: received:node:78ec3c7f-91f9-48c0-9aaf-49979bd878a5:localhost:node-15a0c113-2db6-43bf-861a-2eaef80da3f6:Node 15a0c113-2db6-43bf-861a-2eaef80da3f6 :: false

deleteSubnodes 1.140s
2022-08-04 23:06:58 |

2022-08-04 23:06:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 23:06:58 | ------------------------------------

2022-08-04 23:06:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-12d6b4c9-9114-4167-ab37-90fc55d293c6</node></data>

2022-08-04 23:06:58 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-04 23:06:59 | [Mutex] waiting for: [received:nodes:9164eacb-1cce-41d7-9bef-446aa15b0045:localhost]

2022-08-04 23:06:59 | [Mutex] waiting for: [received:nodes:9164eacb-1cce-41d7-9bef-446aa15b0045:localhost]

2022-08-04 23:06:59 | [Mutex] received everything.

2022-08-04 23:06:59 | [Mutex] isItemNotified: received:node:9164eacb-1cce-41d7-9bef-446aa15b0045:localhost:node-12d6b4c9-9114-4167-ab37-90fc55d293c6:Node 12d6b4c9-9114-4167-ab37-90fc55d293c6 :: false

2022-08-04 23:06:59 | [Mutex] waiting for: [received:nodes:b4655c3d-39bc-4d2e-8dd6-e231528fcc70:localhost]

2022-08-04 23:06:59 | [Mutex] received everything.

2022-08-04 23:06:59 | [Mutex] isItemNotified: received:node:b4655c3d-39bc-4d2e-8dd6-e231528fcc70:localhost:node-12d6b4c9-9114-4167-ab37-90fc55d293c6:Node 12d6b4c9-9114-4167-ab37-90fc55d293c6 :: false

publishItemsToNodes 0.224s
2022-08-04 23:06:56 |

2022-08-04 23:06:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 23:06:56 | ------------------------------------

2022-08-04 23:06:56 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-12d6b4c9-9114-4167-ab37-90fc55d293c6</node><item-id>item-0205aa68-61c9-4e99-bd0b-8d81d7784828</item-id><entry><test>item-0205aa68-61c9-4e99-bd0b-8d81d7784828</test></entry></data>

2022-08-04 23:06:56 | 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-0205aa68-61c9-4e99-bd0b-8d81d7784828</value></item-id></result>

2022-08-04 23:06:56 | [Mutex] received everything.

2022-08-04 23:06:56 | [Mutex] isItemNotified: published:item:notifieditem-0205aa68-61c9-4e99-bd0b-8d81d7784828:admin@test-domain.com :: true

retractItemsFromNodes 0.249s
2022-08-04 23:06:57 |

2022-08-04 23:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 23:06:57 | ------------------------------------

2022-08-04 23:06:57 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-12d6b4c9-9114-4167-ab37-90fc55d293c6</node><item-id>item-0205aa68-61c9-4e99-bd0b-8d81d7784828</item-id></data>

2022-08-04 23:06:57 | 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-0205aa68-61c9-4e99-bd0b-8d81d7784828</value></item-id></result>

2022-08-04 23:06:57 | [Mutex] received everything.

2022-08-04 23:06:57 | [Mutex] isItemNotified: retracted:item:notifieditem-0205aa68-61c9-4e99-bd0b-8d81d7784828:admin@test-domain.com :: true

retrieveItemsFromNodes 0.248s
2022-08-04 23:06:56 |

2022-08-04 23:06:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 23:06:56 | ------------------------------------

2022-08-04 23:06:56 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-12d6b4c9-9114-4167-ab37-90fc55d293c6</node><item-id>item-0205aa68-61c9-4e99-bd0b-8d81d7784828</item-id></data>

2022-08-04 23:06:56 | 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-12d6b4c9-9114-4167-ab37-90fc55d293c6</value></node><item-id type="text-single" label="Item ID"><value>item-0205aa68-61c9-4e99-bd0b-8d81d7784828</value></item-id><item type="text-multi" label="Item"><value><item id="item-0205aa68-61c9-4e99-bd0b-8d81d7784828"><test>item-0205aa68-61c9-4e99-bd0b-8d81d7784828</test></item></value></item></result>

2022-08-04 23:06:56 | [Mutex] notify: [retrieved:item:item-0205aa68-61c9-4e99-bd0b-8d81d7784828:payload-matches:true:localhost]

2022-08-04 23:06:56 | [Mutex] received everything.

2022-08-04 23:06:56 | [Mutex] isItemNotified: retrieved:item:item-0205aa68-61c9-4e99-bd0b-8d81d7784828:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-04 23:06:56 |

2022-08-04 23:06:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 23:06:56 | ------------------------------------

2022-08-04 23:06:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-04 23:06:56 | 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-12d6b4c9-9114-4167-ab37-90fc55d293c6</value><value>node-15a0c113-2db6-43bf-861a-2eaef80da3f6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-08-04 23:06:56 |

2022-08-04 23:06:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 23:06:56 | ------------------------------------

2022-08-04 23:06:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-12d6b4c9-9114-4167-ab37-90fc55d293c6)</node-pattern></data>

2022-08-04 23:06:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.133s
2022-08-04 23:06:55 |

2022-08-04 23:06:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 23:06:55 | ------------------------------------

2022-08-04 23:06:55 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-12d6b4c9-9114-4167-ab37-90fc55d293c6</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-04 23:06:55 | 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
2022-08-04 23:06:57 |

2022-08-04 23:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-04 23:06:57 | ------------------------------------

2022-08-04 23:06:57 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-12d6b4c9-9114-4167-ab37-90fc55d293c6</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-04 23:06:57 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>