Generated by TestNG with ReportNG at 10:14 PDT on Friday 23 April 2021
root@f29ef40080b5 / 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 : 10.047s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2021-04-23 10:31:14 |

2021-04-23 10:31:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:14 | ------------------------------------

2021-04-23 10:31:14 | [Mutex] waiting for: [configured:node:node-5045082a-67a7-4f3f-94de-393c49396ee2:node-1fab4cf1-765f-41fe-b3a4-12f4d3fc5393]

2021-04-23 10:31:14 | [Mutex] received everything.

2021-04-23 10:31:14 | [Mutex] isItemNotified: configured:node:node-5045082a-67a7-4f3f-94de-393c49396ee2:node-1fab4cf1-765f-41fe-b3a4-12f4d3fc5393 :: true

2021-04-23 10:31:15 | [Mutex] waiting for: [received:nodes:b38201cd-7e80-4029-94d6-aa533d3d8a43:localhost]

2021-04-23 10:31:15 | [Mutex] received everything.

2021-04-23 10:31:15 | [Mutex] isItemNotified: received:node:b38201cd-7e80-4029-94d6-aa533d3d8a43:localhost:node-5045082a-67a7-4f3f-94de-393c49396ee2:Node 5045082a-67a7-4f3f-94de-393c49396ee2 :: true

2021-04-23 10:31:15 | [Mutex] waiting for: [received:nodes:8302b356-1a19-463c-8b04-f726e42fd748:localhost]

2021-04-23 10:31:15 | [Mutex] waiting for: [received:nodes:8302b356-1a19-463c-8b04-f726e42fd748:localhost]

2021-04-23 10:31:15 | [Mutex] received everything.

2021-04-23 10:31:15 | [Mutex] isItemNotified: received:node:8302b356-1a19-463c-8b04-f726e42fd748:localhost:node-5045082a-67a7-4f3f-94de-393c49396ee2:Node 5045082a-67a7-4f3f-94de-393c49396ee2 :: false

createNodes 1.446s
2021-04-23 10:31:11 |

2021-04-23 10:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:11 | ------------------------------------

2021-04-23 10:31:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5045082a-67a7-4f3f-94de-393c49396ee2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5045082a-67a7-4f3f-94de-393c49396ee2</title></pubsub></data>

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

2021-04-23 10:31:13 | [Mutex] waiting for: [received:nodes:fa3f0b7d-8c53-4b4e-b6f2-a2e57c3a2d46:localhost]

2021-04-23 10:31:13 | [Mutex] received everything.

2021-04-23 10:31:13 | [Mutex] isItemNotified: received:node:fa3f0b7d-8c53-4b4e-b6f2-a2e57c3a2d46:localhost:node-5045082a-67a7-4f3f-94de-393c49396ee2:Node 5045082a-67a7-4f3f-94de-393c49396ee2 :: true

createSubnodes 1.037s
2021-04-23 10:31:13 |

2021-04-23 10:31:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:13 | ------------------------------------

2021-04-23 10:31:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1fab4cf1-765f-41fe-b3a4-12f4d3fc5393</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1fab4cf1-765f-41fe-b3a4-12f4d3fc5393</title></pubsub></data>

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

2021-04-23 10:31:14 | [Mutex] waiting for: [received:nodes:a675b952-09d5-4aca-8bbe-43811ce6548d:localhost]

2021-04-23 10:31:14 | [Mutex] received everything.

2021-04-23 10:31:14 | [Mutex] isItemNotified: received:node:a675b952-09d5-4aca-8bbe-43811ce6548d:localhost:node-1fab4cf1-765f-41fe-b3a4-12f4d3fc5393:Node 1fab4cf1-765f-41fe-b3a4-12f4d3fc5393 :: true

deleteNodes 1.028s
2021-04-23 10:31:19 |

2021-04-23 10:31:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:19 | ------------------------------------

2021-04-23 10:31:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1fab4cf1-765f-41fe-b3a4-12f4d3fc5393</node></data>

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

2021-04-23 10:31:20 | [Mutex] waiting for: [received:nodes:e27cf10b-09e0-4578-8f8d-a359763b24c4:localhost]

2021-04-23 10:31:20 | [Mutex] received everything.

2021-04-23 10:31:20 | [Mutex] isItemNotified: received:node:e27cf10b-09e0-4578-8f8d-a359763b24c4:localhost:node-1fab4cf1-765f-41fe-b3a4-12f4d3fc5393:Node 1fab4cf1-765f-41fe-b3a4-12f4d3fc5393 :: false

deleteSubnodes 1.186s
2021-04-23 10:31:18 |

2021-04-23 10:31:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:18 | ------------------------------------

2021-04-23 10:31:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5045082a-67a7-4f3f-94de-393c49396ee2</node></data>

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

2021-04-23 10:31:19 | [Mutex] waiting for: [received:nodes:3b03de71-9e0f-4447-981c-94d4ce9890c3:localhost]

2021-04-23 10:31:19 | [Mutex] received everything.

2021-04-23 10:31:19 | [Mutex] isItemNotified: received:node:3b03de71-9e0f-4447-981c-94d4ce9890c3:localhost:node-5045082a-67a7-4f3f-94de-393c49396ee2:Node 5045082a-67a7-4f3f-94de-393c49396ee2 :: false

2021-04-23 10:31:19 | [Mutex] waiting for: [received:nodes:48eb4bd0-7bcf-4809-9635-58223661d520:localhost]

2021-04-23 10:31:19 | [Mutex] received everything.

2021-04-23 10:31:19 | [Mutex] isItemNotified: received:node:48eb4bd0-7bcf-4809-9635-58223661d520:localhost:node-5045082a-67a7-4f3f-94de-393c49396ee2:Node 5045082a-67a7-4f3f-94de-393c49396ee2 :: false

publishItemsToNodes 0.255s
2021-04-23 10:31:16 |

2021-04-23 10:31:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:16 | ------------------------------------

2021-04-23 10:31:16 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5045082a-67a7-4f3f-94de-393c49396ee2</node><item-id>item-439f5a4f-e5b6-46c7-958d-296997c8cb0c</item-id><entry><test>item-439f5a4f-e5b6-46c7-958d-296997c8cb0c</test></entry></data>

2021-04-23 10:31:16 | 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-439f5a4f-e5b6-46c7-958d-296997c8cb0c</value></item-id></result>

2021-04-23 10:31:16 | [Mutex] waiting for: [published:item:notifieditem-439f5a4f-e5b6-46c7-958d-296997c8cb0c:admin@test-domain.com]

2021-04-23 10:31:16 | [Mutex] received everything.

2021-04-23 10:31:16 | [Mutex] isItemNotified: published:item:notifieditem-439f5a4f-e5b6-46c7-958d-296997c8cb0c:admin@test-domain.com :: true

retractItemsFromNodes 0.211s
2021-04-23 10:31:17 |

2021-04-23 10:31:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:17 | ------------------------------------

2021-04-23 10:31:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5045082a-67a7-4f3f-94de-393c49396ee2</node><item-id>item-439f5a4f-e5b6-46c7-958d-296997c8cb0c</item-id></data>

2021-04-23 10:31:17 | 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-439f5a4f-e5b6-46c7-958d-296997c8cb0c</value></item-id></result>

2021-04-23 10:31:17 | [Mutex] received everything.

2021-04-23 10:31:17 | [Mutex] isItemNotified: retracted:item:notifieditem-439f5a4f-e5b6-46c7-958d-296997c8cb0c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.284s
2021-04-23 10:31:16 |

2021-04-23 10:31:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:16 | ------------------------------------

2021-04-23 10:31:16 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5045082a-67a7-4f3f-94de-393c49396ee2</node><item-id>item-439f5a4f-e5b6-46c7-958d-296997c8cb0c</item-id></data>

2021-04-23 10:31:17 | 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-5045082a-67a7-4f3f-94de-393c49396ee2</value></node><item-id type="text-single" label="Item ID"><value>item-439f5a4f-e5b6-46c7-958d-296997c8cb0c</value></item-id><item type="text-multi" label="Item"><value><item id="item-439f5a4f-e5b6-46c7-958d-296997c8cb0c"><test>item-439f5a4f-e5b6-46c7-958d-296997c8cb0c</test></item></value></item></result>

2021-04-23 10:31:17 | [Mutex] notify: [retrieved:item:item-439f5a4f-e5b6-46c7-958d-296997c8cb0c:payload-matches:true:localhost]

2021-04-23 10:31:17 | [Mutex] received everything.

2021-04-23 10:31:17 | [Mutex] isItemNotified: retrieved:item:item-439f5a4f-e5b6-46c7-958d-296997c8cb0c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-04-23 10:31:17 |

2021-04-23 10:31:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:17 | ------------------------------------

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

2021-04-23 10:31:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-1fab4cf1-765f-41fe-b3a4-12f4d3fc5393</value><value>test</value><value>node-5045082a-67a7-4f3f-94de-393c49396ee2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-04-23 10:31:17 |

2021-04-23 10:31:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:17 | ------------------------------------

2021-04-23 10:31:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5045082a-67a7-4f3f-94de-393c49396ee2)</node-pattern></data>

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

subscribeNodes 1.199s
2021-04-23 10:31:15 |

2021-04-23 10:31:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:15 | ------------------------------------

2021-04-23 10:31:15 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5045082a-67a7-4f3f-94de-393c49396ee2</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.283s
2021-04-23 10:31:17 |

2021-04-23 10:31:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:17 | ------------------------------------

2021-04-23 10:31:17 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5045082a-67a7-4f3f-94de-393c49396ee2</node><jids><value>admin@test-domain.com</value></jids></data>

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