Generated by TestNG with ReportNG at 22:17 PDT on Tuesday 19 July 2022
root@f9c07ffec79b / 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.437s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2022-07-19 22:31:48 |

2022-07-19 22:31:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:31:48 | ------------------------------------

2022-07-19 22:31:48 | [Mutex] waiting for: [configured:node:node-a9ffa510-6c09-43dd-ab4f-01442cdf01d5:node-f3bdc6e3-5d67-4b36-b8bc-6bacb3bca1e1]

2022-07-19 22:31:48 | [Mutex] received everything.

2022-07-19 22:31:48 | [Mutex] isItemNotified: configured:node:node-a9ffa510-6c09-43dd-ab4f-01442cdf01d5:node-f3bdc6e3-5d67-4b36-b8bc-6bacb3bca1e1 :: true

2022-07-19 22:31:49 | [Mutex] waiting for: [received:nodes:4e1cfc96-4147-4303-a441-27a2f403b97a:localhost]

2022-07-19 22:31:49 | [Mutex] received everything.

2022-07-19 22:31:49 | [Mutex] isItemNotified: received:node:4e1cfc96-4147-4303-a441-27a2f403b97a:localhost:node-a9ffa510-6c09-43dd-ab4f-01442cdf01d5:Node a9ffa510-6c09-43dd-ab4f-01442cdf01d5 :: true

2022-07-19 22:31:49 | [Mutex] waiting for: [received:nodes:c5d7b389-1214-4338-9576-3995326b1778:localhost]

2022-07-19 22:31:49 | [Mutex] waiting for: [received:nodes:c5d7b389-1214-4338-9576-3995326b1778:localhost]

2022-07-19 22:31:49 | [Mutex] received everything.

2022-07-19 22:31:49 | [Mutex] isItemNotified: received:node:c5d7b389-1214-4338-9576-3995326b1778:localhost:node-a9ffa510-6c09-43dd-ab4f-01442cdf01d5:Node a9ffa510-6c09-43dd-ab4f-01442cdf01d5 :: false

createNodes 1.396s
2022-07-19 22:31:45 |

2022-07-19 22:31:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:31:45 | ------------------------------------

2022-07-19 22:31:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a9ffa510-6c09-43dd-ab4f-01442cdf01d5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a9ffa510-6c09-43dd-ab4f-01442cdf01d5</title></pubsub></data>

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

2022-07-19 22:31:47 | [Mutex] waiting for: [received:nodes:781135da-3dba-4597-8915-51d1a4dfed52:localhost]

2022-07-19 22:31:47 | [Mutex] waiting for: [received:nodes:781135da-3dba-4597-8915-51d1a4dfed52:localhost]

2022-07-19 22:31:47 | [Mutex] received everything.

2022-07-19 22:31:47 | [Mutex] isItemNotified: received:node:781135da-3dba-4597-8915-51d1a4dfed52:localhost:node-a9ffa510-6c09-43dd-ab4f-01442cdf01d5:Node a9ffa510-6c09-43dd-ab4f-01442cdf01d5 :: true

createSubnodes 1.024s
2022-07-19 22:31:47 |

2022-07-19 22:31:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:31:47 | ------------------------------------

2022-07-19 22:31:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f3bdc6e3-5d67-4b36-b8bc-6bacb3bca1e1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f3bdc6e3-5d67-4b36-b8bc-6bacb3bca1e1</title></pubsub></data>

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

2022-07-19 22:31:48 | [Mutex] waiting for: [received:nodes:77c67fbf-68ca-4fad-88ef-90f128922658:localhost]

2022-07-19 22:31:48 | [Mutex] waiting for: [received:nodes:77c67fbf-68ca-4fad-88ef-90f128922658:localhost]

2022-07-19 22:31:48 | [Mutex] waiting for: [received:nodes:77c67fbf-68ca-4fad-88ef-90f128922658:localhost]

2022-07-19 22:31:48 | [Mutex] received everything.

2022-07-19 22:31:48 | [Mutex] isItemNotified: received:node:77c67fbf-68ca-4fad-88ef-90f128922658:localhost:node-f3bdc6e3-5d67-4b36-b8bc-6bacb3bca1e1:Node f3bdc6e3-5d67-4b36-b8bc-6bacb3bca1e1 :: true

deleteNodes 1.017s
2022-07-19 22:31:53 |

2022-07-19 22:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:31:53 | ------------------------------------

2022-07-19 22:31:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f3bdc6e3-5d67-4b36-b8bc-6bacb3bca1e1</node></data>

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

2022-07-19 22:31:54 | [Mutex] waiting for: [received:nodes:0a923476-d971-4c74-b873-cbe003a1cba3:localhost]

2022-07-19 22:31:54 | [Mutex] waiting for: [received:nodes:0a923476-d971-4c74-b873-cbe003a1cba3:localhost]

2022-07-19 22:31:54 | [Mutex] received everything.

2022-07-19 22:31:54 | [Mutex] isItemNotified: received:node:0a923476-d971-4c74-b873-cbe003a1cba3:localhost:node-f3bdc6e3-5d67-4b36-b8bc-6bacb3bca1e1:Node f3bdc6e3-5d67-4b36-b8bc-6bacb3bca1e1 :: false

deleteSubnodes 1.112s
2022-07-19 22:31:52 |

2022-07-19 22:31:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:31:52 | ------------------------------------

2022-07-19 22:31:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a9ffa510-6c09-43dd-ab4f-01442cdf01d5</node></data>

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

2022-07-19 22:31:53 | [Mutex] waiting for: [received:nodes:6b9ea854-86c7-4bc9-aa8d-7be9bc848df2:localhost]

2022-07-19 22:31:53 | [Mutex] waiting for: [received:nodes:6b9ea854-86c7-4bc9-aa8d-7be9bc848df2:localhost]

2022-07-19 22:31:53 | [Mutex] waiting for: [received:nodes:6b9ea854-86c7-4bc9-aa8d-7be9bc848df2:localhost]

2022-07-19 22:31:53 | [Mutex] received everything.

2022-07-19 22:31:53 | [Mutex] isItemNotified: received:node:6b9ea854-86c7-4bc9-aa8d-7be9bc848df2:localhost:node-a9ffa510-6c09-43dd-ab4f-01442cdf01d5:Node a9ffa510-6c09-43dd-ab4f-01442cdf01d5 :: false

2022-07-19 22:31:53 | [Mutex] waiting for: [received:nodes:ae227220-c7b3-42fd-8a41-dbc67c1c5d3b:localhost]

2022-07-19 22:31:53 | [Mutex] received everything.

2022-07-19 22:31:53 | [Mutex] isItemNotified: received:node:ae227220-c7b3-42fd-8a41-dbc67c1c5d3b:localhost:node-a9ffa510-6c09-43dd-ab4f-01442cdf01d5:Node a9ffa510-6c09-43dd-ab4f-01442cdf01d5 :: false

publishItemsToNodes 0.188s
2022-07-19 22:31:50 |

2022-07-19 22:31:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:31:50 | ------------------------------------

2022-07-19 22:31:50 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a9ffa510-6c09-43dd-ab4f-01442cdf01d5</node><item-id>item-60460b42-aa41-4f44-be45-5449b2050a3e</item-id><entry><test>item-60460b42-aa41-4f44-be45-5449b2050a3e</test></entry></data>

2022-07-19 22:31:50 | 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-60460b42-aa41-4f44-be45-5449b2050a3e</value></item-id></result>

2022-07-19 22:31:50 | [Mutex] received everything.

2022-07-19 22:31:50 | [Mutex] isItemNotified: published:item:notifieditem-60460b42-aa41-4f44-be45-5449b2050a3e:admin@test-domain.com :: true

retractItemsFromNodes 0.324s
2022-07-19 22:31:50 |

2022-07-19 22:31:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:31:50 | ------------------------------------

2022-07-19 22:31:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a9ffa510-6c09-43dd-ab4f-01442cdf01d5</node><item-id>item-60460b42-aa41-4f44-be45-5449b2050a3e</item-id></data>

2022-07-19 22:31:51 | 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-60460b42-aa41-4f44-be45-5449b2050a3e</value></item-id></result>

2022-07-19 22:31:51 | [Mutex] received everything.

2022-07-19 22:31:51 | [Mutex] isItemNotified: retracted:item:notifieditem-60460b42-aa41-4f44-be45-5449b2050a3e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.237s
2022-07-19 22:31:50 |

2022-07-19 22:31:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:31:50 | ------------------------------------

2022-07-19 22:31:50 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a9ffa510-6c09-43dd-ab4f-01442cdf01d5</node><item-id>item-60460b42-aa41-4f44-be45-5449b2050a3e</item-id></data>

2022-07-19 22:31:50 | 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-a9ffa510-6c09-43dd-ab4f-01442cdf01d5</value></node><item-id type="text-single" label="Item ID"><value>item-60460b42-aa41-4f44-be45-5449b2050a3e</value></item-id><item type="text-multi" label="Item"><value><item id="item-60460b42-aa41-4f44-be45-5449b2050a3e"><test>item-60460b42-aa41-4f44-be45-5449b2050a3e</test></item></value></item></result>

2022-07-19 22:31:50 | [Mutex] notify: [retrieved:item:item-60460b42-aa41-4f44-be45-5449b2050a3e:payload-matches:true:localhost]

2022-07-19 22:31:50 | [Mutex] received everything.

2022-07-19 22:31:50 | [Mutex] isItemNotified: retrieved:item:item-60460b42-aa41-4f44-be45-5449b2050a3e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-07-19 22:31:50 |

2022-07-19 22:31:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:31:50 | ------------------------------------

2022-07-19 22:31:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-19 22:31:50 | 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-a9ffa510-6c09-43dd-ab4f-01442cdf01d5</value><value>node-f3bdc6e3-5d67-4b36-b8bc-6bacb3bca1e1</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-07-19 22:31:50 |

2022-07-19 22:31:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:31:50 | ------------------------------------

2022-07-19 22:31:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a9ffa510-6c09-43dd-ab4f-01442cdf01d5)</node-pattern></data>

2022-07-19 22:31:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.124s
2022-07-19 22:31:49 |

2022-07-19 22:31:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:31:49 | ------------------------------------

2022-07-19 22:31:49 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a9ffa510-6c09-43dd-ab4f-01442cdf01d5</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-19 22:31:49 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.219s
2022-07-19 22:31:51 |

2022-07-19 22:31:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:31:51 | ------------------------------------

2022-07-19 22:31:51 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a9ffa510-6c09-43dd-ab4f-01442cdf01d5</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-19 22:31:51 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>