Generated by TestNG with ReportNG at 22:53 PDT on Thursday 15 September 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.654s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.028s
2022-09-15 23:07:17 |

2022-09-15 23:07:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 23:07:17 | ------------------------------------

2022-09-15 23:07:17 | [Mutex] waiting for: [configured:node:node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0:node-fb84fd5b-bc72-4779-8c44-acbc1d8e84bb]

2022-09-15 23:07:17 | [Mutex] received everything.

2022-09-15 23:07:17 | [Mutex] isItemNotified: configured:node:node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0:node-fb84fd5b-bc72-4779-8c44-acbc1d8e84bb :: true

2022-09-15 23:07:18 | [Mutex] waiting for: [received:nodes:11e0ce6f-6221-43ca-a794-a138d37abffd:localhost]

2022-09-15 23:07:18 | [Mutex] received everything.

2022-09-15 23:07:18 | [Mutex] isItemNotified: received:node:11e0ce6f-6221-43ca-a794-a138d37abffd:localhost:node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0:Node 5dc4513a-6056-4f2a-8a46-89dc11ffe7d0 :: true

2022-09-15 23:07:18 | [Mutex] waiting for: [received:nodes:06a139d3-826f-46cc-b2bd-e1337f8185a2:localhost]

2022-09-15 23:07:18 | [Mutex] waiting for: [received:nodes:06a139d3-826f-46cc-b2bd-e1337f8185a2:localhost]

2022-09-15 23:07:18 | [Mutex] received everything.

2022-09-15 23:07:18 | [Mutex] isItemNotified: received:node:06a139d3-826f-46cc-b2bd-e1337f8185a2:localhost:node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0:Node 5dc4513a-6056-4f2a-8a46-89dc11ffe7d0 :: false

createNodes 1.761s
2022-09-15 23:07:14 |

2022-09-15 23:07:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 23:07:14 | ------------------------------------

2022-09-15 23:07:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5dc4513a-6056-4f2a-8a46-89dc11ffe7d0</title></pubsub></data>

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

2022-09-15 23:07:16 | [Mutex] waiting for: [received:nodes:a00ea22f-6485-4068-848e-3315f26d3a5b:localhost]

2022-09-15 23:07:16 | [Mutex] waiting for: [received:nodes:a00ea22f-6485-4068-848e-3315f26d3a5b:localhost]

2022-09-15 23:07:16 | [Mutex] received everything.

2022-09-15 23:07:16 | [Mutex] isItemNotified: received:node:a00ea22f-6485-4068-848e-3315f26d3a5b:localhost:node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0:Node 5dc4513a-6056-4f2a-8a46-89dc11ffe7d0 :: true

createSubnodes 1.024s
2022-09-15 23:07:16 |

2022-09-15 23:07:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 23:07:16 | ------------------------------------

2022-09-15 23:07:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fb84fd5b-bc72-4779-8c44-acbc1d8e84bb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fb84fd5b-bc72-4779-8c44-acbc1d8e84bb</title></pubsub></data>

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

2022-09-15 23:07:17 | [Mutex] waiting for: [received:nodes:c456a999-cbdc-4a7e-a54f-3826c61041d5:localhost]

2022-09-15 23:07:17 | [Mutex] waiting for: [received:nodes:c456a999-cbdc-4a7e-a54f-3826c61041d5:localhost]

2022-09-15 23:07:17 | [Mutex] received everything.

2022-09-15 23:07:17 | [Mutex] isItemNotified: received:node:c456a999-cbdc-4a7e-a54f-3826c61041d5:localhost:node-fb84fd5b-bc72-4779-8c44-acbc1d8e84bb:Node fb84fd5b-bc72-4779-8c44-acbc1d8e84bb :: true

deleteNodes 1.016s
2022-09-15 23:07:22 |

2022-09-15 23:07:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 23:07:22 | ------------------------------------

2022-09-15 23:07:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fb84fd5b-bc72-4779-8c44-acbc1d8e84bb</node></data>

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

2022-09-15 23:07:23 | [Mutex] waiting for: [received:nodes:4aa35efe-7b7c-432d-bcaf-4794185a3b9a:localhost]

2022-09-15 23:07:23 | [Mutex] received everything.

2022-09-15 23:07:23 | [Mutex] isItemNotified: received:node:4aa35efe-7b7c-432d-bcaf-4794185a3b9a:localhost:node-fb84fd5b-bc72-4779-8c44-acbc1d8e84bb:Node fb84fd5b-bc72-4779-8c44-acbc1d8e84bb :: false

deleteSubnodes 1.143s
2022-09-15 23:07:21 |

2022-09-15 23:07:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 23:07:21 | ------------------------------------

2022-09-15 23:07:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0</node></data>

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

2022-09-15 23:07:22 | [Mutex] waiting for: [received:nodes:5dc9ed7a-b059-49b9-a59d-4150a6995da0:localhost]

2022-09-15 23:07:22 | [Mutex] received everything.

2022-09-15 23:07:22 | [Mutex] isItemNotified: received:node:5dc9ed7a-b059-49b9-a59d-4150a6995da0:localhost:node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0:Node 5dc4513a-6056-4f2a-8a46-89dc11ffe7d0 :: false

2022-09-15 23:07:22 | [Mutex] waiting for: [received:nodes:5744d7db-38ca-4f93-88c0-0eaf4ee03571:localhost]

2022-09-15 23:07:22 | [Mutex] received everything.

2022-09-15 23:07:22 | [Mutex] isItemNotified: received:node:5744d7db-38ca-4f93-88c0-0eaf4ee03571:localhost:node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0:Node 5dc4513a-6056-4f2a-8a46-89dc11ffe7d0 :: false

publishItemsToNodes 0.178s
2022-09-15 23:07:19 |

2022-09-15 23:07:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 23:07:19 | ------------------------------------

2022-09-15 23:07:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0</node><item-id>item-017a022e-91aa-4015-8d24-82d23ed9e110</item-id><entry><test>item-017a022e-91aa-4015-8d24-82d23ed9e110</test></entry></data>

2022-09-15 23:07:19 | 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-017a022e-91aa-4015-8d24-82d23ed9e110</value></item-id></result>

2022-09-15 23:07:19 | [Mutex] received everything.

2022-09-15 23:07:19 | [Mutex] isItemNotified: published:item:notifieditem-017a022e-91aa-4015-8d24-82d23ed9e110:admin@test-domain.com :: true

retractItemsFromNodes 0.290s
2022-09-15 23:07:19 |

2022-09-15 23:07:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 23:07:19 | ------------------------------------

2022-09-15 23:07:19 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0</node><item-id>item-017a022e-91aa-4015-8d24-82d23ed9e110</item-id></data>

2022-09-15 23:07:20 | 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-017a022e-91aa-4015-8d24-82d23ed9e110</value></item-id></result>

2022-09-15 23:07:20 | [Mutex] waiting for: [retracted:item:notifieditem-017a022e-91aa-4015-8d24-82d23ed9e110:admin@test-domain.com]

2022-09-15 23:07:20 | [Mutex] received everything.

2022-09-15 23:07:20 | [Mutex] isItemNotified: retracted:item:notifieditem-017a022e-91aa-4015-8d24-82d23ed9e110:admin@test-domain.com :: true

retrieveItemsFromNodes 0.195s
2022-09-15 23:07:19 |

2022-09-15 23:07:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 23:07:19 | ------------------------------------

2022-09-15 23:07:19 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0</node><item-id>item-017a022e-91aa-4015-8d24-82d23ed9e110</item-id></data>

2022-09-15 23:07:19 | 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-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0</value></node><item-id type="text-single" label="Item ID"><value>item-017a022e-91aa-4015-8d24-82d23ed9e110</value></item-id><item type="text-multi" label="Item"><value><item id="item-017a022e-91aa-4015-8d24-82d23ed9e110"><test>item-017a022e-91aa-4015-8d24-82d23ed9e110</test></item></value></item></result>

2022-09-15 23:07:19 | [Mutex] notify: [retrieved:item:item-017a022e-91aa-4015-8d24-82d23ed9e110:payload-matches:true:localhost]

2022-09-15 23:07:19 | [Mutex] received everything.

2022-09-15 23:07:19 | [Mutex] isItemNotified: retrieved:item:item-017a022e-91aa-4015-8d24-82d23ed9e110:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-15 23:07:19 |

2022-09-15 23:07:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 23:07:19 | ------------------------------------

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

2022-09-15 23:07:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-fb84fd5b-bc72-4779-8c44-acbc1d8e84bb</value><value>node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-09-15 23:07:19 |

2022-09-15 23:07:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 23:07:19 | ------------------------------------

2022-09-15 23:07:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0)</node-pattern></data>

2022-09-15 23:07:19 | 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-09-15 23:07:18 |

2022-09-15 23:07:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 23:07:18 | ------------------------------------

2022-09-15 23:07:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.201s
2022-09-15 23:07:20 |

2022-09-15 23:07:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 23:07:20 | ------------------------------------

2022-09-15 23:07:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5dc4513a-6056-4f2a-8a46-89dc11ffe7d0</node><jids><value>admin@test-domain.com</value></jids></data>

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