Generated by TestNG with ReportNG at 22:27 PDT on Sunday 06 September 2020
root@3ee9c8e1f047 / 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.951s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2020-09-06 22:44:34 |

2020-09-06 22:44:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 22:44:34 | ------------------------------------

2020-09-06 22:44:34 | [Mutex] waiting for: [configured:node:node-3c5fb779-78a2-414d-b9b8-01cff835e7f6:node-d1550128-c015-4e54-980b-793271627469]

2020-09-06 22:44:34 | [Mutex] received everything.

2020-09-06 22:44:34 | [Mutex] isItemNotified: configured:node:node-3c5fb779-78a2-414d-b9b8-01cff835e7f6:node-d1550128-c015-4e54-980b-793271627469 :: true

2020-09-06 22:44:35 | [Mutex] waiting for: [received:nodes:c801c37a-321b-45e4-acbb-0bcf60b06428:localhost]

2020-09-06 22:44:35 | [Mutex] received everything.

2020-09-06 22:44:35 | [Mutex] isItemNotified: received:node:c801c37a-321b-45e4-acbb-0bcf60b06428:localhost:node-3c5fb779-78a2-414d-b9b8-01cff835e7f6:Node 3c5fb779-78a2-414d-b9b8-01cff835e7f6 :: true

2020-09-06 22:44:35 | [Mutex] waiting for: [received:nodes:f1e49bff-e2e6-46cc-afee-026fc652b9bb:localhost]

2020-09-06 22:44:35 | [Mutex] received everything.

2020-09-06 22:44:35 | [Mutex] isItemNotified: received:node:f1e49bff-e2e6-46cc-afee-026fc652b9bb:localhost:node-3c5fb779-78a2-414d-b9b8-01cff835e7f6:Node 3c5fb779-78a2-414d-b9b8-01cff835e7f6 :: false

createNodes 1.520s
2020-09-06 22:44:31 |

2020-09-06 22:44:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 22:44:31 | ------------------------------------

2020-09-06 22:44:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3c5fb779-78a2-414d-b9b8-01cff835e7f6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3c5fb779-78a2-414d-b9b8-01cff835e7f6</title></pubsub></data>

2020-09-06 22:44:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-06 22:44:33 | [Mutex] waiting for: [received:nodes:cb82190f-e0a2-4348-ab4a-4ada5b32bcc9:localhost]

2020-09-06 22:44:33 | [Mutex] received everything.

2020-09-06 22:44:33 | [Mutex] isItemNotified: received:node:cb82190f-e0a2-4348-ab4a-4ada5b32bcc9:localhost:node-3c5fb779-78a2-414d-b9b8-01cff835e7f6:Node 3c5fb779-78a2-414d-b9b8-01cff835e7f6 :: true

createSubnodes 1.031s
2020-09-06 22:44:33 |

2020-09-06 22:44:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 22:44:33 | ------------------------------------

2020-09-06 22:44:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d1550128-c015-4e54-980b-793271627469</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d1550128-c015-4e54-980b-793271627469</title></pubsub></data>

2020-09-06 22:44:33 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-06 22:44:34 | [Mutex] waiting for: [received:nodes:eb11ce12-e66b-46f6-89be-fb88cab40441:localhost]

2020-09-06 22:44:34 | [Mutex] received everything.

2020-09-06 22:44:34 | [Mutex] isItemNotified: received:node:eb11ce12-e66b-46f6-89be-fb88cab40441:localhost:node-d1550128-c015-4e54-980b-793271627469:Node d1550128-c015-4e54-980b-793271627469 :: true

deleteNodes 1.017s
2020-09-06 22:44:39 |

2020-09-06 22:44:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 22:44:39 | ------------------------------------

2020-09-06 22:44:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d1550128-c015-4e54-980b-793271627469</node></data>

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

2020-09-06 22:44:40 | [Mutex] waiting for: [received:nodes:a3af50b5-b084-4f44-9ff9-4365f799383c:localhost]

2020-09-06 22:44:40 | [Mutex] received everything.

2020-09-06 22:44:40 | [Mutex] isItemNotified: received:node:a3af50b5-b084-4f44-9ff9-4365f799383c:localhost:node-d1550128-c015-4e54-980b-793271627469:Node d1550128-c015-4e54-980b-793271627469 :: false

deleteSubnodes 1.128s
2020-09-06 22:44:38 |

2020-09-06 22:44:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 22:44:38 | ------------------------------------

2020-09-06 22:44:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3c5fb779-78a2-414d-b9b8-01cff835e7f6</node></data>

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

2020-09-06 22:44:39 | [Mutex] waiting for: [received:nodes:afb93681-d43c-4b58-984f-63471b2ec295:localhost]

2020-09-06 22:44:39 | [Mutex] received everything.

2020-09-06 22:44:39 | [Mutex] isItemNotified: received:node:afb93681-d43c-4b58-984f-63471b2ec295:localhost:node-3c5fb779-78a2-414d-b9b8-01cff835e7f6:Node 3c5fb779-78a2-414d-b9b8-01cff835e7f6 :: false

2020-09-06 22:44:39 | [Mutex] waiting for: [received:nodes:0ec14e83-50c6-4600-a7de-f396b08dfa4d:localhost]

2020-09-06 22:44:39 | [Mutex] received everything.

2020-09-06 22:44:39 | [Mutex] isItemNotified: received:node:0ec14e83-50c6-4600-a7de-f396b08dfa4d:localhost:node-3c5fb779-78a2-414d-b9b8-01cff835e7f6:Node 3c5fb779-78a2-414d-b9b8-01cff835e7f6 :: false

publishItemsToNodes 0.227s
2020-09-06 22:44:36 |

2020-09-06 22:44:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 22:44:36 | ------------------------------------

2020-09-06 22:44:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3c5fb779-78a2-414d-b9b8-01cff835e7f6</node><item-id>item-9f6a9e7a-924d-4779-a500-0e347f6bc50d</item-id><entry><test>item-9f6a9e7a-924d-4779-a500-0e347f6bc50d</test></entry></data>

2020-09-06 22:44:36 | 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-9f6a9e7a-924d-4779-a500-0e347f6bc50d</value></item-id></result>

2020-09-06 22:44:36 | [Mutex] received everything.

2020-09-06 22:44:36 | [Mutex] isItemNotified: published:item:notifieditem-9f6a9e7a-924d-4779-a500-0e347f6bc50d:admin@test-domain.com :: true

retractItemsFromNodes 0.227s
2020-09-06 22:44:36 |

2020-09-06 22:44:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 22:44:36 | ------------------------------------

2020-09-06 22:44:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3c5fb779-78a2-414d-b9b8-01cff835e7f6</node><item-id>item-9f6a9e7a-924d-4779-a500-0e347f6bc50d</item-id></data>

2020-09-06 22:44:37 | 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-9f6a9e7a-924d-4779-a500-0e347f6bc50d</value></item-id></result>

2020-09-06 22:44:37 | [Mutex] received everything.

2020-09-06 22:44:37 | [Mutex] isItemNotified: retracted:item:notifieditem-9f6a9e7a-924d-4779-a500-0e347f6bc50d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.310s
2020-09-06 22:44:36 |

2020-09-06 22:44:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 22:44:36 | ------------------------------------

2020-09-06 22:44:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3c5fb779-78a2-414d-b9b8-01cff835e7f6</node><item-id>item-9f6a9e7a-924d-4779-a500-0e347f6bc50d</item-id></data>

2020-09-06 22:44:36 | 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-3c5fb779-78a2-414d-b9b8-01cff835e7f6</value></node><item-id type="text-single" label="Item ID"><value>item-9f6a9e7a-924d-4779-a500-0e347f6bc50d</value></item-id><item type="text-multi" label="Item"><value><item id="item-9f6a9e7a-924d-4779-a500-0e347f6bc50d"><test>item-9f6a9e7a-924d-4779-a500-0e347f6bc50d</test></item></value></item></result>

2020-09-06 22:44:36 | [Mutex] notify: [retrieved:item:item-9f6a9e7a-924d-4779-a500-0e347f6bc50d:payload-matches:true:localhost]

2020-09-06 22:44:36 | [Mutex] received everything.

2020-09-06 22:44:36 | [Mutex] isItemNotified: retrieved:item:item-9f6a9e7a-924d-4779-a500-0e347f6bc50d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-06 22:44:36 |

2020-09-06 22:44:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 22:44:36 | ------------------------------------

2020-09-06 22:44:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-06 22:44:36 | 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-3c5fb779-78a2-414d-b9b8-01cff835e7f6</value><value>node-d1550128-c015-4e54-980b-793271627469</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-06 22:44:36 |

2020-09-06 22:44:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 22:44:36 | ------------------------------------

2020-09-06 22:44:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3c5fb779-78a2-414d-b9b8-01cff835e7f6)</node-pattern></data>

2020-09-06 22:44:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.101s
2020-09-06 22:44:35 |

2020-09-06 22:44:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 22:44:35 | ------------------------------------

2020-09-06 22:44:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3c5fb779-78a2-414d-b9b8-01cff835e7f6</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-06 22:44:35 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.275s
2020-09-06 22:44:37 |

2020-09-06 22:44:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 22:44:37 | ------------------------------------

2020-09-06 22:44:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3c5fb779-78a2-414d-b9b8-01cff835e7f6</node><jids><value>admin@test-domain.com</value></jids></data>

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