Generated by TestNG with ReportNG at 22:30 PDT on Tuesday 11 July 2023
root@8f5c98824654 / 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.448s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.109s
2023-07-11 22:45:03 |

2023-07-11 22:45:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:45:03 | ------------------------------------

2023-07-11 22:45:03 | [Mutex] waiting for: [configured:node:node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d:node-e0f6332b-6e6e-4a0e-a0b5-7c0a524b4389]

2023-07-11 22:45:03 | [Mutex] received everything.

2023-07-11 22:45:03 | [Mutex] isItemNotified: configured:node:node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d:node-e0f6332b-6e6e-4a0e-a0b5-7c0a524b4389 :: true

2023-07-11 22:45:04 | [Mutex] waiting for: [received:nodes:4af8fc64-ce6c-4436-9d86-0b936e3c6c2e:localhost]

2023-07-11 22:45:04 | [Mutex] received everything.

2023-07-11 22:45:04 | [Mutex] isItemNotified: received:node:4af8fc64-ce6c-4436-9d86-0b936e3c6c2e:localhost:node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d:Node 9fc18b61-5eb6-42e3-bb8c-a042cce7624d :: true

2023-07-11 22:45:04 | [Mutex] waiting for: [received:nodes:7789e5d0-16c7-4641-bb2c-7278220f9278:localhost]

2023-07-11 22:45:04 | [Mutex] received everything.

2023-07-11 22:45:04 | [Mutex] isItemNotified: received:node:7789e5d0-16c7-4641-bb2c-7278220f9278:localhost:node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d:Node 9fc18b61-5eb6-42e3-bb8c-a042cce7624d :: false

createNodes 1.507s
2023-07-11 22:45:00 |

2023-07-11 22:45:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:45:00 | ------------------------------------

2023-07-11 22:45:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9fc18b61-5eb6-42e3-bb8c-a042cce7624d</title></pubsub></data>

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

2023-07-11 22:45:02 | [Mutex] waiting for: [received:nodes:f16e1eff-b41b-4477-acd8-cdd7b1767cf3:localhost]

2023-07-11 22:45:02 | [Mutex] waiting for: [received:nodes:f16e1eff-b41b-4477-acd8-cdd7b1767cf3:localhost]

2023-07-11 22:45:02 | [Mutex] waiting for: [received:nodes:f16e1eff-b41b-4477-acd8-cdd7b1767cf3:localhost]

2023-07-11 22:45:02 | [Mutex] received everything.

2023-07-11 22:45:02 | [Mutex] isItemNotified: received:node:f16e1eff-b41b-4477-acd8-cdd7b1767cf3:localhost:node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d:Node 9fc18b61-5eb6-42e3-bb8c-a042cce7624d :: true

createSubnodes 1.027s
2023-07-11 22:45:02 |

2023-07-11 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:45:02 | ------------------------------------

2023-07-11 22:45:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e0f6332b-6e6e-4a0e-a0b5-7c0a524b4389</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e0f6332b-6e6e-4a0e-a0b5-7c0a524b4389</title></pubsub></data>

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

2023-07-11 22:45:03 | [Mutex] waiting for: [received:nodes:3340df03-5040-4e1f-a9e8-69a9db81a303:localhost]

2023-07-11 22:45:03 | [Mutex] waiting for: [received:nodes:3340df03-5040-4e1f-a9e8-69a9db81a303:localhost]

2023-07-11 22:45:03 | [Mutex] waiting for: [received:nodes:3340df03-5040-4e1f-a9e8-69a9db81a303:localhost]

2023-07-11 22:45:03 | [Mutex] received everything.

2023-07-11 22:45:03 | [Mutex] isItemNotified: received:node:3340df03-5040-4e1f-a9e8-69a9db81a303:localhost:node-e0f6332b-6e6e-4a0e-a0b5-7c0a524b4389:Node e0f6332b-6e6e-4a0e-a0b5-7c0a524b4389 :: true

deleteNodes 1.021s
2023-07-11 22:45:08 |

2023-07-11 22:45:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:45:08 | ------------------------------------

2023-07-11 22:45:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e0f6332b-6e6e-4a0e-a0b5-7c0a524b4389</node></data>

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

2023-07-11 22:45:09 | [Mutex] waiting for: [received:nodes:6ae1dc6c-7bd0-41d1-8203-0025fe7227ce:localhost]

2023-07-11 22:45:09 | [Mutex] waiting for: [received:nodes:6ae1dc6c-7bd0-41d1-8203-0025fe7227ce:localhost]

2023-07-11 22:45:09 | [Mutex] received everything.

2023-07-11 22:45:09 | [Mutex] isItemNotified: received:node:6ae1dc6c-7bd0-41d1-8203-0025fe7227ce:localhost:node-e0f6332b-6e6e-4a0e-a0b5-7c0a524b4389:Node e0f6332b-6e6e-4a0e-a0b5-7c0a524b4389 :: false

deleteSubnodes 1.102s
2023-07-11 22:45:07 |

2023-07-11 22:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:45:07 | ------------------------------------

2023-07-11 22:45:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d</node></data>

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

2023-07-11 22:45:08 | [Mutex] waiting for: [received:nodes:4497f131-80b7-45c5-b036-aa0b431aca54:localhost]

2023-07-11 22:45:08 | [Mutex] waiting for: [received:nodes:4497f131-80b7-45c5-b036-aa0b431aca54:localhost]

2023-07-11 22:45:08 | [Mutex] waiting for: [received:nodes:4497f131-80b7-45c5-b036-aa0b431aca54:localhost]

2023-07-11 22:45:08 | [Mutex] received everything.

2023-07-11 22:45:08 | [Mutex] isItemNotified: received:node:4497f131-80b7-45c5-b036-aa0b431aca54:localhost:node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d:Node 9fc18b61-5eb6-42e3-bb8c-a042cce7624d :: false

2023-07-11 22:45:08 | [Mutex] waiting for: [received:nodes:ec42a431-1177-4952-9acc-87d66f792996:localhost]

2023-07-11 22:45:08 | [Mutex] received everything.

2023-07-11 22:45:08 | [Mutex] isItemNotified: received:node:ec42a431-1177-4952-9acc-87d66f792996:localhost:node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d:Node 9fc18b61-5eb6-42e3-bb8c-a042cce7624d :: false

publishItemsToNodes 0.341s
2023-07-11 22:45:05 |

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

2023-07-11 22:45:05 | ------------------------------------

2023-07-11 22:45:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d</node><item-id>item-bb5671ff-582c-44d3-9c97-2def2bbe3179</item-id><entry><test>item-bb5671ff-582c-44d3-9c97-2def2bbe3179</test></entry></data>

2023-07-11 22:45:06 | 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-bb5671ff-582c-44d3-9c97-2def2bbe3179</value></item-id></result>

2023-07-11 22:45:06 | [Mutex] waiting for: [published:item:notifieditem-bb5671ff-582c-44d3-9c97-2def2bbe3179:admin@test-domain.com]

2023-07-11 22:45:06 | [Mutex] received everything.

2023-07-11 22:45:06 | [Mutex] isItemNotified: published:item:notifieditem-bb5671ff-582c-44d3-9c97-2def2bbe3179:admin@test-domain.com :: true

retractItemsFromNodes 0.167s
2023-07-11 22:45:06 |

2023-07-11 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:45:06 | ------------------------------------

2023-07-11 22:45:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d</node><item-id>item-bb5671ff-582c-44d3-9c97-2def2bbe3179</item-id></data>

2023-07-11 22:45:06 | 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-bb5671ff-582c-44d3-9c97-2def2bbe3179</value></item-id></result>

2023-07-11 22:45:06 | [Mutex] waiting for: [retracted:item:notifieditem-bb5671ff-582c-44d3-9c97-2def2bbe3179:admin@test-domain.com]

2023-07-11 22:45:06 | [Mutex] received everything.

2023-07-11 22:45:06 | [Mutex] isItemNotified: retracted:item:notifieditem-bb5671ff-582c-44d3-9c97-2def2bbe3179:admin@test-domain.com :: true

retrieveItemsFromNodes 0.165s
2023-07-11 22:45:06 |

2023-07-11 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:45:06 | ------------------------------------

2023-07-11 22:45:06 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d</node><item-id>item-bb5671ff-582c-44d3-9c97-2def2bbe3179</item-id></data>

2023-07-11 22:45:06 | 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-9fc18b61-5eb6-42e3-bb8c-a042cce7624d</value></node><item-id type="text-single" label="Item ID"><value>item-bb5671ff-582c-44d3-9c97-2def2bbe3179</value></item-id><item type="text-multi" label="Item"><value><item id="item-bb5671ff-582c-44d3-9c97-2def2bbe3179"><test>item-bb5671ff-582c-44d3-9c97-2def2bbe3179</test></item></value></item></result>

2023-07-11 22:45:06 | [Mutex] notify: [retrieved:item:item-bb5671ff-582c-44d3-9c97-2def2bbe3179:payload-matches:true:localhost]

2023-07-11 22:45:06 | [Mutex] received everything.

2023-07-11 22:45:06 | [Mutex] isItemNotified: retrieved:item:item-bb5671ff-582c-44d3-9c97-2def2bbe3179:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-07-11 22:45:06 |

2023-07-11 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:45:06 | ------------------------------------

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

2023-07-11 22:45:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-e0f6332b-6e6e-4a0e-a0b5-7c0a524b4389</value><value>node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-11 22:45:06 |

2023-07-11 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:45:06 | ------------------------------------

2023-07-11 22:45:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d)</node-pattern></data>

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

subscribeNodes 1.124s
2023-07-11 22:45:04 |

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

2023-07-11 22:45:04 | ------------------------------------

2023-07-11 22:45:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.174s
2023-07-11 22:45:06 |

2023-07-11 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:45:06 | ------------------------------------

2023-07-11 22:45:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9fc18b61-5eb6-42e3-bb8c-a042cce7624d</node><jids><value>admin@test-domain.com</value></jids></data>

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