Generated by TestNG with ReportNG at 22:15 PDT on Thursday 04 May 2023
root@1512af24e4a5 / 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.315s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2023-05-04 22:29:46 |

2023-05-04 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:29:46 | ------------------------------------

2023-05-04 22:29:46 | [Mutex] waiting for: [configured:node:node-3f835e16-f886-4c1c-a16a-7399466cb875:node-d06f62be-ea85-4b0b-977f-3cc833de2c12]

2023-05-04 22:29:46 | [Mutex] received everything.

2023-05-04 22:29:46 | [Mutex] isItemNotified: configured:node:node-3f835e16-f886-4c1c-a16a-7399466cb875:node-d06f62be-ea85-4b0b-977f-3cc833de2c12 :: true

2023-05-04 22:29:47 | [Mutex] waiting for: [received:nodes:a23ff450-f87a-4e50-b332-b332b61ac54b:localhost]

2023-05-04 22:29:47 | [Mutex] received everything.

2023-05-04 22:29:47 | [Mutex] isItemNotified: received:node:a23ff450-f87a-4e50-b332-b332b61ac54b:localhost:node-3f835e16-f886-4c1c-a16a-7399466cb875:Node 3f835e16-f886-4c1c-a16a-7399466cb875 :: true

2023-05-04 22:29:47 | [Mutex] waiting for: [received:nodes:36045b53-7667-4a5f-bec2-ad31bda5912d:localhost]

2023-05-04 22:29:47 | [Mutex] waiting for: [received:nodes:36045b53-7667-4a5f-bec2-ad31bda5912d:localhost]

2023-05-04 22:29:47 | [Mutex] waiting for: [received:nodes:36045b53-7667-4a5f-bec2-ad31bda5912d:localhost]

2023-05-04 22:29:47 | [Mutex] received everything.

2023-05-04 22:29:47 | [Mutex] isItemNotified: received:node:36045b53-7667-4a5f-bec2-ad31bda5912d:localhost:node-3f835e16-f886-4c1c-a16a-7399466cb875:Node 3f835e16-f886-4c1c-a16a-7399466cb875 :: false

createNodes 1.387s
2023-05-04 22:29:43 |

2023-05-04 22:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:29:43 | ------------------------------------

2023-05-04 22:29:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3f835e16-f886-4c1c-a16a-7399466cb875</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3f835e16-f886-4c1c-a16a-7399466cb875</title></pubsub></data>

2023-05-04 22:29:44 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-05-04 22:29:45 | [Mutex] waiting for: [received:nodes:4f77a627-8a69-4453-9da1-4153d2aefd65:localhost]

2023-05-04 22:29:45 | [Mutex] waiting for: [received:nodes:4f77a627-8a69-4453-9da1-4153d2aefd65:localhost]

2023-05-04 22:29:45 | [Mutex] waiting for: [received:nodes:4f77a627-8a69-4453-9da1-4153d2aefd65:localhost]

2023-05-04 22:29:45 | [Mutex] waiting for: [received:nodes:4f77a627-8a69-4453-9da1-4153d2aefd65:localhost]

2023-05-04 22:29:45 | [Mutex] received everything.

2023-05-04 22:29:45 | [Mutex] isItemNotified: received:node:4f77a627-8a69-4453-9da1-4153d2aefd65:localhost:node-3f835e16-f886-4c1c-a16a-7399466cb875:Node 3f835e16-f886-4c1c-a16a-7399466cb875 :: true

createSubnodes 1.027s
2023-05-04 22:29:45 |

2023-05-04 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:29:45 | ------------------------------------

2023-05-04 22:29:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d06f62be-ea85-4b0b-977f-3cc833de2c12</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d06f62be-ea85-4b0b-977f-3cc833de2c12</title></pubsub></data>

2023-05-04 22:29:45 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-05-04 22:29:46 | [Mutex] waiting for: [received:nodes:8a81b1bc-d26c-40d4-b518-81341b91805f:localhost]

2023-05-04 22:29:46 | [Mutex] waiting for: [received:nodes:8a81b1bc-d26c-40d4-b518-81341b91805f:localhost]

2023-05-04 22:29:46 | [Mutex] waiting for: [received:nodes:8a81b1bc-d26c-40d4-b518-81341b91805f:localhost]

2023-05-04 22:29:46 | [Mutex] waiting for: [received:nodes:8a81b1bc-d26c-40d4-b518-81341b91805f:localhost]

2023-05-04 22:29:46 | [Mutex] waiting for: [received:nodes:8a81b1bc-d26c-40d4-b518-81341b91805f:localhost]

2023-05-04 22:29:46 | [Mutex] received everything.

2023-05-04 22:29:46 | [Mutex] isItemNotified: received:node:8a81b1bc-d26c-40d4-b518-81341b91805f:localhost:node-d06f62be-ea85-4b0b-977f-3cc833de2c12:Node d06f62be-ea85-4b0b-977f-3cc833de2c12 :: true

deleteNodes 1.016s
2023-05-04 22:29:51 |

2023-05-04 22:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:29:51 | ------------------------------------

2023-05-04 22:29:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d06f62be-ea85-4b0b-977f-3cc833de2c12</node></data>

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

2023-05-04 22:29:52 | [Mutex] waiting for: [received:nodes:036c8a91-c6cc-4f73-b7fc-a8671a7d2ef3:localhost]

2023-05-04 22:29:52 | [Mutex] waiting for: [received:nodes:036c8a91-c6cc-4f73-b7fc-a8671a7d2ef3:localhost]

2023-05-04 22:29:52 | [Mutex] waiting for: [received:nodes:036c8a91-c6cc-4f73-b7fc-a8671a7d2ef3:localhost]

2023-05-04 22:29:52 | [Mutex] received everything.

2023-05-04 22:29:52 | [Mutex] isItemNotified: received:node:036c8a91-c6cc-4f73-b7fc-a8671a7d2ef3:localhost:node-d06f62be-ea85-4b0b-977f-3cc833de2c12:Node d06f62be-ea85-4b0b-977f-3cc833de2c12 :: false

deleteSubnodes 1.161s
2023-05-04 22:29:50 |

2023-05-04 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:29:50 | ------------------------------------

2023-05-04 22:29:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3f835e16-f886-4c1c-a16a-7399466cb875</node></data>

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

2023-05-04 22:29:51 | [Mutex] waiting for: [received:nodes:6073d79e-9e92-495f-857e-87bbe2a60de7:localhost]

2023-05-04 22:29:51 | [Mutex] received everything.

2023-05-04 22:29:51 | [Mutex] isItemNotified: received:node:6073d79e-9e92-495f-857e-87bbe2a60de7:localhost:node-3f835e16-f886-4c1c-a16a-7399466cb875:Node 3f835e16-f886-4c1c-a16a-7399466cb875 :: false

2023-05-04 22:29:51 | [Mutex] waiting for: [received:nodes:37ba496e-b066-450b-80d8-127a41cdadc3:localhost]

2023-05-04 22:29:51 | [Mutex] received everything.

2023-05-04 22:29:51 | [Mutex] isItemNotified: received:node:37ba496e-b066-450b-80d8-127a41cdadc3:localhost:node-3f835e16-f886-4c1c-a16a-7399466cb875:Node 3f835e16-f886-4c1c-a16a-7399466cb875 :: false

publishItemsToNodes 0.173s
2023-05-04 22:29:48 |

2023-05-04 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:29:48 | ------------------------------------

2023-05-04 22:29:48 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3f835e16-f886-4c1c-a16a-7399466cb875</node><item-id>item-ec52f2d0-f782-4c3c-a12a-438c5913af54</item-id><entry><test>item-ec52f2d0-f782-4c3c-a12a-438c5913af54</test></entry></data>

2023-05-04 22:29:48 | 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-ec52f2d0-f782-4c3c-a12a-438c5913af54</value></item-id></result>

2023-05-04 22:29:48 | [Mutex] waiting for: [published:item:notifieditem-ec52f2d0-f782-4c3c-a12a-438c5913af54:admin@test-domain.com]

2023-05-04 22:29:48 | [Mutex] received everything.

2023-05-04 22:29:48 | [Mutex] isItemNotified: published:item:notifieditem-ec52f2d0-f782-4c3c-a12a-438c5913af54:admin@test-domain.com :: true

retractItemsFromNodes 0.270s
2023-05-04 22:29:49 |

2023-05-04 22:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:29:49 | ------------------------------------

2023-05-04 22:29:49 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3f835e16-f886-4c1c-a16a-7399466cb875</node><item-id>item-ec52f2d0-f782-4c3c-a12a-438c5913af54</item-id></data>

2023-05-04 22:29:49 | 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-ec52f2d0-f782-4c3c-a12a-438c5913af54</value></item-id></result>

2023-05-04 22:29:49 | [Mutex] waiting for: [retracted:item:notifieditem-ec52f2d0-f782-4c3c-a12a-438c5913af54:admin@test-domain.com]

2023-05-04 22:29:49 | [Mutex] received everything.

2023-05-04 22:29:49 | [Mutex] isItemNotified: retracted:item:notifieditem-ec52f2d0-f782-4c3c-a12a-438c5913af54:admin@test-domain.com :: true

retrieveItemsFromNodes 0.221s
2023-05-04 22:29:48 |

2023-05-04 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:29:48 | ------------------------------------

2023-05-04 22:29:48 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3f835e16-f886-4c1c-a16a-7399466cb875</node><item-id>item-ec52f2d0-f782-4c3c-a12a-438c5913af54</item-id></data>

2023-05-04 22:29:48 | 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-3f835e16-f886-4c1c-a16a-7399466cb875</value></node><item-id type="text-single" label="Item ID"><value>item-ec52f2d0-f782-4c3c-a12a-438c5913af54</value></item-id><item type="text-multi" label="Item"><value><item id="item-ec52f2d0-f782-4c3c-a12a-438c5913af54"><test>item-ec52f2d0-f782-4c3c-a12a-438c5913af54</test></item></value></item></result>

2023-05-04 22:29:48 | [Mutex] notify: [retrieved:item:item-ec52f2d0-f782-4c3c-a12a-438c5913af54:payload-matches:true:localhost]

2023-05-04 22:29:48 | [Mutex] received everything.

2023-05-04 22:29:48 | [Mutex] isItemNotified: retrieved:item:item-ec52f2d0-f782-4c3c-a12a-438c5913af54:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-05-04 22:29:48 |

2023-05-04 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:29:48 | ------------------------------------

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

2023-05-04 22:29:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-3f835e16-f886-4c1c-a16a-7399466cb875</value><value>test</value><value>node-d06f62be-ea85-4b0b-977f-3cc833de2c12</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-05-04 22:29:49 |

2023-05-04 22:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:29:49 | ------------------------------------

2023-05-04 22:29:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3f835e16-f886-4c1c-a16a-7399466cb875)</node-pattern></data>

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

subscribeNodes 1.104s
2023-05-04 22:29:47 |

2023-05-04 22:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:29:47 | ------------------------------------

2023-05-04 22:29:47 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3f835e16-f886-4c1c-a16a-7399466cb875</node><jids><value>admin@test-domain.com</value></jids></data>

2023-05-04 22:29:47 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.204s
2023-05-04 22:29:49 |

2023-05-04 22:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:29:49 | ------------------------------------

2023-05-04 22:29:49 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3f835e16-f886-4c1c-a16a-7399466cb875</node><jids><value>admin@test-domain.com</value></jids></data>

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