Generated by TestNG with ReportNG at 22:41 PDT on Friday 04 September 2020
root@55161683a995 / 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.887s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.061s
2020-09-04 22:58:25 |

2020-09-04 22:58:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:58:25 | ------------------------------------

2020-09-04 22:58:25 | [Mutex] waiting for: [configured:node:node-09580e26-c7f6-40f8-9ec0-50b57552cd8c:node-11b68745-2f73-438b-a8f0-35576bce3c73]

2020-09-04 22:58:25 | [Mutex] received everything.

2020-09-04 22:58:25 | [Mutex] isItemNotified: configured:node:node-09580e26-c7f6-40f8-9ec0-50b57552cd8c:node-11b68745-2f73-438b-a8f0-35576bce3c73 :: true

2020-09-04 22:58:26 | [Mutex] waiting for: [received:nodes:6dee32dc-830d-41af-884e-c77efa31b1e6:localhost]

2020-09-04 22:58:26 | [Mutex] received everything.

2020-09-04 22:58:26 | [Mutex] isItemNotified: received:node:6dee32dc-830d-41af-884e-c77efa31b1e6:localhost:node-09580e26-c7f6-40f8-9ec0-50b57552cd8c:Node 09580e26-c7f6-40f8-9ec0-50b57552cd8c :: true

2020-09-04 22:58:26 | [Mutex] waiting for: [received:nodes:5b08000a-5141-48e2-b328-39a3bdd25506:localhost]

2020-09-04 22:58:26 | [Mutex] received everything.

2020-09-04 22:58:26 | [Mutex] isItemNotified: received:node:5b08000a-5141-48e2-b328-39a3bdd25506:localhost:node-09580e26-c7f6-40f8-9ec0-50b57552cd8c:Node 09580e26-c7f6-40f8-9ec0-50b57552cd8c :: false

createNodes 1.410s
2020-09-04 22:58:23 |

2020-09-04 22:58:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:58:23 | ------------------------------------

2020-09-04 22:58:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-09580e26-c7f6-40f8-9ec0-50b57552cd8c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 09580e26-c7f6-40f8-9ec0-50b57552cd8c</title></pubsub></data>

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

2020-09-04 22:58:24 | [Mutex] waiting for: [received:nodes:07b74e1c-663b-46b8-b4a0-c18cba7b4076:localhost]

2020-09-04 22:58:24 | [Mutex] received everything.

2020-09-04 22:58:24 | [Mutex] isItemNotified: received:node:07b74e1c-663b-46b8-b4a0-c18cba7b4076:localhost:node-09580e26-c7f6-40f8-9ec0-50b57552cd8c:Node 09580e26-c7f6-40f8-9ec0-50b57552cd8c :: true

createSubnodes 1.024s
2020-09-04 22:58:24 |

2020-09-04 22:58:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:58:24 | ------------------------------------

2020-09-04 22:58:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-11b68745-2f73-438b-a8f0-35576bce3c73</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 11b68745-2f73-438b-a8f0-35576bce3c73</title></pubsub></data>

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

2020-09-04 22:58:25 | [Mutex] waiting for: [received:nodes:60548013-97ed-44b9-9f85-b7d2d2cbda50:localhost]

2020-09-04 22:58:25 | [Mutex] received everything.

2020-09-04 22:58:25 | [Mutex] isItemNotified: received:node:60548013-97ed-44b9-9f85-b7d2d2cbda50:localhost:node-11b68745-2f73-438b-a8f0-35576bce3c73:Node 11b68745-2f73-438b-a8f0-35576bce3c73 :: true

deleteNodes 1.017s
2020-09-04 22:58:31 |

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

2020-09-04 22:58:31 | ------------------------------------

2020-09-04 22:58:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-11b68745-2f73-438b-a8f0-35576bce3c73</node></data>

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

2020-09-04 22:58:32 | [Mutex] waiting for: [received:nodes:c3110f85-9e64-4c3e-a633-9c2f4108ac9f:localhost]

2020-09-04 22:58:32 | [Mutex] received everything.

2020-09-04 22:58:32 | [Mutex] isItemNotified: received:node:c3110f85-9e64-4c3e-a633-9c2f4108ac9f:localhost:node-11b68745-2f73-438b-a8f0-35576bce3c73:Node 11b68745-2f73-438b-a8f0-35576bce3c73 :: false

deleteSubnodes 1.166s
2020-09-04 22:58:29 |

2020-09-04 22:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:58:29 | ------------------------------------

2020-09-04 22:58:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-09580e26-c7f6-40f8-9ec0-50b57552cd8c</node></data>

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

2020-09-04 22:58:31 | [Mutex] waiting for: [received:nodes:03c42931-a71f-4599-a073-39169fdeb21d:localhost]

2020-09-04 22:58:31 | [Mutex] received everything.

2020-09-04 22:58:31 | [Mutex] isItemNotified: received:node:03c42931-a71f-4599-a073-39169fdeb21d:localhost:node-09580e26-c7f6-40f8-9ec0-50b57552cd8c:Node 09580e26-c7f6-40f8-9ec0-50b57552cd8c :: false

2020-09-04 22:58:31 | [Mutex] waiting for: [received:nodes:3345defb-40fe-4e17-bfdb-3cf0389d9344:localhost]

2020-09-04 22:58:31 | [Mutex] received everything.

2020-09-04 22:58:31 | [Mutex] isItemNotified: received:node:3345defb-40fe-4e17-bfdb-3cf0389d9344:localhost:node-09580e26-c7f6-40f8-9ec0-50b57552cd8c:Node 09580e26-c7f6-40f8-9ec0-50b57552cd8c :: false

publishItemsToNodes 0.281s
2020-09-04 22:58:27 |

2020-09-04 22:58:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:58:27 | ------------------------------------

2020-09-04 22:58:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-09580e26-c7f6-40f8-9ec0-50b57552cd8c</node><item-id>item-0a73c78b-f438-45c8-8f35-18701654a6e9</item-id><entry><test>item-0a73c78b-f438-45c8-8f35-18701654a6e9</test></entry></data>

2020-09-04 22:58:27 | 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-0a73c78b-f438-45c8-8f35-18701654a6e9</value></item-id></result>

2020-09-04 22:58:27 | [Mutex] received everything.

2020-09-04 22:58:27 | [Mutex] isItemNotified: published:item:notifieditem-0a73c78b-f438-45c8-8f35-18701654a6e9:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2020-09-04 22:58:28 |

2020-09-04 22:58:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:58:28 | ------------------------------------

2020-09-04 22:58:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-09580e26-c7f6-40f8-9ec0-50b57552cd8c</node><item-id>item-0a73c78b-f438-45c8-8f35-18701654a6e9</item-id></data>

2020-09-04 22:58:28 | 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-0a73c78b-f438-45c8-8f35-18701654a6e9</value></item-id></result>

2020-09-04 22:58:28 | [Mutex] received everything.

2020-09-04 22:58:28 | [Mutex] isItemNotified: retracted:item:notifieditem-0a73c78b-f438-45c8-8f35-18701654a6e9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.302s
2020-09-04 22:58:27 |

2020-09-04 22:58:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:58:27 | ------------------------------------

2020-09-04 22:58:27 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-09580e26-c7f6-40f8-9ec0-50b57552cd8c</node><item-id>item-0a73c78b-f438-45c8-8f35-18701654a6e9</item-id></data>

2020-09-04 22:58:28 | 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-09580e26-c7f6-40f8-9ec0-50b57552cd8c</value></node><item-id type="text-single" label="Item ID"><value>item-0a73c78b-f438-45c8-8f35-18701654a6e9</value></item-id><item type="text-multi" label="Item"><value><item id="item-0a73c78b-f438-45c8-8f35-18701654a6e9"><test>item-0a73c78b-f438-45c8-8f35-18701654a6e9</test></item></value></item></result>

2020-09-04 22:58:28 | [Mutex] notify: [retrieved:item:item-0a73c78b-f438-45c8-8f35-18701654a6e9:payload-matches:true:localhost]

2020-09-04 22:58:28 | [Mutex] received everything.

2020-09-04 22:58:28 | [Mutex] isItemNotified: retrieved:item:item-0a73c78b-f438-45c8-8f35-18701654a6e9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-09-04 22:58:28 |

2020-09-04 22:58:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:58:28 | ------------------------------------

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

2020-09-04 22:58:28 | 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-09580e26-c7f6-40f8-9ec0-50b57552cd8c</value><value>node-11b68745-2f73-438b-a8f0-35576bce3c73</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-04 22:58:28 |

2020-09-04 22:58:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:58:28 | ------------------------------------

2020-09-04 22:58:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-09580e26-c7f6-40f8-9ec0-50b57552cd8c)</node-pattern></data>

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

subscribeNodes 1.120s
2020-09-04 22:58:26 |

2020-09-04 22:58:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:58:26 | ------------------------------------

2020-09-04 22:58:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-09580e26-c7f6-40f8-9ec0-50b57552cd8c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.263s
2020-09-04 22:58:28 |

2020-09-04 22:58:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 22:58:28 | ------------------------------------

2020-09-04 22:58:28 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-09580e26-c7f6-40f8-9ec0-50b57552cd8c</node><jids><value>admin@test-domain.com</value></jids></data>

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