Generated by TestNG with ReportNG at 22:23 PDT on Monday 20 September 2021
root@b2c2a8eba6e6 / 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.171s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2021-09-20 22:37:55 |

2021-09-20 22:37:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 22:37:55 | ------------------------------------

2021-09-20 22:37:55 | [Mutex] waiting for: [configured:node:node-4859c3ad-ea48-4216-9cbf-7307af333492:node-4ecc21e9-f4b4-48b7-8e74-b3b6dcaec48d]

2021-09-20 22:37:55 | [Mutex] received everything.

2021-09-20 22:37:55 | [Mutex] isItemNotified: configured:node:node-4859c3ad-ea48-4216-9cbf-7307af333492:node-4ecc21e9-f4b4-48b7-8e74-b3b6dcaec48d :: true

2021-09-20 22:37:56 | [Mutex] waiting for: [received:nodes:d2cd86d4-4193-437a-8cf5-fe395fb345ee:localhost]

2021-09-20 22:37:56 | [Mutex] received everything.

2021-09-20 22:37:56 | [Mutex] isItemNotified: received:node:d2cd86d4-4193-437a-8cf5-fe395fb345ee:localhost:node-4859c3ad-ea48-4216-9cbf-7307af333492:Node 4859c3ad-ea48-4216-9cbf-7307af333492 :: true

2021-09-20 22:37:56 | [Mutex] waiting for: [received:nodes:c04acc85-5bc8-4bec-aa02-9bb78c887854:localhost]

2021-09-20 22:37:57 | [Mutex] received everything.

2021-09-20 22:37:57 | [Mutex] isItemNotified: received:node:c04acc85-5bc8-4bec-aa02-9bb78c887854:localhost:node-4859c3ad-ea48-4216-9cbf-7307af333492:Node 4859c3ad-ea48-4216-9cbf-7307af333492 :: false

createNodes 1.668s
2021-09-20 22:37:53 |

2021-09-20 22:37:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 22:37:53 | ------------------------------------

2021-09-20 22:37:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4859c3ad-ea48-4216-9cbf-7307af333492</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4859c3ad-ea48-4216-9cbf-7307af333492</title></pubsub></data>

2021-09-20 22:37:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-20 22:37:54 | [Mutex] waiting for: [received:nodes:24fcd156-1eec-46f3-a4b1-73cb7d78745a:localhost]

2021-09-20 22:37:54 | [Mutex] received everything.

2021-09-20 22:37:54 | [Mutex] isItemNotified: received:node:24fcd156-1eec-46f3-a4b1-73cb7d78745a:localhost:node-4859c3ad-ea48-4216-9cbf-7307af333492:Node 4859c3ad-ea48-4216-9cbf-7307af333492 :: true

createSubnodes 1.032s
2021-09-20 22:37:54 |

2021-09-20 22:37:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 22:37:54 | ------------------------------------

2021-09-20 22:37:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4ecc21e9-f4b4-48b7-8e74-b3b6dcaec48d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4ecc21e9-f4b4-48b7-8e74-b3b6dcaec48d</title></pubsub></data>

2021-09-20 22:37:54 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-20 22:37:55 | [Mutex] waiting for: [received:nodes:e1400535-1231-4290-b822-8ee046bfa8c4:localhost]

2021-09-20 22:37:55 | [Mutex] received everything.

2021-09-20 22:37:55 | [Mutex] isItemNotified: received:node:e1400535-1231-4290-b822-8ee046bfa8c4:localhost:node-4ecc21e9-f4b4-48b7-8e74-b3b6dcaec48d:Node 4ecc21e9-f4b4-48b7-8e74-b3b6dcaec48d :: true

deleteNodes 1.023s
2021-09-20 22:38:01 |

2021-09-20 22:38:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 22:38:01 | ------------------------------------

2021-09-20 22:38:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4ecc21e9-f4b4-48b7-8e74-b3b6dcaec48d</node></data>

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

2021-09-20 22:38:02 | [Mutex] waiting for: [received:nodes:8de18d1d-b1f6-4c94-8962-65250595683a:localhost]

2021-09-20 22:38:02 | [Mutex] waiting for: [received:nodes:8de18d1d-b1f6-4c94-8962-65250595683a:localhost]

2021-09-20 22:38:02 | [Mutex] received everything.

2021-09-20 22:38:02 | [Mutex] isItemNotified: received:node:8de18d1d-b1f6-4c94-8962-65250595683a:localhost:node-4ecc21e9-f4b4-48b7-8e74-b3b6dcaec48d:Node 4ecc21e9-f4b4-48b7-8e74-b3b6dcaec48d :: false

deleteSubnodes 1.128s
2021-09-20 22:38:00 |

2021-09-20 22:38:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 22:38:00 | ------------------------------------

2021-09-20 22:38:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4859c3ad-ea48-4216-9cbf-7307af333492</node></data>

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

2021-09-20 22:38:01 | [Mutex] waiting for: [received:nodes:85bc937e-d204-47c6-863c-049d2275e93c:localhost]

2021-09-20 22:38:01 | [Mutex] received everything.

2021-09-20 22:38:01 | [Mutex] isItemNotified: received:node:85bc937e-d204-47c6-863c-049d2275e93c:localhost:node-4859c3ad-ea48-4216-9cbf-7307af333492:Node 4859c3ad-ea48-4216-9cbf-7307af333492 :: false

2021-09-20 22:38:01 | [Mutex] waiting for: [received:nodes:e5f5e7d7-4aa3-44f0-84b3-da969dd04154:localhost]

2021-09-20 22:38:01 | [Mutex] received everything.

2021-09-20 22:38:01 | [Mutex] isItemNotified: received:node:e5f5e7d7-4aa3-44f0-84b3-da969dd04154:localhost:node-4859c3ad-ea48-4216-9cbf-7307af333492:Node 4859c3ad-ea48-4216-9cbf-7307af333492 :: false

publishItemsToNodes 0.271s
2021-09-20 22:37:58 |

2021-09-20 22:37:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 22:37:58 | ------------------------------------

2021-09-20 22:37:58 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4859c3ad-ea48-4216-9cbf-7307af333492</node><item-id>item-a6eac510-5ef2-40c6-9e1b-88769ee814a6</item-id><entry><test>item-a6eac510-5ef2-40c6-9e1b-88769ee814a6</test></entry></data>

2021-09-20 22:37:58 | 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-a6eac510-5ef2-40c6-9e1b-88769ee814a6</value></item-id></result>

2021-09-20 22:37:58 | [Mutex] received everything.

2021-09-20 22:37:58 | [Mutex] isItemNotified: published:item:notifieditem-a6eac510-5ef2-40c6-9e1b-88769ee814a6:admin@test-domain.com :: true

retractItemsFromNodes 0.198s
2021-09-20 22:37:58 |

2021-09-20 22:37:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 22:37:58 | ------------------------------------

2021-09-20 22:37:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4859c3ad-ea48-4216-9cbf-7307af333492</node><item-id>item-a6eac510-5ef2-40c6-9e1b-88769ee814a6</item-id></data>

2021-09-20 22:37:58 | 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-a6eac510-5ef2-40c6-9e1b-88769ee814a6</value></item-id></result>

2021-09-20 22:37:58 | [Mutex] waiting for: [retracted:item:notifieditem-a6eac510-5ef2-40c6-9e1b-88769ee814a6:admin@test-domain.com]

2021-09-20 22:37:58 | [Mutex] received everything.

2021-09-20 22:37:58 | [Mutex] isItemNotified: retracted:item:notifieditem-a6eac510-5ef2-40c6-9e1b-88769ee814a6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.236s
2021-09-20 22:37:58 |

2021-09-20 22:37:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 22:37:58 | ------------------------------------

2021-09-20 22:37:58 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4859c3ad-ea48-4216-9cbf-7307af333492</node><item-id>item-a6eac510-5ef2-40c6-9e1b-88769ee814a6</item-id></data>

2021-09-20 22:37:58 | 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-4859c3ad-ea48-4216-9cbf-7307af333492</value></node><item-id type="text-single" label="Item ID"><value>item-a6eac510-5ef2-40c6-9e1b-88769ee814a6</value></item-id><item type="text-multi" label="Item"><value><item id="item-a6eac510-5ef2-40c6-9e1b-88769ee814a6"><test>item-a6eac510-5ef2-40c6-9e1b-88769ee814a6</test></item></value></item></result>

2021-09-20 22:37:58 | [Mutex] notify: [retrieved:item:item-a6eac510-5ef2-40c6-9e1b-88769ee814a6:payload-matches:true:localhost]

2021-09-20 22:37:58 | [Mutex] received everything.

2021-09-20 22:37:58 | [Mutex] isItemNotified: retrieved:item:item-a6eac510-5ef2-40c6-9e1b-88769ee814a6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-09-20 22:37:58 |

2021-09-20 22:37:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 22:37:58 | ------------------------------------

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

2021-09-20 22:37:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-4ecc21e9-f4b4-48b7-8e74-b3b6dcaec48d</value><value>test</value><value>node-4859c3ad-ea48-4216-9cbf-7307af333492</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-09-20 22:37:58 |

2021-09-20 22:37:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 22:37:58 | ------------------------------------

2021-09-20 22:37:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4859c3ad-ea48-4216-9cbf-7307af333492)</node-pattern></data>

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

subscribeNodes 1.161s
2021-09-20 22:37:57 |

2021-09-20 22:37:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 22:37:57 | ------------------------------------

2021-09-20 22:37:57 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4859c3ad-ea48-4216-9cbf-7307af333492</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-20 22:37:57 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.305s
2021-09-20 22:37:58 |

2021-09-20 22:37:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 22:37:58 | ------------------------------------

2021-09-20 22:37:58 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4859c3ad-ea48-4216-9cbf-7307af333492</node><jids><value>admin@test-domain.com</value></jids></data>

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