Generated by TestNG with ReportNG at 19:16 PDT on Tuesday 25 August 2020
root@9adf47d9b258 / 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.271s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.121s
2020-08-25 19:38:32 |

2020-08-25 19:38:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:38:32 | ------------------------------------

2020-08-25 19:38:32 | [Mutex] waiting for: [configured:node:node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7:node-9f43ae85-2751-4548-9955-e8423ffdf793]

2020-08-25 19:38:32 | [Mutex] received everything.

2020-08-25 19:38:32 | [Mutex] isItemNotified: configured:node:node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7:node-9f43ae85-2751-4548-9955-e8423ffdf793 :: true

2020-08-25 19:38:33 | [Mutex] waiting for: [received:nodes:e1c4a970-e939-49bf-8840-6866ef1eb6e7:localhost]

2020-08-25 19:38:33 | [Mutex] received everything.

2020-08-25 19:38:33 | [Mutex] isItemNotified: received:node:e1c4a970-e939-49bf-8840-6866ef1eb6e7:localhost:node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7:Node b1d6e932-597a-4ba8-82f7-f4a7e12213d7 :: true

2020-08-25 19:38:33 | [Mutex] waiting for: [received:nodes:2f8c4862-efa6-493a-8ae1-fc6abc6e21ab:localhost]

2020-08-25 19:38:33 | [Mutex] received everything.

2020-08-25 19:38:33 | [Mutex] isItemNotified: received:node:2f8c4862-efa6-493a-8ae1-fc6abc6e21ab:localhost:node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7:Node b1d6e932-597a-4ba8-82f7-f4a7e12213d7 :: false

createNodes 1.530s
2020-08-25 19:38:29 |

2020-08-25 19:38:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:38:29 | ------------------------------------

2020-08-25 19:38:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b1d6e932-597a-4ba8-82f7-f4a7e12213d7</title></pubsub></data>

2020-08-25 19:38:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-25 19:38:31 | [Mutex] waiting for: [received:nodes:0da09449-206f-497d-9474-58103447566d:localhost]

2020-08-25 19:38:31 | [Mutex] received everything.

2020-08-25 19:38:31 | [Mutex] isItemNotified: received:node:0da09449-206f-497d-9474-58103447566d:localhost:node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7:Node b1d6e932-597a-4ba8-82f7-f4a7e12213d7 :: true

createSubnodes 1.033s
2020-08-25 19:38:31 |

2020-08-25 19:38:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:38:31 | ------------------------------------

2020-08-25 19:38:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9f43ae85-2751-4548-9955-e8423ffdf793</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9f43ae85-2751-4548-9955-e8423ffdf793</title></pubsub></data>

2020-08-25 19:38:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-25 19:38:32 | [Mutex] waiting for: [received:nodes:0febb50f-65eb-472c-8d77-cfd40cf13836:localhost]

2020-08-25 19:38:32 | [Mutex] waiting for: [received:nodes:0febb50f-65eb-472c-8d77-cfd40cf13836:localhost]

2020-08-25 19:38:32 | [Mutex] received everything.

2020-08-25 19:38:32 | [Mutex] isItemNotified: received:node:0febb50f-65eb-472c-8d77-cfd40cf13836:localhost:node-9f43ae85-2751-4548-9955-e8423ffdf793:Node 9f43ae85-2751-4548-9955-e8423ffdf793 :: true

deleteNodes 1.023s
2020-08-25 19:38:38 |

2020-08-25 19:38:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:38:38 | ------------------------------------

2020-08-25 19:38:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9f43ae85-2751-4548-9955-e8423ffdf793</node></data>

2020-08-25 19:38:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-25 19:38:39 | [Mutex] waiting for: [received:nodes:697ed149-9e10-47c2-abf5-e28d64546754:localhost]

2020-08-25 19:38:39 | [Mutex] received everything.

2020-08-25 19:38:39 | [Mutex] isItemNotified: received:node:697ed149-9e10-47c2-abf5-e28d64546754:localhost:node-9f43ae85-2751-4548-9955-e8423ffdf793:Node 9f43ae85-2751-4548-9955-e8423ffdf793 :: false

deleteSubnodes 1.123s
2020-08-25 19:38:37 |

2020-08-25 19:38:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:38:37 | ------------------------------------

2020-08-25 19:38:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7</node></data>

2020-08-25 19:38:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-25 19:38:38 | [Mutex] waiting for: [received:nodes:b6139d6c-bdd9-4e37-8dff-25aa76b5bfbb:localhost]

2020-08-25 19:38:38 | [Mutex] waiting for: [received:nodes:b6139d6c-bdd9-4e37-8dff-25aa76b5bfbb:localhost]

2020-08-25 19:38:38 | [Mutex] received everything.

2020-08-25 19:38:38 | [Mutex] isItemNotified: received:node:b6139d6c-bdd9-4e37-8dff-25aa76b5bfbb:localhost:node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7:Node b1d6e932-597a-4ba8-82f7-f4a7e12213d7 :: false

2020-08-25 19:38:38 | [Mutex] waiting for: [received:nodes:8744bfd3-4bbe-4d38-8a00-da822a2fac65:localhost]

2020-08-25 19:38:38 | [Mutex] received everything.

2020-08-25 19:38:38 | [Mutex] isItemNotified: received:node:8744bfd3-4bbe-4d38-8a00-da822a2fac65:localhost:node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7:Node b1d6e932-597a-4ba8-82f7-f4a7e12213d7 :: false

publishItemsToNodes 0.243s
2020-08-25 19:38:34 |

2020-08-25 19:38:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:38:34 | ------------------------------------

2020-08-25 19:38:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7</node><item-id>item-9bb2cafb-1f55-4972-bce4-7461f6e9ecd2</item-id><entry><test>item-9bb2cafb-1f55-4972-bce4-7461f6e9ecd2</test></entry></data>

2020-08-25 19:38:34 | 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-9bb2cafb-1f55-4972-bce4-7461f6e9ecd2</value></item-id></result>

2020-08-25 19:38:34 | [Mutex] received everything.

2020-08-25 19:38:34 | [Mutex] isItemNotified: published:item:notifieditem-9bb2cafb-1f55-4972-bce4-7461f6e9ecd2:admin@test-domain.com :: true

retractItemsFromNodes 0.324s
2020-08-25 19:38:35 |

2020-08-25 19:38:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:38:35 | ------------------------------------

2020-08-25 19:38:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7</node><item-id>item-9bb2cafb-1f55-4972-bce4-7461f6e9ecd2</item-id></data>

2020-08-25 19:38:35 | 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-9bb2cafb-1f55-4972-bce4-7461f6e9ecd2</value></item-id></result>

2020-08-25 19:38:35 | [Mutex] received everything.

2020-08-25 19:38:35 | [Mutex] isItemNotified: retracted:item:notifieditem-9bb2cafb-1f55-4972-bce4-7461f6e9ecd2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.383s
2020-08-25 19:38:34 |

2020-08-25 19:38:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:38:34 | ------------------------------------

2020-08-25 19:38:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7</node><item-id>item-9bb2cafb-1f55-4972-bce4-7461f6e9ecd2</item-id></data>

2020-08-25 19:38:35 | 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-b1d6e932-597a-4ba8-82f7-f4a7e12213d7</value></node><item-id type="text-single" label="Item ID"><value>item-9bb2cafb-1f55-4972-bce4-7461f6e9ecd2</value></item-id><item type="text-multi" label="Item"><value><item id="item-9bb2cafb-1f55-4972-bce4-7461f6e9ecd2"><test>item-9bb2cafb-1f55-4972-bce4-7461f6e9ecd2</test></item></value></item></result>

2020-08-25 19:38:35 | [Mutex] notify: [retrieved:item:item-9bb2cafb-1f55-4972-bce4-7461f6e9ecd2:payload-matches:true:localhost]

2020-08-25 19:38:35 | [Mutex] received everything.

2020-08-25 19:38:35 | [Mutex] isItemNotified: retrieved:item:item-9bb2cafb-1f55-4972-bce4-7461f6e9ecd2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.077s
2020-08-25 19:38:35 |

2020-08-25 19:38:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:38:35 | ------------------------------------

2020-08-25 19:38:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-08-25 19:38:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7</value><value>node-9f43ae85-2751-4548-9955-e8423ffdf793</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.061s
2020-08-25 19:38:35 |

2020-08-25 19:38:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:38:35 | ------------------------------------

2020-08-25 19:38:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7)</node-pattern></data>

2020-08-25 19:38:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.103s
2020-08-25 19:38:33 |

2020-08-25 19:38:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:38:33 | ------------------------------------

2020-08-25 19:38:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-25 19:38:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.298s
2020-08-25 19:38:35 |

2020-08-25 19:38:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:38:35 | ------------------------------------

2020-08-25 19:38:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b1d6e932-597a-4ba8-82f7-f4a7e12213d7</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-25 19:38:36 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>