Generated by TestNG with ReportNG at 22:51 PDT on Tuesday 06 September 2022
root@7c41cec37518 / 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.547s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.090s
2022-09-06 23:06:58 |

2022-09-06 23:06:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:06:58 | ------------------------------------

2022-09-06 23:06:58 | [Mutex] waiting for: [configured:node:node-4c4a386e-d77a-4737-b29d-bb56757982f1:node-73bae4d8-d849-4634-aae8-857feff00b52]

2022-09-06 23:06:58 | [Mutex] received everything.

2022-09-06 23:06:58 | [Mutex] isItemNotified: configured:node:node-4c4a386e-d77a-4737-b29d-bb56757982f1:node-73bae4d8-d849-4634-aae8-857feff00b52 :: true

2022-09-06 23:06:59 | [Mutex] waiting for: [received:nodes:d76dde60-ce11-4639-aef6-c468d28aaf56:localhost]

2022-09-06 23:06:59 | [Mutex] received everything.

2022-09-06 23:06:59 | [Mutex] isItemNotified: received:node:d76dde60-ce11-4639-aef6-c468d28aaf56:localhost:node-4c4a386e-d77a-4737-b29d-bb56757982f1:Node 4c4a386e-d77a-4737-b29d-bb56757982f1 :: true

2022-09-06 23:06:59 | [Mutex] waiting for: [received:nodes:a9ee97e2-b146-4fbd-94bd-296ec3fdccf7:localhost]

2022-09-06 23:06:59 | [Mutex] waiting for: [received:nodes:a9ee97e2-b146-4fbd-94bd-296ec3fdccf7:localhost]

2022-09-06 23:06:59 | [Mutex] received everything.

2022-09-06 23:06:59 | [Mutex] isItemNotified: received:node:a9ee97e2-b146-4fbd-94bd-296ec3fdccf7:localhost:node-4c4a386e-d77a-4737-b29d-bb56757982f1:Node 4c4a386e-d77a-4737-b29d-bb56757982f1 :: false

createNodes 1.452s
2022-09-06 23:06:56 |

2022-09-06 23:06:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:06:56 | ------------------------------------

2022-09-06 23:06:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4c4a386e-d77a-4737-b29d-bb56757982f1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4c4a386e-d77a-4737-b29d-bb56757982f1</title></pubsub></data>

2022-09-06 23:06:56 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-06 23:06:57 | [Mutex] waiting for: [received:nodes:1e5bf1b7-7f81-4ec7-8d9d-69a93704bc7d:localhost]

2022-09-06 23:06:57 | [Mutex] received everything.

2022-09-06 23:06:57 | [Mutex] isItemNotified: received:node:1e5bf1b7-7f81-4ec7-8d9d-69a93704bc7d:localhost:node-4c4a386e-d77a-4737-b29d-bb56757982f1:Node 4c4a386e-d77a-4737-b29d-bb56757982f1 :: true

createSubnodes 1.021s
2022-09-06 23:06:57 |

2022-09-06 23:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:06:57 | ------------------------------------

2022-09-06 23:06:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-73bae4d8-d849-4634-aae8-857feff00b52</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 73bae4d8-d849-4634-aae8-857feff00b52</title></pubsub></data>

2022-09-06 23:06:57 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-06 23:06:58 | [Mutex] waiting for: [received:nodes:6078c19a-7831-4fd9-8e80-da6f212a8d03:localhost]

2022-09-06 23:06:58 | [Mutex] waiting for: [received:nodes:6078c19a-7831-4fd9-8e80-da6f212a8d03:localhost]

2022-09-06 23:06:58 | [Mutex] waiting for: [received:nodes:6078c19a-7831-4fd9-8e80-da6f212a8d03:localhost]

2022-09-06 23:06:58 | [Mutex] received everything.

2022-09-06 23:06:58 | [Mutex] isItemNotified: received:node:6078c19a-7831-4fd9-8e80-da6f212a8d03:localhost:node-73bae4d8-d849-4634-aae8-857feff00b52:Node 73bae4d8-d849-4634-aae8-857feff00b52 :: true

deleteNodes 1.016s
2022-09-06 23:07:03 |

2022-09-06 23:07:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:07:03 | ------------------------------------

2022-09-06 23:07:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-73bae4d8-d849-4634-aae8-857feff00b52</node></data>

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

2022-09-06 23:07:04 | [Mutex] waiting for: [received:nodes:4694e1a0-db77-49f8-b7a2-94a28aaa2b71:localhost]

2022-09-06 23:07:04 | [Mutex] received everything.

2022-09-06 23:07:04 | [Mutex] isItemNotified: received:node:4694e1a0-db77-49f8-b7a2-94a28aaa2b71:localhost:node-73bae4d8-d849-4634-aae8-857feff00b52:Node 73bae4d8-d849-4634-aae8-857feff00b52 :: false

deleteSubnodes 1.114s
2022-09-06 23:07:02 |

2022-09-06 23:07:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:07:02 | ------------------------------------

2022-09-06 23:07:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4c4a386e-d77a-4737-b29d-bb56757982f1</node></data>

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

2022-09-06 23:07:03 | [Mutex] waiting for: [received:nodes:9f28211f-995d-41e2-a3a6-3d5cd831a8a0:localhost]

2022-09-06 23:07:03 | [Mutex] waiting for: [received:nodes:9f28211f-995d-41e2-a3a6-3d5cd831a8a0:localhost]

2022-09-06 23:07:03 | [Mutex] waiting for: [received:nodes:9f28211f-995d-41e2-a3a6-3d5cd831a8a0:localhost]

2022-09-06 23:07:03 | [Mutex] received everything.

2022-09-06 23:07:03 | [Mutex] isItemNotified: received:node:9f28211f-995d-41e2-a3a6-3d5cd831a8a0:localhost:node-4c4a386e-d77a-4737-b29d-bb56757982f1:Node 4c4a386e-d77a-4737-b29d-bb56757982f1 :: false

2022-09-06 23:07:03 | [Mutex] waiting for: [received:nodes:932de165-2190-463a-bafa-200e6efb6232:localhost]

2022-09-06 23:07:03 | [Mutex] received everything.

2022-09-06 23:07:03 | [Mutex] isItemNotified: received:node:932de165-2190-463a-bafa-200e6efb6232:localhost:node-4c4a386e-d77a-4737-b29d-bb56757982f1:Node 4c4a386e-d77a-4737-b29d-bb56757982f1 :: false

publishItemsToNodes 0.181s
2022-09-06 23:07:00 |

2022-09-06 23:07:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:07:00 | ------------------------------------

2022-09-06 23:07:00 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4c4a386e-d77a-4737-b29d-bb56757982f1</node><item-id>item-d0943c4a-adb9-45f3-a3f7-612070f4f690</item-id><entry><test>item-d0943c4a-adb9-45f3-a3f7-612070f4f690</test></entry></data>

2022-09-06 23:07:00 | 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-d0943c4a-adb9-45f3-a3f7-612070f4f690</value></item-id></result>

2022-09-06 23:07:00 | [Mutex] received everything.

2022-09-06 23:07:00 | [Mutex] isItemNotified: published:item:notifieditem-d0943c4a-adb9-45f3-a3f7-612070f4f690:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2022-09-06 23:07:01 |

2022-09-06 23:07:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:07:01 | ------------------------------------

2022-09-06 23:07:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4c4a386e-d77a-4737-b29d-bb56757982f1</node><item-id>item-d0943c4a-adb9-45f3-a3f7-612070f4f690</item-id></data>

2022-09-06 23:07:01 | 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-d0943c4a-adb9-45f3-a3f7-612070f4f690</value></item-id></result>

2022-09-06 23:07:01 | [Mutex] received everything.

2022-09-06 23:07:01 | [Mutex] isItemNotified: retracted:item:notifieditem-d0943c4a-adb9-45f3-a3f7-612070f4f690:admin@test-domain.com :: true

retrieveItemsFromNodes 0.319s
2022-09-06 23:07:00 |

2022-09-06 23:07:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:07:00 | ------------------------------------

2022-09-06 23:07:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4c4a386e-d77a-4737-b29d-bb56757982f1</node><item-id>item-d0943c4a-adb9-45f3-a3f7-612070f4f690</item-id></data>

2022-09-06 23:07:01 | 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-4c4a386e-d77a-4737-b29d-bb56757982f1</value></node><item-id type="text-single" label="Item ID"><value>item-d0943c4a-adb9-45f3-a3f7-612070f4f690</value></item-id><item type="text-multi" label="Item"><value><item id="item-d0943c4a-adb9-45f3-a3f7-612070f4f690"><test>item-d0943c4a-adb9-45f3-a3f7-612070f4f690</test></item></value></item></result>

2022-09-06 23:07:01 | [Mutex] notify: [retrieved:item:item-d0943c4a-adb9-45f3-a3f7-612070f4f690:payload-matches:true:localhost]

2022-09-06 23:07:01 | [Mutex] received everything.

2022-09-06 23:07:01 | [Mutex] isItemNotified: retrieved:item:item-d0943c4a-adb9-45f3-a3f7-612070f4f690:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-06 23:07:01 |

2022-09-06 23:07:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:07:01 | ------------------------------------

2022-09-06 23:07:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-09-06 23:07:01 | 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-4c4a386e-d77a-4737-b29d-bb56757982f1</value><value>node-73bae4d8-d849-4634-aae8-857feff00b52</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-06 23:07:01 |

2022-09-06 23:07:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:07:01 | ------------------------------------

2022-09-06 23:07:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4c4a386e-d77a-4737-b29d-bb56757982f1)</node-pattern></data>

2022-09-06 23:07:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.129s
2022-09-06 23:06:59 |

2022-09-06 23:06:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:06:59 | ------------------------------------

2022-09-06 23:06:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4c4a386e-d77a-4737-b29d-bb56757982f1</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-06 23:06:59 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.215s
2022-09-06 23:07:01 |

2022-09-06 23:07:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:07:01 | ------------------------------------

2022-09-06 23:07:01 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4c4a386e-d77a-4737-b29d-bb56757982f1</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-06 23:07:01 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>