Generated by TestNG with ReportNG at 23:22 PDT on Sunday 13 September 2020
root@bb2e6c1b4ae6 / 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.091s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2020-09-13 23:37:37 |

2020-09-13 23:37:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 23:37:37 | ------------------------------------

2020-09-13 23:37:37 | [Mutex] waiting for: [configured:node:node-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705:node-31a91941-f17f-4034-85bd-7e8364e678a5]

2020-09-13 23:37:37 | [Mutex] received everything.

2020-09-13 23:37:37 | [Mutex] isItemNotified: configured:node:node-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705:node-31a91941-f17f-4034-85bd-7e8364e678a5 :: true

2020-09-13 23:37:38 | [Mutex] waiting for: [received:nodes:5c6ffabf-9a05-484f-81b3-fc11f10501d1:localhost]

2020-09-13 23:37:38 | [Mutex] received everything.

2020-09-13 23:37:38 | [Mutex] isItemNotified: received:node:5c6ffabf-9a05-484f-81b3-fc11f10501d1:localhost:node-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705:Node ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705 :: true

2020-09-13 23:37:38 | [Mutex] waiting for: [received:nodes:5601e2c8-7b1e-4ca1-8d40-f444e6d5ff5a:localhost]

2020-09-13 23:37:38 | [Mutex] received everything.

2020-09-13 23:37:38 | [Mutex] isItemNotified: received:node:5601e2c8-7b1e-4ca1-8d40-f444e6d5ff5a:localhost:node-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705:Node ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705 :: false

createNodes 1.468s
2020-09-13 23:37:34 |

2020-09-13 23:37:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 23:37:34 | ------------------------------------

2020-09-13 23:37:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705</title></pubsub></data>

2020-09-13 23:37:35 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-13 23:37:36 | [Mutex] waiting for: [received:nodes:30dc7f47-5ccb-4e84-b28f-343fb3aaa08b:localhost]

2020-09-13 23:37:36 | [Mutex] received everything.

2020-09-13 23:37:36 | [Mutex] isItemNotified: received:node:30dc7f47-5ccb-4e84-b28f-343fb3aaa08b:localhost:node-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705:Node ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705 :: true

createSubnodes 1.027s
2020-09-13 23:37:36 |

2020-09-13 23:37:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 23:37:36 | ------------------------------------

2020-09-13 23:37:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-31a91941-f17f-4034-85bd-7e8364e678a5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 31a91941-f17f-4034-85bd-7e8364e678a5</title></pubsub></data>

2020-09-13 23:37:36 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-13 23:37:37 | [Mutex] waiting for: [received:nodes:065f0820-8f3f-473f-acd2-602298cd16dc:localhost]

2020-09-13 23:37:37 | [Mutex] received everything.

2020-09-13 23:37:37 | [Mutex] isItemNotified: received:node:065f0820-8f3f-473f-acd2-602298cd16dc:localhost:node-31a91941-f17f-4034-85bd-7e8364e678a5:Node 31a91941-f17f-4034-85bd-7e8364e678a5 :: true

deleteNodes 1.016s
2020-09-13 23:37:43 |

2020-09-13 23:37:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 23:37:43 | ------------------------------------

2020-09-13 23:37:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-31a91941-f17f-4034-85bd-7e8364e678a5</node></data>

2020-09-13 23:37:43 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-13 23:37:44 | [Mutex] waiting for: [received:nodes:47f8dbc0-ecaf-4025-8f87-b1ff69cfa20c:localhost]

2020-09-13 23:37:44 | [Mutex] received everything.

2020-09-13 23:37:44 | [Mutex] isItemNotified: received:node:47f8dbc0-ecaf-4025-8f87-b1ff69cfa20c:localhost:node-31a91941-f17f-4034-85bd-7e8364e678a5:Node 31a91941-f17f-4034-85bd-7e8364e678a5 :: false

deleteSubnodes 1.134s
2020-09-13 23:37:41 |

2020-09-13 23:37:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 23:37:41 | ------------------------------------

2020-09-13 23:37:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705</node></data>

2020-09-13 23:37:41 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-13 23:37:42 | [Mutex] waiting for: [received:nodes:0cdf6596-cf0a-4cb1-808f-518410d34c56:localhost]

2020-09-13 23:37:42 | [Mutex] waiting for: [received:nodes:0cdf6596-cf0a-4cb1-808f-518410d34c56:localhost]

2020-09-13 23:37:43 | [Mutex] received everything.

2020-09-13 23:37:43 | [Mutex] isItemNotified: received:node:0cdf6596-cf0a-4cb1-808f-518410d34c56:localhost:node-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705:Node ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705 :: false

2020-09-13 23:37:43 | [Mutex] waiting for: [received:nodes:2ee3cb87-30e5-4590-bf1e-40f4670a3773:localhost]

2020-09-13 23:37:43 | [Mutex] received everything.

2020-09-13 23:37:43 | [Mutex] isItemNotified: received:node:2ee3cb87-30e5-4590-bf1e-40f4670a3773:localhost:node-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705:Node ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705 :: false

publishItemsToNodes 0.198s
2020-09-13 23:37:39 |

2020-09-13 23:37:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 23:37:39 | ------------------------------------

2020-09-13 23:37:39 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705</node><item-id>item-0ff4acd9-a6a0-42b3-912b-605b00b28e3e</item-id><entry><test>item-0ff4acd9-a6a0-42b3-912b-605b00b28e3e</test></entry></data>

2020-09-13 23:37:39 | 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-0ff4acd9-a6a0-42b3-912b-605b00b28e3e</value></item-id></result>

2020-09-13 23:37:39 | [Mutex] waiting for: [published:item:notifieditem-0ff4acd9-a6a0-42b3-912b-605b00b28e3e:admin@test-domain.com]

2020-09-13 23:37:39 | [Mutex] received everything.

2020-09-13 23:37:39 | [Mutex] isItemNotified: published:item:notifieditem-0ff4acd9-a6a0-42b3-912b-605b00b28e3e:admin@test-domain.com :: true

retractItemsFromNodes 0.328s
2020-09-13 23:37:40 |

2020-09-13 23:37:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 23:37:40 | ------------------------------------

2020-09-13 23:37:40 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705</node><item-id>item-0ff4acd9-a6a0-42b3-912b-605b00b28e3e</item-id></data>

2020-09-13 23:37:40 | 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-0ff4acd9-a6a0-42b3-912b-605b00b28e3e</value></item-id></result>

2020-09-13 23:37:40 | [Mutex] received everything.

2020-09-13 23:37:40 | [Mutex] isItemNotified: retracted:item:notifieditem-0ff4acd9-a6a0-42b3-912b-605b00b28e3e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.231s
2020-09-13 23:37:39 |

2020-09-13 23:37:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 23:37:39 | ------------------------------------

2020-09-13 23:37:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705</node><item-id>item-0ff4acd9-a6a0-42b3-912b-605b00b28e3e</item-id></data>

2020-09-13 23:37:40 | 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-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705</value></node><item-id type="text-single" label="Item ID"><value>item-0ff4acd9-a6a0-42b3-912b-605b00b28e3e</value></item-id><item type="text-multi" label="Item"><value><item id="item-0ff4acd9-a6a0-42b3-912b-605b00b28e3e"><test>item-0ff4acd9-a6a0-42b3-912b-605b00b28e3e</test></item></value></item></result>

2020-09-13 23:37:40 | [Mutex] notify: [retrieved:item:item-0ff4acd9-a6a0-42b3-912b-605b00b28e3e:payload-matches:true:localhost]

2020-09-13 23:37:40 | [Mutex] received everything.

2020-09-13 23:37:40 | [Mutex] isItemNotified: retrieved:item:item-0ff4acd9-a6a0-42b3-912b-605b00b28e3e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.061s
2020-09-13 23:37:40 |

2020-09-13 23:37:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 23:37:40 | ------------------------------------

2020-09-13 23:37:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-13 23:37:40 | 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-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705</value><value>node-31a91941-f17f-4034-85bd-7e8364e678a5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-13 23:37:40 |

2020-09-13 23:37:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 23:37:40 | ------------------------------------

2020-09-13 23:37:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705)</node-pattern></data>

2020-09-13 23:37:40 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.154s
2020-09-13 23:37:38 |

2020-09-13 23:37:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 23:37:38 | ------------------------------------

2020-09-13 23:37:38 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-13 23:37:38 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.307s
2020-09-13 23:37:40 |

2020-09-13 23:37:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 23:37:40 | ------------------------------------

2020-09-13 23:37:40 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ee96a4bb-d2b8-454e-8b85-c6b4ad2bc705</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-13 23:37:40 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>