Generated by TestNG with ReportNG at 22:49 PDT on Thursday 22 September 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.691s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2022-09-22 23:03:40 |

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

2022-09-22 23:03:40 | ------------------------------------

2022-09-22 23:03:40 | [Mutex] waiting for: [configured:node:node-06caed5d-da26-4cff-877e-2e4f17bfdc2e:node-55212103-d278-4807-9b37-5c3664572381]

2022-09-22 23:03:40 | [Mutex] received everything.

2022-09-22 23:03:40 | [Mutex] isItemNotified: configured:node:node-06caed5d-da26-4cff-877e-2e4f17bfdc2e:node-55212103-d278-4807-9b37-5c3664572381 :: true

2022-09-22 23:03:41 | [Mutex] waiting for: [received:nodes:aef827fc-d835-4e32-b5ef-98445bae0ee2:localhost]

2022-09-22 23:03:41 | [Mutex] received everything.

2022-09-22 23:03:41 | [Mutex] isItemNotified: received:node:aef827fc-d835-4e32-b5ef-98445bae0ee2:localhost:node-06caed5d-da26-4cff-877e-2e4f17bfdc2e:Node 06caed5d-da26-4cff-877e-2e4f17bfdc2e :: true

2022-09-22 23:03:41 | [Mutex] waiting for: [received:nodes:7a1c0fbc-1f50-4356-921d-5c6a5ae5eb43:localhost]

2022-09-22 23:03:41 | [Mutex] received everything.

2022-09-22 23:03:41 | [Mutex] isItemNotified: received:node:7a1c0fbc-1f50-4356-921d-5c6a5ae5eb43:localhost:node-06caed5d-da26-4cff-877e-2e4f17bfdc2e:Node 06caed5d-da26-4cff-877e-2e4f17bfdc2e :: false

createNodes 1.552s
2022-09-22 23:03:37 |

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

2022-09-22 23:03:37 | ------------------------------------

2022-09-22 23:03:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-06caed5d-da26-4cff-877e-2e4f17bfdc2e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 06caed5d-da26-4cff-877e-2e4f17bfdc2e</title></pubsub></data>

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

2022-09-22 23:03:39 | [Mutex] waiting for: [received:nodes:6927b9e4-0677-48fc-b511-c559a2ded54f:localhost]

2022-09-22 23:03:39 | [Mutex] received everything.

2022-09-22 23:03:39 | [Mutex] isItemNotified: received:node:6927b9e4-0677-48fc-b511-c559a2ded54f:localhost:node-06caed5d-da26-4cff-877e-2e4f17bfdc2e:Node 06caed5d-da26-4cff-877e-2e4f17bfdc2e :: true

createSubnodes 1.026s
2022-09-22 23:03:39 |

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

2022-09-22 23:03:39 | ------------------------------------

2022-09-22 23:03:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-55212103-d278-4807-9b37-5c3664572381</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 55212103-d278-4807-9b37-5c3664572381</title></pubsub></data>

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

2022-09-22 23:03:40 | [Mutex] waiting for: [received:nodes:97342bcf-15df-45e7-a205-eddd4d31776c:localhost]

2022-09-22 23:03:40 | [Mutex] waiting for: [received:nodes:97342bcf-15df-45e7-a205-eddd4d31776c:localhost]

2022-09-22 23:03:40 | [Mutex] received everything.

2022-09-22 23:03:40 | [Mutex] isItemNotified: received:node:97342bcf-15df-45e7-a205-eddd4d31776c:localhost:node-55212103-d278-4807-9b37-5c3664572381:Node 55212103-d278-4807-9b37-5c3664572381 :: true

deleteNodes 1.017s
2022-09-22 23:03:45 |

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

2022-09-22 23:03:45 | ------------------------------------

2022-09-22 23:03:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-55212103-d278-4807-9b37-5c3664572381</node></data>

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

2022-09-22 23:03:46 | [Mutex] waiting for: [received:nodes:7555eced-e7eb-45d5-b37d-b34d483e6af7:localhost]

2022-09-22 23:03:46 | [Mutex] waiting for: [received:nodes:7555eced-e7eb-45d5-b37d-b34d483e6af7:localhost]

2022-09-22 23:03:46 | [Mutex] received everything.

2022-09-22 23:03:46 | [Mutex] isItemNotified: received:node:7555eced-e7eb-45d5-b37d-b34d483e6af7:localhost:node-55212103-d278-4807-9b37-5c3664572381:Node 55212103-d278-4807-9b37-5c3664572381 :: false

deleteSubnodes 1.126s
2022-09-22 23:03:44 |

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

2022-09-22 23:03:44 | ------------------------------------

2022-09-22 23:03:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-06caed5d-da26-4cff-877e-2e4f17bfdc2e</node></data>

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

2022-09-22 23:03:45 | [Mutex] waiting for: [received:nodes:3b15cd71-793a-438e-a53b-7ea2a88ad67f:localhost]

2022-09-22 23:03:45 | [Mutex] received everything.

2022-09-22 23:03:45 | [Mutex] isItemNotified: received:node:3b15cd71-793a-438e-a53b-7ea2a88ad67f:localhost:node-06caed5d-da26-4cff-877e-2e4f17bfdc2e:Node 06caed5d-da26-4cff-877e-2e4f17bfdc2e :: false

2022-09-22 23:03:45 | [Mutex] waiting for: [received:nodes:49911372-9ba2-46d3-a855-b7bb6e6b046c:localhost]

2022-09-22 23:03:45 | [Mutex] received everything.

2022-09-22 23:03:45 | [Mutex] isItemNotified: received:node:49911372-9ba2-46d3-a855-b7bb6e6b046c:localhost:node-06caed5d-da26-4cff-877e-2e4f17bfdc2e:Node 06caed5d-da26-4cff-877e-2e4f17bfdc2e :: false

publishItemsToNodes 0.185s
2022-09-22 23:03:42 |

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

2022-09-22 23:03:42 | ------------------------------------

2022-09-22 23:03:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-06caed5d-da26-4cff-877e-2e4f17bfdc2e</node><item-id>item-15341b69-a9e4-44f8-9004-92698cba0776</item-id><entry><test>item-15341b69-a9e4-44f8-9004-92698cba0776</test></entry></data>

2022-09-22 23:03:42 | 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-15341b69-a9e4-44f8-9004-92698cba0776</value></item-id></result>

2022-09-22 23:03:42 | [Mutex] received everything.

2022-09-22 23:03:42 | [Mutex] isItemNotified: published:item:notifieditem-15341b69-a9e4-44f8-9004-92698cba0776:admin@test-domain.com :: true

retractItemsFromNodes 0.347s
2022-09-22 23:03:43 |

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

2022-09-22 23:03:43 | ------------------------------------

2022-09-22 23:03:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-06caed5d-da26-4cff-877e-2e4f17bfdc2e</node><item-id>item-15341b69-a9e4-44f8-9004-92698cba0776</item-id></data>

2022-09-22 23:03:43 | 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-15341b69-a9e4-44f8-9004-92698cba0776</value></item-id></result>

2022-09-22 23:03:43 | [Mutex] waiting for: [retracted:item:notifieditem-15341b69-a9e4-44f8-9004-92698cba0776:admin@test-domain.com]

2022-09-22 23:03:43 | [Mutex] received everything.

2022-09-22 23:03:43 | [Mutex] isItemNotified: retracted:item:notifieditem-15341b69-a9e4-44f8-9004-92698cba0776:admin@test-domain.com :: true

retrieveItemsFromNodes 0.274s
2022-09-22 23:03:42 |

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

2022-09-22 23:03:42 | ------------------------------------

2022-09-22 23:03:42 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-06caed5d-da26-4cff-877e-2e4f17bfdc2e</node><item-id>item-15341b69-a9e4-44f8-9004-92698cba0776</item-id></data>

2022-09-22 23:03:43 | 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-06caed5d-da26-4cff-877e-2e4f17bfdc2e</value></node><item-id label="Item ID" type="text-single"><value>item-15341b69-a9e4-44f8-9004-92698cba0776</value></item-id><item label="Item" type="text-multi"><value><item id="item-15341b69-a9e4-44f8-9004-92698cba0776"><test>item-15341b69-a9e4-44f8-9004-92698cba0776</test></item></value></item></result>

2022-09-22 23:03:43 | [Mutex] notify: [retrieved:item:item-15341b69-a9e4-44f8-9004-92698cba0776:payload-matches:true:localhost]

2022-09-22 23:03:43 | [Mutex] received everything.

2022-09-22 23:03:43 | [Mutex] isItemNotified: retrieved:item:item-15341b69-a9e4-44f8-9004-92698cba0776:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-22 23:03:43 |

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

2022-09-22 23:03:43 | ------------------------------------

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

2022-09-22 23:03:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-06caed5d-da26-4cff-877e-2e4f17bfdc2e</value><value>test</value><value>node-55212103-d278-4807-9b37-5c3664572381</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-09-22 23:03:43 |

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

2022-09-22 23:03:43 | ------------------------------------

2022-09-22 23:03:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-06caed5d-da26-4cff-877e-2e4f17bfdc2e)</node-pattern></data>

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

subscribeNodes 1.163s
2022-09-22 23:03:41 |

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

2022-09-22 23:03:41 | ------------------------------------

2022-09-22 23:03:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-06caed5d-da26-4cff-877e-2e4f17bfdc2e</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.180s
2022-09-22 23:03:43 |

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

2022-09-22 23:03:43 | ------------------------------------

2022-09-22 23:03:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-06caed5d-da26-4cff-877e-2e4f17bfdc2e</node><jids><value>admin@test-domain.com</value></jids></data>

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