Generated by TestNG with ReportNG at 22:17 PDT on Tuesday 05 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.591s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.091s
2022-07-05 22:32:49 |

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

2022-07-05 22:32:49 | ------------------------------------

2022-07-05 22:32:49 | [Mutex] waiting for: [configured:node:node-e4828897-adaa-41cf-b9ae-bf6564ad15b6:node-46001fb0-ac9a-4811-9cbb-8c99eab5790a]

2022-07-05 22:32:49 | [Mutex] received everything.

2022-07-05 22:32:49 | [Mutex] isItemNotified: configured:node:node-e4828897-adaa-41cf-b9ae-bf6564ad15b6:node-46001fb0-ac9a-4811-9cbb-8c99eab5790a :: true

2022-07-05 22:32:50 | [Mutex] waiting for: [received:nodes:33c53034-0d9c-4c22-9ad0-ae7d750c0e64:localhost]

2022-07-05 22:32:50 | [Mutex] received everything.

2022-07-05 22:32:50 | [Mutex] isItemNotified: received:node:33c53034-0d9c-4c22-9ad0-ae7d750c0e64:localhost:node-e4828897-adaa-41cf-b9ae-bf6564ad15b6:Node e4828897-adaa-41cf-b9ae-bf6564ad15b6 :: true

2022-07-05 22:32:50 | [Mutex] waiting for: [received:nodes:ae77c11e-bda1-4c69-ab56-2087a90b962e:localhost]

2022-07-05 22:32:50 | [Mutex] waiting for: [received:nodes:ae77c11e-bda1-4c69-ab56-2087a90b962e:localhost]

2022-07-05 22:32:50 | [Mutex] waiting for: [received:nodes:ae77c11e-bda1-4c69-ab56-2087a90b962e:localhost]

2022-07-05 22:32:50 | [Mutex] waiting for: [received:nodes:ae77c11e-bda1-4c69-ab56-2087a90b962e:localhost]

2022-07-05 22:32:50 | [Mutex] received everything.

2022-07-05 22:32:50 | [Mutex] isItemNotified: received:node:ae77c11e-bda1-4c69-ab56-2087a90b962e:localhost:node-e4828897-adaa-41cf-b9ae-bf6564ad15b6:Node e4828897-adaa-41cf-b9ae-bf6564ad15b6 :: false

createNodes 1.410s
2022-07-05 22:32:46 |

2022-07-05 22:32:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 22:32:46 | ------------------------------------

2022-07-05 22:32:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e4828897-adaa-41cf-b9ae-bf6564ad15b6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e4828897-adaa-41cf-b9ae-bf6564ad15b6</title></pubsub></data>

2022-07-05 22:32: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-05 22:32:48 | [Mutex] waiting for: [received:nodes:4e427f8c-9cae-4d7b-bf93-2cc3d0e3ecb2:localhost]

2022-07-05 22:32:48 | [Mutex] received everything.

2022-07-05 22:32:48 | [Mutex] isItemNotified: received:node:4e427f8c-9cae-4d7b-bf93-2cc3d0e3ecb2:localhost:node-e4828897-adaa-41cf-b9ae-bf6564ad15b6:Node e4828897-adaa-41cf-b9ae-bf6564ad15b6 :: true

createSubnodes 1.023s
2022-07-05 22:32:48 |

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

2022-07-05 22:32:48 | ------------------------------------

2022-07-05 22:32:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-46001fb0-ac9a-4811-9cbb-8c99eab5790a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 46001fb0-ac9a-4811-9cbb-8c99eab5790a</title></pubsub></data>

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

2022-07-05 22:32:49 | [Mutex] waiting for: [received:nodes:42ddffd5-6c78-4ddc-a044-be58600ae4eb:localhost]

2022-07-05 22:32:49 | [Mutex] received everything.

2022-07-05 22:32:49 | [Mutex] isItemNotified: received:node:42ddffd5-6c78-4ddc-a044-be58600ae4eb:localhost:node-46001fb0-ac9a-4811-9cbb-8c99eab5790a:Node 46001fb0-ac9a-4811-9cbb-8c99eab5790a :: true

deleteNodes 1.021s
2022-07-05 22:32:54 |

2022-07-05 22:32:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 22:32:54 | ------------------------------------

2022-07-05 22:32:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-46001fb0-ac9a-4811-9cbb-8c99eab5790a</node></data>

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

2022-07-05 22:32:55 | [Mutex] waiting for: [received:nodes:03645805-2557-4fcf-b2e5-b746ba9e6b07:localhost]

2022-07-05 22:32:55 | [Mutex] waiting for: [received:nodes:03645805-2557-4fcf-b2e5-b746ba9e6b07:localhost]

2022-07-05 22:32:55 | [Mutex] waiting for: [received:nodes:03645805-2557-4fcf-b2e5-b746ba9e6b07:localhost]

2022-07-05 22:32:55 | [Mutex] received everything.

2022-07-05 22:32:55 | [Mutex] isItemNotified: received:node:03645805-2557-4fcf-b2e5-b746ba9e6b07:localhost:node-46001fb0-ac9a-4811-9cbb-8c99eab5790a:Node 46001fb0-ac9a-4811-9cbb-8c99eab5790a :: false

deleteSubnodes 1.122s
2022-07-05 22:32:53 |

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

2022-07-05 22:32:53 | ------------------------------------

2022-07-05 22:32:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e4828897-adaa-41cf-b9ae-bf6564ad15b6</node></data>

2022-07-05 22:32: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-05 22:32:54 | [Mutex] waiting for: [received:nodes:d32a38ea-a5fb-4890-938b-8bf28fe1a485:localhost]

2022-07-05 22:32:54 | [Mutex] waiting for: [received:nodes:d32a38ea-a5fb-4890-938b-8bf28fe1a485:localhost]

2022-07-05 22:32:54 | [Mutex] waiting for: [received:nodes:d32a38ea-a5fb-4890-938b-8bf28fe1a485:localhost]

2022-07-05 22:32:54 | [Mutex] received everything.

2022-07-05 22:32:54 | [Mutex] isItemNotified: received:node:d32a38ea-a5fb-4890-938b-8bf28fe1a485:localhost:node-e4828897-adaa-41cf-b9ae-bf6564ad15b6:Node e4828897-adaa-41cf-b9ae-bf6564ad15b6 :: false

2022-07-05 22:32:54 | [Mutex] waiting for: [received:nodes:fb7a5331-9373-4203-b6be-1e6dd4cb2265:localhost]

2022-07-05 22:32:54 | [Mutex] received everything.

2022-07-05 22:32:54 | [Mutex] isItemNotified: received:node:fb7a5331-9373-4203-b6be-1e6dd4cb2265:localhost:node-e4828897-adaa-41cf-b9ae-bf6564ad15b6:Node e4828897-adaa-41cf-b9ae-bf6564ad15b6 :: false

publishItemsToNodes 0.257s
2022-07-05 22:32:51 |

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

2022-07-05 22:32:51 | ------------------------------------

2022-07-05 22:32:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e4828897-adaa-41cf-b9ae-bf6564ad15b6</node><item-id>item-1d12b117-c7b1-48e1-8bd1-6f61c2c929f0</item-id><entry><test>item-1d12b117-c7b1-48e1-8bd1-6f61c2c929f0</test></entry></data>

2022-07-05 22:32:51 | 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-1d12b117-c7b1-48e1-8bd1-6f61c2c929f0</value></item-id></result>

2022-07-05 22:32:51 | [Mutex] received everything.

2022-07-05 22:32:51 | [Mutex] isItemNotified: published:item:notifieditem-1d12b117-c7b1-48e1-8bd1-6f61c2c929f0:admin@test-domain.com :: true

retractItemsFromNodes 0.336s
2022-07-05 22:32:51 |

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

2022-07-05 22:32:51 | ------------------------------------

2022-07-05 22:32:51 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e4828897-adaa-41cf-b9ae-bf6564ad15b6</node><item-id>item-1d12b117-c7b1-48e1-8bd1-6f61c2c929f0</item-id></data>

2022-07-05 22:32:52 | 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-1d12b117-c7b1-48e1-8bd1-6f61c2c929f0</value></item-id></result>

2022-07-05 22:32:52 | [Mutex] received everything.

2022-07-05 22:32:52 | [Mutex] isItemNotified: retracted:item:notifieditem-1d12b117-c7b1-48e1-8bd1-6f61c2c929f0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.206s
2022-07-05 22:32:51 |

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

2022-07-05 22:32:51 | ------------------------------------

2022-07-05 22:32:51 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e4828897-adaa-41cf-b9ae-bf6564ad15b6</node><item-id>item-1d12b117-c7b1-48e1-8bd1-6f61c2c929f0</item-id></data>

2022-07-05 22:32:51 | 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-e4828897-adaa-41cf-b9ae-bf6564ad15b6</value></node><item-id type="text-single" label="Item ID"><value>item-1d12b117-c7b1-48e1-8bd1-6f61c2c929f0</value></item-id><item type="text-multi" label="Item"><value><item id="item-1d12b117-c7b1-48e1-8bd1-6f61c2c929f0"><test>item-1d12b117-c7b1-48e1-8bd1-6f61c2c929f0</test></item></value></item></result>

2022-07-05 22:32:51 | [Mutex] notify: [retrieved:item:item-1d12b117-c7b1-48e1-8bd1-6f61c2c929f0:payload-matches:true:localhost]

2022-07-05 22:32:51 | [Mutex] received everything.

2022-07-05 22:32:51 | [Mutex] isItemNotified: retrieved:item:item-1d12b117-c7b1-48e1-8bd1-6f61c2c929f0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-05 22:32:51 |

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

2022-07-05 22:32:51 | ------------------------------------

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

2022-07-05 22:32:51 | 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-46001fb0-ac9a-4811-9cbb-8c99eab5790a</value><value>node-e4828897-adaa-41cf-b9ae-bf6564ad15b6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-07-05 22:32:51 |

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

2022-07-05 22:32:51 | ------------------------------------

2022-07-05 22:32:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e4828897-adaa-41cf-b9ae-bf6564ad15b6)</node-pattern></data>

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

subscribeNodes 1.117s
2022-07-05 22:32:50 |

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

2022-07-05 22:32:50 | ------------------------------------

2022-07-05 22:32:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e4828897-adaa-41cf-b9ae-bf6564ad15b6</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.231s
2022-07-05 22:32:52 |

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

2022-07-05 22:32:52 | ------------------------------------

2022-07-05 22:32:52 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e4828897-adaa-41cf-b9ae-bf6564ad15b6</node><jids><value>admin@test-domain.com</value></jids></data>

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