Generated by TestNG with ReportNG at 22:18 PDT on Friday 01 July 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.571s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2022-07-01 22:33:11 |

2022-07-01 22:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:11 | ------------------------------------

2022-07-01 22:33:11 | [Mutex] waiting for: [configured:node:node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155:node-75595864-dca3-4330-b5fa-a056e31e0254]

2022-07-01 22:33:11 | [Mutex] received everything.

2022-07-01 22:33:11 | [Mutex] isItemNotified: configured:node:node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155:node-75595864-dca3-4330-b5fa-a056e31e0254 :: true

2022-07-01 22:33:12 | [Mutex] waiting for: [received:nodes:88879f66-42d8-465a-bd6c-df10717e81d8:localhost]

2022-07-01 22:33:12 | [Mutex] received everything.

2022-07-01 22:33:12 | [Mutex] isItemNotified: received:node:88879f66-42d8-465a-bd6c-df10717e81d8:localhost:node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155:Node 4851ebd5-4b9b-432a-8c85-20d8cd5f4155 :: true

2022-07-01 22:33:12 | [Mutex] waiting for: [received:nodes:5f8573f4-d794-4480-aff8-07f60f469140:localhost]

2022-07-01 22:33:12 | [Mutex] received everything.

2022-07-01 22:33:12 | [Mutex] isItemNotified: received:node:5f8573f4-d794-4480-aff8-07f60f469140:localhost:node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155:Node 4851ebd5-4b9b-432a-8c85-20d8cd5f4155 :: false

createNodes 1.452s
2022-07-01 22:33:09 |

2022-07-01 22:33:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:09 | ------------------------------------

2022-07-01 22:33:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4851ebd5-4b9b-432a-8c85-20d8cd5f4155</title></pubsub></data>

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

2022-07-01 22:33:10 | [Mutex] waiting for: [received:nodes:54995ee7-e12e-47dd-b01f-ef49e890c13a:localhost]

2022-07-01 22:33:10 | [Mutex] received everything.

2022-07-01 22:33:10 | [Mutex] isItemNotified: received:node:54995ee7-e12e-47dd-b01f-ef49e890c13a:localhost:node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155:Node 4851ebd5-4b9b-432a-8c85-20d8cd5f4155 :: true

createSubnodes 1.027s
2022-07-01 22:33:10 |

2022-07-01 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:10 | ------------------------------------

2022-07-01 22:33:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-75595864-dca3-4330-b5fa-a056e31e0254</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 75595864-dca3-4330-b5fa-a056e31e0254</title></pubsub></data>

2022-07-01 22:33:10 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-01 22:33:11 | [Mutex] waiting for: [received:nodes:99145698-d877-4486-b97c-95a23d35287f:localhost]

2022-07-01 22:33:11 | [Mutex] received everything.

2022-07-01 22:33:11 | [Mutex] isItemNotified: received:node:99145698-d877-4486-b97c-95a23d35287f:localhost:node-75595864-dca3-4330-b5fa-a056e31e0254:Node 75595864-dca3-4330-b5fa-a056e31e0254 :: true

deleteNodes 1.023s
2022-07-01 22:33:17 |

2022-07-01 22:33:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:17 | ------------------------------------

2022-07-01 22:33:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-75595864-dca3-4330-b5fa-a056e31e0254</node></data>

2022-07-01 22:33:17 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-01 22:33:18 | [Mutex] waiting for: [received:nodes:7c6fcf38-a09c-4fd1-a47f-a262734ec352:localhost]

2022-07-01 22:33:18 | [Mutex] received everything.

2022-07-01 22:33:18 | [Mutex] isItemNotified: received:node:7c6fcf38-a09c-4fd1-a47f-a262734ec352:localhost:node-75595864-dca3-4330-b5fa-a056e31e0254:Node 75595864-dca3-4330-b5fa-a056e31e0254 :: false

deleteSubnodes 1.159s
2022-07-01 22:33:15 |

2022-07-01 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:15 | ------------------------------------

2022-07-01 22:33:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155</node></data>

2022-07-01 22:33:16 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-01 22:33:17 | [Mutex] waiting for: [received:nodes:ff61abf0-98d1-4414-a16e-7028f076a05b:localhost]

2022-07-01 22:33:17 | [Mutex] waiting for: [received:nodes:ff61abf0-98d1-4414-a16e-7028f076a05b:localhost]

2022-07-01 22:33:17 | [Mutex] received everything.

2022-07-01 22:33:17 | [Mutex] isItemNotified: received:node:ff61abf0-98d1-4414-a16e-7028f076a05b:localhost:node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155:Node 4851ebd5-4b9b-432a-8c85-20d8cd5f4155 :: false

2022-07-01 22:33:17 | [Mutex] waiting for: [received:nodes:f123637d-dc88-4291-8656-f0512366e92d:localhost]

2022-07-01 22:33:17 | [Mutex] received everything.

2022-07-01 22:33:17 | [Mutex] isItemNotified: received:node:f123637d-dc88-4291-8656-f0512366e92d:localhost:node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155:Node 4851ebd5-4b9b-432a-8c85-20d8cd5f4155 :: false

publishItemsToNodes 0.192s
2022-07-01 22:33:13 |

2022-07-01 22:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:13 | ------------------------------------

2022-07-01 22:33:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155</node><item-id>item-55087477-72f8-41e6-93fd-693cca433361</item-id><entry><test>item-55087477-72f8-41e6-93fd-693cca433361</test></entry></data>

2022-07-01 22:33:14 | 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-55087477-72f8-41e6-93fd-693cca433361</value></item-id></result>

2022-07-01 22:33:14 | [Mutex] received everything.

2022-07-01 22:33:14 | [Mutex] isItemNotified: published:item:notifieditem-55087477-72f8-41e6-93fd-693cca433361:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2022-07-01 22:33:14 |

2022-07-01 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:14 | ------------------------------------

2022-07-01 22:33:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155</node><item-id>item-55087477-72f8-41e6-93fd-693cca433361</item-id></data>

2022-07-01 22:33:14 | 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-55087477-72f8-41e6-93fd-693cca433361</value></item-id></result>

2022-07-01 22:33:14 | [Mutex] received everything.

2022-07-01 22:33:14 | [Mutex] isItemNotified: retracted:item:notifieditem-55087477-72f8-41e6-93fd-693cca433361:admin@test-domain.com :: true

retrieveItemsFromNodes 0.263s
2022-07-01 22:33:14 |

2022-07-01 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:14 | ------------------------------------

2022-07-01 22:33:14 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155</node><item-id>item-55087477-72f8-41e6-93fd-693cca433361</item-id></data>

2022-07-01 22:33:14 | 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-4851ebd5-4b9b-432a-8c85-20d8cd5f4155</value></node><item-id label="Item ID" type="text-single"><value>item-55087477-72f8-41e6-93fd-693cca433361</value></item-id><item label="Item" type="text-multi"><value><item id="item-55087477-72f8-41e6-93fd-693cca433361"><test>item-55087477-72f8-41e6-93fd-693cca433361</test></item></value></item></result>

2022-07-01 22:33:14 | [Mutex] notify: [retrieved:item:item-55087477-72f8-41e6-93fd-693cca433361:payload-matches:true:localhost]

2022-07-01 22:33:14 | [Mutex] received everything.

2022-07-01 22:33:14 | [Mutex] isItemNotified: retrieved:item:item-55087477-72f8-41e6-93fd-693cca433361:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-01 22:33:14 |

2022-07-01 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:14 | ------------------------------------

2022-07-01 22:33:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-01 22:33:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-75595864-dca3-4330-b5fa-a056e31e0254</value><value>test</value><value>node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-01 22:33:14 |

2022-07-01 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:14 | ------------------------------------

2022-07-01 22:33:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155)</node-pattern></data>

2022-07-01 22:33:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.158s
2022-07-01 22:33:12 |

2022-07-01 22:33:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:12 | ------------------------------------

2022-07-01 22:33:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-01 22:33:12 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.207s
2022-07-01 22:33:14 |

2022-07-01 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:14 | ------------------------------------

2022-07-01 22:33:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4851ebd5-4b9b-432a-8c85-20d8cd5f4155</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-01 22:33:14 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>