Generated by TestNG with ReportNG at 22:18 PDT on Wednesday 17 August 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.664s

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

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

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

2022-08-17 22:33:03 | [Mutex] waiting for: [configured:node:node-2425ca6f-3696-4af3-a215-6d6b9af7eb45:node-e7f7fa54-6956-4bd5-be4c-1146abeaa802]

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

2022-08-17 22:33:03 | [Mutex] isItemNotified: configured:node:node-2425ca6f-3696-4af3-a215-6d6b9af7eb45:node-e7f7fa54-6956-4bd5-be4c-1146abeaa802 :: true

2022-08-17 22:33:04 | [Mutex] waiting for: [received:nodes:19e47e13-aa1d-463d-8c4f-f4fd7975dca5:localhost]

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

2022-08-17 22:33:04 | [Mutex] isItemNotified: received:node:19e47e13-aa1d-463d-8c4f-f4fd7975dca5:localhost:node-2425ca6f-3696-4af3-a215-6d6b9af7eb45:Node 2425ca6f-3696-4af3-a215-6d6b9af7eb45 :: true

2022-08-17 22:33:04 | [Mutex] waiting for: [received:nodes:f4d0c09f-2e5b-4aa5-a312-ba5271d13af4:localhost]

2022-08-17 22:33:04 | [Mutex] waiting for: [received:nodes:f4d0c09f-2e5b-4aa5-a312-ba5271d13af4:localhost]

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

2022-08-17 22:33:04 | [Mutex] isItemNotified: received:node:f4d0c09f-2e5b-4aa5-a312-ba5271d13af4:localhost:node-2425ca6f-3696-4af3-a215-6d6b9af7eb45:Node 2425ca6f-3696-4af3-a215-6d6b9af7eb45 :: false

createNodes 1.501s
2022-08-17 22:33:01 |

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

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

2022-08-17 22:33:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2425ca6f-3696-4af3-a215-6d6b9af7eb45</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2425ca6f-3696-4af3-a215-6d6b9af7eb45</title></pubsub></data>

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

2022-08-17 22:33:02 | [Mutex] waiting for: [received:nodes:d36a737e-2694-4c48-ac4c-e5cd80268ced:localhost]

2022-08-17 22:33:02 | [Mutex] waiting for: [received:nodes:d36a737e-2694-4c48-ac4c-e5cd80268ced:localhost]

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

2022-08-17 22:33:02 | [Mutex] isItemNotified: received:node:d36a737e-2694-4c48-ac4c-e5cd80268ced:localhost:node-2425ca6f-3696-4af3-a215-6d6b9af7eb45:Node 2425ca6f-3696-4af3-a215-6d6b9af7eb45 :: true

createSubnodes 1.021s
2022-08-17 22:33:02 |

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

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

2022-08-17 22:33:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e7f7fa54-6956-4bd5-be4c-1146abeaa802</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e7f7fa54-6956-4bd5-be4c-1146abeaa802</title></pubsub></data>

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

2022-08-17 22:33:03 | [Mutex] waiting for: [received:nodes:4031cdbf-1b9d-41df-8d9c-4fe90d06a01f:localhost]

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

2022-08-17 22:33:03 | [Mutex] isItemNotified: received:node:4031cdbf-1b9d-41df-8d9c-4fe90d06a01f:localhost:node-e7f7fa54-6956-4bd5-be4c-1146abeaa802:Node e7f7fa54-6956-4bd5-be4c-1146abeaa802 :: true

deleteNodes 1.016s
2022-08-17 22:33:09 |

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

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

2022-08-17 22:33:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e7f7fa54-6956-4bd5-be4c-1146abeaa802</node></data>

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

2022-08-17 22:33:10 | [Mutex] waiting for: [received:nodes:baacb164-048b-4b47-a4ba-448525d288e2:localhost]

2022-08-17 22:33:10 | [Mutex] waiting for: [received:nodes:baacb164-048b-4b47-a4ba-448525d288e2:localhost]

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

2022-08-17 22:33:10 | [Mutex] isItemNotified: received:node:baacb164-048b-4b47-a4ba-448525d288e2:localhost:node-e7f7fa54-6956-4bd5-be4c-1146abeaa802:Node e7f7fa54-6956-4bd5-be4c-1146abeaa802 :: false

deleteSubnodes 1.133s
2022-08-17 22:33:07 |

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

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

2022-08-17 22:33:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2425ca6f-3696-4af3-a215-6d6b9af7eb45</node></data>

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

2022-08-17 22:33:09 | [Mutex] waiting for: [received:nodes:5d05cf73-6424-4f49-8d31-7dc110364a72:localhost]

2022-08-17 22:33:09 | [Mutex] waiting for: [received:nodes:5d05cf73-6424-4f49-8d31-7dc110364a72:localhost]

2022-08-17 22:33:09 | [Mutex] waiting for: [received:nodes:5d05cf73-6424-4f49-8d31-7dc110364a72:localhost]

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

2022-08-17 22:33:09 | [Mutex] isItemNotified: received:node:5d05cf73-6424-4f49-8d31-7dc110364a72:localhost:node-2425ca6f-3696-4af3-a215-6d6b9af7eb45:Node 2425ca6f-3696-4af3-a215-6d6b9af7eb45 :: false

2022-08-17 22:33:09 | [Mutex] waiting for: [received:nodes:6c0c18fe-c8c0-4a19-8f56-6e4a47c92854:localhost]

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

2022-08-17 22:33:09 | [Mutex] isItemNotified: received:node:6c0c18fe-c8c0-4a19-8f56-6e4a47c92854:localhost:node-2425ca6f-3696-4af3-a215-6d6b9af7eb45:Node 2425ca6f-3696-4af3-a215-6d6b9af7eb45 :: false

publishItemsToNodes 0.230s
2022-08-17 22:33:05 |

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

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

2022-08-17 22:33:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2425ca6f-3696-4af3-a215-6d6b9af7eb45</node><item-id>item-4a673412-1924-42c2-8f8d-1652efaf28ba</item-id><entry><test>item-4a673412-1924-42c2-8f8d-1652efaf28ba</test></entry></data>

2022-08-17 22:33:06 | 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-4a673412-1924-42c2-8f8d-1652efaf28ba</value></item-id></result>

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

2022-08-17 22:33:06 | [Mutex] isItemNotified: published:item:notifieditem-4a673412-1924-42c2-8f8d-1652efaf28ba:admin@test-domain.com :: true

retractItemsFromNodes 0.323s
2022-08-17 22:33:06 |

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

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

2022-08-17 22:33:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2425ca6f-3696-4af3-a215-6d6b9af7eb45</node><item-id>item-4a673412-1924-42c2-8f8d-1652efaf28ba</item-id></data>

2022-08-17 22:33:06 | 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-4a673412-1924-42c2-8f8d-1652efaf28ba</value></item-id></result>

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

2022-08-17 22:33:06 | [Mutex] isItemNotified: retracted:item:notifieditem-4a673412-1924-42c2-8f8d-1652efaf28ba:admin@test-domain.com :: true

retrieveItemsFromNodes 0.248s
2022-08-17 22:33:06 |

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

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

2022-08-17 22:33:06 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2425ca6f-3696-4af3-a215-6d6b9af7eb45</node><item-id>item-4a673412-1924-42c2-8f8d-1652efaf28ba</item-id></data>

2022-08-17 22:33:06 | 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-2425ca6f-3696-4af3-a215-6d6b9af7eb45</value></node><item-id type="text-single" label="Item ID"><value>item-4a673412-1924-42c2-8f8d-1652efaf28ba</value></item-id><item type="text-multi" label="Item"><value><item id="item-4a673412-1924-42c2-8f8d-1652efaf28ba"><test>item-4a673412-1924-42c2-8f8d-1652efaf28ba</test></item></value></item></result>

2022-08-17 22:33:06 | [Mutex] notify: [retrieved:item:item-4a673412-1924-42c2-8f8d-1652efaf28ba:payload-matches:true:localhost]

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

2022-08-17 22:33:06 | [Mutex] isItemNotified: retrieved:item:item-4a673412-1924-42c2-8f8d-1652efaf28ba:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-17 22:33:06 |

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

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

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

2022-08-17 22:33:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-e7f7fa54-6956-4bd5-be4c-1146abeaa802</value><value>test</value><value>node-2425ca6f-3696-4af3-a215-6d6b9af7eb45</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.061s
2022-08-17 22:33:06 |

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

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

2022-08-17 22:33:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2425ca6f-3696-4af3-a215-6d6b9af7eb45)</node-pattern></data>

2022-08-17 22:33:06 | 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-17 22:33:04 |

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

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

2022-08-17 22:33:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2425ca6f-3696-4af3-a215-6d6b9af7eb45</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-17 22:33:04 | 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
2022-08-17 22:33:06 |

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

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

2022-08-17 22:33:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2425ca6f-3696-4af3-a215-6d6b9af7eb45</node><jids><value>admin@test-domain.com</value></jids></data>

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