Generated by TestNG with ReportNG at 21:31 PST on Monday 14 February 2022
root@b2c2a8eba6e6 / 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.049s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2022-02-14 21:46:49 |

2022-02-14 21:46:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:46:49 | ------------------------------------

2022-02-14 21:46:49 | [Mutex] waiting for: [configured:node:node-f781c027-6b53-42fe-b67d-0ac24e441f98:node-da593fc3-5fa3-43bd-ab50-7b0e12b1cdba]

2022-02-14 21:46:49 | [Mutex] received everything.

2022-02-14 21:46:49 | [Mutex] isItemNotified: configured:node:node-f781c027-6b53-42fe-b67d-0ac24e441f98:node-da593fc3-5fa3-43bd-ab50-7b0e12b1cdba :: true

2022-02-14 21:46:50 | [Mutex] waiting for: [received:nodes:4bf9e7a3-0dd8-4462-a82f-13f40208bff5:localhost]

2022-02-14 21:46:50 | [Mutex] received everything.

2022-02-14 21:46:50 | [Mutex] isItemNotified: received:node:4bf9e7a3-0dd8-4462-a82f-13f40208bff5:localhost:node-f781c027-6b53-42fe-b67d-0ac24e441f98:Node f781c027-6b53-42fe-b67d-0ac24e441f98 :: true

2022-02-14 21:46:50 | [Mutex] waiting for: [received:nodes:6dffcd0e-5f37-473e-a687-98c90ac01add:localhost]

2022-02-14 21:46:50 | [Mutex] received everything.

2022-02-14 21:46:50 | [Mutex] isItemNotified: received:node:6dffcd0e-5f37-473e-a687-98c90ac01add:localhost:node-f781c027-6b53-42fe-b67d-0ac24e441f98:Node f781c027-6b53-42fe-b67d-0ac24e441f98 :: false

createNodes 1.484s
2022-02-14 21:46:46 |

2022-02-14 21:46:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:46:46 | ------------------------------------

2022-02-14 21:46:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f781c027-6b53-42fe-b67d-0ac24e441f98</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f781c027-6b53-42fe-b67d-0ac24e441f98</title></pubsub></data>

2022-02-14 21:46: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-14 21:46:48 | [Mutex] waiting for: [received:nodes:19bece62-2e00-472c-b800-ebafb6d4d397:localhost]

2022-02-14 21:46:48 | [Mutex] received everything.

2022-02-14 21:46:48 | [Mutex] isItemNotified: received:node:19bece62-2e00-472c-b800-ebafb6d4d397:localhost:node-f781c027-6b53-42fe-b67d-0ac24e441f98:Node f781c027-6b53-42fe-b67d-0ac24e441f98 :: true

createSubnodes 1.031s
2022-02-14 21:46:48 |

2022-02-14 21:46:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:46:48 | ------------------------------------

2022-02-14 21:46:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-da593fc3-5fa3-43bd-ab50-7b0e12b1cdba</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node da593fc3-5fa3-43bd-ab50-7b0e12b1cdba</title></pubsub></data>

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

2022-02-14 21:46:49 | [Mutex] waiting for: [received:nodes:935a5fff-3203-4a31-a36f-787dad6e7819:localhost]

2022-02-14 21:46:49 | [Mutex] received everything.

2022-02-14 21:46:49 | [Mutex] isItemNotified: received:node:935a5fff-3203-4a31-a36f-787dad6e7819:localhost:node-da593fc3-5fa3-43bd-ab50-7b0e12b1cdba:Node da593fc3-5fa3-43bd-ab50-7b0e12b1cdba :: true

deleteNodes 1.023s
2022-02-14 21:46:55 |

2022-02-14 21:46:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:46:55 | ------------------------------------

2022-02-14 21:46:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-da593fc3-5fa3-43bd-ab50-7b0e12b1cdba</node></data>

2022-02-14 21:46:55 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-14 21:46:56 | [Mutex] waiting for: [received:nodes:1de94158-ae81-4471-9a59-1fad71c822e7:localhost]

2022-02-14 21:46:56 | [Mutex] waiting for: [received:nodes:1de94158-ae81-4471-9a59-1fad71c822e7:localhost]

2022-02-14 21:46:56 | [Mutex] received everything.

2022-02-14 21:46:56 | [Mutex] isItemNotified: received:node:1de94158-ae81-4471-9a59-1fad71c822e7:localhost:node-da593fc3-5fa3-43bd-ab50-7b0e12b1cdba:Node da593fc3-5fa3-43bd-ab50-7b0e12b1cdba :: false

deleteSubnodes 1.140s
2022-02-14 21:46:53 |

2022-02-14 21:46:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:46:53 | ------------------------------------

2022-02-14 21:46:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f781c027-6b53-42fe-b67d-0ac24e441f98</node></data>

2022-02-14 21:46: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-14 21:46:55 | [Mutex] waiting for: [received:nodes:60ab15aa-8dce-49c6-a925-daee8440d1a2:localhost]

2022-02-14 21:46:55 | [Mutex] received everything.

2022-02-14 21:46:55 | [Mutex] isItemNotified: received:node:60ab15aa-8dce-49c6-a925-daee8440d1a2:localhost:node-f781c027-6b53-42fe-b67d-0ac24e441f98:Node f781c027-6b53-42fe-b67d-0ac24e441f98 :: false

2022-02-14 21:46:55 | [Mutex] waiting for: [received:nodes:06d7006e-969e-4f02-8ad8-d6264a867924:localhost]

2022-02-14 21:46:55 | [Mutex] received everything.

2022-02-14 21:46:55 | [Mutex] isItemNotified: received:node:06d7006e-969e-4f02-8ad8-d6264a867924:localhost:node-f781c027-6b53-42fe-b67d-0ac24e441f98:Node f781c027-6b53-42fe-b67d-0ac24e441f98 :: false

publishItemsToNodes 0.296s
2022-02-14 21:46:51 |

2022-02-14 21:46:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:46:51 | ------------------------------------

2022-02-14 21:46:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f781c027-6b53-42fe-b67d-0ac24e441f98</node><item-id>item-adba7d12-9bb1-4804-8354-b0116989bbeb</item-id><entry><test>item-adba7d12-9bb1-4804-8354-b0116989bbeb</test></entry></data>

2022-02-14 21:46: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-adba7d12-9bb1-4804-8354-b0116989bbeb</value></item-id></result>

2022-02-14 21:46:51 | [Mutex] received everything.

2022-02-14 21:46:51 | [Mutex] isItemNotified: published:item:notifieditem-adba7d12-9bb1-4804-8354-b0116989bbeb:admin@test-domain.com :: true

retractItemsFromNodes 0.355s
2022-02-14 21:46:52 |

2022-02-14 21:46:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:46:52 | ------------------------------------

2022-02-14 21:46:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f781c027-6b53-42fe-b67d-0ac24e441f98</node><item-id>item-adba7d12-9bb1-4804-8354-b0116989bbeb</item-id></data>

2022-02-14 21:46:52 | 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-adba7d12-9bb1-4804-8354-b0116989bbeb</value></item-id></result>

2022-02-14 21:46:52 | [Mutex] received everything.

2022-02-14 21:46:52 | [Mutex] isItemNotified: retracted:item:notifieditem-adba7d12-9bb1-4804-8354-b0116989bbeb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.319s
2022-02-14 21:46:51 |

2022-02-14 21:46:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:46:51 | ------------------------------------

2022-02-14 21:46:51 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f781c027-6b53-42fe-b67d-0ac24e441f98</node><item-id>item-adba7d12-9bb1-4804-8354-b0116989bbeb</item-id></data>

2022-02-14 21:46:52 | 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-f781c027-6b53-42fe-b67d-0ac24e441f98</value></node><item-id type="text-single" label="Item ID"><value>item-adba7d12-9bb1-4804-8354-b0116989bbeb</value></item-id><item type="text-multi" label="Item"><value><item id="item-adba7d12-9bb1-4804-8354-b0116989bbeb"><test>item-adba7d12-9bb1-4804-8354-b0116989bbeb</test></item></value></item></result>

2022-02-14 21:46:52 | [Mutex] notify: [retrieved:item:item-adba7d12-9bb1-4804-8354-b0116989bbeb:payload-matches:true:localhost]

2022-02-14 21:46:52 | [Mutex] received everything.

2022-02-14 21:46:52 | [Mutex] isItemNotified: retrieved:item:item-adba7d12-9bb1-4804-8354-b0116989bbeb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-14 21:46:52 |

2022-02-14 21:46:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:46:52 | ------------------------------------

2022-02-14 21:46:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-14 21:46:52 | 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-da593fc3-5fa3-43bd-ab50-7b0e12b1cdba</value><value>node-f781c027-6b53-42fe-b67d-0ac24e441f98</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-14 21:46:52 |

2022-02-14 21:46:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:46:52 | ------------------------------------

2022-02-14 21:46:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f781c027-6b53-42fe-b67d-0ac24e441f98)</node-pattern></data>

2022-02-14 21:46:52 | 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-02-14 21:46:50 |

2022-02-14 21:46:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:46:50 | ------------------------------------

2022-02-14 21:46:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f781c027-6b53-42fe-b67d-0ac24e441f98</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.215s
2022-02-14 21:46:52 |

2022-02-14 21:46:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:46:52 | ------------------------------------

2022-02-14 21:46:52 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f781c027-6b53-42fe-b67d-0ac24e441f98</node><jids><value>admin@test-domain.com</value></jids></data>

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