Generated by TestNG with ReportNG at 21:47 PST on Sunday 05 March 2023
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.667s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2023-03-05 22:01:41 |

2023-03-05 22:01:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 22:01:41 | ------------------------------------

2023-03-05 22:01:41 | [Mutex] waiting for: [configured:node:node-e4c3c81e-b41a-45c0-bd4b-183f1887522d:node-3a0ff766-c47d-4c4d-bb07-8ba443741fda]

2023-03-05 22:01:41 | [Mutex] received everything.

2023-03-05 22:01:41 | [Mutex] isItemNotified: configured:node:node-e4c3c81e-b41a-45c0-bd4b-183f1887522d:node-3a0ff766-c47d-4c4d-bb07-8ba443741fda :: true

2023-03-05 22:01:42 | [Mutex] waiting for: [received:nodes:65801eed-12ad-4846-a1c8-59d5adba0111:localhost]

2023-03-05 22:01:42 | [Mutex] received everything.

2023-03-05 22:01:42 | [Mutex] isItemNotified: received:node:65801eed-12ad-4846-a1c8-59d5adba0111:localhost:node-e4c3c81e-b41a-45c0-bd4b-183f1887522d:Node e4c3c81e-b41a-45c0-bd4b-183f1887522d :: true

2023-03-05 22:01:42 | [Mutex] waiting for: [received:nodes:43490dce-a7be-4a1f-a269-d1f975fa23b5:localhost]

2023-03-05 22:01:42 | [Mutex] waiting for: [received:nodes:43490dce-a7be-4a1f-a269-d1f975fa23b5:localhost]

2023-03-05 22:01:42 | [Mutex] waiting for: [received:nodes:43490dce-a7be-4a1f-a269-d1f975fa23b5:localhost]

2023-03-05 22:01:42 | [Mutex] waiting for: [received:nodes:43490dce-a7be-4a1f-a269-d1f975fa23b5:localhost]

2023-03-05 22:01:42 | [Mutex] received everything.

2023-03-05 22:01:42 | [Mutex] isItemNotified: received:node:43490dce-a7be-4a1f-a269-d1f975fa23b5:localhost:node-e4c3c81e-b41a-45c0-bd4b-183f1887522d:Node e4c3c81e-b41a-45c0-bd4b-183f1887522d :: false

createNodes 1.576s
2023-03-05 22:01:39 |

2023-03-05 22:01:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 22:01:39 | ------------------------------------

2023-03-05 22:01:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e4c3c81e-b41a-45c0-bd4b-183f1887522d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e4c3c81e-b41a-45c0-bd4b-183f1887522d</title></pubsub></data>

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

2023-03-05 22:01:40 | [Mutex] waiting for: [received:nodes:24599965-2c6d-4c9c-9557-df605ad7f9c0:localhost]

2023-03-05 22:01:40 | [Mutex] waiting for: [received:nodes:24599965-2c6d-4c9c-9557-df605ad7f9c0:localhost]

2023-03-05 22:01:40 | [Mutex] waiting for: [received:nodes:24599965-2c6d-4c9c-9557-df605ad7f9c0:localhost]

2023-03-05 22:01:40 | [Mutex] received everything.

2023-03-05 22:01:40 | [Mutex] isItemNotified: received:node:24599965-2c6d-4c9c-9557-df605ad7f9c0:localhost:node-e4c3c81e-b41a-45c0-bd4b-183f1887522d:Node e4c3c81e-b41a-45c0-bd4b-183f1887522d :: true

createSubnodes 1.030s
2023-03-05 22:01:40 |

2023-03-05 22:01:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 22:01:40 | ------------------------------------

2023-03-05 22:01:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3a0ff766-c47d-4c4d-bb07-8ba443741fda</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3a0ff766-c47d-4c4d-bb07-8ba443741fda</title></pubsub></data>

2023-03-05 22:01:40 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-05 22:01:41 | [Mutex] waiting for: [received:nodes:7e968978-7495-4a88-9d8b-1ca914d25dca:localhost]

2023-03-05 22:01:41 | [Mutex] waiting for: [received:nodes:7e968978-7495-4a88-9d8b-1ca914d25dca:localhost]

2023-03-05 22:01:41 | [Mutex] waiting for: [received:nodes:7e968978-7495-4a88-9d8b-1ca914d25dca:localhost]

2023-03-05 22:01:41 | [Mutex] waiting for: [received:nodes:7e968978-7495-4a88-9d8b-1ca914d25dca:localhost]

2023-03-05 22:01:41 | [Mutex] received everything.

2023-03-05 22:01:41 | [Mutex] isItemNotified: received:node:7e968978-7495-4a88-9d8b-1ca914d25dca:localhost:node-3a0ff766-c47d-4c4d-bb07-8ba443741fda:Node 3a0ff766-c47d-4c4d-bb07-8ba443741fda :: true

deleteNodes 1.019s
2023-03-05 22:01:47 |

2023-03-05 22:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 22:01:47 | ------------------------------------

2023-03-05 22:01:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3a0ff766-c47d-4c4d-bb07-8ba443741fda</node></data>

2023-03-05 22:01:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-05 22:01:48 | [Mutex] waiting for: [received:nodes:eb064a36-e579-4e8b-b1e2-265576e8787f:localhost]

2023-03-05 22:01:48 | [Mutex] waiting for: [received:nodes:eb064a36-e579-4e8b-b1e2-265576e8787f:localhost]

2023-03-05 22:01:48 | [Mutex] waiting for: [received:nodes:eb064a36-e579-4e8b-b1e2-265576e8787f:localhost]

2023-03-05 22:01:48 | [Mutex] received everything.

2023-03-05 22:01:48 | [Mutex] isItemNotified: received:node:eb064a36-e579-4e8b-b1e2-265576e8787f:localhost:node-3a0ff766-c47d-4c4d-bb07-8ba443741fda:Node 3a0ff766-c47d-4c4d-bb07-8ba443741fda :: false

deleteSubnodes 1.155s
2023-03-05 22:01:46 |

2023-03-05 22:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 22:01:46 | ------------------------------------

2023-03-05 22:01:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e4c3c81e-b41a-45c0-bd4b-183f1887522d</node></data>

2023-03-05 22:01:46 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-05 22:01:47 | [Mutex] waiting for: [received:nodes:4b70bac9-620a-4e8d-9fe1-9a821317b022:localhost]

2023-03-05 22:01:47 | [Mutex] waiting for: [received:nodes:4b70bac9-620a-4e8d-9fe1-9a821317b022:localhost]

2023-03-05 22:01:47 | [Mutex] waiting for: [received:nodes:4b70bac9-620a-4e8d-9fe1-9a821317b022:localhost]

2023-03-05 22:01:47 | [Mutex] received everything.

2023-03-05 22:01:47 | [Mutex] isItemNotified: received:node:4b70bac9-620a-4e8d-9fe1-9a821317b022:localhost:node-e4c3c81e-b41a-45c0-bd4b-183f1887522d:Node e4c3c81e-b41a-45c0-bd4b-183f1887522d :: false

2023-03-05 22:01:47 | [Mutex] waiting for: [received:nodes:d7979db8-93d3-4cce-9209-b3fd662401c7:localhost]

2023-03-05 22:01:47 | [Mutex] received everything.

2023-03-05 22:01:47 | [Mutex] isItemNotified: received:node:d7979db8-93d3-4cce-9209-b3fd662401c7:localhost:node-e4c3c81e-b41a-45c0-bd4b-183f1887522d:Node e4c3c81e-b41a-45c0-bd4b-183f1887522d :: false

publishItemsToNodes 0.222s
2023-03-05 22:01:43 |

2023-03-05 22:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 22:01:43 | ------------------------------------

2023-03-05 22:01:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e4c3c81e-b41a-45c0-bd4b-183f1887522d</node><item-id>item-fbdab027-55e9-482e-910a-6c426ab33fa0</item-id><entry><test>item-fbdab027-55e9-482e-910a-6c426ab33fa0</test></entry></data>

2023-03-05 22:01:44 | 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-fbdab027-55e9-482e-910a-6c426ab33fa0</value></item-id></result>

2023-03-05 22:01:44 | [Mutex] waiting for: [published:item:notifieditem-fbdab027-55e9-482e-910a-6c426ab33fa0:admin@test-domain.com]

2023-03-05 22:01:44 | [Mutex] received everything.

2023-03-05 22:01:44 | [Mutex] isItemNotified: published:item:notifieditem-fbdab027-55e9-482e-910a-6c426ab33fa0:admin@test-domain.com :: true

retractItemsFromNodes 0.296s
2023-03-05 22:01:44 |

2023-03-05 22:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 22:01:44 | ------------------------------------

2023-03-05 22:01:44 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e4c3c81e-b41a-45c0-bd4b-183f1887522d</node><item-id>item-fbdab027-55e9-482e-910a-6c426ab33fa0</item-id></data>

2023-03-05 22:01:44 | 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-fbdab027-55e9-482e-910a-6c426ab33fa0</value></item-id></result>

2023-03-05 22:01:44 | [Mutex] received everything.

2023-03-05 22:01:44 | [Mutex] isItemNotified: retracted:item:notifieditem-fbdab027-55e9-482e-910a-6c426ab33fa0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.263s
2023-03-05 22:01:44 |

2023-03-05 22:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 22:01:44 | ------------------------------------

2023-03-05 22:01:44 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e4c3c81e-b41a-45c0-bd4b-183f1887522d</node><item-id>item-fbdab027-55e9-482e-910a-6c426ab33fa0</item-id></data>

2023-03-05 22:01:44 | 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-e4c3c81e-b41a-45c0-bd4b-183f1887522d</value></node><item-id type="text-single" label="Item ID"><value>item-fbdab027-55e9-482e-910a-6c426ab33fa0</value></item-id><item type="text-multi" label="Item"><value><item id="item-fbdab027-55e9-482e-910a-6c426ab33fa0"><test>item-fbdab027-55e9-482e-910a-6c426ab33fa0</test></item></value></item></result>

2023-03-05 22:01:44 | [Mutex] notify: [retrieved:item:item-fbdab027-55e9-482e-910a-6c426ab33fa0:payload-matches:true:localhost]

2023-03-05 22:01:44 | [Mutex] received everything.

2023-03-05 22:01:44 | [Mutex] isItemNotified: retrieved:item:item-fbdab027-55e9-482e-910a-6c426ab33fa0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-05 22:01:44 |

2023-03-05 22:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 22:01:44 | ------------------------------------

2023-03-05 22:01:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-03-05 22:01:44 | 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-e4c3c81e-b41a-45c0-bd4b-183f1887522d</value><value>node-3a0ff766-c47d-4c4d-bb07-8ba443741fda</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2023-03-05 22:01:44 |

2023-03-05 22:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 22:01:44 | ------------------------------------

2023-03-05 22:01:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e4c3c81e-b41a-45c0-bd4b-183f1887522d)</node-pattern></data>

2023-03-05 22:01:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.100s
2023-03-05 22:01:42 |

2023-03-05 22:01:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 22:01:42 | ------------------------------------

2023-03-05 22:01:42 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e4c3c81e-b41a-45c0-bd4b-183f1887522d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-05 22:01:42 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.211s
2023-03-05 22:01:44 |

2023-03-05 22:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 22:01:44 | ------------------------------------

2023-03-05 22:01:44 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e4c3c81e-b41a-45c0-bd4b-183f1887522d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-05 22:01:45 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>