Generated by TestNG with ReportNG at 22:59 PDT on Monday 10 October 2022
root@7c41cec37518 / 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.542s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2022-10-10 23:14:06 |

2022-10-10 23:14:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-10 23:14:06 | ------------------------------------

2022-10-10 23:14:06 | [Mutex] waiting for: [configured:node:node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3:node-cab61c81-8eaa-4282-b900-d04d3ad029f6]

2022-10-10 23:14:06 | [Mutex] received everything.

2022-10-10 23:14:06 | [Mutex] isItemNotified: configured:node:node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3:node-cab61c81-8eaa-4282-b900-d04d3ad029f6 :: true

2022-10-10 23:14:07 | [Mutex] waiting for: [received:nodes:f558dae6-2019-410e-b561-800d5cd832d0:localhost]

2022-10-10 23:14:07 | [Mutex] received everything.

2022-10-10 23:14:07 | [Mutex] isItemNotified: received:node:f558dae6-2019-410e-b561-800d5cd832d0:localhost:node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3:Node 154d254a-d0c1-4e0d-b4d8-dbeaaec487d3 :: true

2022-10-10 23:14:07 | [Mutex] waiting for: [received:nodes:b9e279fe-6281-4488-adc9-9dc29501cb36:localhost]

2022-10-10 23:14:07 | [Mutex] received everything.

2022-10-10 23:14:07 | [Mutex] isItemNotified: received:node:b9e279fe-6281-4488-adc9-9dc29501cb36:localhost:node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3:Node 154d254a-d0c1-4e0d-b4d8-dbeaaec487d3 :: false

createNodes 1.452s
2022-10-10 23:14:03 |

2022-10-10 23:14:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-10 23:14:03 | ------------------------------------

2022-10-10 23:14:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 154d254a-d0c1-4e0d-b4d8-dbeaaec487d3</title></pubsub></data>

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

2022-10-10 23:14:05 | [Mutex] waiting for: [received:nodes:957f7cee-2efc-47ef-a70e-7a0d827b0ab3:localhost]

2022-10-10 23:14:05 | [Mutex] received everything.

2022-10-10 23:14:05 | [Mutex] isItemNotified: received:node:957f7cee-2efc-47ef-a70e-7a0d827b0ab3:localhost:node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3:Node 154d254a-d0c1-4e0d-b4d8-dbeaaec487d3 :: true

createSubnodes 1.024s
2022-10-10 23:14:05 |

2022-10-10 23:14:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-10 23:14:05 | ------------------------------------

2022-10-10 23:14:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cab61c81-8eaa-4282-b900-d04d3ad029f6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cab61c81-8eaa-4282-b900-d04d3ad029f6</title></pubsub></data>

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

2022-10-10 23:14:06 | [Mutex] waiting for: [received:nodes:ff615e05-6884-4927-91ae-016a9afafee7:localhost]

2022-10-10 23:14:06 | [Mutex] received everything.

2022-10-10 23:14:06 | [Mutex] isItemNotified: received:node:ff615e05-6884-4927-91ae-016a9afafee7:localhost:node-cab61c81-8eaa-4282-b900-d04d3ad029f6:Node cab61c81-8eaa-4282-b900-d04d3ad029f6 :: true

deleteNodes 1.016s
2022-10-10 23:14:11 |

2022-10-10 23:14:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-10 23:14:11 | ------------------------------------

2022-10-10 23:14:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cab61c81-8eaa-4282-b900-d04d3ad029f6</node></data>

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

2022-10-10 23:14:12 | [Mutex] waiting for: [received:nodes:9f9dfb6f-1bf1-421f-b82a-33a7de26e07b:localhost]

2022-10-10 23:14:12 | [Mutex] waiting for: [received:nodes:9f9dfb6f-1bf1-421f-b82a-33a7de26e07b:localhost]

2022-10-10 23:14:12 | [Mutex] received everything.

2022-10-10 23:14:12 | [Mutex] isItemNotified: received:node:9f9dfb6f-1bf1-421f-b82a-33a7de26e07b:localhost:node-cab61c81-8eaa-4282-b900-d04d3ad029f6:Node cab61c81-8eaa-4282-b900-d04d3ad029f6 :: false

deleteSubnodes 1.146s
2022-10-10 23:14:10 |

2022-10-10 23:14:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-10 23:14:10 | ------------------------------------

2022-10-10 23:14:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3</node></data>

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

2022-10-10 23:14:11 | [Mutex] waiting for: [received:nodes:8824f8f3-c42d-4b3b-b73a-06d6556b80de:localhost]

2022-10-10 23:14:11 | [Mutex] received everything.

2022-10-10 23:14:11 | [Mutex] isItemNotified: received:node:8824f8f3-c42d-4b3b-b73a-06d6556b80de:localhost:node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3:Node 154d254a-d0c1-4e0d-b4d8-dbeaaec487d3 :: false

2022-10-10 23:14:11 | [Mutex] waiting for: [received:nodes:d4a6d2df-39b9-4270-9332-f7d6372de35a:localhost]

2022-10-10 23:14:11 | [Mutex] received everything.

2022-10-10 23:14:11 | [Mutex] isItemNotified: received:node:d4a6d2df-39b9-4270-9332-f7d6372de35a:localhost:node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3:Node 154d254a-d0c1-4e0d-b4d8-dbeaaec487d3 :: false

publishItemsToNodes 0.180s
2022-10-10 23:14:08 |

2022-10-10 23:14:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-10 23:14:08 | ------------------------------------

2022-10-10 23:14:08 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3</node><item-id>item-c562c126-0bf4-47fe-8f6f-8bb892f85438</item-id><entry><test>item-c562c126-0bf4-47fe-8f6f-8bb892f85438</test></entry></data>

2022-10-10 23:14:08 | 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-c562c126-0bf4-47fe-8f6f-8bb892f85438</value></item-id></result>

2022-10-10 23:14:08 | [Mutex] waiting for: [published:item:notifieditem-c562c126-0bf4-47fe-8f6f-8bb892f85438:admin@test-domain.com]

2022-10-10 23:14:08 | [Mutex] received everything.

2022-10-10 23:14:08 | [Mutex] isItemNotified: published:item:notifieditem-c562c126-0bf4-47fe-8f6f-8bb892f85438:admin@test-domain.com :: true

retractItemsFromNodes 0.275s
2022-10-10 23:14:09 |

2022-10-10 23:14:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-10 23:14:09 | ------------------------------------

2022-10-10 23:14:09 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3</node><item-id>item-c562c126-0bf4-47fe-8f6f-8bb892f85438</item-id></data>

2022-10-10 23:14:09 | 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-c562c126-0bf4-47fe-8f6f-8bb892f85438</value></item-id></result>

2022-10-10 23:14:09 | [Mutex] received everything.

2022-10-10 23:14:09 | [Mutex] isItemNotified: retracted:item:notifieditem-c562c126-0bf4-47fe-8f6f-8bb892f85438:admin@test-domain.com :: true

retrieveItemsFromNodes 0.232s
2022-10-10 23:14:08 |

2022-10-10 23:14:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-10 23:14:08 | ------------------------------------

2022-10-10 23:14:08 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3</node><item-id>item-c562c126-0bf4-47fe-8f6f-8bb892f85438</item-id></data>

2022-10-10 23:14:08 | 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-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3</value></node><item-id label="Item ID" type="text-single"><value>item-c562c126-0bf4-47fe-8f6f-8bb892f85438</value></item-id><item label="Item" type="text-multi"><value><item id="item-c562c126-0bf4-47fe-8f6f-8bb892f85438"><test>item-c562c126-0bf4-47fe-8f6f-8bb892f85438</test></item></value></item></result>

2022-10-10 23:14:08 | [Mutex] notify: [retrieved:item:item-c562c126-0bf4-47fe-8f6f-8bb892f85438:payload-matches:true:localhost]

2022-10-10 23:14:08 | [Mutex] received everything.

2022-10-10 23:14:08 | [Mutex] isItemNotified: retrieved:item:item-c562c126-0bf4-47fe-8f6f-8bb892f85438:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-10-10 23:14:08 |

2022-10-10 23:14:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-10 23:14:08 | ------------------------------------

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

2022-10-10 23:14:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-cab61c81-8eaa-4282-b900-d04d3ad029f6</value><value>node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-10-10 23:14:08 |

2022-10-10 23:14:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-10 23:14:08 | ------------------------------------

2022-10-10 23:14:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3)</node-pattern></data>

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

subscribeNodes 1.129s
2022-10-10 23:14:07 |

2022-10-10 23:14:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-10 23:14:07 | ------------------------------------

2022-10-10 23:14:07 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.227s
2022-10-10 23:14:09 |

2022-10-10 23:14:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-10 23:14:09 | ------------------------------------

2022-10-10 23:14:09 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-154d254a-d0c1-4e0d-b4d8-dbeaaec487d3</node><jids><value>admin@test-domain.com</value></jids></data>

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