Generated by TestNG with ReportNG at 05:51 PDT on Tuesday 12 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.366s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2022-07-12 06:05:10 |

2022-07-12 06:05:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:10 | ------------------------------------

2022-07-12 06:05:10 | [Mutex] waiting for: [configured:node:node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30:node-f12adbc5-202a-4ae0-8523-89d5991a4347]

2022-07-12 06:05:10 | [Mutex] received everything.

2022-07-12 06:05:10 | [Mutex] isItemNotified: configured:node:node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30:node-f12adbc5-202a-4ae0-8523-89d5991a4347 :: true

2022-07-12 06:05:11 | [Mutex] waiting for: [received:nodes:1dc1fa8c-9e5e-469a-a1ec-d8d382132283:localhost]

2022-07-12 06:05:11 | [Mutex] received everything.

2022-07-12 06:05:11 | [Mutex] isItemNotified: received:node:1dc1fa8c-9e5e-469a-a1ec-d8d382132283:localhost:node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30:Node 4a29dd12-cd3a-442a-9df5-8624dd9e9c30 :: true

2022-07-12 06:05:11 | [Mutex] waiting for: [received:nodes:8dd4dc07-a821-426c-86e9-d0e5f7998487:localhost]

2022-07-12 06:05:11 | [Mutex] received everything.

2022-07-12 06:05:11 | [Mutex] isItemNotified: received:node:8dd4dc07-a821-426c-86e9-d0e5f7998487:localhost:node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30:Node 4a29dd12-cd3a-442a-9df5-8624dd9e9c30 :: false

createNodes 1.379s
2022-07-12 06:05:07 |

2022-07-12 06:05:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:07 | ------------------------------------

2022-07-12 06:05:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4a29dd12-cd3a-442a-9df5-8624dd9e9c30</title></pubsub></data>

2022-07-12 06:05:08 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-12 06:05:09 | [Mutex] waiting for: [received:nodes:c3c1062f-f78b-479d-8f8e-2b51db5228ed:localhost]

2022-07-12 06:05:09 | [Mutex] waiting for: [received:nodes:c3c1062f-f78b-479d-8f8e-2b51db5228ed:localhost]

2022-07-12 06:05:09 | [Mutex] waiting for: [received:nodes:c3c1062f-f78b-479d-8f8e-2b51db5228ed:localhost]

2022-07-12 06:05:09 | [Mutex] received everything.

2022-07-12 06:05:09 | [Mutex] isItemNotified: received:node:c3c1062f-f78b-479d-8f8e-2b51db5228ed:localhost:node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30:Node 4a29dd12-cd3a-442a-9df5-8624dd9e9c30 :: true

createSubnodes 1.027s
2022-07-12 06:05:09 |

2022-07-12 06:05:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:09 | ------------------------------------

2022-07-12 06:05:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f12adbc5-202a-4ae0-8523-89d5991a4347</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f12adbc5-202a-4ae0-8523-89d5991a4347</title></pubsub></data>

2022-07-12 06:05: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-12 06:05:10 | [Mutex] waiting for: [received:nodes:d6642a0f-2ec6-4ae3-a461-4d4c2db779ad:localhost]

2022-07-12 06:05:10 | [Mutex] received everything.

2022-07-12 06:05:10 | [Mutex] isItemNotified: received:node:d6642a0f-2ec6-4ae3-a461-4d4c2db779ad:localhost:node-f12adbc5-202a-4ae0-8523-89d5991a4347:Node f12adbc5-202a-4ae0-8523-89d5991a4347 :: true

deleteNodes 1.020s
2022-07-12 06:05:15 |

2022-07-12 06:05:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:15 | ------------------------------------

2022-07-12 06:05:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f12adbc5-202a-4ae0-8523-89d5991a4347</node></data>

2022-07-12 06:05:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-12 06:05:16 | [Mutex] waiting for: [received:nodes:ce005d7e-499d-43d0-8e82-2a804279ab0f:localhost]

2022-07-12 06:05:16 | [Mutex] received everything.

2022-07-12 06:05:16 | [Mutex] isItemNotified: received:node:ce005d7e-499d-43d0-8e82-2a804279ab0f:localhost:node-f12adbc5-202a-4ae0-8523-89d5991a4347:Node f12adbc5-202a-4ae0-8523-89d5991a4347 :: false

deleteSubnodes 1.150s
2022-07-12 06:05:14 |

2022-07-12 06:05:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:14 | ------------------------------------

2022-07-12 06:05:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30</node></data>

2022-07-12 06:05:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-12 06:05:15 | [Mutex] waiting for: [received:nodes:534e4d2f-267c-4011-83f9-525bb04a0f76:localhost]

2022-07-12 06:05:15 | [Mutex] received everything.

2022-07-12 06:05:15 | [Mutex] isItemNotified: received:node:534e4d2f-267c-4011-83f9-525bb04a0f76:localhost:node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30:Node 4a29dd12-cd3a-442a-9df5-8624dd9e9c30 :: false

2022-07-12 06:05:15 | [Mutex] waiting for: [received:nodes:acda1204-b50f-458f-b9e4-dc03136b7537:localhost]

2022-07-12 06:05:15 | [Mutex] received everything.

2022-07-12 06:05:15 | [Mutex] isItemNotified: received:node:acda1204-b50f-458f-b9e4-dc03136b7537:localhost:node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30:Node 4a29dd12-cd3a-442a-9df5-8624dd9e9c30 :: false

publishItemsToNodes 0.192s
2022-07-12 06:05:12 |

2022-07-12 06:05:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:12 | ------------------------------------

2022-07-12 06:05:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30</node><item-id>item-f472acc5-1705-4a9f-919f-b32809a4b680</item-id><entry><test>item-f472acc5-1705-4a9f-919f-b32809a4b680</test></entry></data>

2022-07-12 06:05:12 | 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-f472acc5-1705-4a9f-919f-b32809a4b680</value></item-id></result>

2022-07-12 06:05:12 | [Mutex] waiting for: [published:item:notifieditem-f472acc5-1705-4a9f-919f-b32809a4b680:admin@test-domain.com]

2022-07-12 06:05:12 | [Mutex] received everything.

2022-07-12 06:05:12 | [Mutex] isItemNotified: published:item:notifieditem-f472acc5-1705-4a9f-919f-b32809a4b680:admin@test-domain.com :: true

retractItemsFromNodes 0.239s
2022-07-12 06:05:12 |

2022-07-12 06:05:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:12 | ------------------------------------

2022-07-12 06:05:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30</node><item-id>item-f472acc5-1705-4a9f-919f-b32809a4b680</item-id></data>

2022-07-12 06:05:13 | 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-f472acc5-1705-4a9f-919f-b32809a4b680</value></item-id></result>

2022-07-12 06:05:13 | [Mutex] received everything.

2022-07-12 06:05:13 | [Mutex] isItemNotified: retracted:item:notifieditem-f472acc5-1705-4a9f-919f-b32809a4b680:admin@test-domain.com :: true

retrieveItemsFromNodes 0.180s
2022-07-12 06:05:12 |

2022-07-12 06:05:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:12 | ------------------------------------

2022-07-12 06:05:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30</node><item-id>item-f472acc5-1705-4a9f-919f-b32809a4b680</item-id></data>

2022-07-12 06:05:12 | 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-4a29dd12-cd3a-442a-9df5-8624dd9e9c30</value></node><item-id type="text-single" label="Item ID"><value>item-f472acc5-1705-4a9f-919f-b32809a4b680</value></item-id><item type="text-multi" label="Item"><value><item id="item-f472acc5-1705-4a9f-919f-b32809a4b680"><test>item-f472acc5-1705-4a9f-919f-b32809a4b680</test></item></value></item></result>

2022-07-12 06:05:12 | [Mutex] notify: [retrieved:item:item-f472acc5-1705-4a9f-919f-b32809a4b680:payload-matches:true:localhost]

2022-07-12 06:05:12 | [Mutex] received everything.

2022-07-12 06:05:12 | [Mutex] isItemNotified: retrieved:item:item-f472acc5-1705-4a9f-919f-b32809a4b680:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2022-07-12 06:05:12 |

2022-07-12 06:05:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:12 | ------------------------------------

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

2022-07-12 06:05:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30</value><value>test</value><value>node-f12adbc5-202a-4ae0-8523-89d5991a4347</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-12 06:05:12 |

2022-07-12 06:05:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:12 | ------------------------------------

2022-07-12 06:05:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30)</node-pattern></data>

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

subscribeNodes 1.103s
2022-07-12 06:05:11 |

2022-07-12 06:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:11 | ------------------------------------

2022-07-12 06:05:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.215s
2022-07-12 06:05:13 |

2022-07-12 06:05:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:13 | ------------------------------------

2022-07-12 06:05:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4a29dd12-cd3a-442a-9df5-8624dd9e9c30</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-12 06:05:13 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>