Generated by TestNG with ReportNG at 22:32 CLST on jueves 15 diciembre 2022
wojtek@atlantiscity.local / Java 17.0.5 (Eclipse Adoptium) / Mac OS X 13.0.1 (aarch64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 8,285s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1,101s
2022-12-15 22:46:24 |

2022-12-15 22:46:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 22:46:24 | ------------------------------------

2022-12-15 22:46:24 | [Mutex] waiting for: [configured:node:node-84b56d41-45ff-44ac-9361-ed4e143dbd42:node-646556d0-4618-4388-a3d6-4cce09778533]

2022-12-15 22:46:24 | [Mutex] received everything.

2022-12-15 22:46:24 | [Mutex] isItemNotified: configured:node:node-84b56d41-45ff-44ac-9361-ed4e143dbd42:node-646556d0-4618-4388-a3d6-4cce09778533 :: true

2022-12-15 22:46:25 | [Mutex] waiting for: [received:nodes:99f103b4-d63c-44da-90e0-104b0c78b63f:localhost]

2022-12-15 22:46:25 | [Mutex] received everything.

2022-12-15 22:46:25 | [Mutex] isItemNotified: received:node:99f103b4-d63c-44da-90e0-104b0c78b63f:localhost:node-84b56d41-45ff-44ac-9361-ed4e143dbd42:Node 84b56d41-45ff-44ac-9361-ed4e143dbd42 :: true

2022-12-15 22:46:25 | [Mutex] waiting for: [received:nodes:6279247d-31c6-45c6-845f-6e8b3644a12f:localhost]

2022-12-15 22:46:25 | [Mutex] waiting for: [received:nodes:6279247d-31c6-45c6-845f-6e8b3644a12f:localhost]

2022-12-15 22:46:25 | [Mutex] received everything.

2022-12-15 22:46:25 | [Mutex] isItemNotified: received:node:6279247d-31c6-45c6-845f-6e8b3644a12f:localhost:node-84b56d41-45ff-44ac-9361-ed4e143dbd42:Node 84b56d41-45ff-44ac-9361-ed4e143dbd42 :: false

createNodes 1,265s
2022-12-15 22:46:21 |

2022-12-15 22:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 22:46:21 | ------------------------------------

2022-12-15 22:46:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-84b56d41-45ff-44ac-9361-ed4e143dbd42</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 84b56d41-45ff-44ac-9361-ed4e143dbd42</title></pubsub></data>

2022-12-15 22:46:21 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-15 22:46:22 | [Mutex] waiting for: [received:nodes:77c0ef44-6fee-4bac-83d8-7f7b04434ae9:localhost]

2022-12-15 22:46:22 | [Mutex] waiting for: [received:nodes:77c0ef44-6fee-4bac-83d8-7f7b04434ae9:localhost]

2022-12-15 22:46:22 | [Mutex] received everything.

2022-12-15 22:46:22 | [Mutex] isItemNotified: received:node:77c0ef44-6fee-4bac-83d8-7f7b04434ae9:localhost:node-84b56d41-45ff-44ac-9361-ed4e143dbd42:Node 84b56d41-45ff-44ac-9361-ed4e143dbd42 :: true

createSubnodes 1,061s
2022-12-15 22:46:22 |

2022-12-15 22:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 22:46:22 | ------------------------------------

2022-12-15 22:46:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-646556d0-4618-4388-a3d6-4cce09778533</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 646556d0-4618-4388-a3d6-4cce09778533</title></pubsub></data>

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

2022-12-15 22:46:24 | [Mutex] waiting for: [received:nodes:70a88f11-1d63-4e68-bec6-9d263862f36e:localhost]

2022-12-15 22:46:24 | [Mutex] received everything.

2022-12-15 22:46:24 | [Mutex] isItemNotified: received:node:70a88f11-1d63-4e68-bec6-9d263862f36e:localhost:node-646556d0-4618-4388-a3d6-4cce09778533:Node 646556d0-4618-4388-a3d6-4cce09778533 :: true

deleteNodes 1,063s
2022-12-15 22:46:28 |

2022-12-15 22:46:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 22:46:28 | ------------------------------------

2022-12-15 22:46:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-646556d0-4618-4388-a3d6-4cce09778533</node></data>

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

2022-12-15 22:46:29 | [Mutex] waiting for: [received:nodes:30c1c784-71e7-44fb-acbe-e226bbb3d7ff:localhost]

2022-12-15 22:46:29 | [Mutex] received everything.

2022-12-15 22:46:29 | [Mutex] isItemNotified: received:node:30c1c784-71e7-44fb-acbe-e226bbb3d7ff:localhost:node-646556d0-4618-4388-a3d6-4cce09778533:Node 646556d0-4618-4388-a3d6-4cce09778533 :: false

deleteSubnodes 1,129s
2022-12-15 22:46:27 |

2022-12-15 22:46:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 22:46:27 | ------------------------------------

2022-12-15 22:46:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-84b56d41-45ff-44ac-9361-ed4e143dbd42</node></data>

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

2022-12-15 22:46:28 | [Mutex] waiting for: [received:nodes:2109b80d-1916-4ec6-bcdc-aff803e3da1a:localhost]

2022-12-15 22:46:28 | [Mutex] waiting for: [received:nodes:2109b80d-1916-4ec6-bcdc-aff803e3da1a:localhost]

2022-12-15 22:46:28 | [Mutex] received everything.

2022-12-15 22:46:28 | [Mutex] isItemNotified: received:node:2109b80d-1916-4ec6-bcdc-aff803e3da1a:localhost:node-84b56d41-45ff-44ac-9361-ed4e143dbd42:Node 84b56d41-45ff-44ac-9361-ed4e143dbd42 :: false

2022-12-15 22:46:28 | [Mutex] waiting for: [received:nodes:a9c41ad9-2495-4252-a578-f2aefae4555f:localhost]

2022-12-15 22:46:28 | [Mutex] received everything.

2022-12-15 22:46:28 | [Mutex] isItemNotified: received:node:a9c41ad9-2495-4252-a578-f2aefae4555f:localhost:node-84b56d41-45ff-44ac-9361-ed4e143dbd42:Node 84b56d41-45ff-44ac-9361-ed4e143dbd42 :: false

publishItemsToNodes 0,110s
2022-12-15 22:46:26 |

2022-12-15 22:46:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 22:46:26 | ------------------------------------

2022-12-15 22:46:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-84b56d41-45ff-44ac-9361-ed4e143dbd42</node><item-id>item-ae54dc0f-05bf-47bb-99cf-ec44acb32cd3</item-id><entry><test>item-ae54dc0f-05bf-47bb-99cf-ec44acb32cd3</test></entry></data>

2022-12-15 22:46:26 | 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-ae54dc0f-05bf-47bb-99cf-ec44acb32cd3</value></item-id></result>

2022-12-15 22:46:26 | [Mutex] received everything.

2022-12-15 22:46:26 | [Mutex] isItemNotified: published:item:notifieditem-ae54dc0f-05bf-47bb-99cf-ec44acb32cd3:admin@test-domain.com :: true

retractItemsFromNodes 0,082s
2022-12-15 22:46:26 |

2022-12-15 22:46:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 22:46:26 | ------------------------------------

2022-12-15 22:46:26 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-84b56d41-45ff-44ac-9361-ed4e143dbd42</node><item-id>item-ae54dc0f-05bf-47bb-99cf-ec44acb32cd3</item-id></data>

2022-12-15 22:46:26 | 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-ae54dc0f-05bf-47bb-99cf-ec44acb32cd3</value></item-id></result>

2022-12-15 22:46:26 | [Mutex] waiting for: [retracted:item:notifieditem-ae54dc0f-05bf-47bb-99cf-ec44acb32cd3:admin@test-domain.com]

2022-12-15 22:46:26 | [Mutex] received everything.

2022-12-15 22:46:26 | [Mutex] isItemNotified: retracted:item:notifieditem-ae54dc0f-05bf-47bb-99cf-ec44acb32cd3:admin@test-domain.com :: true

retrieveItemsFromNodes 0,048s
2022-12-15 22:46:26 |

2022-12-15 22:46:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 22:46:26 | ------------------------------------

2022-12-15 22:46:26 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-84b56d41-45ff-44ac-9361-ed4e143dbd42</node><item-id>item-ae54dc0f-05bf-47bb-99cf-ec44acb32cd3</item-id></data>

2022-12-15 22:46:26 | 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-84b56d41-45ff-44ac-9361-ed4e143dbd42</value></node><item-id label="Item ID" type="text-single"><value>item-ae54dc0f-05bf-47bb-99cf-ec44acb32cd3</value></item-id><item label="Item" type="text-multi"><value><item id="item-ae54dc0f-05bf-47bb-99cf-ec44acb32cd3"><test>item-ae54dc0f-05bf-47bb-99cf-ec44acb32cd3</test></item></value></item></result>

2022-12-15 22:46:26 | [Mutex] notify: [retrieved:item:item-ae54dc0f-05bf-47bb-99cf-ec44acb32cd3:payload-matches:true:localhost]

2022-12-15 22:46:26 | [Mutex] received everything.

2022-12-15 22:46:26 | [Mutex] isItemNotified: retrieved:item:item-ae54dc0f-05bf-47bb-99cf-ec44acb32cd3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0,007s
2022-12-15 22:46:26 |

2022-12-15 22:46:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 22:46:26 | ------------------------------------

2022-12-15 22:46:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-12-15 22:46:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-646556d0-4618-4388-a3d6-4cce09778533</value><value>test</value><value>node-84b56d41-45ff-44ac-9361-ed4e143dbd42</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0,010s
2022-12-15 22:46:26 |

2022-12-15 22:46:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 22:46:26 | ------------------------------------

2022-12-15 22:46:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-84b56d41-45ff-44ac-9361-ed4e143dbd42)</node-pattern></data>

2022-12-15 22:46:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1,067s
2022-12-15 22:46:25 |

2022-12-15 22:46:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 22:46:25 | ------------------------------------

2022-12-15 22:46:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-84b56d41-45ff-44ac-9361-ed4e143dbd42</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-15 22:46:25 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1,056s
2022-12-15 22:46:26 |

2022-12-15 22:46:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 22:46:26 | ------------------------------------

2022-12-15 22:46:26 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-84b56d41-45ff-44ac-9361-ed4e143dbd42</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-15 22:46:26 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>