Generated by TestNG with ReportNG at 22:14 PDT on Thursday 30 September 2021
root@f29ef40080b5 / 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.260s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.120s
2021-09-30 22:29:37 |

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

2021-09-30 22:29:37 | ------------------------------------

2021-09-30 22:29:37 | [Mutex] waiting for: [configured:node:node-41c65b5e-e2f2-4de3-8598-124b8d4afd76:node-71650763-787d-4a9e-b7b1-b2a9dd7b7898]

2021-09-30 22:29:38 | [Mutex] received everything.

2021-09-30 22:29:38 | [Mutex] isItemNotified: configured:node:node-41c65b5e-e2f2-4de3-8598-124b8d4afd76:node-71650763-787d-4a9e-b7b1-b2a9dd7b7898 :: true

2021-09-30 22:29:39 | [Mutex] waiting for: [received:nodes:209366ff-b822-4431-9930-ad92b61ee2b3:localhost]

2021-09-30 22:29:39 | [Mutex] received everything.

2021-09-30 22:29:39 | [Mutex] isItemNotified: received:node:209366ff-b822-4431-9930-ad92b61ee2b3:localhost:node-41c65b5e-e2f2-4de3-8598-124b8d4afd76:Node 41c65b5e-e2f2-4de3-8598-124b8d4afd76 :: true

2021-09-30 22:29:39 | [Mutex] waiting for: [received:nodes:4c9a44ee-245c-4f12-8e65-a8727f84b8c1:localhost]

2021-09-30 22:29:39 | [Mutex] waiting for: [received:nodes:4c9a44ee-245c-4f12-8e65-a8727f84b8c1:localhost]

2021-09-30 22:29:39 | [Mutex] received everything.

2021-09-30 22:29:39 | [Mutex] isItemNotified: received:node:4c9a44ee-245c-4f12-8e65-a8727f84b8c1:localhost:node-41c65b5e-e2f2-4de3-8598-124b8d4afd76:Node 41c65b5e-e2f2-4de3-8598-124b8d4afd76 :: false

createNodes 1.457s
2021-09-30 22:29:35 |

2021-09-30 22:29:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:29:35 | ------------------------------------

2021-09-30 22:29:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-41c65b5e-e2f2-4de3-8598-124b8d4afd76</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 41c65b5e-e2f2-4de3-8598-124b8d4afd76</title></pubsub></data>

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

2021-09-30 22:29:36 | [Mutex] waiting for: [received:nodes:5013d71f-69c6-4f51-b563-74dcfa1cba9d:localhost]

2021-09-30 22:29:36 | [Mutex] received everything.

2021-09-30 22:29:36 | [Mutex] isItemNotified: received:node:5013d71f-69c6-4f51-b563-74dcfa1cba9d:localhost:node-41c65b5e-e2f2-4de3-8598-124b8d4afd76:Node 41c65b5e-e2f2-4de3-8598-124b8d4afd76 :: true

createSubnodes 1.027s
2021-09-30 22:29:36 |

2021-09-30 22:29:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:29:36 | ------------------------------------

2021-09-30 22:29:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-71650763-787d-4a9e-b7b1-b2a9dd7b7898</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 71650763-787d-4a9e-b7b1-b2a9dd7b7898</title></pubsub></data>

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

2021-09-30 22:29:37 | [Mutex] waiting for: [received:nodes:f53b6185-1c0a-4270-a53d-932a83aac7b2:localhost]

2021-09-30 22:29:37 | [Mutex] waiting for: [received:nodes:f53b6185-1c0a-4270-a53d-932a83aac7b2:localhost]

2021-09-30 22:29:37 | [Mutex] waiting for: [received:nodes:f53b6185-1c0a-4270-a53d-932a83aac7b2:localhost]

2021-09-30 22:29:37 | [Mutex] waiting for: [received:nodes:f53b6185-1c0a-4270-a53d-932a83aac7b2:localhost]

2021-09-30 22:29:37 | [Mutex] waiting for: [received:nodes:f53b6185-1c0a-4270-a53d-932a83aac7b2:localhost]

2021-09-30 22:29:37 | [Mutex] received everything.

2021-09-30 22:29:37 | [Mutex] isItemNotified: received:node:f53b6185-1c0a-4270-a53d-932a83aac7b2:localhost:node-71650763-787d-4a9e-b7b1-b2a9dd7b7898:Node 71650763-787d-4a9e-b7b1-b2a9dd7b7898 :: true

deleteNodes 1.019s
2021-09-30 22:29:43 |

2021-09-30 22:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:29:43 | ------------------------------------

2021-09-30 22:29:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-71650763-787d-4a9e-b7b1-b2a9dd7b7898</node></data>

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

2021-09-30 22:29:44 | [Mutex] waiting for: [received:nodes:e387b680-f499-4a0e-8536-d4d8fb1ba740:localhost]

2021-09-30 22:29:44 | [Mutex] received everything.

2021-09-30 22:29:44 | [Mutex] isItemNotified: received:node:e387b680-f499-4a0e-8536-d4d8fb1ba740:localhost:node-71650763-787d-4a9e-b7b1-b2a9dd7b7898:Node 71650763-787d-4a9e-b7b1-b2a9dd7b7898 :: false

deleteSubnodes 1.163s
2021-09-30 22:29:42 |

2021-09-30 22:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:29:42 | ------------------------------------

2021-09-30 22:29:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-41c65b5e-e2f2-4de3-8598-124b8d4afd76</node></data>

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

2021-09-30 22:29:43 | [Mutex] waiting for: [received:nodes:b60613e9-d392-4924-aa41-4c978ee5b70e:localhost]

2021-09-30 22:29:43 | [Mutex] waiting for: [received:nodes:b60613e9-d392-4924-aa41-4c978ee5b70e:localhost]

2021-09-30 22:29:43 | [Mutex] received everything.

2021-09-30 22:29:43 | [Mutex] isItemNotified: received:node:b60613e9-d392-4924-aa41-4c978ee5b70e:localhost:node-41c65b5e-e2f2-4de3-8598-124b8d4afd76:Node 41c65b5e-e2f2-4de3-8598-124b8d4afd76 :: false

2021-09-30 22:29:43 | [Mutex] waiting for: [received:nodes:1fdb2d8d-7678-4897-bfbd-62d0303ac12b:localhost]

2021-09-30 22:29:43 | [Mutex] received everything.

2021-09-30 22:29:43 | [Mutex] isItemNotified: received:node:1fdb2d8d-7678-4897-bfbd-62d0303ac12b:localhost:node-41c65b5e-e2f2-4de3-8598-124b8d4afd76:Node 41c65b5e-e2f2-4de3-8598-124b8d4afd76 :: false

publishItemsToNodes 0.239s
2021-09-30 22:29:40 |

2021-09-30 22:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:29:40 | ------------------------------------

2021-09-30 22:29:40 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-41c65b5e-e2f2-4de3-8598-124b8d4afd76</node><item-id>item-2e5c59f3-c756-46f4-9758-2c9ef12cf2c6</item-id><entry><test>item-2e5c59f3-c756-46f4-9758-2c9ef12cf2c6</test></entry></data>

2021-09-30 22:29:40 | 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-2e5c59f3-c756-46f4-9758-2c9ef12cf2c6</value></item-id></result>

2021-09-30 22:29:40 | [Mutex] waiting for: [published:item:notifieditem-2e5c59f3-c756-46f4-9758-2c9ef12cf2c6:admin@test-domain.com]

2021-09-30 22:29:40 | [Mutex] received everything.

2021-09-30 22:29:40 | [Mutex] isItemNotified: published:item:notifieditem-2e5c59f3-c756-46f4-9758-2c9ef12cf2c6:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2021-09-30 22:29:40 |

2021-09-30 22:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:29:40 | ------------------------------------

2021-09-30 22:29:40 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-41c65b5e-e2f2-4de3-8598-124b8d4afd76</node><item-id>item-2e5c59f3-c756-46f4-9758-2c9ef12cf2c6</item-id></data>

2021-09-30 22:29:41 | 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-2e5c59f3-c756-46f4-9758-2c9ef12cf2c6</value></item-id></result>

2021-09-30 22:29:41 | [Mutex] waiting for: [retracted:item:notifieditem-2e5c59f3-c756-46f4-9758-2c9ef12cf2c6:admin@test-domain.com]

2021-09-30 22:29:41 | [Mutex] received everything.

2021-09-30 22:29:41 | [Mutex] isItemNotified: retracted:item:notifieditem-2e5c59f3-c756-46f4-9758-2c9ef12cf2c6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.361s
2021-09-30 22:29:40 |

2021-09-30 22:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:29:40 | ------------------------------------

2021-09-30 22:29:40 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-41c65b5e-e2f2-4de3-8598-124b8d4afd76</node><item-id>item-2e5c59f3-c756-46f4-9758-2c9ef12cf2c6</item-id></data>

2021-09-30 22:29:40 | 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-41c65b5e-e2f2-4de3-8598-124b8d4afd76</value></node><item-id type="text-single" label="Item ID"><value>item-2e5c59f3-c756-46f4-9758-2c9ef12cf2c6</value></item-id><item type="text-multi" label="Item"><value><item id="item-2e5c59f3-c756-46f4-9758-2c9ef12cf2c6"><test>item-2e5c59f3-c756-46f4-9758-2c9ef12cf2c6</test></item></value></item></result>

2021-09-30 22:29:40 | [Mutex] notify: [retrieved:item:item-2e5c59f3-c756-46f4-9758-2c9ef12cf2c6:payload-matches:true:localhost]

2021-09-30 22:29:40 | [Mutex] received everything.

2021-09-30 22:29:40 | [Mutex] isItemNotified: retrieved:item:item-2e5c59f3-c756-46f4-9758-2c9ef12cf2c6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-09-30 22:29:40 |

2021-09-30 22:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:29:40 | ------------------------------------

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

2021-09-30 22:29:40 | 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-71650763-787d-4a9e-b7b1-b2a9dd7b7898</value><value>node-41c65b5e-e2f2-4de3-8598-124b8d4afd76</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-09-30 22:29:40 |

2021-09-30 22:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:29:40 | ------------------------------------

2021-09-30 22:29:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-41c65b5e-e2f2-4de3-8598-124b8d4afd76)</node-pattern></data>

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

subscribeNodes 1.189s
2021-09-30 22:29:39 |

2021-09-30 22:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:29:39 | ------------------------------------

2021-09-30 22:29:39 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-41c65b5e-e2f2-4de3-8598-124b8d4afd76</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.295s
2021-09-30 22:29:41 |

2021-09-30 22:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:29:41 | ------------------------------------

2021-09-30 22:29:41 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-41c65b5e-e2f2-4de3-8598-124b8d4afd76</node><jids><value>admin@test-domain.com</value></jids></data>

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