Generated by TestNG with ReportNG at 22:43 PDT on Wednesday 31 March 2021
root@eaa73862192b / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.910s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.141s
2021-03-31 23:01:33 |

2021-03-31 23:01:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 23:01:33 | ------------------------------------

2021-03-31 23:01:33 | [Mutex] waiting for: [configured:node:node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7:node-41a1621d-0bb5-462d-ab47-85cf44b741c4]

2021-03-31 23:01:33 | [Mutex] received everything.

2021-03-31 23:01:33 | [Mutex] isItemNotified: configured:node:node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7:node-41a1621d-0bb5-462d-ab47-85cf44b741c4 :: true

2021-03-31 23:01:34 | [Mutex] waiting for: [received:nodes:17f6f3b3-d429-4818-aae4-209ae956b11c:localhost]

2021-03-31 23:01:34 | [Mutex] received everything.

2021-03-31 23:01:34 | [Mutex] isItemNotified: received:node:17f6f3b3-d429-4818-aae4-209ae956b11c:localhost:node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7:Node fd2a1e66-3e26-4cae-ad9e-101700eb98b7 :: true

2021-03-31 23:01:34 | [Mutex] waiting for: [received:nodes:143fc279-258d-499a-8168-8f5ce8cc86aa:localhost]

2021-03-31 23:01:34 | [Mutex] received everything.

2021-03-31 23:01:34 | [Mutex] isItemNotified: received:node:143fc279-258d-499a-8168-8f5ce8cc86aa:localhost:node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7:Node fd2a1e66-3e26-4cae-ad9e-101700eb98b7 :: false

createNodes 1.390s
2021-03-31 23:01:30 |

2021-03-31 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 23:01:30 | ------------------------------------

2021-03-31 23:01:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fd2a1e66-3e26-4cae-ad9e-101700eb98b7</title></pubsub></data>

2021-03-31 23:01:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-31 23:01:32 | [Mutex] waiting for: [received:nodes:d36a4cc6-215c-49f9-93af-44efde5a1dea:localhost]

2021-03-31 23:01:32 | [Mutex] received everything.

2021-03-31 23:01:32 | [Mutex] isItemNotified: received:node:d36a4cc6-215c-49f9-93af-44efde5a1dea:localhost:node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7:Node fd2a1e66-3e26-4cae-ad9e-101700eb98b7 :: true

createSubnodes 1.022s
2021-03-31 23:01:32 |

2021-03-31 23:01:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 23:01:32 | ------------------------------------

2021-03-31 23:01:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-41a1621d-0bb5-462d-ab47-85cf44b741c4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 41a1621d-0bb5-462d-ab47-85cf44b741c4</title></pubsub></data>

2021-03-31 23:01:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-31 23:01:33 | [Mutex] waiting for: [received:nodes:1a2dfcf1-d2b8-413e-bb4d-32dc650217e9:localhost]

2021-03-31 23:01:33 | [Mutex] received everything.

2021-03-31 23:01:33 | [Mutex] isItemNotified: received:node:1a2dfcf1-d2b8-413e-bb4d-32dc650217e9:localhost:node-41a1621d-0bb5-462d-ab47-85cf44b741c4:Node 41a1621d-0bb5-462d-ab47-85cf44b741c4 :: true

deleteNodes 1.018s
2021-03-31 23:01:38 |

2021-03-31 23:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 23:01:38 | ------------------------------------

2021-03-31 23:01:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-41a1621d-0bb5-462d-ab47-85cf44b741c4</node></data>

2021-03-31 23:01:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-31 23:01:39 | [Mutex] waiting for: [received:nodes:cca8bbfb-25b5-47b9-9ef5-a02af0850448:localhost]

2021-03-31 23:01:39 | [Mutex] received everything.

2021-03-31 23:01:39 | [Mutex] isItemNotified: received:node:cca8bbfb-25b5-47b9-9ef5-a02af0850448:localhost:node-41a1621d-0bb5-462d-ab47-85cf44b741c4:Node 41a1621d-0bb5-462d-ab47-85cf44b741c4 :: false

deleteSubnodes 1.130s
2021-03-31 23:01:37 |

2021-03-31 23:01:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 23:01:37 | ------------------------------------

2021-03-31 23:01:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7</node></data>

2021-03-31 23:01:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-31 23:01:38 | [Mutex] waiting for: [received:nodes:fd4ee705-9c3a-456a-a59c-06431d790a58:localhost]

2021-03-31 23:01:38 | [Mutex] received everything.

2021-03-31 23:01:38 | [Mutex] isItemNotified: received:node:fd4ee705-9c3a-456a-a59c-06431d790a58:localhost:node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7:Node fd2a1e66-3e26-4cae-ad9e-101700eb98b7 :: false

2021-03-31 23:01:38 | [Mutex] waiting for: [received:nodes:c7994652-b6ad-41d4-952e-fa707dbd278f:localhost]

2021-03-31 23:01:38 | [Mutex] received everything.

2021-03-31 23:01:38 | [Mutex] isItemNotified: received:node:c7994652-b6ad-41d4-952e-fa707dbd278f:localhost:node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7:Node fd2a1e66-3e26-4cae-ad9e-101700eb98b7 :: false

publishItemsToNodes 0.205s
2021-03-31 23:01:35 |

2021-03-31 23:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 23:01:35 | ------------------------------------

2021-03-31 23:01:35 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7</node><item-id>item-5a51e68d-e6ab-46ac-a4ff-edaf7b033c45</item-id><entry><test>item-5a51e68d-e6ab-46ac-a4ff-edaf7b033c45</test></entry></data>

2021-03-31 23:01:35 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-5a51e68d-e6ab-46ac-a4ff-edaf7b033c45</value></item-id></result>

2021-03-31 23:01:35 | [Mutex] waiting for: [published:item:notifieditem-5a51e68d-e6ab-46ac-a4ff-edaf7b033c45:admin@test-domain.com]

2021-03-31 23:01:35 | [Mutex] received everything.

2021-03-31 23:01:35 | [Mutex] isItemNotified: published:item:notifieditem-5a51e68d-e6ab-46ac-a4ff-edaf7b033c45:admin@test-domain.com :: true

retractItemsFromNodes 0.252s
2021-03-31 23:01:36 |

2021-03-31 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 23:01:36 | ------------------------------------

2021-03-31 23:01:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7</node><item-id>item-5a51e68d-e6ab-46ac-a4ff-edaf7b033c45</item-id></data>

2021-03-31 23:01:36 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-5a51e68d-e6ab-46ac-a4ff-edaf7b033c45</value></item-id></result>

2021-03-31 23:01:36 | [Mutex] received everything.

2021-03-31 23:01:36 | [Mutex] isItemNotified: retracted:item:notifieditem-5a51e68d-e6ab-46ac-a4ff-edaf7b033c45:admin@test-domain.com :: true

retrieveItemsFromNodes 0.336s
2021-03-31 23:01:35 |

2021-03-31 23:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 23:01:35 | ------------------------------------

2021-03-31 23:01:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7</node><item-id>item-5a51e68d-e6ab-46ac-a4ff-edaf7b033c45</item-id></data>

2021-03-31 23:01:36 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7</value></node><item-id label="Item ID" type="text-single"><value>item-5a51e68d-e6ab-46ac-a4ff-edaf7b033c45</value></item-id><item label="Item" type="text-multi"><value><item id="item-5a51e68d-e6ab-46ac-a4ff-edaf7b033c45"><test>item-5a51e68d-e6ab-46ac-a4ff-edaf7b033c45</test></item></value></item></result>

2021-03-31 23:01:36 | [Mutex] notify: [retrieved:item:item-5a51e68d-e6ab-46ac-a4ff-edaf7b033c45:payload-matches:true:localhost]

2021-03-31 23:01:36 | [Mutex] received everything.

2021-03-31 23:01:36 | [Mutex] isItemNotified: retrieved:item:item-5a51e68d-e6ab-46ac-a4ff-edaf7b033c45:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-03-31 23:01:36 |

2021-03-31 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 23:01:36 | ------------------------------------

2021-03-31 23:01:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-31 23:01:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7</value><value>node-41a1621d-0bb5-462d-ab47-85cf44b741c4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2021-03-31 23:01:36 |

2021-03-31 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 23:01:36 | ------------------------------------

2021-03-31 23:01:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7)</node-pattern></data>

2021-03-31 23:01:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.137s
2021-03-31 23:01:34 |

2021-03-31 23:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 23:01:34 | ------------------------------------

2021-03-31 23:01:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-31 23:01:34 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.276s
2021-03-31 23:01:36 |

2021-03-31 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 23:01:36 | ------------------------------------

2021-03-31 23:01:36 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fd2a1e66-3e26-4cae-ad9e-101700eb98b7</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-31 23:01:36 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>