Generated by TestNG with ReportNG at 23:18 PDT on Wednesday 05 July 2023
root@cc7d7fbb25f7 / Java 17.0.6 (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.532s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2023-07-05 23:33:19 |

2023-07-05 23:33:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:33:19 | ------------------------------------

2023-07-05 23:33:19 | [Mutex] waiting for: [configured:node:node-7160a545-f8f1-4950-aee6-e41b1c6e9093:node-8d35812d-23af-4ff2-b562-81399fdec717]

2023-07-05 23:33:19 | [Mutex] received everything.

2023-07-05 23:33:19 | [Mutex] isItemNotified: configured:node:node-7160a545-f8f1-4950-aee6-e41b1c6e9093:node-8d35812d-23af-4ff2-b562-81399fdec717 :: true

2023-07-05 23:33:20 | [Mutex] waiting for: [received:nodes:e01ddb12-67c6-45cb-bba8-087d605245ea:localhost]

2023-07-05 23:33:20 | [Mutex] received everything.

2023-07-05 23:33:20 | [Mutex] isItemNotified: received:node:e01ddb12-67c6-45cb-bba8-087d605245ea:localhost:node-7160a545-f8f1-4950-aee6-e41b1c6e9093:Node 7160a545-f8f1-4950-aee6-e41b1c6e9093 :: true

2023-07-05 23:33:20 | [Mutex] waiting for: [received:nodes:b2df8b30-4ac2-4b1e-8553-da1c4f844b5f:localhost]

2023-07-05 23:33:20 | [Mutex] waiting for: [received:nodes:b2df8b30-4ac2-4b1e-8553-da1c4f844b5f:localhost]

2023-07-05 23:33:20 | [Mutex] waiting for: [received:nodes:b2df8b30-4ac2-4b1e-8553-da1c4f844b5f:localhost]

2023-07-05 23:33:20 | [Mutex] received everything.

2023-07-05 23:33:20 | [Mutex] isItemNotified: received:node:b2df8b30-4ac2-4b1e-8553-da1c4f844b5f:localhost:node-7160a545-f8f1-4950-aee6-e41b1c6e9093:Node 7160a545-f8f1-4950-aee6-e41b1c6e9093 :: false

createNodes 1.440s
2023-07-05 23:33:16 |

2023-07-05 23:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:33:16 | ------------------------------------

2023-07-05 23:33:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7160a545-f8f1-4950-aee6-e41b1c6e9093</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7160a545-f8f1-4950-aee6-e41b1c6e9093</title></pubsub></data>

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

2023-07-05 23:33:18 | [Mutex] waiting for: [received:nodes:1474f6a4-a717-4a76-bf22-c19a2afc04d4:localhost]

2023-07-05 23:33:18 | [Mutex] waiting for: [received:nodes:1474f6a4-a717-4a76-bf22-c19a2afc04d4:localhost]

2023-07-05 23:33:18 | [Mutex] waiting for: [received:nodes:1474f6a4-a717-4a76-bf22-c19a2afc04d4:localhost]

2023-07-05 23:33:18 | [Mutex] received everything.

2023-07-05 23:33:18 | [Mutex] isItemNotified: received:node:1474f6a4-a717-4a76-bf22-c19a2afc04d4:localhost:node-7160a545-f8f1-4950-aee6-e41b1c6e9093:Node 7160a545-f8f1-4950-aee6-e41b1c6e9093 :: true

createSubnodes 1.020s
2023-07-05 23:33:18 |

2023-07-05 23:33:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:33:18 | ------------------------------------

2023-07-05 23:33:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8d35812d-23af-4ff2-b562-81399fdec717</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8d35812d-23af-4ff2-b562-81399fdec717</title></pubsub></data>

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

2023-07-05 23:33:19 | [Mutex] waiting for: [received:nodes:219d91d6-173e-428e-8304-7cd0cdb121dc:localhost]

2023-07-05 23:33:19 | [Mutex] waiting for: [received:nodes:219d91d6-173e-428e-8304-7cd0cdb121dc:localhost]

2023-07-05 23:33:19 | [Mutex] waiting for: [received:nodes:219d91d6-173e-428e-8304-7cd0cdb121dc:localhost]

2023-07-05 23:33:19 | [Mutex] waiting for: [received:nodes:219d91d6-173e-428e-8304-7cd0cdb121dc:localhost]

2023-07-05 23:33:19 | [Mutex] received everything.

2023-07-05 23:33:19 | [Mutex] isItemNotified: received:node:219d91d6-173e-428e-8304-7cd0cdb121dc:localhost:node-8d35812d-23af-4ff2-b562-81399fdec717:Node 8d35812d-23af-4ff2-b562-81399fdec717 :: true

deleteNodes 1.017s
2023-07-05 23:33:24 |

2023-07-05 23:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:33:24 | ------------------------------------

2023-07-05 23:33:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8d35812d-23af-4ff2-b562-81399fdec717</node></data>

2023-07-05 23:33:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-05 23:33:25 | [Mutex] waiting for: [received:nodes:578ac1fa-cdf2-4972-b5c6-abb9c2dd7e6a:localhost]

2023-07-05 23:33:25 | [Mutex] waiting for: [received:nodes:578ac1fa-cdf2-4972-b5c6-abb9c2dd7e6a:localhost]

2023-07-05 23:33:25 | [Mutex] waiting for: [received:nodes:578ac1fa-cdf2-4972-b5c6-abb9c2dd7e6a:localhost]

2023-07-05 23:33:25 | [Mutex] received everything.

2023-07-05 23:33:25 | [Mutex] isItemNotified: received:node:578ac1fa-cdf2-4972-b5c6-abb9c2dd7e6a:localhost:node-8d35812d-23af-4ff2-b562-81399fdec717:Node 8d35812d-23af-4ff2-b562-81399fdec717 :: false

deleteSubnodes 1.114s
2023-07-05 23:33:23 |

2023-07-05 23:33:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:33:23 | ------------------------------------

2023-07-05 23:33:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7160a545-f8f1-4950-aee6-e41b1c6e9093</node></data>

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

2023-07-05 23:33:24 | [Mutex] waiting for: [received:nodes:a53970eb-fd91-4980-8edf-8b0848ec8997:localhost]

2023-07-05 23:33:24 | [Mutex] waiting for: [received:nodes:a53970eb-fd91-4980-8edf-8b0848ec8997:localhost]

2023-07-05 23:33:24 | [Mutex] waiting for: [received:nodes:a53970eb-fd91-4980-8edf-8b0848ec8997:localhost]

2023-07-05 23:33:24 | [Mutex] waiting for: [received:nodes:a53970eb-fd91-4980-8edf-8b0848ec8997:localhost]

2023-07-05 23:33:24 | [Mutex] received everything.

2023-07-05 23:33:24 | [Mutex] isItemNotified: received:node:a53970eb-fd91-4980-8edf-8b0848ec8997:localhost:node-7160a545-f8f1-4950-aee6-e41b1c6e9093:Node 7160a545-f8f1-4950-aee6-e41b1c6e9093 :: false

2023-07-05 23:33:24 | [Mutex] waiting for: [received:nodes:0c3adf8a-3912-4879-a020-eff43e6e2d3a:localhost]

2023-07-05 23:33:24 | [Mutex] received everything.

2023-07-05 23:33:24 | [Mutex] isItemNotified: received:node:0c3adf8a-3912-4879-a020-eff43e6e2d3a:localhost:node-7160a545-f8f1-4950-aee6-e41b1c6e9093:Node 7160a545-f8f1-4950-aee6-e41b1c6e9093 :: false

publishItemsToNodes 0.294s
2023-07-05 23:33:21 |

2023-07-05 23:33:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:33:21 | ------------------------------------

2023-07-05 23:33:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7160a545-f8f1-4950-aee6-e41b1c6e9093</node><item-id>item-17caaf14-5690-43db-8099-bce44058e494</item-id><entry><test>item-17caaf14-5690-43db-8099-bce44058e494</test></entry></data>

2023-07-05 23:33:21 | 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-17caaf14-5690-43db-8099-bce44058e494</value></item-id></result>

2023-07-05 23:33:21 | [Mutex] waiting for: [published:item:notifieditem-17caaf14-5690-43db-8099-bce44058e494:admin@test-domain.com]

2023-07-05 23:33:21 | [Mutex] received everything.

2023-07-05 23:33:21 | [Mutex] isItemNotified: published:item:notifieditem-17caaf14-5690-43db-8099-bce44058e494:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2023-07-05 23:33:22 |

2023-07-05 23:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:33:22 | ------------------------------------

2023-07-05 23:33:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7160a545-f8f1-4950-aee6-e41b1c6e9093</node><item-id>item-17caaf14-5690-43db-8099-bce44058e494</item-id></data>

2023-07-05 23:33:22 | 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-17caaf14-5690-43db-8099-bce44058e494</value></item-id></result>

2023-07-05 23:33:22 | [Mutex] waiting for: [retracted:item:notifieditem-17caaf14-5690-43db-8099-bce44058e494:admin@test-domain.com]

2023-07-05 23:33:22 | [Mutex] received everything.

2023-07-05 23:33:22 | [Mutex] isItemNotified: retracted:item:notifieditem-17caaf14-5690-43db-8099-bce44058e494:admin@test-domain.com :: true

retrieveItemsFromNodes 0.204s
2023-07-05 23:33:21 |

2023-07-05 23:33:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:33:21 | ------------------------------------

2023-07-05 23:33:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7160a545-f8f1-4950-aee6-e41b1c6e9093</node><item-id>item-17caaf14-5690-43db-8099-bce44058e494</item-id></data>

2023-07-05 23:33:22 | 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-7160a545-f8f1-4950-aee6-e41b1c6e9093</value></node><item-id label="Item ID" type="text-single"><value>item-17caaf14-5690-43db-8099-bce44058e494</value></item-id><item label="Item" type="text-multi"><value><item id="item-17caaf14-5690-43db-8099-bce44058e494"><test>item-17caaf14-5690-43db-8099-bce44058e494</test></item></value></item></result>

2023-07-05 23:33:22 | [Mutex] notify: [retrieved:item:item-17caaf14-5690-43db-8099-bce44058e494:payload-matches:true:localhost]

2023-07-05 23:33:22 | [Mutex] received everything.

2023-07-05 23:33:22 | [Mutex] isItemNotified: retrieved:item:item-17caaf14-5690-43db-8099-bce44058e494:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2023-07-05 23:33:22 |

2023-07-05 23:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:33:22 | ------------------------------------

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

2023-07-05 23:33:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-7160a545-f8f1-4950-aee6-e41b1c6e9093</value><value>test</value><value>node-8d35812d-23af-4ff2-b562-81399fdec717</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2023-07-05 23:33:22 |

2023-07-05 23:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:33:22 | ------------------------------------

2023-07-05 23:33:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7160a545-f8f1-4950-aee6-e41b1c6e9093)</node-pattern></data>

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

subscribeNodes 1.144s
2023-07-05 23:33:20 |

2023-07-05 23:33:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:33:20 | ------------------------------------

2023-07-05 23:33:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7160a545-f8f1-4950-aee6-e41b1c6e9093</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.232s
2023-07-05 23:33:22 |

2023-07-05 23:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:33:22 | ------------------------------------

2023-07-05 23:33:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7160a545-f8f1-4950-aee6-e41b1c6e9093</node><jids><value>admin@test-domain.com</value></jids></data>

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