Generated by TestNG with ReportNG at 22:15 PDT on Wednesday 21 October 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.374s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.148s
2020-10-21 22:32:21 |

2020-10-21 22:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:32:21 | ------------------------------------

2020-10-21 22:32:21 | [Mutex] waiting for: [configured:node:node-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9:node-9205ea89-1a1c-47ef-96dd-d10872519c95]

2020-10-21 22:32:22 | [Mutex] received everything.

2020-10-21 22:32:22 | [Mutex] isItemNotified: configured:node:node-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9:node-9205ea89-1a1c-47ef-96dd-d10872519c95 :: true

2020-10-21 22:32:23 | [Mutex] waiting for: [received:nodes:43634bc9-edfa-4281-a6f3-50cd582a538c:localhost]

2020-10-21 22:32:23 | [Mutex] received everything.

2020-10-21 22:32:23 | [Mutex] isItemNotified: received:node:43634bc9-edfa-4281-a6f3-50cd582a538c:localhost:node-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9:Node 4d70ccab-09dd-414b-a5b7-ab0fcc748ef9 :: true

2020-10-21 22:32:23 | [Mutex] waiting for: [received:nodes:71ba51e8-2cf1-4afa-8190-2724d352780b:localhost]

2020-10-21 22:32:23 | [Mutex] waiting for: [received:nodes:71ba51e8-2cf1-4afa-8190-2724d352780b:localhost]

2020-10-21 22:32:23 | [Mutex] waiting for: [received:nodes:71ba51e8-2cf1-4afa-8190-2724d352780b:localhost]

2020-10-21 22:32:23 | [Mutex] waiting for: [received:nodes:71ba51e8-2cf1-4afa-8190-2724d352780b:localhost]

2020-10-21 22:32:23 | [Mutex] received everything.

2020-10-21 22:32:23 | [Mutex] isItemNotified: received:node:71ba51e8-2cf1-4afa-8190-2724d352780b:localhost:node-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9:Node 4d70ccab-09dd-414b-a5b7-ab0fcc748ef9 :: false

createNodes 1.461s
2020-10-21 22:32:19 |

2020-10-21 22:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:32:19 | ------------------------------------

2020-10-21 22:32:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4d70ccab-09dd-414b-a5b7-ab0fcc748ef9</title></pubsub></data>

2020-10-21 22:32:19 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-21 22:32:20 | [Mutex] waiting for: [received:nodes:a3e859d4-6a44-490f-928b-2f2bbfe3dffd:localhost]

2020-10-21 22:32:20 | [Mutex] received everything.

2020-10-21 22:32:20 | [Mutex] isItemNotified: received:node:a3e859d4-6a44-490f-928b-2f2bbfe3dffd:localhost:node-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9:Node 4d70ccab-09dd-414b-a5b7-ab0fcc748ef9 :: true

createSubnodes 1.025s
2020-10-21 22:32:20 |

2020-10-21 22:32:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:32:20 | ------------------------------------

2020-10-21 22:32:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9205ea89-1a1c-47ef-96dd-d10872519c95</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9205ea89-1a1c-47ef-96dd-d10872519c95</title></pubsub></data>

2020-10-21 22:32:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-21 22:32:21 | [Mutex] waiting for: [received:nodes:f911bca2-f2ea-4278-bf75-c4d00eb665ca:localhost]

2020-10-21 22:32:21 | [Mutex] received everything.

2020-10-21 22:32:21 | [Mutex] isItemNotified: received:node:f911bca2-f2ea-4278-bf75-c4d00eb665ca:localhost:node-9205ea89-1a1c-47ef-96dd-d10872519c95:Node 9205ea89-1a1c-47ef-96dd-d10872519c95 :: true

deleteNodes 1.019s
2020-10-21 22:32:27 |

2020-10-21 22:32:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:32:27 | ------------------------------------

2020-10-21 22:32:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9205ea89-1a1c-47ef-96dd-d10872519c95</node></data>

2020-10-21 22:32:27 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-21 22:32:28 | [Mutex] waiting for: [received:nodes:c5089503-8107-4416-b8ca-5ae059155971:localhost]

2020-10-21 22:32:28 | [Mutex] received everything.

2020-10-21 22:32:28 | [Mutex] isItemNotified: received:node:c5089503-8107-4416-b8ca-5ae059155971:localhost:node-9205ea89-1a1c-47ef-96dd-d10872519c95:Node 9205ea89-1a1c-47ef-96dd-d10872519c95 :: false

deleteSubnodes 1.126s
2020-10-21 22:32:26 |

2020-10-21 22:32:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:32:26 | ------------------------------------

2020-10-21 22:32:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9</node></data>

2020-10-21 22:32:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-21 22:32:27 | [Mutex] waiting for: [received:nodes:f2fe2246-b90e-4f53-a574-8ea1688228d8:localhost]

2020-10-21 22:32:27 | [Mutex] received everything.

2020-10-21 22:32:27 | [Mutex] isItemNotified: received:node:f2fe2246-b90e-4f53-a574-8ea1688228d8:localhost:node-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9:Node 4d70ccab-09dd-414b-a5b7-ab0fcc748ef9 :: false

2020-10-21 22:32:27 | [Mutex] waiting for: [received:nodes:139e5937-ac6e-473c-8ac7-18892d6924c2:localhost]

2020-10-21 22:32:27 | [Mutex] received everything.

2020-10-21 22:32:27 | [Mutex] isItemNotified: received:node:139e5937-ac6e-473c-8ac7-18892d6924c2:localhost:node-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9:Node 4d70ccab-09dd-414b-a5b7-ab0fcc748ef9 :: false

publishItemsToNodes 0.324s
2020-10-21 22:32:24 |

2020-10-21 22:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:32:24 | ------------------------------------

2020-10-21 22:32:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9</node><item-id>item-4d30cb70-54c4-4c7b-959a-8fd4caf0a307</item-id><entry><test>item-4d30cb70-54c4-4c7b-959a-8fd4caf0a307</test></entry></data>

2020-10-21 22:32:24 | 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-4d30cb70-54c4-4c7b-959a-8fd4caf0a307</value></item-id></result>

2020-10-21 22:32:24 | [Mutex] received everything.

2020-10-21 22:32:24 | [Mutex] isItemNotified: published:item:notifieditem-4d30cb70-54c4-4c7b-959a-8fd4caf0a307:admin@test-domain.com :: true

retractItemsFromNodes 0.206s
2020-10-21 22:32:24 |

2020-10-21 22:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:32:24 | ------------------------------------

2020-10-21 22:32:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9</node><item-id>item-4d30cb70-54c4-4c7b-959a-8fd4caf0a307</item-id></data>

2020-10-21 22:32:25 | 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-4d30cb70-54c4-4c7b-959a-8fd4caf0a307</value></item-id></result>

2020-10-21 22:32:25 | [Mutex] waiting for: [retracted:item:notifieditem-4d30cb70-54c4-4c7b-959a-8fd4caf0a307:admin@test-domain.com]

2020-10-21 22:32:25 | [Mutex] received everything.

2020-10-21 22:32:25 | [Mutex] isItemNotified: retracted:item:notifieditem-4d30cb70-54c4-4c7b-959a-8fd4caf0a307:admin@test-domain.com :: true

retrieveItemsFromNodes 0.299s
2020-10-21 22:32:24 |

2020-10-21 22:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:32:24 | ------------------------------------

2020-10-21 22:32:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9</node><item-id>item-4d30cb70-54c4-4c7b-959a-8fd4caf0a307</item-id></data>

2020-10-21 22:32:24 | 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-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9</value></node><item-id label="Item ID" type="text-single"><value>item-4d30cb70-54c4-4c7b-959a-8fd4caf0a307</value></item-id><item label="Item" type="text-multi"><value><item id="item-4d30cb70-54c4-4c7b-959a-8fd4caf0a307"><test>item-4d30cb70-54c4-4c7b-959a-8fd4caf0a307</test></item></value></item></result>

2020-10-21 22:32:24 | [Mutex] notify: [retrieved:item:item-4d30cb70-54c4-4c7b-959a-8fd4caf0a307:payload-matches:true:localhost]

2020-10-21 22:32:24 | [Mutex] received everything.

2020-10-21 22:32:24 | [Mutex] isItemNotified: retrieved:item:item-4d30cb70-54c4-4c7b-959a-8fd4caf0a307:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-10-21 22:32:24 |

2020-10-21 22:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:32:24 | ------------------------------------

2020-10-21 22:32:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-21 22:32:24 | 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-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9</value><value>node-9205ea89-1a1c-47ef-96dd-d10872519c95</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-10-21 22:32:24 |

2020-10-21 22:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:32:24 | ------------------------------------

2020-10-21 22:32:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9)</node-pattern></data>

2020-10-21 22:32:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.168s
2020-10-21 22:32:23 |

2020-10-21 22:32:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:32:23 | ------------------------------------

2020-10-21 22:32:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-21 22:32:23 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.396s
2020-10-21 22:32:25 |

2020-10-21 22:32:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:32:25 | ------------------------------------

2020-10-21 22:32:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4d70ccab-09dd-414b-a5b7-ab0fcc748ef9</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-21 22:32:25 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>