Generated by TestNG with ReportNG at 22:19 PDT on Monday 29 August 2022
root@f9c07ffec79b / 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.481s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.085s
2022-08-29 22:33:17 |

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

2022-08-29 22:33:17 | ------------------------------------

2022-08-29 22:33:17 | [Mutex] waiting for: [configured:node:node-e77ca83d-81dc-4946-9b2f-de98e6ef74de:node-a52f2cce-afe1-4aa7-8b63-8feae606af27]

2022-08-29 22:33:18 | [Mutex] received everything.

2022-08-29 22:33:18 | [Mutex] isItemNotified: configured:node:node-e77ca83d-81dc-4946-9b2f-de98e6ef74de:node-a52f2cce-afe1-4aa7-8b63-8feae606af27 :: true

2022-08-29 22:33:19 | [Mutex] waiting for: [received:nodes:6f6664dc-2112-4a49-89ec-cd07e775960f:localhost]

2022-08-29 22:33:19 | [Mutex] received everything.

2022-08-29 22:33:19 | [Mutex] isItemNotified: received:node:6f6664dc-2112-4a49-89ec-cd07e775960f:localhost:node-e77ca83d-81dc-4946-9b2f-de98e6ef74de:Node e77ca83d-81dc-4946-9b2f-de98e6ef74de :: true

2022-08-29 22:33:19 | [Mutex] waiting for: [received:nodes:94344f61-4e02-4ea1-9051-639bfa2de928:localhost]

2022-08-29 22:33:19 | [Mutex] waiting for: [received:nodes:94344f61-4e02-4ea1-9051-639bfa2de928:localhost]

2022-08-29 22:33:19 | [Mutex] waiting for: [received:nodes:94344f61-4e02-4ea1-9051-639bfa2de928:localhost]

2022-08-29 22:33:19 | [Mutex] received everything.

2022-08-29 22:33:19 | [Mutex] isItemNotified: received:node:94344f61-4e02-4ea1-9051-639bfa2de928:localhost:node-e77ca83d-81dc-4946-9b2f-de98e6ef74de:Node e77ca83d-81dc-4946-9b2f-de98e6ef74de :: false

createNodes 1.409s
2022-08-29 22:33:15 |

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

2022-08-29 22:33:15 | ------------------------------------

2022-08-29 22:33:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e77ca83d-81dc-4946-9b2f-de98e6ef74de</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e77ca83d-81dc-4946-9b2f-de98e6ef74de</title></pubsub></data>

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

2022-08-29 22:33:16 | [Mutex] waiting for: [received:nodes:e1a4818b-76c5-455f-830e-db035863a3d3:localhost]

2022-08-29 22:33:16 | [Mutex] waiting for: [received:nodes:e1a4818b-76c5-455f-830e-db035863a3d3:localhost]

2022-08-29 22:33:16 | [Mutex] received everything.

2022-08-29 22:33:16 | [Mutex] isItemNotified: received:node:e1a4818b-76c5-455f-830e-db035863a3d3:localhost:node-e77ca83d-81dc-4946-9b2f-de98e6ef74de:Node e77ca83d-81dc-4946-9b2f-de98e6ef74de :: true

createSubnodes 1.021s
2022-08-29 22:33:16 |

2022-08-29 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:16 | ------------------------------------

2022-08-29 22:33:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a52f2cce-afe1-4aa7-8b63-8feae606af27</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a52f2cce-afe1-4aa7-8b63-8feae606af27</title></pubsub></data>

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

2022-08-29 22:33:17 | [Mutex] waiting for: [received:nodes:97e4c3f9-026b-4174-871a-3a3c91926fc4:localhost]

2022-08-29 22:33:17 | [Mutex] waiting for: [received:nodes:97e4c3f9-026b-4174-871a-3a3c91926fc4:localhost]

2022-08-29 22:33:17 | [Mutex] waiting for: [received:nodes:97e4c3f9-026b-4174-871a-3a3c91926fc4:localhost]

2022-08-29 22:33:17 | [Mutex] waiting for: [received:nodes:97e4c3f9-026b-4174-871a-3a3c91926fc4:localhost]

2022-08-29 22:33:17 | [Mutex] received everything.

2022-08-29 22:33:17 | [Mutex] isItemNotified: received:node:97e4c3f9-026b-4174-871a-3a3c91926fc4:localhost:node-a52f2cce-afe1-4aa7-8b63-8feae606af27:Node a52f2cce-afe1-4aa7-8b63-8feae606af27 :: true

deleteNodes 1.017s
2022-08-29 22:33:23 |

2022-08-29 22:33:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:23 | ------------------------------------

2022-08-29 22:33:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a52f2cce-afe1-4aa7-8b63-8feae606af27</node></data>

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

2022-08-29 22:33:24 | [Mutex] waiting for: [received:nodes:657c31d8-ce92-41c0-b072-3919c3307b34:localhost]

2022-08-29 22:33:24 | [Mutex] waiting for: [received:nodes:657c31d8-ce92-41c0-b072-3919c3307b34:localhost]

2022-08-29 22:33:24 | [Mutex] received everything.

2022-08-29 22:33:24 | [Mutex] isItemNotified: received:node:657c31d8-ce92-41c0-b072-3919c3307b34:localhost:node-a52f2cce-afe1-4aa7-8b63-8feae606af27:Node a52f2cce-afe1-4aa7-8b63-8feae606af27 :: false

deleteSubnodes 1.154s
2022-08-29 22:33:22 |

2022-08-29 22:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:22 | ------------------------------------

2022-08-29 22:33:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e77ca83d-81dc-4946-9b2f-de98e6ef74de</node></data>

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

2022-08-29 22:33:23 | [Mutex] waiting for: [received:nodes:0c42dbbf-1c4a-417a-8ce1-384a29355d5e:localhost]

2022-08-29 22:33:23 | [Mutex] waiting for: [received:nodes:0c42dbbf-1c4a-417a-8ce1-384a29355d5e:localhost]

2022-08-29 22:33:23 | [Mutex] waiting for: [received:nodes:0c42dbbf-1c4a-417a-8ce1-384a29355d5e:localhost]

2022-08-29 22:33:23 | [Mutex] received everything.

2022-08-29 22:33:23 | [Mutex] isItemNotified: received:node:0c42dbbf-1c4a-417a-8ce1-384a29355d5e:localhost:node-e77ca83d-81dc-4946-9b2f-de98e6ef74de:Node e77ca83d-81dc-4946-9b2f-de98e6ef74de :: false

2022-08-29 22:33:23 | [Mutex] waiting for: [received:nodes:2b239e11-1505-4da6-89fd-c01b8ca4f45e:localhost]

2022-08-29 22:33:23 | [Mutex] received everything.

2022-08-29 22:33:23 | [Mutex] isItemNotified: received:node:2b239e11-1505-4da6-89fd-c01b8ca4f45e:localhost:node-e77ca83d-81dc-4946-9b2f-de98e6ef74de:Node e77ca83d-81dc-4946-9b2f-de98e6ef74de :: false

publishItemsToNodes 0.283s
2022-08-29 22:33:20 |

2022-08-29 22:33:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:20 | ------------------------------------

2022-08-29 22:33:20 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e77ca83d-81dc-4946-9b2f-de98e6ef74de</node><item-id>item-d4ed609c-1ec3-4e11-abb0-e1dd07517d5f</item-id><entry><test>item-d4ed609c-1ec3-4e11-abb0-e1dd07517d5f</test></entry></data>

2022-08-29 22:33:20 | 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-d4ed609c-1ec3-4e11-abb0-e1dd07517d5f</value></item-id></result>

2022-08-29 22:33:20 | [Mutex] waiting for: [published:item:notifieditem-d4ed609c-1ec3-4e11-abb0-e1dd07517d5f:admin@test-domain.com]

2022-08-29 22:33:20 | [Mutex] received everything.

2022-08-29 22:33:20 | [Mutex] isItemNotified: published:item:notifieditem-d4ed609c-1ec3-4e11-abb0-e1dd07517d5f:admin@test-domain.com :: true

retractItemsFromNodes 0.275s
2022-08-29 22:33:20 |

2022-08-29 22:33:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:20 | ------------------------------------

2022-08-29 22:33:20 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e77ca83d-81dc-4946-9b2f-de98e6ef74de</node><item-id>item-d4ed609c-1ec3-4e11-abb0-e1dd07517d5f</item-id></data>

2022-08-29 22:33:21 | 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-d4ed609c-1ec3-4e11-abb0-e1dd07517d5f</value></item-id></result>

2022-08-29 22:33:21 | [Mutex] received everything.

2022-08-29 22:33:21 | [Mutex] isItemNotified: retracted:item:notifieditem-d4ed609c-1ec3-4e11-abb0-e1dd07517d5f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.212s
2022-08-29 22:33:20 |

2022-08-29 22:33:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:20 | ------------------------------------

2022-08-29 22:33:20 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e77ca83d-81dc-4946-9b2f-de98e6ef74de</node><item-id>item-d4ed609c-1ec3-4e11-abb0-e1dd07517d5f</item-id></data>

2022-08-29 22:33:20 | 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-e77ca83d-81dc-4946-9b2f-de98e6ef74de</value></node><item-id type="text-single" label="Item ID"><value>item-d4ed609c-1ec3-4e11-abb0-e1dd07517d5f</value></item-id><item type="text-multi" label="Item"><value><item id="item-d4ed609c-1ec3-4e11-abb0-e1dd07517d5f"><test>item-d4ed609c-1ec3-4e11-abb0-e1dd07517d5f</test></item></value></item></result>

2022-08-29 22:33:20 | [Mutex] notify: [retrieved:item:item-d4ed609c-1ec3-4e11-abb0-e1dd07517d5f:payload-matches:true:localhost]

2022-08-29 22:33:20 | [Mutex] received everything.

2022-08-29 22:33:20 | [Mutex] isItemNotified: retrieved:item:item-d4ed609c-1ec3-4e11-abb0-e1dd07517d5f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-29 22:33:20 |

2022-08-29 22:33:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:20 | ------------------------------------

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

2022-08-29 22:33:20 | 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-a52f2cce-afe1-4aa7-8b63-8feae606af27</value><value>node-e77ca83d-81dc-4946-9b2f-de98e6ef74de</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-08-29 22:33:20 |

2022-08-29 22:33:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:20 | ------------------------------------

2022-08-29 22:33:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e77ca83d-81dc-4946-9b2f-de98e6ef74de)</node-pattern></data>

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

subscribeNodes 1.115s
2022-08-29 22:33:19 |

2022-08-29 22:33:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:19 | ------------------------------------

2022-08-29 22:33:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e77ca83d-81dc-4946-9b2f-de98e6ef74de</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-29 22:33:19 | 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-08-29 22:33:21 |

2022-08-29 22:33:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:21 | ------------------------------------

2022-08-29 22:33:21 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e77ca83d-81dc-4946-9b2f-de98e6ef74de</node><jids><value>admin@test-domain.com</value></jids></data>

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