Generated by TestNG with ReportNG at 22:44 PDT on Monday 05 April 2021
root@87f6aca6b6f2 / 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.451s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.133s
2021-04-05 22:58:22 |

2021-04-05 22:58:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:58:22 | ------------------------------------

2021-04-05 22:58:22 | [Mutex] waiting for: [configured:node:node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46:node-502aeb6b-6456-430f-b015-0dcea83d69f7]

2021-04-05 22:58:22 | [Mutex] received everything.

2021-04-05 22:58:22 | [Mutex] isItemNotified: configured:node:node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46:node-502aeb6b-6456-430f-b015-0dcea83d69f7 :: true

2021-04-05 22:58:23 | [Mutex] waiting for: [received:nodes:52931ab5-5dcd-4d7e-9042-4788898a4ce4:localhost]

2021-04-05 22:58:23 | [Mutex] received everything.

2021-04-05 22:58:23 | [Mutex] isItemNotified: received:node:52931ab5-5dcd-4d7e-9042-4788898a4ce4:localhost:node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46:Node 6c82aa04-d0b5-4f59-924d-b7a306cdaa46 :: true

2021-04-05 22:58:23 | [Mutex] waiting for: [received:nodes:7f236433-c96c-4779-9749-a73a2151a59d:localhost]

2021-04-05 22:58:23 | [Mutex] received everything.

2021-04-05 22:58:23 | [Mutex] isItemNotified: received:node:7f236433-c96c-4779-9749-a73a2151a59d:localhost:node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46:Node 6c82aa04-d0b5-4f59-924d-b7a306cdaa46 :: false

createNodes 1.474s
2021-04-05 22:58:20 |

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

2021-04-05 22:58:20 | ------------------------------------

2021-04-05 22:58:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6c82aa04-d0b5-4f59-924d-b7a306cdaa46</title></pubsub></data>

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

2021-04-05 22:58:21 | [Mutex] waiting for: [received:nodes:a7e3f0a2-9e25-4531-a9f6-f70a1f550df4:localhost]

2021-04-05 22:58:21 | [Mutex] received everything.

2021-04-05 22:58:21 | [Mutex] isItemNotified: received:node:a7e3f0a2-9e25-4531-a9f6-f70a1f550df4:localhost:node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46:Node 6c82aa04-d0b5-4f59-924d-b7a306cdaa46 :: true

createSubnodes 1.028s
2021-04-05 22:58:21 |

2021-04-05 22:58:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:58:21 | ------------------------------------

2021-04-05 22:58:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-502aeb6b-6456-430f-b015-0dcea83d69f7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 502aeb6b-6456-430f-b015-0dcea83d69f7</title></pubsub></data>

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

2021-04-05 22:58:22 | [Mutex] waiting for: [received:nodes:e6c62f54-3b69-4d26-b891-6ed90715cf7a:localhost]

2021-04-05 22:58:22 | [Mutex] received everything.

2021-04-05 22:58:22 | [Mutex] isItemNotified: received:node:e6c62f54-3b69-4d26-b891-6ed90715cf7a:localhost:node-502aeb6b-6456-430f-b015-0dcea83d69f7:Node 502aeb6b-6456-430f-b015-0dcea83d69f7 :: true

deleteNodes 1.021s
2021-04-05 22:58:28 |

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

2021-04-05 22:58:28 | ------------------------------------

2021-04-05 22:58:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-502aeb6b-6456-430f-b015-0dcea83d69f7</node></data>

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

2021-04-05 22:58:29 | [Mutex] waiting for: [received:nodes:5758b51b-795e-4348-9261-8eac1686cd7d:localhost]

2021-04-05 22:58:29 | [Mutex] received everything.

2021-04-05 22:58:29 | [Mutex] isItemNotified: received:node:5758b51b-795e-4348-9261-8eac1686cd7d:localhost:node-502aeb6b-6456-430f-b015-0dcea83d69f7:Node 502aeb6b-6456-430f-b015-0dcea83d69f7 :: false

deleteSubnodes 1.153s
2021-04-05 22:58:27 |

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

2021-04-05 22:58:27 | ------------------------------------

2021-04-05 22:58:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46</node></data>

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

2021-04-05 22:58:28 | [Mutex] waiting for: [received:nodes:787f02bc-f627-4336-a5f0-5c18ab22beef:localhost]

2021-04-05 22:58:28 | [Mutex] received everything.

2021-04-05 22:58:28 | [Mutex] isItemNotified: received:node:787f02bc-f627-4336-a5f0-5c18ab22beef:localhost:node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46:Node 6c82aa04-d0b5-4f59-924d-b7a306cdaa46 :: false

2021-04-05 22:58:28 | [Mutex] waiting for: [received:nodes:3e7e85dd-19fd-4740-91ef-bb5d1931f30f:localhost]

2021-04-05 22:58:28 | [Mutex] received everything.

2021-04-05 22:58:28 | [Mutex] isItemNotified: received:node:3e7e85dd-19fd-4740-91ef-bb5d1931f30f:localhost:node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46:Node 6c82aa04-d0b5-4f59-924d-b7a306cdaa46 :: false

publishItemsToNodes 0.236s
2021-04-05 22:58:24 |

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

2021-04-05 22:58:24 | ------------------------------------

2021-04-05 22:58:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46</node><item-id>item-7d81667c-fd0a-411c-a5b8-5e7d8e464da7</item-id><entry><test>item-7d81667c-fd0a-411c-a5b8-5e7d8e464da7</test></entry></data>

2021-04-05 22:58:25 | 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-7d81667c-fd0a-411c-a5b8-5e7d8e464da7</value></item-id></result>

2021-04-05 22:58:25 | [Mutex] received everything.

2021-04-05 22:58:25 | [Mutex] isItemNotified: published:item:notifieditem-7d81667c-fd0a-411c-a5b8-5e7d8e464da7:admin@test-domain.com :: true

retractItemsFromNodes 0.372s
2021-04-05 22:58:25 |

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

2021-04-05 22:58:25 | ------------------------------------

2021-04-05 22:58:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46</node><item-id>item-7d81667c-fd0a-411c-a5b8-5e7d8e464da7</item-id></data>

2021-04-05 22:58:26 | 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-7d81667c-fd0a-411c-a5b8-5e7d8e464da7</value></item-id></result>

2021-04-05 22:58:26 | [Mutex] waiting for: [retracted:item:notifieditem-7d81667c-fd0a-411c-a5b8-5e7d8e464da7:admin@test-domain.com]

2021-04-05 22:58:26 | [Mutex] received everything.

2021-04-05 22:58:26 | [Mutex] isItemNotified: retracted:item:notifieditem-7d81667c-fd0a-411c-a5b8-5e7d8e464da7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.334s
2021-04-05 22:58:25 |

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

2021-04-05 22:58:25 | ------------------------------------

2021-04-05 22:58:25 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46</node><item-id>item-7d81667c-fd0a-411c-a5b8-5e7d8e464da7</item-id></data>

2021-04-05 22:58:25 | 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-6c82aa04-d0b5-4f59-924d-b7a306cdaa46</value></node><item-id type="text-single" label="Item ID"><value>item-7d81667c-fd0a-411c-a5b8-5e7d8e464da7</value></item-id><item type="text-multi" label="Item"><value><item id="item-7d81667c-fd0a-411c-a5b8-5e7d8e464da7"><test>item-7d81667c-fd0a-411c-a5b8-5e7d8e464da7</test></item></value></item></result>

2021-04-05 22:58:25 | [Mutex] notify: [retrieved:item:item-7d81667c-fd0a-411c-a5b8-5e7d8e464da7:payload-matches:true:localhost]

2021-04-05 22:58:25 | [Mutex] received everything.

2021-04-05 22:58:25 | [Mutex] isItemNotified: retrieved:item:item-7d81667c-fd0a-411c-a5b8-5e7d8e464da7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2021-04-05 22:58:25 |

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

2021-04-05 22:58:25 | ------------------------------------

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

2021-04-05 22:58:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-502aeb6b-6456-430f-b015-0dcea83d69f7</value><value>test</value><value>node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-04-05 22:58:25 |

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

2021-04-05 22:58:25 | ------------------------------------

2021-04-05 22:58:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46)</node-pattern></data>

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

subscribeNodes 1.196s
2021-04-05 22:58:23 |

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

2021-04-05 22:58:23 | ------------------------------------

2021-04-05 22:58:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.358s
2021-04-05 22:58:26 |

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

2021-04-05 22:58:26 | ------------------------------------

2021-04-05 22:58:26 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6c82aa04-d0b5-4f59-924d-b7a306cdaa46</node><jids><value>admin@test-domain.com</value></jids></data>

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