Generated by TestNG with ReportNG at 21:49 PST on Sunday 13 February 2022
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.033s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2022-02-13 22:03:48 |

2022-02-13 22:03:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 22:03:48 | ------------------------------------

2022-02-13 22:03:48 | [Mutex] waiting for: [configured:node:node-1e56b227-8cf3-4778-8811-f07e567ff6ed:node-a6abfe3b-5150-497a-9a49-bde2c776fd65]

2022-02-13 22:03:48 | [Mutex] received everything.

2022-02-13 22:03:48 | [Mutex] isItemNotified: configured:node:node-1e56b227-8cf3-4778-8811-f07e567ff6ed:node-a6abfe3b-5150-497a-9a49-bde2c776fd65 :: true

2022-02-13 22:03:49 | [Mutex] waiting for: [received:nodes:2b5cf784-4187-4670-b016-51f78df38734:localhost]

2022-02-13 22:03:49 | [Mutex] received everything.

2022-02-13 22:03:49 | [Mutex] isItemNotified: received:node:2b5cf784-4187-4670-b016-51f78df38734:localhost:node-1e56b227-8cf3-4778-8811-f07e567ff6ed:Node 1e56b227-8cf3-4778-8811-f07e567ff6ed :: true

2022-02-13 22:03:49 | [Mutex] waiting for: [received:nodes:5653b960-39dc-42b7-8081-9ad1c0b8a731:localhost]

2022-02-13 22:03:49 | [Mutex] received everything.

2022-02-13 22:03:49 | [Mutex] isItemNotified: received:node:5653b960-39dc-42b7-8081-9ad1c0b8a731:localhost:node-1e56b227-8cf3-4778-8811-f07e567ff6ed:Node 1e56b227-8cf3-4778-8811-f07e567ff6ed :: false

createNodes 1.483s
2022-02-13 22:03:46 |

2022-02-13 22:03:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 22:03:46 | ------------------------------------

2022-02-13 22:03:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1e56b227-8cf3-4778-8811-f07e567ff6ed</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1e56b227-8cf3-4778-8811-f07e567ff6ed</title></pubsub></data>

2022-02-13 22:03:46 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-13 22:03:47 | [Mutex] waiting for: [received:nodes:9e3f47dc-bc96-480b-9483-85cd20fe3961:localhost]

2022-02-13 22:03:47 | [Mutex] received everything.

2022-02-13 22:03:47 | [Mutex] isItemNotified: received:node:9e3f47dc-bc96-480b-9483-85cd20fe3961:localhost:node-1e56b227-8cf3-4778-8811-f07e567ff6ed:Node 1e56b227-8cf3-4778-8811-f07e567ff6ed :: true

createSubnodes 1.040s
2022-02-13 22:03:47 |

2022-02-13 22:03:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 22:03:47 | ------------------------------------

2022-02-13 22:03:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a6abfe3b-5150-497a-9a49-bde2c776fd65</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a6abfe3b-5150-497a-9a49-bde2c776fd65</title></pubsub></data>

2022-02-13 22:03:47 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-13 22:03:48 | [Mutex] waiting for: [received:nodes:9020a349-d2d9-473e-bd4f-18f268c97faf:localhost]

2022-02-13 22:03:48 | [Mutex] received everything.

2022-02-13 22:03:48 | [Mutex] isItemNotified: received:node:9020a349-d2d9-473e-bd4f-18f268c97faf:localhost:node-a6abfe3b-5150-497a-9a49-bde2c776fd65:Node a6abfe3b-5150-497a-9a49-bde2c776fd65 :: true

deleteNodes 1.020s
2022-02-13 22:03:54 |

2022-02-13 22:03:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 22:03:54 | ------------------------------------

2022-02-13 22:03:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a6abfe3b-5150-497a-9a49-bde2c776fd65</node></data>

2022-02-13 22:03:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-13 22:03:55 | [Mutex] waiting for: [received:nodes:74bacc1f-0f33-468f-858c-dee548a7c35e:localhost]

2022-02-13 22:03:55 | [Mutex] received everything.

2022-02-13 22:03:55 | [Mutex] isItemNotified: received:node:74bacc1f-0f33-468f-858c-dee548a7c35e:localhost:node-a6abfe3b-5150-497a-9a49-bde2c776fd65:Node a6abfe3b-5150-497a-9a49-bde2c776fd65 :: false

deleteSubnodes 1.148s
2022-02-13 22:03:53 |

2022-02-13 22:03:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 22:03:53 | ------------------------------------

2022-02-13 22:03:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1e56b227-8cf3-4778-8811-f07e567ff6ed</node></data>

2022-02-13 22:03:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-13 22:03:54 | [Mutex] waiting for: [received:nodes:e0619136-f0a5-4149-acaf-d906843e37ba:localhost]

2022-02-13 22:03:54 | [Mutex] received everything.

2022-02-13 22:03:54 | [Mutex] isItemNotified: received:node:e0619136-f0a5-4149-acaf-d906843e37ba:localhost:node-1e56b227-8cf3-4778-8811-f07e567ff6ed:Node 1e56b227-8cf3-4778-8811-f07e567ff6ed :: false

2022-02-13 22:03:54 | [Mutex] waiting for: [received:nodes:3a1f9990-c95e-417f-b38a-673c89216224:localhost]

2022-02-13 22:03:54 | [Mutex] received everything.

2022-02-13 22:03:54 | [Mutex] isItemNotified: received:node:3a1f9990-c95e-417f-b38a-673c89216224:localhost:node-1e56b227-8cf3-4778-8811-f07e567ff6ed:Node 1e56b227-8cf3-4778-8811-f07e567ff6ed :: false

publishItemsToNodes 0.294s
2022-02-13 22:03:50 |

2022-02-13 22:03:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 22:03:50 | ------------------------------------

2022-02-13 22:03:50 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1e56b227-8cf3-4778-8811-f07e567ff6ed</node><item-id>item-fd96b241-3238-4d28-abd3-541f12851dbd</item-id><entry><test>item-fd96b241-3238-4d28-abd3-541f12851dbd</test></entry></data>

2022-02-13 22:03:51 | 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-fd96b241-3238-4d28-abd3-541f12851dbd</value></item-id></result>

2022-02-13 22:03:51 | [Mutex] waiting for: [published:item:notifieditem-fd96b241-3238-4d28-abd3-541f12851dbd:admin@test-domain.com]

2022-02-13 22:03:51 | [Mutex] received everything.

2022-02-13 22:03:51 | [Mutex] isItemNotified: published:item:notifieditem-fd96b241-3238-4d28-abd3-541f12851dbd:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2022-02-13 22:03:51 |

2022-02-13 22:03:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 22:03:51 | ------------------------------------

2022-02-13 22:03:51 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1e56b227-8cf3-4778-8811-f07e567ff6ed</node><item-id>item-fd96b241-3238-4d28-abd3-541f12851dbd</item-id></data>

2022-02-13 22:03:51 | 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-fd96b241-3238-4d28-abd3-541f12851dbd</value></item-id></result>

2022-02-13 22:03:51 | [Mutex] received everything.

2022-02-13 22:03:51 | [Mutex] isItemNotified: retracted:item:notifieditem-fd96b241-3238-4d28-abd3-541f12851dbd:admin@test-domain.com :: true

retrieveItemsFromNodes 0.303s
2022-02-13 22:03:51 |

2022-02-13 22:03:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 22:03:51 | ------------------------------------

2022-02-13 22:03:51 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1e56b227-8cf3-4778-8811-f07e567ff6ed</node><item-id>item-fd96b241-3238-4d28-abd3-541f12851dbd</item-id></data>

2022-02-13 22:03:51 | 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-1e56b227-8cf3-4778-8811-f07e567ff6ed</value></node><item-id type="text-single" label="Item ID"><value>item-fd96b241-3238-4d28-abd3-541f12851dbd</value></item-id><item type="text-multi" label="Item"><value><item id="item-fd96b241-3238-4d28-abd3-541f12851dbd"><test>item-fd96b241-3238-4d28-abd3-541f12851dbd</test></item></value></item></result>

2022-02-13 22:03:51 | [Mutex] notify: [retrieved:item:item-fd96b241-3238-4d28-abd3-541f12851dbd:payload-matches:true:localhost]

2022-02-13 22:03:51 | [Mutex] received everything.

2022-02-13 22:03:51 | [Mutex] isItemNotified: retrieved:item:item-fd96b241-3238-4d28-abd3-541f12851dbd:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-13 22:03:51 |

2022-02-13 22:03:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 22:03:51 | ------------------------------------

2022-02-13 22:03:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-13 22:03:51 | 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-1e56b227-8cf3-4778-8811-f07e567ff6ed</value><value>node-a6abfe3b-5150-497a-9a49-bde2c776fd65</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-13 22:03:51 |

2022-02-13 22:03:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 22:03:51 | ------------------------------------

2022-02-13 22:03:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1e56b227-8cf3-4778-8811-f07e567ff6ed)</node-pattern></data>

2022-02-13 22:03:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.126s
2022-02-13 22:03:49 |

2022-02-13 22:03:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 22:03:49 | ------------------------------------

2022-02-13 22:03:49 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1e56b227-8cf3-4778-8811-f07e567ff6ed</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-13 22:03:49 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.259s
2022-02-13 22:03:51 |

2022-02-13 22:03:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 22:03:51 | ------------------------------------

2022-02-13 22:03:51 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1e56b227-8cf3-4778-8811-f07e567ff6ed</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-13 22:03:52 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>