Generated by TestNG with ReportNG at 22:50 PDT on Friday 22 July 2022
root@ed1b7dd8a1b3 / 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.444s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.129s
2022-07-22 23:04:40 |

2022-07-22 23:04:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:04:40 | ------------------------------------

2022-07-22 23:04:40 | [Mutex] waiting for: [configured:node:node-c2c62818-458f-4733-8c6e-6786c60597ba:node-3f4bb9fd-7a8f-4e13-a916-524dd773dd29]

2022-07-22 23:04:40 | [Mutex] received everything.

2022-07-22 23:04:40 | [Mutex] isItemNotified: configured:node:node-c2c62818-458f-4733-8c6e-6786c60597ba:node-3f4bb9fd-7a8f-4e13-a916-524dd773dd29 :: true

2022-07-22 23:04:41 | [Mutex] waiting for: [received:nodes:d8adb38a-6246-42cb-a8a4-ba7fa64c551a:localhost]

2022-07-22 23:04:41 | [Mutex] received everything.

2022-07-22 23:04:41 | [Mutex] isItemNotified: received:node:d8adb38a-6246-42cb-a8a4-ba7fa64c551a:localhost:node-c2c62818-458f-4733-8c6e-6786c60597ba:Node c2c62818-458f-4733-8c6e-6786c60597ba :: true

2022-07-22 23:04:41 | [Mutex] waiting for: [received:nodes:6078340e-301f-407d-a50b-0eddd2a9dffd:localhost]

2022-07-22 23:04:41 | [Mutex] waiting for: [received:nodes:6078340e-301f-407d-a50b-0eddd2a9dffd:localhost]

2022-07-22 23:04:41 | [Mutex] received everything.

2022-07-22 23:04:41 | [Mutex] isItemNotified: received:node:6078340e-301f-407d-a50b-0eddd2a9dffd:localhost:node-c2c62818-458f-4733-8c6e-6786c60597ba:Node c2c62818-458f-4733-8c6e-6786c60597ba :: false

createNodes 1.468s
2022-07-22 23:04:38 |

2022-07-22 23:04:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:04:38 | ------------------------------------

2022-07-22 23:04:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c2c62818-458f-4733-8c6e-6786c60597ba</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c2c62818-458f-4733-8c6e-6786c60597ba</title></pubsub></data>

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

2022-07-22 23:04:39 | [Mutex] waiting for: [received:nodes:b68f5d5b-bdb1-42b4-9b4b-35e07fa9add9:localhost]

2022-07-22 23:04:39 | [Mutex] waiting for: [received:nodes:b68f5d5b-bdb1-42b4-9b4b-35e07fa9add9:localhost]

2022-07-22 23:04:39 | [Mutex] received everything.

2022-07-22 23:04:39 | [Mutex] isItemNotified: received:node:b68f5d5b-bdb1-42b4-9b4b-35e07fa9add9:localhost:node-c2c62818-458f-4733-8c6e-6786c60597ba:Node c2c62818-458f-4733-8c6e-6786c60597ba :: true

createSubnodes 1.025s
2022-07-22 23:04:39 |

2022-07-22 23:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:04:39 | ------------------------------------

2022-07-22 23:04:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3f4bb9fd-7a8f-4e13-a916-524dd773dd29</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3f4bb9fd-7a8f-4e13-a916-524dd773dd29</title></pubsub></data>

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

2022-07-22 23:04:40 | [Mutex] waiting for: [received:nodes:ad47f2f3-7009-40f9-95dd-329e2fd5caad:localhost]

2022-07-22 23:04:40 | [Mutex] received everything.

2022-07-22 23:04:40 | [Mutex] isItemNotified: received:node:ad47f2f3-7009-40f9-95dd-329e2fd5caad:localhost:node-3f4bb9fd-7a8f-4e13-a916-524dd773dd29:Node 3f4bb9fd-7a8f-4e13-a916-524dd773dd29 :: true

deleteNodes 1.019s
2022-07-22 23:04:46 |

2022-07-22 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:04:46 | ------------------------------------

2022-07-22 23:04:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3f4bb9fd-7a8f-4e13-a916-524dd773dd29</node></data>

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

2022-07-22 23:04:47 | [Mutex] waiting for: [received:nodes:91aea36a-e5e2-48d1-9ead-520c52632c40:localhost]

2022-07-22 23:04:47 | [Mutex] received everything.

2022-07-22 23:04:47 | [Mutex] isItemNotified: received:node:91aea36a-e5e2-48d1-9ead-520c52632c40:localhost:node-3f4bb9fd-7a8f-4e13-a916-524dd773dd29:Node 3f4bb9fd-7a8f-4e13-a916-524dd773dd29 :: false

deleteSubnodes 1.146s
2022-07-22 23:04:44 |

2022-07-22 23:04:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:04:44 | ------------------------------------

2022-07-22 23:04:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c2c62818-458f-4733-8c6e-6786c60597ba</node></data>

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

2022-07-22 23:04:46 | [Mutex] waiting for: [received:nodes:586faf73-541f-4ba2-9d43-63bee5dba38e:localhost]

2022-07-22 23:04:46 | [Mutex] received everything.

2022-07-22 23:04:46 | [Mutex] isItemNotified: received:node:586faf73-541f-4ba2-9d43-63bee5dba38e:localhost:node-c2c62818-458f-4733-8c6e-6786c60597ba:Node c2c62818-458f-4733-8c6e-6786c60597ba :: false

2022-07-22 23:04:46 | [Mutex] waiting for: [received:nodes:bd1d673f-aa7e-405f-979b-1cf01e10a9a7:localhost]

2022-07-22 23:04:46 | [Mutex] received everything.

2022-07-22 23:04:46 | [Mutex] isItemNotified: received:node:bd1d673f-aa7e-405f-979b-1cf01e10a9a7:localhost:node-c2c62818-458f-4733-8c6e-6786c60597ba:Node c2c62818-458f-4733-8c6e-6786c60597ba :: false

publishItemsToNodes 0.182s
2022-07-22 23:04:42 |

2022-07-22 23:04:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:04:42 | ------------------------------------

2022-07-22 23:04:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c2c62818-458f-4733-8c6e-6786c60597ba</node><item-id>item-6d3843e9-c333-45b5-8559-3c15e22ad864</item-id><entry><test>item-6d3843e9-c333-45b5-8559-3c15e22ad864</test></entry></data>

2022-07-22 23:04:43 | 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-6d3843e9-c333-45b5-8559-3c15e22ad864</value></item-id></result>

2022-07-22 23:04:43 | [Mutex] received everything.

2022-07-22 23:04:43 | [Mutex] isItemNotified: published:item:notifieditem-6d3843e9-c333-45b5-8559-3c15e22ad864:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2022-07-22 23:04:43 |

2022-07-22 23:04:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:04:43 | ------------------------------------

2022-07-22 23:04:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c2c62818-458f-4733-8c6e-6786c60597ba</node><item-id>item-6d3843e9-c333-45b5-8559-3c15e22ad864</item-id></data>

2022-07-22 23:04:43 | 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-6d3843e9-c333-45b5-8559-3c15e22ad864</value></item-id></result>

2022-07-22 23:04:43 | [Mutex] received everything.

2022-07-22 23:04:43 | [Mutex] isItemNotified: retracted:item:notifieditem-6d3843e9-c333-45b5-8559-3c15e22ad864:admin@test-domain.com :: true

retrieveItemsFromNodes 0.265s
2022-07-22 23:04:43 |

2022-07-22 23:04:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:04:43 | ------------------------------------

2022-07-22 23:04:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c2c62818-458f-4733-8c6e-6786c60597ba</node><item-id>item-6d3843e9-c333-45b5-8559-3c15e22ad864</item-id></data>

2022-07-22 23:04:43 | 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-c2c62818-458f-4733-8c6e-6786c60597ba</value></node><item-id type="text-single" label="Item ID"><value>item-6d3843e9-c333-45b5-8559-3c15e22ad864</value></item-id><item type="text-multi" label="Item"><value><item id="item-6d3843e9-c333-45b5-8559-3c15e22ad864"><test>item-6d3843e9-c333-45b5-8559-3c15e22ad864</test></item></value></item></result>

2022-07-22 23:04:43 | [Mutex] notify: [retrieved:item:item-6d3843e9-c333-45b5-8559-3c15e22ad864:payload-matches:true:localhost]

2022-07-22 23:04:43 | [Mutex] received everything.

2022-07-22 23:04:43 | [Mutex] isItemNotified: retrieved:item:item-6d3843e9-c333-45b5-8559-3c15e22ad864:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-22 23:04:43 |

2022-07-22 23:04:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:04:43 | ------------------------------------

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

2022-07-22 23:04:43 | 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-3f4bb9fd-7a8f-4e13-a916-524dd773dd29</value><value>node-c2c62818-458f-4733-8c6e-6786c60597ba</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-07-22 23:04:43 |

2022-07-22 23:04:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:04:43 | ------------------------------------

2022-07-22 23:04:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c2c62818-458f-4733-8c6e-6786c60597ba)</node-pattern></data>

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

subscribeNodes 1.114s
2022-07-22 23:04:41 |

2022-07-22 23:04:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:04:41 | ------------------------------------

2022-07-22 23:04:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c2c62818-458f-4733-8c6e-6786c60597ba</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.163s
2022-07-22 23:04:43 |

2022-07-22 23:04:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:04:43 | ------------------------------------

2022-07-22 23:04:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c2c62818-458f-4733-8c6e-6786c60597ba</node><jids><value>admin@test-domain.com</value></jids></data>

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