Generated by TestNG with ReportNG at 07:40 PST on Wednesday 16 February 2022
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.517s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2022-02-16 07:55:57 |

2022-02-16 07:55:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 07:55:57 | ------------------------------------

2022-02-16 07:55:57 | [Mutex] waiting for: [configured:node:node-bf3747dd-4885-42f3-95a9-4c75f12d89d6:node-b5272216-a693-449d-b051-57348d5081c0]

2022-02-16 07:55:57 | [Mutex] received everything.

2022-02-16 07:55:57 | [Mutex] isItemNotified: configured:node:node-bf3747dd-4885-42f3-95a9-4c75f12d89d6:node-b5272216-a693-449d-b051-57348d5081c0 :: true

2022-02-16 07:55:58 | [Mutex] waiting for: [received:nodes:c7006e5e-dc6c-4769-85fe-812967618958:localhost]

2022-02-16 07:55:58 | [Mutex] received everything.

2022-02-16 07:55:58 | [Mutex] isItemNotified: received:node:c7006e5e-dc6c-4769-85fe-812967618958:localhost:node-bf3747dd-4885-42f3-95a9-4c75f12d89d6:Node bf3747dd-4885-42f3-95a9-4c75f12d89d6 :: true

2022-02-16 07:55:58 | [Mutex] waiting for: [received:nodes:a00c2c2c-6e8b-476d-8c94-cf9441d34711:localhost]

2022-02-16 07:55:58 | [Mutex] received everything.

2022-02-16 07:55:58 | [Mutex] isItemNotified: received:node:a00c2c2c-6e8b-476d-8c94-cf9441d34711:localhost:node-bf3747dd-4885-42f3-95a9-4c75f12d89d6:Node bf3747dd-4885-42f3-95a9-4c75f12d89d6 :: false

createNodes 1.561s
2022-02-16 07:55:54 |

2022-02-16 07:55:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 07:55:54 | ------------------------------------

2022-02-16 07:55:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bf3747dd-4885-42f3-95a9-4c75f12d89d6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bf3747dd-4885-42f3-95a9-4c75f12d89d6</title></pubsub></data>

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

2022-02-16 07:55:56 | [Mutex] waiting for: [received:nodes:a0d84769-4c4f-4cc1-9bb4-88463cae459d:localhost]

2022-02-16 07:55:56 | [Mutex] received everything.

2022-02-16 07:55:56 | [Mutex] isItemNotified: received:node:a0d84769-4c4f-4cc1-9bb4-88463cae459d:localhost:node-bf3747dd-4885-42f3-95a9-4c75f12d89d6:Node bf3747dd-4885-42f3-95a9-4c75f12d89d6 :: true

createSubnodes 1.062s
2022-02-16 07:55:56 |

2022-02-16 07:55:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 07:55:56 | ------------------------------------

2022-02-16 07:55:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b5272216-a693-449d-b051-57348d5081c0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b5272216-a693-449d-b051-57348d5081c0</title></pubsub></data>

2022-02-16 07:55:56 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-16 07:55:57 | [Mutex] waiting for: [received:nodes:5ae76a93-4ba4-4725-a3a5-715ed13b5d6a:localhost]

2022-02-16 07:55:57 | [Mutex] received everything.

2022-02-16 07:55:57 | [Mutex] isItemNotified: received:node:5ae76a93-4ba4-4725-a3a5-715ed13b5d6a:localhost:node-b5272216-a693-449d-b051-57348d5081c0:Node b5272216-a693-449d-b051-57348d5081c0 :: true

deleteNodes 1.025s
2022-02-16 07:56:03 |

2022-02-16 07:56:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 07:56:03 | ------------------------------------

2022-02-16 07:56:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b5272216-a693-449d-b051-57348d5081c0</node></data>

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

2022-02-16 07:56:04 | [Mutex] waiting for: [received:nodes:0b437885-44f4-4c8c-aa55-ba0053c48faf:localhost]

2022-02-16 07:56:04 | [Mutex] received everything.

2022-02-16 07:56:04 | [Mutex] isItemNotified: received:node:0b437885-44f4-4c8c-aa55-ba0053c48faf:localhost:node-b5272216-a693-449d-b051-57348d5081c0:Node b5272216-a693-449d-b051-57348d5081c0 :: false

deleteSubnodes 1.167s
2022-02-16 07:56:02 |

2022-02-16 07:56:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 07:56:02 | ------------------------------------

2022-02-16 07:56:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bf3747dd-4885-42f3-95a9-4c75f12d89d6</node></data>

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

2022-02-16 07:56:03 | [Mutex] waiting for: [received:nodes:67a56749-f73e-4b44-8543-f66aba1ccc2d:localhost]

2022-02-16 07:56:03 | [Mutex] received everything.

2022-02-16 07:56:03 | [Mutex] isItemNotified: received:node:67a56749-f73e-4b44-8543-f66aba1ccc2d:localhost:node-bf3747dd-4885-42f3-95a9-4c75f12d89d6:Node bf3747dd-4885-42f3-95a9-4c75f12d89d6 :: false

2022-02-16 07:56:03 | [Mutex] waiting for: [received:nodes:673dd8fb-6914-4353-8ff4-d10f6c412095:localhost]

2022-02-16 07:56:03 | [Mutex] received everything.

2022-02-16 07:56:03 | [Mutex] isItemNotified: received:node:673dd8fb-6914-4353-8ff4-d10f6c412095:localhost:node-bf3747dd-4885-42f3-95a9-4c75f12d89d6:Node bf3747dd-4885-42f3-95a9-4c75f12d89d6 :: false

publishItemsToNodes 0.287s
2022-02-16 07:55:59 |

2022-02-16 07:55:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 07:55:59 | ------------------------------------

2022-02-16 07:55:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-bf3747dd-4885-42f3-95a9-4c75f12d89d6</node><item-id>item-c7cbc380-2e34-488c-b512-d4ccc520508c</item-id><entry><test>item-c7cbc380-2e34-488c-b512-d4ccc520508c</test></entry></data>

2022-02-16 07:56:00 | 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-c7cbc380-2e34-488c-b512-d4ccc520508c</value></item-id></result>

2022-02-16 07:56:00 | [Mutex] received everything.

2022-02-16 07:56:00 | [Mutex] isItemNotified: published:item:notifieditem-c7cbc380-2e34-488c-b512-d4ccc520508c:admin@test-domain.com :: true

retractItemsFromNodes 0.295s
2022-02-16 07:56:00 |

2022-02-16 07:56:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 07:56:00 | ------------------------------------

2022-02-16 07:56:00 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-bf3747dd-4885-42f3-95a9-4c75f12d89d6</node><item-id>item-c7cbc380-2e34-488c-b512-d4ccc520508c</item-id></data>

2022-02-16 07:56:00 | 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-c7cbc380-2e34-488c-b512-d4ccc520508c</value></item-id></result>

2022-02-16 07:56:00 | [Mutex] received everything.

2022-02-16 07:56:00 | [Mutex] isItemNotified: retracted:item:notifieditem-c7cbc380-2e34-488c-b512-d4ccc520508c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.313s
2022-02-16 07:56:00 |

2022-02-16 07:56:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 07:56:00 | ------------------------------------

2022-02-16 07:56:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-bf3747dd-4885-42f3-95a9-4c75f12d89d6</node><item-id>item-c7cbc380-2e34-488c-b512-d4ccc520508c</item-id></data>

2022-02-16 07:56:00 | 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-bf3747dd-4885-42f3-95a9-4c75f12d89d6</value></node><item-id type="text-single" label="Item ID"><value>item-c7cbc380-2e34-488c-b512-d4ccc520508c</value></item-id><item type="text-multi" label="Item"><value><item id="item-c7cbc380-2e34-488c-b512-d4ccc520508c"><test>item-c7cbc380-2e34-488c-b512-d4ccc520508c</test></item></value></item></result>

2022-02-16 07:56:00 | [Mutex] notify: [retrieved:item:item-c7cbc380-2e34-488c-b512-d4ccc520508c:payload-matches:true:localhost]

2022-02-16 07:56:00 | [Mutex] received everything.

2022-02-16 07:56:00 | [Mutex] isItemNotified: retrieved:item:item-c7cbc380-2e34-488c-b512-d4ccc520508c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.057s
2022-02-16 07:56:00 |

2022-02-16 07:56:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 07:56:00 | ------------------------------------

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

2022-02-16 07:56:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-b5272216-a693-449d-b051-57348d5081c0</value><value>test</value><value>node-bf3747dd-4885-42f3-95a9-4c75f12d89d6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-02-16 07:56:00 |

2022-02-16 07:56:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 07:56:00 | ------------------------------------

2022-02-16 07:56:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bf3747dd-4885-42f3-95a9-4c75f12d89d6)</node-pattern></data>

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

subscribeNodes 1.168s
2022-02-16 07:55:58 |

2022-02-16 07:55:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 07:55:58 | ------------------------------------

2022-02-16 07:55:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-bf3747dd-4885-42f3-95a9-4c75f12d89d6</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-16 07:55:58 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.347s
2022-02-16 07:56:00 |

2022-02-16 07:56:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 07:56:00 | ------------------------------------

2022-02-16 07:56:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-bf3747dd-4885-42f3-95a9-4c75f12d89d6</node><jids><value>admin@test-domain.com</value></jids></data>

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