Generated by TestNG with ReportNG at 22:46 PDT on Sunday 27 September 2020
root@f4ecd2115a02 / 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 : 9.571s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.085s
2020-09-27 23:02:40 |

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

2020-09-27 23:02:40 | ------------------------------------

2020-09-27 23:02:40 | [Mutex] waiting for: [configured:node:node-34539faf-c44b-4bd7-b89d-dc8f3780af1b:node-d1d94d45-da14-4810-99e9-bf09df01a28d]

2020-09-27 23:02:40 | [Mutex] received everything.

2020-09-27 23:02:40 | [Mutex] isItemNotified: configured:node:node-34539faf-c44b-4bd7-b89d-dc8f3780af1b:node-d1d94d45-da14-4810-99e9-bf09df01a28d :: true

2020-09-27 23:02:41 | [Mutex] waiting for: [received:nodes:877dcc6a-4d6e-4332-9484-14666cac362f:localhost]

2020-09-27 23:02:41 | [Mutex] received everything.

2020-09-27 23:02:41 | [Mutex] isItemNotified: received:node:877dcc6a-4d6e-4332-9484-14666cac362f:localhost:node-34539faf-c44b-4bd7-b89d-dc8f3780af1b:Node 34539faf-c44b-4bd7-b89d-dc8f3780af1b :: true

2020-09-27 23:02:41 | [Mutex] waiting for: [received:nodes:ebd98bd1-9367-4ac4-86f1-feca22c53924:localhost]

2020-09-27 23:02:41 | [Mutex] received everything.

2020-09-27 23:02:41 | [Mutex] isItemNotified: received:node:ebd98bd1-9367-4ac4-86f1-feca22c53924:localhost:node-34539faf-c44b-4bd7-b89d-dc8f3780af1b:Node 34539faf-c44b-4bd7-b89d-dc8f3780af1b :: false

createNodes 1.402s
2020-09-27 23:02:37 |

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

2020-09-27 23:02:37 | ------------------------------------

2020-09-27 23:02:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-34539faf-c44b-4bd7-b89d-dc8f3780af1b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 34539faf-c44b-4bd7-b89d-dc8f3780af1b</title></pubsub></data>

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

2020-09-27 23:02:38 | [Mutex] waiting for: [received:nodes:86e1aaed-2476-4af8-ac91-168b52b35432:localhost]

2020-09-27 23:02:38 | [Mutex] received everything.

2020-09-27 23:02:38 | [Mutex] isItemNotified: received:node:86e1aaed-2476-4af8-ac91-168b52b35432:localhost:node-34539faf-c44b-4bd7-b89d-dc8f3780af1b:Node 34539faf-c44b-4bd7-b89d-dc8f3780af1b :: true

createSubnodes 1.033s
2020-09-27 23:02:38 |

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

2020-09-27 23:02:38 | ------------------------------------

2020-09-27 23:02:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d1d94d45-da14-4810-99e9-bf09df01a28d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d1d94d45-da14-4810-99e9-bf09df01a28d</title></pubsub></data>

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

2020-09-27 23:02:40 | [Mutex] waiting for: [received:nodes:613efc0a-11bf-4adb-8322-b7a1f9d2b58a:localhost]

2020-09-27 23:02:40 | [Mutex] waiting for: [received:nodes:613efc0a-11bf-4adb-8322-b7a1f9d2b58a:localhost]

2020-09-27 23:02:40 | [Mutex] received everything.

2020-09-27 23:02:40 | [Mutex] isItemNotified: received:node:613efc0a-11bf-4adb-8322-b7a1f9d2b58a:localhost:node-d1d94d45-da14-4810-99e9-bf09df01a28d:Node d1d94d45-da14-4810-99e9-bf09df01a28d :: true

deleteNodes 1.022s
2020-09-27 23:02:45 |

2020-09-27 23:02:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:02:45 | ------------------------------------

2020-09-27 23:02:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d1d94d45-da14-4810-99e9-bf09df01a28d</node></data>

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

2020-09-27 23:02:46 | [Mutex] waiting for: [received:nodes:5db2c0fc-066a-40ad-be6e-ffe6057e83c8:localhost]

2020-09-27 23:02:46 | [Mutex] waiting for: [received:nodes:5db2c0fc-066a-40ad-be6e-ffe6057e83c8:localhost]

2020-09-27 23:02:46 | [Mutex] waiting for: [received:nodes:5db2c0fc-066a-40ad-be6e-ffe6057e83c8:localhost]

2020-09-27 23:02:46 | [Mutex] received everything.

2020-09-27 23:02:46 | [Mutex] isItemNotified: received:node:5db2c0fc-066a-40ad-be6e-ffe6057e83c8:localhost:node-d1d94d45-da14-4810-99e9-bf09df01a28d:Node d1d94d45-da14-4810-99e9-bf09df01a28d :: false

deleteSubnodes 1.136s
2020-09-27 23:02:44 |

2020-09-27 23:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:02:44 | ------------------------------------

2020-09-27 23:02:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-34539faf-c44b-4bd7-b89d-dc8f3780af1b</node></data>

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

2020-09-27 23:02:45 | [Mutex] waiting for: [received:nodes:976b9587-0fe8-4306-8cee-034c93599eb2:localhost]

2020-09-27 23:02:45 | [Mutex] received everything.

2020-09-27 23:02:45 | [Mutex] isItemNotified: received:node:976b9587-0fe8-4306-8cee-034c93599eb2:localhost:node-34539faf-c44b-4bd7-b89d-dc8f3780af1b:Node 34539faf-c44b-4bd7-b89d-dc8f3780af1b :: false

2020-09-27 23:02:45 | [Mutex] waiting for: [received:nodes:cc9d5908-201f-4818-bddb-11a3230063e3:localhost]

2020-09-27 23:02:45 | [Mutex] received everything.

2020-09-27 23:02:45 | [Mutex] isItemNotified: received:node:cc9d5908-201f-4818-bddb-11a3230063e3:localhost:node-34539faf-c44b-4bd7-b89d-dc8f3780af1b:Node 34539faf-c44b-4bd7-b89d-dc8f3780af1b :: false

publishItemsToNodes 0.181s
2020-09-27 23:02:42 |

2020-09-27 23:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:02:42 | ------------------------------------

2020-09-27 23:02:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-34539faf-c44b-4bd7-b89d-dc8f3780af1b</node><item-id>item-00561aa8-ef6e-4c64-8b5b-eb401c452c5c</item-id><entry><test>item-00561aa8-ef6e-4c64-8b5b-eb401c452c5c</test></entry></data>

2020-09-27 23:02:42 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-00561aa8-ef6e-4c64-8b5b-eb401c452c5c</value></item-id></result>

2020-09-27 23:02:42 | [Mutex] received everything.

2020-09-27 23:02:42 | [Mutex] isItemNotified: published:item:notifieditem-00561aa8-ef6e-4c64-8b5b-eb401c452c5c:admin@test-domain.com :: true

retractItemsFromNodes 0.187s
2020-09-27 23:02:42 |

2020-09-27 23:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:02:42 | ------------------------------------

2020-09-27 23:02:42 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-34539faf-c44b-4bd7-b89d-dc8f3780af1b</node><item-id>item-00561aa8-ef6e-4c64-8b5b-eb401c452c5c</item-id></data>

2020-09-27 23:02:42 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-00561aa8-ef6e-4c64-8b5b-eb401c452c5c</value></item-id></result>

2020-09-27 23:02:42 | [Mutex] received everything.

2020-09-27 23:02:42 | [Mutex] isItemNotified: retracted:item:notifieditem-00561aa8-ef6e-4c64-8b5b-eb401c452c5c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.253s
2020-09-27 23:02:42 |

2020-09-27 23:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:02:42 | ------------------------------------

2020-09-27 23:02:42 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-34539faf-c44b-4bd7-b89d-dc8f3780af1b</node><item-id>item-00561aa8-ef6e-4c64-8b5b-eb401c452c5c</item-id></data>

2020-09-27 23:02:42 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-34539faf-c44b-4bd7-b89d-dc8f3780af1b</value></node><item-id label="Item ID" type="text-single"><value>item-00561aa8-ef6e-4c64-8b5b-eb401c452c5c</value></item-id><item label="Item" type="text-multi"><value><item id="item-00561aa8-ef6e-4c64-8b5b-eb401c452c5c"><test>item-00561aa8-ef6e-4c64-8b5b-eb401c452c5c</test></item></value></item></result>

2020-09-27 23:02:42 | [Mutex] notify: [retrieved:item:item-00561aa8-ef6e-4c64-8b5b-eb401c452c5c:payload-matches:true:localhost]

2020-09-27 23:02:42 | [Mutex] received everything.

2020-09-27 23:02:42 | [Mutex] isItemNotified: retrieved:item:item-00561aa8-ef6e-4c64-8b5b-eb401c452c5c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-27 23:02:42 |

2020-09-27 23:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:02:42 | ------------------------------------

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

2020-09-27 23:02:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-d1d94d45-da14-4810-99e9-bf09df01a28d</value><value>node-34539faf-c44b-4bd7-b89d-dc8f3780af1b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-09-27 23:02:42 |

2020-09-27 23:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:02:42 | ------------------------------------

2020-09-27 23:02:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-34539faf-c44b-4bd7-b89d-dc8f3780af1b)</node-pattern></data>

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

subscribeNodes 1.139s
2020-09-27 23:02:41 |

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

2020-09-27 23:02:41 | ------------------------------------

2020-09-27 23:02:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-34539faf-c44b-4bd7-b89d-dc8f3780af1b</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-27 23:02: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.195s
2020-09-27 23:02:42 |

2020-09-27 23:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:02:42 | ------------------------------------

2020-09-27 23:02:42 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-34539faf-c44b-4bd7-b89d-dc8f3780af1b</node><jids><value>admin@test-domain.com</value></jids></data>

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