Generated by TestNG with ReportNG at 22:14 PDT on Wednesday 12 May 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 : 9.939s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.120s
2021-05-12 22:28:42 |

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

2021-05-12 22:28:42 | ------------------------------------

2021-05-12 22:28:42 | [Mutex] waiting for: [configured:node:node-c6991e5a-1a42-45ee-be1b-72221b887ecc:node-bfff2c2a-cd3c-456a-ae53-7e68096939d5]

2021-05-12 22:28:42 | [Mutex] received everything.

2021-05-12 22:28:42 | [Mutex] isItemNotified: configured:node:node-c6991e5a-1a42-45ee-be1b-72221b887ecc:node-bfff2c2a-cd3c-456a-ae53-7e68096939d5 :: true

2021-05-12 22:28:43 | [Mutex] waiting for: [received:nodes:bda81677-5b46-4d6e-8579-4e3af4113b0b:localhost]

2021-05-12 22:28:43 | [Mutex] received everything.

2021-05-12 22:28:43 | [Mutex] isItemNotified: received:node:bda81677-5b46-4d6e-8579-4e3af4113b0b:localhost:node-c6991e5a-1a42-45ee-be1b-72221b887ecc:Node c6991e5a-1a42-45ee-be1b-72221b887ecc :: true

2021-05-12 22:28:43 | [Mutex] waiting for: [received:nodes:36a607bc-3833-4e2b-bc42-96794e355910:localhost]

2021-05-12 22:28:43 | [Mutex] waiting for: [received:nodes:36a607bc-3833-4e2b-bc42-96794e355910:localhost]

2021-05-12 22:28:43 | [Mutex] received everything.

2021-05-12 22:28:43 | [Mutex] isItemNotified: received:node:36a607bc-3833-4e2b-bc42-96794e355910:localhost:node-c6991e5a-1a42-45ee-be1b-72221b887ecc:Node c6991e5a-1a42-45ee-be1b-72221b887ecc :: false

createNodes 1.519s
2021-05-12 22:28:39 |

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

2021-05-12 22:28:39 | ------------------------------------

2021-05-12 22:28:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c6991e5a-1a42-45ee-be1b-72221b887ecc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c6991e5a-1a42-45ee-be1b-72221b887ecc</title></pubsub></data>

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

2021-05-12 22:28:41 | [Mutex] waiting for: [received:nodes:bc6488ea-ff3f-4270-a233-f0ee9ab337e1:localhost]

2021-05-12 22:28:41 | [Mutex] received everything.

2021-05-12 22:28:41 | [Mutex] isItemNotified: received:node:bc6488ea-ff3f-4270-a233-f0ee9ab337e1:localhost:node-c6991e5a-1a42-45ee-be1b-72221b887ecc:Node c6991e5a-1a42-45ee-be1b-72221b887ecc :: true

createSubnodes 1.027s
2021-05-12 22:28:41 |

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

2021-05-12 22:28:41 | ------------------------------------

2021-05-12 22:28:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bfff2c2a-cd3c-456a-ae53-7e68096939d5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bfff2c2a-cd3c-456a-ae53-7e68096939d5</title></pubsub></data>

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

2021-05-12 22:28:42 | [Mutex] waiting for: [received:nodes:eedd682e-d6e7-4463-a486-6952a75931dc:localhost]

2021-05-12 22:28:42 | [Mutex] received everything.

2021-05-12 22:28:42 | [Mutex] isItemNotified: received:node:eedd682e-d6e7-4463-a486-6952a75931dc:localhost:node-bfff2c2a-cd3c-456a-ae53-7e68096939d5:Node bfff2c2a-cd3c-456a-ae53-7e68096939d5 :: true

deleteNodes 1.017s
2021-05-12 22:28:47 |

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

2021-05-12 22:28:47 | ------------------------------------

2021-05-12 22:28:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bfff2c2a-cd3c-456a-ae53-7e68096939d5</node></data>

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

2021-05-12 22:28:48 | [Mutex] waiting for: [received:nodes:9df26b32-b641-4555-b740-37928fe1519b:localhost]

2021-05-12 22:28:48 | [Mutex] received everything.

2021-05-12 22:28:48 | [Mutex] isItemNotified: received:node:9df26b32-b641-4555-b740-37928fe1519b:localhost:node-bfff2c2a-cd3c-456a-ae53-7e68096939d5:Node bfff2c2a-cd3c-456a-ae53-7e68096939d5 :: false

deleteSubnodes 1.139s
2021-05-12 22:28:46 |

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

2021-05-12 22:28:46 | ------------------------------------

2021-05-12 22:28:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c6991e5a-1a42-45ee-be1b-72221b887ecc</node></data>

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

2021-05-12 22:28:47 | [Mutex] waiting for: [received:nodes:ca396185-945d-4c82-9d95-1c1a6c161426:localhost]

2021-05-12 22:28:47 | [Mutex] received everything.

2021-05-12 22:28:47 | [Mutex] isItemNotified: received:node:ca396185-945d-4c82-9d95-1c1a6c161426:localhost:node-c6991e5a-1a42-45ee-be1b-72221b887ecc:Node c6991e5a-1a42-45ee-be1b-72221b887ecc :: false

2021-05-12 22:28:47 | [Mutex] waiting for: [received:nodes:5ec82ec7-7b0c-48e6-b1fc-3978382598ef:localhost]

2021-05-12 22:28:47 | [Mutex] received everything.

2021-05-12 22:28:47 | [Mutex] isItemNotified: received:node:5ec82ec7-7b0c-48e6-b1fc-3978382598ef:localhost:node-c6991e5a-1a42-45ee-be1b-72221b887ecc:Node c6991e5a-1a42-45ee-be1b-72221b887ecc :: false

publishItemsToNodes 0.256s
2021-05-12 22:28:44 |

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

2021-05-12 22:28:44 | ------------------------------------

2021-05-12 22:28:44 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c6991e5a-1a42-45ee-be1b-72221b887ecc</node><item-id>item-238a7f1c-52ca-4e06-9372-9b1a8a8413b8</item-id><entry><test>item-238a7f1c-52ca-4e06-9372-9b1a8a8413b8</test></entry></data>

2021-05-12 22:28:44 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-238a7f1c-52ca-4e06-9372-9b1a8a8413b8</value></item-id></result>

2021-05-12 22:28:44 | [Mutex] waiting for: [published:item:notifieditem-238a7f1c-52ca-4e06-9372-9b1a8a8413b8:admin@test-domain.com]

2021-05-12 22:28:44 | [Mutex] received everything.

2021-05-12 22:28:44 | [Mutex] isItemNotified: published:item:notifieditem-238a7f1c-52ca-4e06-9372-9b1a8a8413b8:admin@test-domain.com :: true

retractItemsFromNodes 0.162s
2021-05-12 22:28:45 |

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

2021-05-12 22:28:45 | ------------------------------------

2021-05-12 22:28:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c6991e5a-1a42-45ee-be1b-72221b887ecc</node><item-id>item-238a7f1c-52ca-4e06-9372-9b1a8a8413b8</item-id></data>

2021-05-12 22:28:45 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-238a7f1c-52ca-4e06-9372-9b1a8a8413b8</value></item-id></result>

2021-05-12 22:28:45 | [Mutex] received everything.

2021-05-12 22:28:45 | [Mutex] isItemNotified: retracted:item:notifieditem-238a7f1c-52ca-4e06-9372-9b1a8a8413b8:admin@test-domain.com :: true

retrieveItemsFromNodes 0.246s
2021-05-12 22:28:44 |

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

2021-05-12 22:28:44 | ------------------------------------

2021-05-12 22:28:44 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c6991e5a-1a42-45ee-be1b-72221b887ecc</node><item-id>item-238a7f1c-52ca-4e06-9372-9b1a8a8413b8</item-id></data>

2021-05-12 22:28:45 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-c6991e5a-1a42-45ee-be1b-72221b887ecc</value></node><item-id label="Item ID" type="text-single"><value>item-238a7f1c-52ca-4e06-9372-9b1a8a8413b8</value></item-id><item label="Item" type="text-multi"><value><item id="item-238a7f1c-52ca-4e06-9372-9b1a8a8413b8"><test>item-238a7f1c-52ca-4e06-9372-9b1a8a8413b8</test></item></value></item></result>

2021-05-12 22:28:45 | [Mutex] notify: [retrieved:item:item-238a7f1c-52ca-4e06-9372-9b1a8a8413b8:payload-matches:true:localhost]

2021-05-12 22:28:45 | [Mutex] received everything.

2021-05-12 22:28:45 | [Mutex] isItemNotified: retrieved:item:item-238a7f1c-52ca-4e06-9372-9b1a8a8413b8:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-12 22:28:45 |

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

2021-05-12 22:28:45 | ------------------------------------

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

2021-05-12 22:28:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-bfff2c2a-cd3c-456a-ae53-7e68096939d5</value><value>node-c6991e5a-1a42-45ee-be1b-72221b887ecc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.063s
2021-05-12 22:28:45 |

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

2021-05-12 22:28:45 | ------------------------------------

2021-05-12 22:28:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c6991e5a-1a42-45ee-be1b-72221b887ecc)</node-pattern></data>

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

subscribeNodes 1.169s
2021-05-12 22:28:43 |

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

2021-05-12 22:28:43 | ------------------------------------

2021-05-12 22:28:43 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c6991e5a-1a42-45ee-be1b-72221b887ecc</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.244s
2021-05-12 22:28:45 |

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

2021-05-12 22:28:45 | ------------------------------------

2021-05-12 22:28:45 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c6991e5a-1a42-45ee-be1b-72221b887ecc</node><jids><value>admin@test-domain.com</value></jids></data>

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