Generated by TestNG with ReportNG at 21:47 PST on Tuesday 15 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.136s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.145s
2022-02-15 22:03:02 |

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

2022-02-15 22:03:02 | ------------------------------------

2022-02-15 22:03:02 | [Mutex] waiting for: [configured:node:node-58806648-41cf-4c8d-8ee7-6731bafa3a96:node-0b660ec3-2100-4b3b-84ed-0e6c3fcd3829]

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

2022-02-15 22:03:02 | [Mutex] isItemNotified: configured:node:node-58806648-41cf-4c8d-8ee7-6731bafa3a96:node-0b660ec3-2100-4b3b-84ed-0e6c3fcd3829 :: true

2022-02-15 22:03:03 | [Mutex] waiting for: [received:nodes:779bef19-cbd9-48ff-b1f1-a0ce0b43c7fb:localhost]

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

2022-02-15 22:03:03 | [Mutex] isItemNotified: received:node:779bef19-cbd9-48ff-b1f1-a0ce0b43c7fb:localhost:node-58806648-41cf-4c8d-8ee7-6731bafa3a96:Node 58806648-41cf-4c8d-8ee7-6731bafa3a96 :: true

2022-02-15 22:03:03 | [Mutex] waiting for: [received:nodes:b673f4a2-0356-42ac-9876-e7be3d054a92:localhost]

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

2022-02-15 22:03:03 | [Mutex] isItemNotified: received:node:b673f4a2-0356-42ac-9876-e7be3d054a92:localhost:node-58806648-41cf-4c8d-8ee7-6731bafa3a96:Node 58806648-41cf-4c8d-8ee7-6731bafa3a96 :: false

createNodes 1.512s
2022-02-15 22:02:59 |

2022-02-15 22:02:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-15 22:02:59 | ------------------------------------

2022-02-15 22:02:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-58806648-41cf-4c8d-8ee7-6731bafa3a96</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 58806648-41cf-4c8d-8ee7-6731bafa3a96</title></pubsub></data>

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

2022-02-15 22:03:01 | [Mutex] waiting for: [received:nodes:73d2abd5-1aec-4981-a334-44c2b5f3bbd7:localhost]

2022-02-15 22:03:01 | [Mutex] waiting for: [received:nodes:73d2abd5-1aec-4981-a334-44c2b5f3bbd7:localhost]

2022-02-15 22:03:01 | [Mutex] received everything.

2022-02-15 22:03:01 | [Mutex] isItemNotified: received:node:73d2abd5-1aec-4981-a334-44c2b5f3bbd7:localhost:node-58806648-41cf-4c8d-8ee7-6731bafa3a96:Node 58806648-41cf-4c8d-8ee7-6731bafa3a96 :: true

createSubnodes 1.032s
2022-02-15 22:03:01 |

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

2022-02-15 22:03:01 | ------------------------------------

2022-02-15 22:03:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0b660ec3-2100-4b3b-84ed-0e6c3fcd3829</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0b660ec3-2100-4b3b-84ed-0e6c3fcd3829</title></pubsub></data>

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

2022-02-15 22:03:02 | [Mutex] waiting for: [received:nodes:62926cc4-bcc1-48ae-a0c2-df139cda2551:localhost]

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

2022-02-15 22:03:02 | [Mutex] isItemNotified: received:node:62926cc4-bcc1-48ae-a0c2-df139cda2551:localhost:node-0b660ec3-2100-4b3b-84ed-0e6c3fcd3829:Node 0b660ec3-2100-4b3b-84ed-0e6c3fcd3829 :: true

deleteNodes 1.023s
2022-02-15 22:03:08 |

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

2022-02-15 22:03:08 | ------------------------------------

2022-02-15 22:03:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0b660ec3-2100-4b3b-84ed-0e6c3fcd3829</node></data>

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

2022-02-15 22:03:09 | [Mutex] waiting for: [received:nodes:eed45458-236d-4987-b38b-c9397e20f11e:localhost]

2022-02-15 22:03:09 | [Mutex] waiting for: [received:nodes:eed45458-236d-4987-b38b-c9397e20f11e:localhost]

2022-02-15 22:03:09 | [Mutex] received everything.

2022-02-15 22:03:09 | [Mutex] isItemNotified: received:node:eed45458-236d-4987-b38b-c9397e20f11e:localhost:node-0b660ec3-2100-4b3b-84ed-0e6c3fcd3829:Node 0b660ec3-2100-4b3b-84ed-0e6c3fcd3829 :: false

deleteSubnodes 1.159s
2022-02-15 22:03:07 |

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

2022-02-15 22:03:07 | ------------------------------------

2022-02-15 22:03:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-58806648-41cf-4c8d-8ee7-6731bafa3a96</node></data>

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

2022-02-15 22:03:08 | [Mutex] waiting for: [received:nodes:c9e7828c-1f91-45c5-b3d7-ab297e73fa0e:localhost]

2022-02-15 22:03:08 | [Mutex] received everything.

2022-02-15 22:03:08 | [Mutex] isItemNotified: received:node:c9e7828c-1f91-45c5-b3d7-ab297e73fa0e:localhost:node-58806648-41cf-4c8d-8ee7-6731bafa3a96:Node 58806648-41cf-4c8d-8ee7-6731bafa3a96 :: false

2022-02-15 22:03:08 | [Mutex] waiting for: [received:nodes:1e78c691-f570-441f-b6c2-2cf0a527fced:localhost]

2022-02-15 22:03:08 | [Mutex] received everything.

2022-02-15 22:03:08 | [Mutex] isItemNotified: received:node:1e78c691-f570-441f-b6c2-2cf0a527fced:localhost:node-58806648-41cf-4c8d-8ee7-6731bafa3a96:Node 58806648-41cf-4c8d-8ee7-6731bafa3a96 :: false

publishItemsToNodes 0.248s
2022-02-15 22:03:04 |

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

2022-02-15 22:03:04 | ------------------------------------

2022-02-15 22:03:04 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-58806648-41cf-4c8d-8ee7-6731bafa3a96</node><item-id>item-f9b71fa7-b926-48e2-877f-46e890628dd3</item-id><entry><test>item-f9b71fa7-b926-48e2-877f-46e890628dd3</test></entry></data>

2022-02-15 22:03:04 | 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-f9b71fa7-b926-48e2-877f-46e890628dd3</value></item-id></result>

2022-02-15 22:03:04 | [Mutex] waiting for: [published:item:notifieditem-f9b71fa7-b926-48e2-877f-46e890628dd3:admin@test-domain.com]

2022-02-15 22:03:04 | [Mutex] received everything.

2022-02-15 22:03:04 | [Mutex] isItemNotified: published:item:notifieditem-f9b71fa7-b926-48e2-877f-46e890628dd3:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2022-02-15 22:03:05 |

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

2022-02-15 22:03:05 | ------------------------------------

2022-02-15 22:03:05 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-58806648-41cf-4c8d-8ee7-6731bafa3a96</node><item-id>item-f9b71fa7-b926-48e2-877f-46e890628dd3</item-id></data>

2022-02-15 22:03:05 | 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-f9b71fa7-b926-48e2-877f-46e890628dd3</value></item-id></result>

2022-02-15 22:03:05 | [Mutex] received everything.

2022-02-15 22:03:05 | [Mutex] isItemNotified: retracted:item:notifieditem-f9b71fa7-b926-48e2-877f-46e890628dd3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.402s
2022-02-15 22:03:04 |

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

2022-02-15 22:03:04 | ------------------------------------

2022-02-15 22:03:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-58806648-41cf-4c8d-8ee7-6731bafa3a96</node><item-id>item-f9b71fa7-b926-48e2-877f-46e890628dd3</item-id></data>

2022-02-15 22:03:05 | 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-58806648-41cf-4c8d-8ee7-6731bafa3a96</value></node><item-id type="text-single" label="Item ID"><value>item-f9b71fa7-b926-48e2-877f-46e890628dd3</value></item-id><item type="text-multi" label="Item"><value><item id="item-f9b71fa7-b926-48e2-877f-46e890628dd3"><test>item-f9b71fa7-b926-48e2-877f-46e890628dd3</test></item></value></item></result>

2022-02-15 22:03:05 | [Mutex] notify: [retrieved:item:item-f9b71fa7-b926-48e2-877f-46e890628dd3:payload-matches:true:localhost]

2022-02-15 22:03:05 | [Mutex] received everything.

2022-02-15 22:03:05 | [Mutex] isItemNotified: retrieved:item:item-f9b71fa7-b926-48e2-877f-46e890628dd3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-15 22:03:05 |

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

2022-02-15 22:03:05 | ------------------------------------

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

2022-02-15 22:03:05 | 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-58806648-41cf-4c8d-8ee7-6731bafa3a96</value><value>node-0b660ec3-2100-4b3b-84ed-0e6c3fcd3829</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2022-02-15 22:03:05 |

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

2022-02-15 22:03:05 | ------------------------------------

2022-02-15 22:03:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-58806648-41cf-4c8d-8ee7-6731bafa3a96)</node-pattern></data>

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

subscribeNodes 1.158s
2022-02-15 22:03:03 |

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

2022-02-15 22:03:03 | ------------------------------------

2022-02-15 22:03:03 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-58806648-41cf-4c8d-8ee7-6731bafa3a96</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.295s
2022-02-15 22:03:05 |

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

2022-02-15 22:03:05 | ------------------------------------

2022-02-15 22:03:05 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-58806648-41cf-4c8d-8ee7-6731bafa3a96</node><jids><value>admin@test-domain.com</value></jids></data>

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