Generated by TestNG with ReportNG at 00:45 PDT on Friday 29 September 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.362s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2023-09-29 00:59:22 |

2023-09-29 00:59:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:59:22 | ------------------------------------

2023-09-29 00:59:22 | [Mutex] waiting for: [configured:node:node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d:node-297073e5-a4eb-4923-b52b-547fd5713ddb]

2023-09-29 00:59:22 | [Mutex] received everything.

2023-09-29 00:59:22 | [Mutex] isItemNotified: configured:node:node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d:node-297073e5-a4eb-4923-b52b-547fd5713ddb :: true

2023-09-29 00:59:23 | [Mutex] waiting for: [received:nodes:cfb7744d-a09d-44fc-8031-b2191fbf57a4:localhost]

2023-09-29 00:59:23 | [Mutex] received everything.

2023-09-29 00:59:23 | [Mutex] isItemNotified: received:node:cfb7744d-a09d-44fc-8031-b2191fbf57a4:localhost:node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d:Node bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d :: true

2023-09-29 00:59:23 | [Mutex] waiting for: [received:nodes:370a056a-8ea4-424c-99b7-61f68df1ab19:localhost]

2023-09-29 00:59:23 | [Mutex] waiting for: [received:nodes:370a056a-8ea4-424c-99b7-61f68df1ab19:localhost]

2023-09-29 00:59:23 | [Mutex] waiting for: [received:nodes:370a056a-8ea4-424c-99b7-61f68df1ab19:localhost]

2023-09-29 00:59:23 | [Mutex] waiting for: [received:nodes:370a056a-8ea4-424c-99b7-61f68df1ab19:localhost]

2023-09-29 00:59:23 | [Mutex] received everything.

2023-09-29 00:59:23 | [Mutex] isItemNotified: received:node:370a056a-8ea4-424c-99b7-61f68df1ab19:localhost:node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d:Node bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d :: false

createNodes 1.377s
2023-09-29 00:59:19 |

2023-09-29 00:59:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:59:19 | ------------------------------------

2023-09-29 00:59:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d</title></pubsub></data>

2023-09-29 00:59:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-09-29 00:59:21 | [Mutex] waiting for: [received:nodes:f854aca6-4869-4674-a4dd-bb6987776dff:localhost]

2023-09-29 00:59:21 | [Mutex] waiting for: [received:nodes:f854aca6-4869-4674-a4dd-bb6987776dff:localhost]

2023-09-29 00:59:21 | [Mutex] waiting for: [received:nodes:f854aca6-4869-4674-a4dd-bb6987776dff:localhost]

2023-09-29 00:59:21 | [Mutex] received everything.

2023-09-29 00:59:21 | [Mutex] isItemNotified: received:node:f854aca6-4869-4674-a4dd-bb6987776dff:localhost:node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d:Node bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d :: true

createSubnodes 1.023s
2023-09-29 00:59:21 |

2023-09-29 00:59:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:59:21 | ------------------------------------

2023-09-29 00:59:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-297073e5-a4eb-4923-b52b-547fd5713ddb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 297073e5-a4eb-4923-b52b-547fd5713ddb</title></pubsub></data>

2023-09-29 00:59:21 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-09-29 00:59:22 | [Mutex] waiting for: [received:nodes:e970ea51-afb0-4939-9427-4caebc5cc24d:localhost]

2023-09-29 00:59:22 | [Mutex] waiting for: [received:nodes:e970ea51-afb0-4939-9427-4caebc5cc24d:localhost]

2023-09-29 00:59:22 | [Mutex] waiting for: [received:nodes:e970ea51-afb0-4939-9427-4caebc5cc24d:localhost]

2023-09-29 00:59:22 | [Mutex] waiting for: [received:nodes:e970ea51-afb0-4939-9427-4caebc5cc24d:localhost]

2023-09-29 00:59:22 | [Mutex] waiting for: [received:nodes:e970ea51-afb0-4939-9427-4caebc5cc24d:localhost]

2023-09-29 00:59:22 | [Mutex] received everything.

2023-09-29 00:59:22 | [Mutex] isItemNotified: received:node:e970ea51-afb0-4939-9427-4caebc5cc24d:localhost:node-297073e5-a4eb-4923-b52b-547fd5713ddb:Node 297073e5-a4eb-4923-b52b-547fd5713ddb :: true

deleteNodes 1.018s
2023-09-29 00:59:27 |

2023-09-29 00:59:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:59:27 | ------------------------------------

2023-09-29 00:59:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-297073e5-a4eb-4923-b52b-547fd5713ddb</node></data>

2023-09-29 00:59:27 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-09-29 00:59:28 | [Mutex] waiting for: [received:nodes:9b3f68aa-4684-40cb-be1a-85fc3f937648:localhost]

2023-09-29 00:59:28 | [Mutex] waiting for: [received:nodes:9b3f68aa-4684-40cb-be1a-85fc3f937648:localhost]

2023-09-29 00:59:28 | [Mutex] waiting for: [received:nodes:9b3f68aa-4684-40cb-be1a-85fc3f937648:localhost]

2023-09-29 00:59:28 | [Mutex] received everything.

2023-09-29 00:59:28 | [Mutex] isItemNotified: received:node:9b3f68aa-4684-40cb-be1a-85fc3f937648:localhost:node-297073e5-a4eb-4923-b52b-547fd5713ddb:Node 297073e5-a4eb-4923-b52b-547fd5713ddb :: false

deleteSubnodes 1.105s
2023-09-29 00:59:26 |

2023-09-29 00:59:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:59:26 | ------------------------------------

2023-09-29 00:59:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d</node></data>

2023-09-29 00:59:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-09-29 00:59:27 | [Mutex] waiting for: [received:nodes:bcbcaf47-9196-4ffd-8607-760e20727e7e:localhost]

2023-09-29 00:59:27 | [Mutex] waiting for: [received:nodes:bcbcaf47-9196-4ffd-8607-760e20727e7e:localhost]

2023-09-29 00:59:27 | [Mutex] waiting for: [received:nodes:bcbcaf47-9196-4ffd-8607-760e20727e7e:localhost]

2023-09-29 00:59:27 | [Mutex] waiting for: [received:nodes:bcbcaf47-9196-4ffd-8607-760e20727e7e:localhost]

2023-09-29 00:59:27 | [Mutex] received everything.

2023-09-29 00:59:27 | [Mutex] isItemNotified: received:node:bcbcaf47-9196-4ffd-8607-760e20727e7e:localhost:node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d:Node bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d :: false

2023-09-29 00:59:27 | [Mutex] waiting for: [received:nodes:ad72fa03-c16f-4e37-880a-4871bf5b7a87:localhost]

2023-09-29 00:59:27 | [Mutex] received everything.

2023-09-29 00:59:27 | [Mutex] isItemNotified: received:node:ad72fa03-c16f-4e37-880a-4871bf5b7a87:localhost:node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d:Node bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d :: false

publishItemsToNodes 0.242s
2023-09-29 00:59:24 |

2023-09-29 00:59:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:59:24 | ------------------------------------

2023-09-29 00:59:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d</node><item-id>item-614c4f3d-96b9-4cef-b0c1-be143a20c8e9</item-id><entry><test>item-614c4f3d-96b9-4cef-b0c1-be143a20c8e9</test></entry></data>

2023-09-29 00:59:24 | 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-614c4f3d-96b9-4cef-b0c1-be143a20c8e9</value></item-id></result>

2023-09-29 00:59:24 | [Mutex] received everything.

2023-09-29 00:59:24 | [Mutex] isItemNotified: published:item:notifieditem-614c4f3d-96b9-4cef-b0c1-be143a20c8e9:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2023-09-29 00:59:24 |

2023-09-29 00:59:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:59:24 | ------------------------------------

2023-09-29 00:59:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d</node><item-id>item-614c4f3d-96b9-4cef-b0c1-be143a20c8e9</item-id></data>

2023-09-29 00:59:25 | 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-614c4f3d-96b9-4cef-b0c1-be143a20c8e9</value></item-id></result>

2023-09-29 00:59:25 | [Mutex] received everything.

2023-09-29 00:59:25 | [Mutex] isItemNotified: retracted:item:notifieditem-614c4f3d-96b9-4cef-b0c1-be143a20c8e9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.224s
2023-09-29 00:59:24 |

2023-09-29 00:59:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:59:24 | ------------------------------------

2023-09-29 00:59:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d</node><item-id>item-614c4f3d-96b9-4cef-b0c1-be143a20c8e9</item-id></data>

2023-09-29 00:59:24 | 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-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d</value></node><item-id type="text-single" label="Item ID"><value>item-614c4f3d-96b9-4cef-b0c1-be143a20c8e9</value></item-id><item type="text-multi" label="Item"><value><item id="item-614c4f3d-96b9-4cef-b0c1-be143a20c8e9"><test>item-614c4f3d-96b9-4cef-b0c1-be143a20c8e9</test></item></value></item></result>

2023-09-29 00:59:24 | [Mutex] notify: [retrieved:item:item-614c4f3d-96b9-4cef-b0c1-be143a20c8e9:payload-matches:true:localhost]

2023-09-29 00:59:24 | [Mutex] received everything.

2023-09-29 00:59:24 | [Mutex] isItemNotified: retrieved:item:item-614c4f3d-96b9-4cef-b0c1-be143a20c8e9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-09-29 00:59:24 |

2023-09-29 00:59:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:59:24 | ------------------------------------

2023-09-29 00:59:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-09-29 00:59:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d</value><value>test</value><value>node-297073e5-a4eb-4923-b52b-547fd5713ddb</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-09-29 00:59:24 |

2023-09-29 00:59:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:59:24 | ------------------------------------

2023-09-29 00:59:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d)</node-pattern></data>

2023-09-29 00:59:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.110s
2023-09-29 00:59:23 |

2023-09-29 00:59:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:59:23 | ------------------------------------

2023-09-29 00:59:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-09-29 00:59:23 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.195s
2023-09-29 00:59:25 |

2023-09-29 00:59:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:59:25 | ------------------------------------

2023-09-29 00:59:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-bcfe6b5e-07a0-4f02-a6f9-34a5485aea1d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-09-29 00:59:25 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>