Generated by TestNG with ReportNG at 00:04 PDT on Friday 18 September 2020
root@f53a97fae7d2 / 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 : 9.766s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.115s
2020-09-18 00:19:33 |

2020-09-18 00:19:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 00:19:33 | ------------------------------------

2020-09-18 00:19:33 | [Mutex] waiting for: [configured:node:node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32:node-66975964-ae41-44d5-965e-86b3562625f6]

2020-09-18 00:19:33 | [Mutex] received everything.

2020-09-18 00:19:33 | [Mutex] isItemNotified: configured:node:node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32:node-66975964-ae41-44d5-965e-86b3562625f6 :: true

2020-09-18 00:19:34 | [Mutex] waiting for: [received:nodes:a88d4134-100c-4716-91d7-7550e4049964:localhost]

2020-09-18 00:19:34 | [Mutex] received everything.

2020-09-18 00:19:34 | [Mutex] isItemNotified: received:node:a88d4134-100c-4716-91d7-7550e4049964:localhost:node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32:Node 3a7ea07d-a84c-4da9-ac20-545b05fcbe32 :: true

2020-09-18 00:19:34 | [Mutex] waiting for: [received:nodes:4bf1b8dd-5304-4ba5-bba3-9cf98d7f41a3:localhost]

2020-09-18 00:19:34 | [Mutex] waiting for: [received:nodes:4bf1b8dd-5304-4ba5-bba3-9cf98d7f41a3:localhost]

2020-09-18 00:19:34 | [Mutex] received everything.

2020-09-18 00:19:34 | [Mutex] isItemNotified: received:node:4bf1b8dd-5304-4ba5-bba3-9cf98d7f41a3:localhost:node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32:Node 3a7ea07d-a84c-4da9-ac20-545b05fcbe32 :: false

createNodes 1.480s
2020-09-18 00:19:30 |

2020-09-18 00:19:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 00:19:30 | ------------------------------------

2020-09-18 00:19:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3a7ea07d-a84c-4da9-ac20-545b05fcbe32</title></pubsub></data>

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

2020-09-18 00:19:32 | [Mutex] waiting for: [received:nodes:3776a1c2-0f1f-4475-8243-7cba270b51e2:localhost]

2020-09-18 00:19:32 | [Mutex] received everything.

2020-09-18 00:19:32 | [Mutex] isItemNotified: received:node:3776a1c2-0f1f-4475-8243-7cba270b51e2:localhost:node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32:Node 3a7ea07d-a84c-4da9-ac20-545b05fcbe32 :: true

createSubnodes 1.037s
2020-09-18 00:19:32 |

2020-09-18 00:19:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 00:19:32 | ------------------------------------

2020-09-18 00:19:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-66975964-ae41-44d5-965e-86b3562625f6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 66975964-ae41-44d5-965e-86b3562625f6</title></pubsub></data>

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

2020-09-18 00:19:33 | [Mutex] waiting for: [received:nodes:ce00457e-6b40-45c0-92d0-de8eb1c93537:localhost]

2020-09-18 00:19:33 | [Mutex] waiting for: [received:nodes:ce00457e-6b40-45c0-92d0-de8eb1c93537:localhost]

2020-09-18 00:19:33 | [Mutex] received everything.

2020-09-18 00:19:33 | [Mutex] isItemNotified: received:node:ce00457e-6b40-45c0-92d0-de8eb1c93537:localhost:node-66975964-ae41-44d5-965e-86b3562625f6:Node 66975964-ae41-44d5-965e-86b3562625f6 :: true

deleteNodes 1.021s
2020-09-18 00:19:38 |

2020-09-18 00:19:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 00:19:38 | ------------------------------------

2020-09-18 00:19:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-66975964-ae41-44d5-965e-86b3562625f6</node></data>

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

2020-09-18 00:19:39 | [Mutex] waiting for: [received:nodes:b0f4a9be-5436-429f-bec6-4dd902cd88db:localhost]

2020-09-18 00:19:39 | [Mutex] received everything.

2020-09-18 00:19:39 | [Mutex] isItemNotified: received:node:b0f4a9be-5436-429f-bec6-4dd902cd88db:localhost:node-66975964-ae41-44d5-965e-86b3562625f6:Node 66975964-ae41-44d5-965e-86b3562625f6 :: false

deleteSubnodes 1.139s
2020-09-18 00:19:37 |

2020-09-18 00:19:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 00:19:37 | ------------------------------------

2020-09-18 00:19:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32</node></data>

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

2020-09-18 00:19:38 | [Mutex] waiting for: [received:nodes:292cba4d-8209-4974-8948-575f94b9231c:localhost]

2020-09-18 00:19:38 | [Mutex] received everything.

2020-09-18 00:19:38 | [Mutex] isItemNotified: received:node:292cba4d-8209-4974-8948-575f94b9231c:localhost:node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32:Node 3a7ea07d-a84c-4da9-ac20-545b05fcbe32 :: false

2020-09-18 00:19:38 | [Mutex] waiting for: [received:nodes:0f0963dd-1946-4a94-af0c-cd5668e84cdf:localhost]

2020-09-18 00:19:38 | [Mutex] received everything.

2020-09-18 00:19:38 | [Mutex] isItemNotified: received:node:0f0963dd-1946-4a94-af0c-cd5668e84cdf:localhost:node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32:Node 3a7ea07d-a84c-4da9-ac20-545b05fcbe32 :: false

publishItemsToNodes 0.198s
2020-09-18 00:19:35 |

2020-09-18 00:19:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 00:19:35 | ------------------------------------

2020-09-18 00:19:35 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32</node><item-id>item-c3dca466-465d-4d32-8f94-ff0b618ed5fe</item-id><entry><test>item-c3dca466-465d-4d32-8f94-ff0b618ed5fe</test></entry></data>

2020-09-18 00:19:35 | 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-c3dca466-465d-4d32-8f94-ff0b618ed5fe</value></item-id></result>

2020-09-18 00:19:35 | [Mutex] received everything.

2020-09-18 00:19:35 | [Mutex] isItemNotified: published:item:notifieditem-c3dca466-465d-4d32-8f94-ff0b618ed5fe:admin@test-domain.com :: true

retractItemsFromNodes 0.179s
2020-09-18 00:19:36 |

2020-09-18 00:19:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 00:19:36 | ------------------------------------

2020-09-18 00:19:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32</node><item-id>item-c3dca466-465d-4d32-8f94-ff0b618ed5fe</item-id></data>

2020-09-18 00:19:36 | 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-c3dca466-465d-4d32-8f94-ff0b618ed5fe</value></item-id></result>

2020-09-18 00:19:36 | [Mutex] received everything.

2020-09-18 00:19:36 | [Mutex] isItemNotified: retracted:item:notifieditem-c3dca466-465d-4d32-8f94-ff0b618ed5fe:admin@test-domain.com :: true

retrieveItemsFromNodes 0.272s
2020-09-18 00:19:35 |

2020-09-18 00:19:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 00:19:35 | ------------------------------------

2020-09-18 00:19:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32</node><item-id>item-c3dca466-465d-4d32-8f94-ff0b618ed5fe</item-id></data>

2020-09-18 00:19:36 | 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-3a7ea07d-a84c-4da9-ac20-545b05fcbe32</value></node><item-id type="text-single" label="Item ID"><value>item-c3dca466-465d-4d32-8f94-ff0b618ed5fe</value></item-id><item type="text-multi" label="Item"><value><item id="item-c3dca466-465d-4d32-8f94-ff0b618ed5fe"><test>item-c3dca466-465d-4d32-8f94-ff0b618ed5fe</test></item></value></item></result>

2020-09-18 00:19:36 | [Mutex] notify: [retrieved:item:item-c3dca466-465d-4d32-8f94-ff0b618ed5fe:payload-matches:true:localhost]

2020-09-18 00:19:36 | [Mutex] received everything.

2020-09-18 00:19:36 | [Mutex] isItemNotified: retrieved:item:item-c3dca466-465d-4d32-8f94-ff0b618ed5fe:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-09-18 00:19:36 |

2020-09-18 00:19:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 00:19:36 | ------------------------------------

2020-09-18 00:19:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-18 00:19:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-66975964-ae41-44d5-965e-86b3562625f6</value><value>test</value><value>node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-18 00:19:36 |

2020-09-18 00:19:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 00:19:36 | ------------------------------------

2020-09-18 00:19:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32)</node-pattern></data>

2020-09-18 00:19:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.140s
2020-09-18 00:19:34 |

2020-09-18 00:19:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 00:19:34 | ------------------------------------

2020-09-18 00:19:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-18 00:19:34 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.156s
2020-09-18 00:19:36 |

2020-09-18 00:19:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 00:19:36 | ------------------------------------

2020-09-18 00:19:36 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3a7ea07d-a84c-4da9-ac20-545b05fcbe32</node><jids><value>admin@test-domain.com</value></jids></data>

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