Generated by TestNG with ReportNG at 22:47 PDT on Saturday 18 March 2023
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.470s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2023-03-18 23:01:34 |

2023-03-18 23:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 23:01:34 | ------------------------------------

2023-03-18 23:01:34 | [Mutex] waiting for: [configured:node:node-51e265ee-2028-4f23-bf61-96d4b6398898:node-c8405306-5a8c-442f-b029-fa0c2ff410d4]

2023-03-18 23:01:34 | [Mutex] received everything.

2023-03-18 23:01:34 | [Mutex] isItemNotified: configured:node:node-51e265ee-2028-4f23-bf61-96d4b6398898:node-c8405306-5a8c-442f-b029-fa0c2ff410d4 :: true

2023-03-18 23:01:35 | [Mutex] waiting for: [received:nodes:2e466bb1-ba1e-4ed6-9bf3-e0974edba43f:localhost]

2023-03-18 23:01:35 | [Mutex] received everything.

2023-03-18 23:01:35 | [Mutex] isItemNotified: received:node:2e466bb1-ba1e-4ed6-9bf3-e0974edba43f:localhost:node-51e265ee-2028-4f23-bf61-96d4b6398898:Node 51e265ee-2028-4f23-bf61-96d4b6398898 :: true

2023-03-18 23:01:35 | [Mutex] waiting for: [received:nodes:820e6d2f-e974-4b8e-b2ba-1877febb58de:localhost]

2023-03-18 23:01:35 | [Mutex] waiting for: [received:nodes:820e6d2f-e974-4b8e-b2ba-1877febb58de:localhost]

2023-03-18 23:01:35 | [Mutex] waiting for: [received:nodes:820e6d2f-e974-4b8e-b2ba-1877febb58de:localhost]

2023-03-18 23:01:35 | [Mutex] received everything.

2023-03-18 23:01:35 | [Mutex] isItemNotified: received:node:820e6d2f-e974-4b8e-b2ba-1877febb58de:localhost:node-51e265ee-2028-4f23-bf61-96d4b6398898:Node 51e265ee-2028-4f23-bf61-96d4b6398898 :: false

createNodes 1.489s
2023-03-18 23:01:31 |

2023-03-18 23:01:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 23:01:31 | ------------------------------------

2023-03-18 23:01:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-51e265ee-2028-4f23-bf61-96d4b6398898</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 51e265ee-2028-4f23-bf61-96d4b6398898</title></pubsub></data>

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

2023-03-18 23:01:33 | [Mutex] waiting for: [received:nodes:4f5ab6d3-9a69-48f9-9b61-dbaaa9274fd4:localhost]

2023-03-18 23:01:33 | [Mutex] waiting for: [received:nodes:4f5ab6d3-9a69-48f9-9b61-dbaaa9274fd4:localhost]

2023-03-18 23:01:33 | [Mutex] waiting for: [received:nodes:4f5ab6d3-9a69-48f9-9b61-dbaaa9274fd4:localhost]

2023-03-18 23:01:33 | [Mutex] waiting for: [received:nodes:4f5ab6d3-9a69-48f9-9b61-dbaaa9274fd4:localhost]

2023-03-18 23:01:33 | [Mutex] received everything.

2023-03-18 23:01:33 | [Mutex] isItemNotified: received:node:4f5ab6d3-9a69-48f9-9b61-dbaaa9274fd4:localhost:node-51e265ee-2028-4f23-bf61-96d4b6398898:Node 51e265ee-2028-4f23-bf61-96d4b6398898 :: true

createSubnodes 1.034s
2023-03-18 23:01:33 |

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

2023-03-18 23:01:33 | ------------------------------------

2023-03-18 23:01:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c8405306-5a8c-442f-b029-fa0c2ff410d4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c8405306-5a8c-442f-b029-fa0c2ff410d4</title></pubsub></data>

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

2023-03-18 23:01:34 | [Mutex] waiting for: [received:nodes:0aede03a-83d2-4e9e-b912-c62cdb420efb:localhost]

2023-03-18 23:01:34 | [Mutex] waiting for: [received:nodes:0aede03a-83d2-4e9e-b912-c62cdb420efb:localhost]

2023-03-18 23:01:34 | [Mutex] waiting for: [received:nodes:0aede03a-83d2-4e9e-b912-c62cdb420efb:localhost]

2023-03-18 23:01:34 | [Mutex] waiting for: [received:nodes:0aede03a-83d2-4e9e-b912-c62cdb420efb:localhost]

2023-03-18 23:01:34 | [Mutex] received everything.

2023-03-18 23:01:34 | [Mutex] isItemNotified: received:node:0aede03a-83d2-4e9e-b912-c62cdb420efb:localhost:node-c8405306-5a8c-442f-b029-fa0c2ff410d4:Node c8405306-5a8c-442f-b029-fa0c2ff410d4 :: true

deleteNodes 1.018s
2023-03-18 23:01:39 |

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

2023-03-18 23:01:39 | ------------------------------------

2023-03-18 23:01:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c8405306-5a8c-442f-b029-fa0c2ff410d4</node></data>

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

2023-03-18 23:01:40 | [Mutex] waiting for: [received:nodes:ac1e32a9-4061-4ce7-b588-c9e3b644450a:localhost]

2023-03-18 23:01:40 | [Mutex] waiting for: [received:nodes:ac1e32a9-4061-4ce7-b588-c9e3b644450a:localhost]

2023-03-18 23:01:40 | [Mutex] waiting for: [received:nodes:ac1e32a9-4061-4ce7-b588-c9e3b644450a:localhost]

2023-03-18 23:01:40 | [Mutex] received everything.

2023-03-18 23:01:40 | [Mutex] isItemNotified: received:node:ac1e32a9-4061-4ce7-b588-c9e3b644450a:localhost:node-c8405306-5a8c-442f-b029-fa0c2ff410d4:Node c8405306-5a8c-442f-b029-fa0c2ff410d4 :: false

deleteSubnodes 1.126s
2023-03-18 23:01:38 |

2023-03-18 23:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 23:01:38 | ------------------------------------

2023-03-18 23:01:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-51e265ee-2028-4f23-bf61-96d4b6398898</node></data>

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

2023-03-18 23:01:39 | [Mutex] waiting for: [received:nodes:57c52399-c7f0-4b17-871b-f618de27f3e3:localhost]

2023-03-18 23:01:39 | [Mutex] received everything.

2023-03-18 23:01:39 | [Mutex] isItemNotified: received:node:57c52399-c7f0-4b17-871b-f618de27f3e3:localhost:node-51e265ee-2028-4f23-bf61-96d4b6398898:Node 51e265ee-2028-4f23-bf61-96d4b6398898 :: false

2023-03-18 23:01:39 | [Mutex] waiting for: [received:nodes:7bd586ef-5304-45a6-b7e1-a45bc6c2db73:localhost]

2023-03-18 23:01:39 | [Mutex] received everything.

2023-03-18 23:01:39 | [Mutex] isItemNotified: received:node:7bd586ef-5304-45a6-b7e1-a45bc6c2db73:localhost:node-51e265ee-2028-4f23-bf61-96d4b6398898:Node 51e265ee-2028-4f23-bf61-96d4b6398898 :: false

publishItemsToNodes 0.230s
2023-03-18 23:01:36 |

2023-03-18 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 23:01:36 | ------------------------------------

2023-03-18 23:01:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-51e265ee-2028-4f23-bf61-96d4b6398898</node><item-id>item-d57e8406-3052-40c6-825a-73be8a099390</item-id><entry><test>item-d57e8406-3052-40c6-825a-73be8a099390</test></entry></data>

2023-03-18 23:01:36 | 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-d57e8406-3052-40c6-825a-73be8a099390</value></item-id></result>

2023-03-18 23:01:36 | [Mutex] received everything.

2023-03-18 23:01:36 | [Mutex] isItemNotified: published:item:notifieditem-d57e8406-3052-40c6-825a-73be8a099390:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2023-03-18 23:01:36 |

2023-03-18 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 23:01:36 | ------------------------------------

2023-03-18 23:01:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-51e265ee-2028-4f23-bf61-96d4b6398898</node><item-id>item-d57e8406-3052-40c6-825a-73be8a099390</item-id></data>

2023-03-18 23:01:37 | 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-d57e8406-3052-40c6-825a-73be8a099390</value></item-id></result>

2023-03-18 23:01:37 | [Mutex] received everything.

2023-03-18 23:01:37 | [Mutex] isItemNotified: retracted:item:notifieditem-d57e8406-3052-40c6-825a-73be8a099390:admin@test-domain.com :: true

retrieveItemsFromNodes 0.207s
2023-03-18 23:01:36 |

2023-03-18 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 23:01:36 | ------------------------------------

2023-03-18 23:01:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-51e265ee-2028-4f23-bf61-96d4b6398898</node><item-id>item-d57e8406-3052-40c6-825a-73be8a099390</item-id></data>

2023-03-18 23:01:36 | 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-51e265ee-2028-4f23-bf61-96d4b6398898</value></node><item-id label="Item ID" type="text-single"><value>item-d57e8406-3052-40c6-825a-73be8a099390</value></item-id><item label="Item" type="text-multi"><value><item id="item-d57e8406-3052-40c6-825a-73be8a099390"><test>item-d57e8406-3052-40c6-825a-73be8a099390</test></item></value></item></result>

2023-03-18 23:01:36 | [Mutex] notify: [retrieved:item:item-d57e8406-3052-40c6-825a-73be8a099390:payload-matches:true:localhost]

2023-03-18 23:01:36 | [Mutex] received everything.

2023-03-18 23:01:36 | [Mutex] isItemNotified: retrieved:item:item-d57e8406-3052-40c6-825a-73be8a099390:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-18 23:01:36 |

2023-03-18 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 23:01:36 | ------------------------------------

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

2023-03-18 23:01:36 | 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-51e265ee-2028-4f23-bf61-96d4b6398898</value><value>node-c8405306-5a8c-442f-b029-fa0c2ff410d4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.051s
2023-03-18 23:01:36 |

2023-03-18 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 23:01:36 | ------------------------------------

2023-03-18 23:01:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-51e265ee-2028-4f23-bf61-96d4b6398898)</node-pattern></data>

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

subscribeNodes 1.116s
2023-03-18 23:01:35 |

2023-03-18 23:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 23:01:35 | ------------------------------------

2023-03-18 23:01:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-51e265ee-2028-4f23-bf61-96d4b6398898</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.207s
2023-03-18 23:01:37 |

2023-03-18 23:01:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 23:01:37 | ------------------------------------

2023-03-18 23:01:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-51e265ee-2028-4f23-bf61-96d4b6398898</node><jids><value>admin@test-domain.com</value></jids></data>

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