Generated by TestNG with ReportNG at 22:17 PDT on Tuesday 12 July 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.555s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2022-07-12 22:31:57 |

2022-07-12 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:31:57 | ------------------------------------

2022-07-12 22:31:57 | [Mutex] waiting for: [configured:node:node-f134f98c-381d-4646-a90b-d211d0318d8e:node-3e5ff22a-66b0-4aab-892c-47c020dcf548]

2022-07-12 22:31:57 | [Mutex] received everything.

2022-07-12 22:31:57 | [Mutex] isItemNotified: configured:node:node-f134f98c-381d-4646-a90b-d211d0318d8e:node-3e5ff22a-66b0-4aab-892c-47c020dcf548 :: true

2022-07-12 22:31:58 | [Mutex] waiting for: [received:nodes:74dc2d57-0c67-4fe7-aa37-79fb14dd5b6d:localhost]

2022-07-12 22:31:58 | [Mutex] received everything.

2022-07-12 22:31:58 | [Mutex] isItemNotified: received:node:74dc2d57-0c67-4fe7-aa37-79fb14dd5b6d:localhost:node-f134f98c-381d-4646-a90b-d211d0318d8e:Node f134f98c-381d-4646-a90b-d211d0318d8e :: true

2022-07-12 22:31:58 | [Mutex] waiting for: [received:nodes:57fb25aa-6b2c-44d2-91a2-a7ec74eb00aa:localhost]

2022-07-12 22:31:58 | [Mutex] waiting for: [received:nodes:57fb25aa-6b2c-44d2-91a2-a7ec74eb00aa:localhost]

2022-07-12 22:31:58 | [Mutex] waiting for: [received:nodes:57fb25aa-6b2c-44d2-91a2-a7ec74eb00aa:localhost]

2022-07-12 22:31:58 | [Mutex] waiting for: [received:nodes:57fb25aa-6b2c-44d2-91a2-a7ec74eb00aa:localhost]

2022-07-12 22:31:58 | [Mutex] received everything.

2022-07-12 22:31:58 | [Mutex] isItemNotified: received:node:57fb25aa-6b2c-44d2-91a2-a7ec74eb00aa:localhost:node-f134f98c-381d-4646-a90b-d211d0318d8e:Node f134f98c-381d-4646-a90b-d211d0318d8e :: false

createNodes 1.407s
2022-07-12 22:31:55 |

2022-07-12 22:31:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:31:55 | ------------------------------------

2022-07-12 22:31:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f134f98c-381d-4646-a90b-d211d0318d8e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f134f98c-381d-4646-a90b-d211d0318d8e</title></pubsub></data>

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

2022-07-12 22:31:56 | [Mutex] waiting for: [received:nodes:32778522-ae35-465d-9460-f61ee9ef21bb:localhost]

2022-07-12 22:31:56 | [Mutex] received everything.

2022-07-12 22:31:56 | [Mutex] isItemNotified: received:node:32778522-ae35-465d-9460-f61ee9ef21bb:localhost:node-f134f98c-381d-4646-a90b-d211d0318d8e:Node f134f98c-381d-4646-a90b-d211d0318d8e :: true

createSubnodes 1.022s
2022-07-12 22:31:56 |

2022-07-12 22:31:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:31:56 | ------------------------------------

2022-07-12 22:31:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3e5ff22a-66b0-4aab-892c-47c020dcf548</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3e5ff22a-66b0-4aab-892c-47c020dcf548</title></pubsub></data>

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

2022-07-12 22:31:57 | [Mutex] waiting for: [received:nodes:af1e76c5-d6a6-4eda-b15c-55a0dff5bebd:localhost]

2022-07-12 22:31:57 | [Mutex] waiting for: [received:nodes:af1e76c5-d6a6-4eda-b15c-55a0dff5bebd:localhost]

2022-07-12 22:31:57 | [Mutex] received everything.

2022-07-12 22:31:57 | [Mutex] isItemNotified: received:node:af1e76c5-d6a6-4eda-b15c-55a0dff5bebd:localhost:node-3e5ff22a-66b0-4aab-892c-47c020dcf548:Node 3e5ff22a-66b0-4aab-892c-47c020dcf548 :: true

deleteNodes 1.024s
2022-07-12 22:32:03 |

2022-07-12 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:32:03 | ------------------------------------

2022-07-12 22:32:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3e5ff22a-66b0-4aab-892c-47c020dcf548</node></data>

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

2022-07-12 22:32:04 | [Mutex] waiting for: [received:nodes:64930b71-11db-4767-99af-8ed9e4a96009:localhost]

2022-07-12 22:32:04 | [Mutex] received everything.

2022-07-12 22:32:04 | [Mutex] isItemNotified: received:node:64930b71-11db-4767-99af-8ed9e4a96009:localhost:node-3e5ff22a-66b0-4aab-892c-47c020dcf548:Node 3e5ff22a-66b0-4aab-892c-47c020dcf548 :: false

deleteSubnodes 1.195s
2022-07-12 22:32:02 |

2022-07-12 22:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:32:02 | ------------------------------------

2022-07-12 22:32:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f134f98c-381d-4646-a90b-d211d0318d8e</node></data>

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

2022-07-12 22:32:03 | [Mutex] waiting for: [received:nodes:d0dca66a-7f67-44bc-99a2-a7884268683c:localhost]

2022-07-12 22:32:03 | [Mutex] received everything.

2022-07-12 22:32:03 | [Mutex] isItemNotified: received:node:d0dca66a-7f67-44bc-99a2-a7884268683c:localhost:node-f134f98c-381d-4646-a90b-d211d0318d8e:Node f134f98c-381d-4646-a90b-d211d0318d8e :: false

2022-07-12 22:32:03 | [Mutex] waiting for: [received:nodes:0d4f7ef3-0b92-4efb-ad96-4eeb16664143:localhost]

2022-07-12 22:32:03 | [Mutex] received everything.

2022-07-12 22:32:03 | [Mutex] isItemNotified: received:node:0d4f7ef3-0b92-4efb-ad96-4eeb16664143:localhost:node-f134f98c-381d-4646-a90b-d211d0318d8e:Node f134f98c-381d-4646-a90b-d211d0318d8e :: false

publishItemsToNodes 0.246s
2022-07-12 22:31:59 |

2022-07-12 22:31:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:31:59 | ------------------------------------

2022-07-12 22:31:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f134f98c-381d-4646-a90b-d211d0318d8e</node><item-id>item-313691cd-510b-45d5-8a69-f1f6c1eaa881</item-id><entry><test>item-313691cd-510b-45d5-8a69-f1f6c1eaa881</test></entry></data>

2022-07-12 22:32:00 | 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-313691cd-510b-45d5-8a69-f1f6c1eaa881</value></item-id></result>

2022-07-12 22:32:00 | [Mutex] received everything.

2022-07-12 22:32:00 | [Mutex] isItemNotified: published:item:notifieditem-313691cd-510b-45d5-8a69-f1f6c1eaa881:admin@test-domain.com :: true

retractItemsFromNodes 0.192s
2022-07-12 22:32:00 |

2022-07-12 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:32:00 | ------------------------------------

2022-07-12 22:32:00 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f134f98c-381d-4646-a90b-d211d0318d8e</node><item-id>item-313691cd-510b-45d5-8a69-f1f6c1eaa881</item-id></data>

2022-07-12 22:32:00 | 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-313691cd-510b-45d5-8a69-f1f6c1eaa881</value></item-id></result>

2022-07-12 22:32:00 | [Mutex] received everything.

2022-07-12 22:32:00 | [Mutex] isItemNotified: retracted:item:notifieditem-313691cd-510b-45d5-8a69-f1f6c1eaa881:admin@test-domain.com :: true

retrieveItemsFromNodes 0.281s
2022-07-12 22:32:00 |

2022-07-12 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:32:00 | ------------------------------------

2022-07-12 22:32:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f134f98c-381d-4646-a90b-d211d0318d8e</node><item-id>item-313691cd-510b-45d5-8a69-f1f6c1eaa881</item-id></data>

2022-07-12 22:32:00 | 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-f134f98c-381d-4646-a90b-d211d0318d8e</value></node><item-id type="text-single" label="Item ID"><value>item-313691cd-510b-45d5-8a69-f1f6c1eaa881</value></item-id><item type="text-multi" label="Item"><value><item id="item-313691cd-510b-45d5-8a69-f1f6c1eaa881"><test>item-313691cd-510b-45d5-8a69-f1f6c1eaa881</test></item></value></item></result>

2022-07-12 22:32:00 | [Mutex] notify: [retrieved:item:item-313691cd-510b-45d5-8a69-f1f6c1eaa881:payload-matches:true:localhost]

2022-07-12 22:32:00 | [Mutex] received everything.

2022-07-12 22:32:00 | [Mutex] isItemNotified: retrieved:item:item-313691cd-510b-45d5-8a69-f1f6c1eaa881:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-12 22:32:00 |

2022-07-12 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:32:00 | ------------------------------------

2022-07-12 22:32:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-12 22:32:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-3e5ff22a-66b0-4aab-892c-47c020dcf548</value><value>test</value><value>node-f134f98c-381d-4646-a90b-d211d0318d8e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-07-12 22:32:00 |

2022-07-12 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:32:00 | ------------------------------------

2022-07-12 22:32:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f134f98c-381d-4646-a90b-d211d0318d8e)</node-pattern></data>

2022-07-12 22:32:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.120s
2022-07-12 22:31:58 |

2022-07-12 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:31:58 | ------------------------------------

2022-07-12 22:31:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f134f98c-381d-4646-a90b-d211d0318d8e</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-12 22:31:58 | 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-07-12 22:32:00 |

2022-07-12 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:32:00 | ------------------------------------

2022-07-12 22:32:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f134f98c-381d-4646-a90b-d211d0318d8e</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-12 22:32:01 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>