Generated by TestNG with ReportNG at 21:40 PST on Wednesday 18 November 2020
root@87f6aca6b6f2 / 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.221s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.140s
2020-11-18 21:55:30 |

2020-11-18 21:55:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:55:30 | ------------------------------------

2020-11-18 21:55:30 | [Mutex] waiting for: [configured:node:node-c8ac939c-ff70-4f54-ba66-3152d9c3947e:node-01b9f0c3-a96e-4049-9189-f852d12812c7]

2020-11-18 21:55:30 | [Mutex] received everything.

2020-11-18 21:55:30 | [Mutex] isItemNotified: configured:node:node-c8ac939c-ff70-4f54-ba66-3152d9c3947e:node-01b9f0c3-a96e-4049-9189-f852d12812c7 :: true

2020-11-18 21:55:31 | [Mutex] waiting for: [received:nodes:95ea6f8b-2771-488e-b986-6f3b4e537b80:localhost]

2020-11-18 21:55:31 | [Mutex] received everything.

2020-11-18 21:55:31 | [Mutex] isItemNotified: received:node:95ea6f8b-2771-488e-b986-6f3b4e537b80:localhost:node-c8ac939c-ff70-4f54-ba66-3152d9c3947e:Node c8ac939c-ff70-4f54-ba66-3152d9c3947e :: true

2020-11-18 21:55:31 | [Mutex] waiting for: [received:nodes:f0a81d4e-3710-459f-8d18-11aa4100ef64:localhost]

2020-11-18 21:55:31 | [Mutex] received everything.

2020-11-18 21:55:31 | [Mutex] isItemNotified: received:node:f0a81d4e-3710-459f-8d18-11aa4100ef64:localhost:node-c8ac939c-ff70-4f54-ba66-3152d9c3947e:Node c8ac939c-ff70-4f54-ba66-3152d9c3947e :: false

createNodes 1.512s
2020-11-18 21:55:27 |

2020-11-18 21:55:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:55:27 | ------------------------------------

2020-11-18 21:55:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c8ac939c-ff70-4f54-ba66-3152d9c3947e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c8ac939c-ff70-4f54-ba66-3152d9c3947e</title></pubsub></data>

2020-11-18 21:55:28 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-18 21:55:29 | [Mutex] waiting for: [received:nodes:fb02aa6c-02fa-4812-963c-906a7bc9917f:localhost]

2020-11-18 21:55:29 | [Mutex] waiting for: [received:nodes:fb02aa6c-02fa-4812-963c-906a7bc9917f:localhost]

2020-11-18 21:55:29 | [Mutex] received everything.

2020-11-18 21:55:29 | [Mutex] isItemNotified: received:node:fb02aa6c-02fa-4812-963c-906a7bc9917f:localhost:node-c8ac939c-ff70-4f54-ba66-3152d9c3947e:Node c8ac939c-ff70-4f54-ba66-3152d9c3947e :: true

createSubnodes 1.033s
2020-11-18 21:55:29 |

2020-11-18 21:55:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:55:29 | ------------------------------------

2020-11-18 21:55:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-01b9f0c3-a96e-4049-9189-f852d12812c7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 01b9f0c3-a96e-4049-9189-f852d12812c7</title></pubsub></data>

2020-11-18 21:55:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-18 21:55:30 | [Mutex] waiting for: [received:nodes:9ad6fb1f-4ea1-4d21-9b8f-2f523067fb1e:localhost]

2020-11-18 21:55:30 | [Mutex] received everything.

2020-11-18 21:55:30 | [Mutex] isItemNotified: received:node:9ad6fb1f-4ea1-4d21-9b8f-2f523067fb1e:localhost:node-01b9f0c3-a96e-4049-9189-f852d12812c7:Node 01b9f0c3-a96e-4049-9189-f852d12812c7 :: true

deleteNodes 1.023s
2020-11-18 21:55:36 |

2020-11-18 21:55:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:55:36 | ------------------------------------

2020-11-18 21:55:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-01b9f0c3-a96e-4049-9189-f852d12812c7</node></data>

2020-11-18 21:55:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-18 21:55:37 | [Mutex] waiting for: [received:nodes:367bca54-39f5-4749-8eeb-22b462b82eb4:localhost]

2020-11-18 21:55:37 | [Mutex] waiting for: [received:nodes:367bca54-39f5-4749-8eeb-22b462b82eb4:localhost]

2020-11-18 21:55:37 | [Mutex] waiting for: [received:nodes:367bca54-39f5-4749-8eeb-22b462b82eb4:localhost]

2020-11-18 21:55:37 | [Mutex] received everything.

2020-11-18 21:55:37 | [Mutex] isItemNotified: received:node:367bca54-39f5-4749-8eeb-22b462b82eb4:localhost:node-01b9f0c3-a96e-4049-9189-f852d12812c7:Node 01b9f0c3-a96e-4049-9189-f852d12812c7 :: false

deleteSubnodes 1.132s
2020-11-18 21:55:35 |

2020-11-18 21:55:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:55:35 | ------------------------------------

2020-11-18 21:55:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c8ac939c-ff70-4f54-ba66-3152d9c3947e</node></data>

2020-11-18 21:55:35 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-18 21:55:36 | [Mutex] waiting for: [received:nodes:d817ae40-991d-4e75-92cc-2d3bb5823725:localhost]

2020-11-18 21:55:36 | [Mutex] waiting for: [received:nodes:d817ae40-991d-4e75-92cc-2d3bb5823725:localhost]

2020-11-18 21:55:36 | [Mutex] received everything.

2020-11-18 21:55:36 | [Mutex] isItemNotified: received:node:d817ae40-991d-4e75-92cc-2d3bb5823725:localhost:node-c8ac939c-ff70-4f54-ba66-3152d9c3947e:Node c8ac939c-ff70-4f54-ba66-3152d9c3947e :: false

2020-11-18 21:55:36 | [Mutex] waiting for: [received:nodes:a1adfce9-fec7-4a64-b0ae-0074e372d522:localhost]

2020-11-18 21:55:36 | [Mutex] received everything.

2020-11-18 21:55:36 | [Mutex] isItemNotified: received:node:a1adfce9-fec7-4a64-b0ae-0074e372d522:localhost:node-c8ac939c-ff70-4f54-ba66-3152d9c3947e:Node c8ac939c-ff70-4f54-ba66-3152d9c3947e :: false

publishItemsToNodes 0.233s
2020-11-18 21:55:32 |

2020-11-18 21:55:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:55:32 | ------------------------------------

2020-11-18 21:55:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c8ac939c-ff70-4f54-ba66-3152d9c3947e</node><item-id>item-891fec3e-9b41-411f-a426-520e6e841e87</item-id><entry><test>item-891fec3e-9b41-411f-a426-520e6e841e87</test></entry></data>

2020-11-18 21:55:33 | 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-891fec3e-9b41-411f-a426-520e6e841e87</value></item-id></result>

2020-11-18 21:55:33 | [Mutex] received everything.

2020-11-18 21:55:33 | [Mutex] isItemNotified: published:item:notifieditem-891fec3e-9b41-411f-a426-520e6e841e87:admin@test-domain.com :: true

retractItemsFromNodes 0.203s
2020-11-18 21:55:33 |

2020-11-18 21:55:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:55:33 | ------------------------------------

2020-11-18 21:55:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c8ac939c-ff70-4f54-ba66-3152d9c3947e</node><item-id>item-891fec3e-9b41-411f-a426-520e6e841e87</item-id></data>

2020-11-18 21:55:33 | 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-891fec3e-9b41-411f-a426-520e6e841e87</value></item-id></result>

2020-11-18 21:55:33 | [Mutex] waiting for: [retracted:item:notifieditem-891fec3e-9b41-411f-a426-520e6e841e87:admin@test-domain.com]

2020-11-18 21:55:33 | [Mutex] received everything.

2020-11-18 21:55:33 | [Mutex] isItemNotified: retracted:item:notifieditem-891fec3e-9b41-411f-a426-520e6e841e87:admin@test-domain.com :: true

retrieveItemsFromNodes 0.345s
2020-11-18 21:55:33 |

2020-11-18 21:55:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:55:33 | ------------------------------------

2020-11-18 21:55:33 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c8ac939c-ff70-4f54-ba66-3152d9c3947e</node><item-id>item-891fec3e-9b41-411f-a426-520e6e841e87</item-id></data>

2020-11-18 21:55:33 | 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-c8ac939c-ff70-4f54-ba66-3152d9c3947e</value></node><item-id type="text-single" label="Item ID"><value>item-891fec3e-9b41-411f-a426-520e6e841e87</value></item-id><item type="text-multi" label="Item"><value><item id="item-891fec3e-9b41-411f-a426-520e6e841e87"><test>item-891fec3e-9b41-411f-a426-520e6e841e87</test></item></value></item></result>

2020-11-18 21:55:33 | [Mutex] notify: [retrieved:item:item-891fec3e-9b41-411f-a426-520e6e841e87:payload-matches:true:localhost]

2020-11-18 21:55:33 | [Mutex] received everything.

2020-11-18 21:55:33 | [Mutex] isItemNotified: retrieved:item:item-891fec3e-9b41-411f-a426-520e6e841e87:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-11-18 21:55:33 |

2020-11-18 21:55:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:55:33 | ------------------------------------

2020-11-18 21:55:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-18 21:55:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-01b9f0c3-a96e-4049-9189-f852d12812c7</value><value>test</value><value>node-c8ac939c-ff70-4f54-ba66-3152d9c3947e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-11-18 21:55:33 |

2020-11-18 21:55:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:55:33 | ------------------------------------

2020-11-18 21:55:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c8ac939c-ff70-4f54-ba66-3152d9c3947e)</node-pattern></data>

2020-11-18 21:55:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.150s
2020-11-18 21:55:31 |

2020-11-18 21:55:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:55:31 | ------------------------------------

2020-11-18 21:55:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c8ac939c-ff70-4f54-ba66-3152d9c3947e</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-18 21:55:31 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.323s
2020-11-18 21:55:33 |

2020-11-18 21:55:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:55:33 | ------------------------------------

2020-11-18 21:55:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c8ac939c-ff70-4f54-ba66-3152d9c3947e</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-18 21:55:34 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>