Generated by TestNG with ReportNG at 07:32 PDT on Tuesday 12 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.353s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2022-07-12 07:44:36 |

2022-07-12 07:44:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:44:36 | ------------------------------------

2022-07-12 07:44:36 | [Mutex] waiting for: [configured:node:node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9:node-10c5cb3d-9bce-420e-adc2-dd7bbec9759b]

2022-07-12 07:44:36 | [Mutex] received everything.

2022-07-12 07:44:36 | [Mutex] isItemNotified: configured:node:node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9:node-10c5cb3d-9bce-420e-adc2-dd7bbec9759b :: true

2022-07-12 07:44:37 | [Mutex] waiting for: [received:nodes:e35bc72b-24ce-4bbb-8032-0f943b2642e0:localhost]

2022-07-12 07:44:37 | [Mutex] received everything.

2022-07-12 07:44:37 | [Mutex] isItemNotified: received:node:e35bc72b-24ce-4bbb-8032-0f943b2642e0:localhost:node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9:Node cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9 :: true

2022-07-12 07:44:37 | [Mutex] waiting for: [received:nodes:ae9a43c8-f73c-4ab9-b782-459e05c2db92:localhost]

2022-07-12 07:44:37 | [Mutex] received everything.

2022-07-12 07:44:37 | [Mutex] isItemNotified: received:node:ae9a43c8-f73c-4ab9-b782-459e05c2db92:localhost:node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9:Node cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9 :: false

createNodes 1.407s
2022-07-12 07:44:34 |

2022-07-12 07:44:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:44:34 | ------------------------------------

2022-07-12 07:44:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9</title></pubsub></data>

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

2022-07-12 07:44:35 | [Mutex] waiting for: [received:nodes:33a76d85-4959-499c-9037-406dc0c55cd7:localhost]

2022-07-12 07:44:35 | [Mutex] received everything.

2022-07-12 07:44:35 | [Mutex] isItemNotified: received:node:33a76d85-4959-499c-9037-406dc0c55cd7:localhost:node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9:Node cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9 :: true

createSubnodes 1.033s
2022-07-12 07:44:35 |

2022-07-12 07:44:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:44:35 | ------------------------------------

2022-07-12 07:44:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-10c5cb3d-9bce-420e-adc2-dd7bbec9759b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 10c5cb3d-9bce-420e-adc2-dd7bbec9759b</title></pubsub></data>

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

2022-07-12 07:44:36 | [Mutex] waiting for: [received:nodes:d69fa697-57d5-40ca-a48f-5d3f347f81f1:localhost]

2022-07-12 07:44:36 | [Mutex] received everything.

2022-07-12 07:44:36 | [Mutex] isItemNotified: received:node:d69fa697-57d5-40ca-a48f-5d3f347f81f1:localhost:node-10c5cb3d-9bce-420e-adc2-dd7bbec9759b:Node 10c5cb3d-9bce-420e-adc2-dd7bbec9759b :: true

deleteNodes 1.016s
2022-07-12 07:44:41 |

2022-07-12 07:44:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:44:41 | ------------------------------------

2022-07-12 07:44:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-10c5cb3d-9bce-420e-adc2-dd7bbec9759b</node></data>

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

2022-07-12 07:44:42 | [Mutex] waiting for: [received:nodes:dff489ba-7e45-499a-b814-8d57f4c90b03:localhost]

2022-07-12 07:44:42 | [Mutex] waiting for: [received:nodes:dff489ba-7e45-499a-b814-8d57f4c90b03:localhost]

2022-07-12 07:44:42 | [Mutex] received everything.

2022-07-12 07:44:42 | [Mutex] isItemNotified: received:node:dff489ba-7e45-499a-b814-8d57f4c90b03:localhost:node-10c5cb3d-9bce-420e-adc2-dd7bbec9759b:Node 10c5cb3d-9bce-420e-adc2-dd7bbec9759b :: false

deleteSubnodes 1.107s
2022-07-12 07:44:40 |

2022-07-12 07:44:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:44:40 | ------------------------------------

2022-07-12 07:44:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9</node></data>

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

2022-07-12 07:44:41 | [Mutex] waiting for: [received:nodes:90e5fecc-8c34-48b5-a6f8-302e33dcc1e2:localhost]

2022-07-12 07:44:41 | [Mutex] waiting for: [received:nodes:90e5fecc-8c34-48b5-a6f8-302e33dcc1e2:localhost]

2022-07-12 07:44:41 | [Mutex] waiting for: [received:nodes:90e5fecc-8c34-48b5-a6f8-302e33dcc1e2:localhost]

2022-07-12 07:44:41 | [Mutex] received everything.

2022-07-12 07:44:41 | [Mutex] isItemNotified: received:node:90e5fecc-8c34-48b5-a6f8-302e33dcc1e2:localhost:node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9:Node cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9 :: false

2022-07-12 07:44:41 | [Mutex] waiting for: [received:nodes:be898a01-4e77-4c6c-ae88-8ab9c8213752:localhost]

2022-07-12 07:44:41 | [Mutex] received everything.

2022-07-12 07:44:41 | [Mutex] isItemNotified: received:node:be898a01-4e77-4c6c-ae88-8ab9c8213752:localhost:node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9:Node cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9 :: false

publishItemsToNodes 0.192s
2022-07-12 07:44:38 |

2022-07-12 07:44:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:44:38 | ------------------------------------

2022-07-12 07:44:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9</node><item-id>item-16581e4e-564f-4c04-956b-f77bacaabd3a</item-id><entry><test>item-16581e4e-564f-4c04-956b-f77bacaabd3a</test></entry></data>

2022-07-12 07:44:39 | 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-16581e4e-564f-4c04-956b-f77bacaabd3a</value></item-id></result>

2022-07-12 07:44:39 | [Mutex] waiting for: [published:item:notifieditem-16581e4e-564f-4c04-956b-f77bacaabd3a:admin@test-domain.com]

2022-07-12 07:44:39 | [Mutex] received everything.

2022-07-12 07:44:39 | [Mutex] isItemNotified: published:item:notifieditem-16581e4e-564f-4c04-956b-f77bacaabd3a:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2022-07-12 07:44:39 |

2022-07-12 07:44:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:44:39 | ------------------------------------

2022-07-12 07:44:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9</node><item-id>item-16581e4e-564f-4c04-956b-f77bacaabd3a</item-id></data>

2022-07-12 07:44:39 | 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-16581e4e-564f-4c04-956b-f77bacaabd3a</value></item-id></result>

2022-07-12 07:44:39 | [Mutex] received everything.

2022-07-12 07:44:39 | [Mutex] isItemNotified: retracted:item:notifieditem-16581e4e-564f-4c04-956b-f77bacaabd3a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.206s
2022-07-12 07:44:39 |

2022-07-12 07:44:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:44:39 | ------------------------------------

2022-07-12 07:44:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9</node><item-id>item-16581e4e-564f-4c04-956b-f77bacaabd3a</item-id></data>

2022-07-12 07:44:39 | 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-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9</value></node><item-id type="text-single" label="Item ID"><value>item-16581e4e-564f-4c04-956b-f77bacaabd3a</value></item-id><item type="text-multi" label="Item"><value><item id="item-16581e4e-564f-4c04-956b-f77bacaabd3a"><test>item-16581e4e-564f-4c04-956b-f77bacaabd3a</test></item></value></item></result>

2022-07-12 07:44:39 | [Mutex] notify: [retrieved:item:item-16581e4e-564f-4c04-956b-f77bacaabd3a:payload-matches:true:localhost]

2022-07-12 07:44:39 | [Mutex] received everything.

2022-07-12 07:44:39 | [Mutex] isItemNotified: retrieved:item:item-16581e4e-564f-4c04-956b-f77bacaabd3a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-12 07:44:39 |

2022-07-12 07:44:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:44:39 | ------------------------------------

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

2022-07-12 07:44:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-10c5cb3d-9bce-420e-adc2-dd7bbec9759b</value><value>test</value><value>node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-12 07:44:39 |

2022-07-12 07:44:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:44:39 | ------------------------------------

2022-07-12 07:44:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9)</node-pattern></data>

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

subscribeNodes 1.108s
2022-07-12 07:44:37 |

2022-07-12 07:44:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:44:37 | ------------------------------------

2022-07-12 07:44:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.192s
2022-07-12 07:44:39 |

2022-07-12 07:44:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 07:44:39 | ------------------------------------

2022-07-12 07:44:39 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-cd96b56a-d9ee-44c4-b0d1-3f9cbb1832a9</node><jids><value>admin@test-domain.com</value></jids></data>

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