Generated by TestNG with ReportNG at 22:48 PDT on Monday 25 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.477s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.121s
2022-07-25 23:03:24 |

2022-07-25 23:03:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 23:03:24 | ------------------------------------

2022-07-25 23:03:24 | [Mutex] waiting for: [configured:node:node-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c:node-a30eef80-050c-45a7-b6a7-8eae10a46482]

2022-07-25 23:03:24 | [Mutex] received everything.

2022-07-25 23:03:24 | [Mutex] isItemNotified: configured:node:node-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c:node-a30eef80-050c-45a7-b6a7-8eae10a46482 :: true

2022-07-25 23:03:25 | [Mutex] waiting for: [received:nodes:a1ea47d4-7a88-443d-a145-b023b18450c1:localhost]

2022-07-25 23:03:25 | [Mutex] received everything.

2022-07-25 23:03:25 | [Mutex] isItemNotified: received:node:a1ea47d4-7a88-443d-a145-b023b18450c1:localhost:node-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c:Node 5ef68cf4-14be-4ce6-b5b0-03d964e5e05c :: true

2022-07-25 23:03:25 | [Mutex] waiting for: [received:nodes:7a4c7f35-e1dc-45f7-940d-e8a2643c1b04:localhost]

2022-07-25 23:03:25 | [Mutex] received everything.

2022-07-25 23:03:25 | [Mutex] isItemNotified: received:node:7a4c7f35-e1dc-45f7-940d-e8a2643c1b04:localhost:node-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c:Node 5ef68cf4-14be-4ce6-b5b0-03d964e5e05c :: false

createNodes 1.419s
2022-07-25 23:03:22 |

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

2022-07-25 23:03:22 | ------------------------------------

2022-07-25 23:03:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5ef68cf4-14be-4ce6-b5b0-03d964e5e05c</title></pubsub></data>

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

2022-07-25 23:03:23 | [Mutex] waiting for: [received:nodes:0d5121a4-0b64-4363-915b-0a77c58593ff:localhost]

2022-07-25 23:03:23 | [Mutex] received everything.

2022-07-25 23:03:23 | [Mutex] isItemNotified: received:node:0d5121a4-0b64-4363-915b-0a77c58593ff:localhost:node-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c:Node 5ef68cf4-14be-4ce6-b5b0-03d964e5e05c :: true

createSubnodes 1.022s
2022-07-25 23:03:23 |

2022-07-25 23:03:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 23:03:23 | ------------------------------------

2022-07-25 23:03:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a30eef80-050c-45a7-b6a7-8eae10a46482</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a30eef80-050c-45a7-b6a7-8eae10a46482</title></pubsub></data>

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

2022-07-25 23:03:24 | [Mutex] waiting for: [received:nodes:428eca05-dd55-46b2-80b5-7ffb2a8c4792:localhost]

2022-07-25 23:03:24 | [Mutex] waiting for: [received:nodes:428eca05-dd55-46b2-80b5-7ffb2a8c4792:localhost]

2022-07-25 23:03:24 | [Mutex] waiting for: [received:nodes:428eca05-dd55-46b2-80b5-7ffb2a8c4792:localhost]

2022-07-25 23:03:24 | [Mutex] received everything.

2022-07-25 23:03:24 | [Mutex] isItemNotified: received:node:428eca05-dd55-46b2-80b5-7ffb2a8c4792:localhost:node-a30eef80-050c-45a7-b6a7-8eae10a46482:Node a30eef80-050c-45a7-b6a7-8eae10a46482 :: true

deleteNodes 1.017s
2022-07-25 23:03:29 |

2022-07-25 23:03:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 23:03:29 | ------------------------------------

2022-07-25 23:03:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a30eef80-050c-45a7-b6a7-8eae10a46482</node></data>

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

2022-07-25 23:03:30 | [Mutex] waiting for: [received:nodes:b1de5c50-166a-4c26-8e65-c91024f1eb32:localhost]

2022-07-25 23:03:30 | [Mutex] received everything.

2022-07-25 23:03:30 | [Mutex] isItemNotified: received:node:b1de5c50-166a-4c26-8e65-c91024f1eb32:localhost:node-a30eef80-050c-45a7-b6a7-8eae10a46482:Node a30eef80-050c-45a7-b6a7-8eae10a46482 :: false

deleteSubnodes 1.136s
2022-07-25 23:03:28 |

2022-07-25 23:03:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 23:03:28 | ------------------------------------

2022-07-25 23:03:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c</node></data>

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

2022-07-25 23:03:29 | [Mutex] waiting for: [received:nodes:9dd44a1c-436d-4d7f-9c98-bc81d2871815:localhost]

2022-07-25 23:03:29 | [Mutex] received everything.

2022-07-25 23:03:29 | [Mutex] isItemNotified: received:node:9dd44a1c-436d-4d7f-9c98-bc81d2871815:localhost:node-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c:Node 5ef68cf4-14be-4ce6-b5b0-03d964e5e05c :: false

2022-07-25 23:03:29 | [Mutex] waiting for: [received:nodes:ec5fc57c-fbbc-422c-8534-024c05f6232b:localhost]

2022-07-25 23:03:29 | [Mutex] received everything.

2022-07-25 23:03:29 | [Mutex] isItemNotified: received:node:ec5fc57c-fbbc-422c-8534-024c05f6232b:localhost:node-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c:Node 5ef68cf4-14be-4ce6-b5b0-03d964e5e05c :: false

publishItemsToNodes 0.214s
2022-07-25 23:03:26 |

2022-07-25 23:03:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 23:03:26 | ------------------------------------

2022-07-25 23:03:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c</node><item-id>item-073ea836-a029-4424-9a77-5ed826a34b28</item-id><entry><test>item-073ea836-a029-4424-9a77-5ed826a34b28</test></entry></data>

2022-07-25 23:03:26 | 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-073ea836-a029-4424-9a77-5ed826a34b28</value></item-id></result>

2022-07-25 23:03:26 | [Mutex] waiting for: [published:item:notifieditem-073ea836-a029-4424-9a77-5ed826a34b28:admin@test-domain.com]

2022-07-25 23:03:26 | [Mutex] received everything.

2022-07-25 23:03:26 | [Mutex] isItemNotified: published:item:notifieditem-073ea836-a029-4424-9a77-5ed826a34b28:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2022-07-25 23:03:27 |

2022-07-25 23:03:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 23:03:27 | ------------------------------------

2022-07-25 23:03:27 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c</node><item-id>item-073ea836-a029-4424-9a77-5ed826a34b28</item-id></data>

2022-07-25 23:03:27 | 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-073ea836-a029-4424-9a77-5ed826a34b28</value></item-id></result>

2022-07-25 23:03:27 | [Mutex] received everything.

2022-07-25 23:03:27 | [Mutex] isItemNotified: retracted:item:notifieditem-073ea836-a029-4424-9a77-5ed826a34b28:admin@test-domain.com :: true

retrieveItemsFromNodes 0.219s
2022-07-25 23:03:26 |

2022-07-25 23:03:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 23:03:26 | ------------------------------------

2022-07-25 23:03:26 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c</node><item-id>item-073ea836-a029-4424-9a77-5ed826a34b28</item-id></data>

2022-07-25 23:03:27 | 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-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c</value></node><item-id type="text-single" label="Item ID"><value>item-073ea836-a029-4424-9a77-5ed826a34b28</value></item-id><item type="text-multi" label="Item"><value><item id="item-073ea836-a029-4424-9a77-5ed826a34b28"><test>item-073ea836-a029-4424-9a77-5ed826a34b28</test></item></value></item></result>

2022-07-25 23:03:27 | [Mutex] notify: [retrieved:item:item-073ea836-a029-4424-9a77-5ed826a34b28:payload-matches:true:localhost]

2022-07-25 23:03:27 | [Mutex] received everything.

2022-07-25 23:03:27 | [Mutex] isItemNotified: retrieved:item:item-073ea836-a029-4424-9a77-5ed826a34b28:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-25 23:03:27 |

2022-07-25 23:03:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 23:03:27 | ------------------------------------

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

2022-07-25 23:03:27 | 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-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c</value><value>node-a30eef80-050c-45a7-b6a7-8eae10a46482</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-07-25 23:03:27 |

2022-07-25 23:03:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 23:03:27 | ------------------------------------

2022-07-25 23:03:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c)</node-pattern></data>

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

subscribeNodes 1.141s
2022-07-25 23:03:25 |

2022-07-25 23:03:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 23:03:25 | ------------------------------------

2022-07-25 23:03:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.231s
2022-07-25 23:03:27 |

2022-07-25 23:03:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 23:03:27 | ------------------------------------

2022-07-25 23:03:27 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5ef68cf4-14be-4ce6-b5b0-03d964e5e05c</node><jids><value>admin@test-domain.com</value></jids></data>

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