Generated by TestNG with ReportNG at 22:30 PDT on Wednesday 09 September 2020
root@9b315bf73b73 / 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.046s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2020-09-09 22:45:23 |

2020-09-09 22:45:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:45:23 | ------------------------------------

2020-09-09 22:45:23 | [Mutex] waiting for: [configured:node:node-3dd17432-fbf8-4252-90de-3ab2b6abce8b:node-bcd08ba7-83c5-4ef0-86a1-eaab17175c16]

2020-09-09 22:45:23 | [Mutex] received everything.

2020-09-09 22:45:23 | [Mutex] isItemNotified: configured:node:node-3dd17432-fbf8-4252-90de-3ab2b6abce8b:node-bcd08ba7-83c5-4ef0-86a1-eaab17175c16 :: true

2020-09-09 22:45:24 | [Mutex] waiting for: [received:nodes:7ee20967-dfa9-4025-9660-dbac88696fed:localhost]

2020-09-09 22:45:24 | [Mutex] received everything.

2020-09-09 22:45:24 | [Mutex] isItemNotified: received:node:7ee20967-dfa9-4025-9660-dbac88696fed:localhost:node-3dd17432-fbf8-4252-90de-3ab2b6abce8b:Node 3dd17432-fbf8-4252-90de-3ab2b6abce8b :: true

2020-09-09 22:45:24 | [Mutex] waiting for: [received:nodes:ce67e10f-3e05-4683-ab76-428cdaedf4f9:localhost]

2020-09-09 22:45:24 | [Mutex] waiting for: [received:nodes:ce67e10f-3e05-4683-ab76-428cdaedf4f9:localhost]

2020-09-09 22:45:24 | [Mutex] waiting for: [received:nodes:ce67e10f-3e05-4683-ab76-428cdaedf4f9:localhost]

2020-09-09 22:45:24 | [Mutex] waiting for: [received:nodes:ce67e10f-3e05-4683-ab76-428cdaedf4f9:localhost]

2020-09-09 22:45:24 | [Mutex] received everything.

2020-09-09 22:45:24 | [Mutex] isItemNotified: received:node:ce67e10f-3e05-4683-ab76-428cdaedf4f9:localhost:node-3dd17432-fbf8-4252-90de-3ab2b6abce8b:Node 3dd17432-fbf8-4252-90de-3ab2b6abce8b :: false

createNodes 1.617s
2020-09-09 22:45:21 |

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

2020-09-09 22:45:21 | ------------------------------------

2020-09-09 22:45:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3dd17432-fbf8-4252-90de-3ab2b6abce8b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3dd17432-fbf8-4252-90de-3ab2b6abce8b</title></pubsub></data>

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

2020-09-09 22:45:22 | [Mutex] waiting for: [received:nodes:d14c0bec-d854-4a81-b9e0-452131c2219d:localhost]

2020-09-09 22:45:22 | [Mutex] received everything.

2020-09-09 22:45:22 | [Mutex] isItemNotified: received:node:d14c0bec-d854-4a81-b9e0-452131c2219d:localhost:node-3dd17432-fbf8-4252-90de-3ab2b6abce8b:Node 3dd17432-fbf8-4252-90de-3ab2b6abce8b :: true

createSubnodes 1.025s
2020-09-09 22:45:22 |

2020-09-09 22:45:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:45:22 | ------------------------------------

2020-09-09 22:45:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bcd08ba7-83c5-4ef0-86a1-eaab17175c16</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bcd08ba7-83c5-4ef0-86a1-eaab17175c16</title></pubsub></data>

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

2020-09-09 22:45:23 | [Mutex] waiting for: [received:nodes:89f53a6a-7cd0-4a50-9c2d-d4949629d072:localhost]

2020-09-09 22:45:23 | [Mutex] received everything.

2020-09-09 22:45:23 | [Mutex] isItemNotified: received:node:89f53a6a-7cd0-4a50-9c2d-d4949629d072:localhost:node-bcd08ba7-83c5-4ef0-86a1-eaab17175c16:Node bcd08ba7-83c5-4ef0-86a1-eaab17175c16 :: true

deleteNodes 1.018s
2020-09-09 22:45:29 |

2020-09-09 22:45:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:45:29 | ------------------------------------

2020-09-09 22:45:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bcd08ba7-83c5-4ef0-86a1-eaab17175c16</node></data>

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

2020-09-09 22:45:30 | [Mutex] waiting for: [received:nodes:3b491d9b-0e8b-43ae-8123-3f2b28d0b57e:localhost]

2020-09-09 22:45:30 | [Mutex] received everything.

2020-09-09 22:45:30 | [Mutex] isItemNotified: received:node:3b491d9b-0e8b-43ae-8123-3f2b28d0b57e:localhost:node-bcd08ba7-83c5-4ef0-86a1-eaab17175c16:Node bcd08ba7-83c5-4ef0-86a1-eaab17175c16 :: false

deleteSubnodes 1.129s
2020-09-09 22:45:27 |

2020-09-09 22:45:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:45:27 | ------------------------------------

2020-09-09 22:45:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3dd17432-fbf8-4252-90de-3ab2b6abce8b</node></data>

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

2020-09-09 22:45:29 | [Mutex] waiting for: [received:nodes:e3e58ec6-0cca-4c78-aed0-43ff163ca2ea:localhost]

2020-09-09 22:45:29 | [Mutex] received everything.

2020-09-09 22:45:29 | [Mutex] isItemNotified: received:node:e3e58ec6-0cca-4c78-aed0-43ff163ca2ea:localhost:node-3dd17432-fbf8-4252-90de-3ab2b6abce8b:Node 3dd17432-fbf8-4252-90de-3ab2b6abce8b :: false

2020-09-09 22:45:29 | [Mutex] waiting for: [received:nodes:eaa9e1d1-0ed7-4d98-99b2-631eb9e4cabc:localhost]

2020-09-09 22:45:29 | [Mutex] received everything.

2020-09-09 22:45:29 | [Mutex] isItemNotified: received:node:eaa9e1d1-0ed7-4d98-99b2-631eb9e4cabc:localhost:node-3dd17432-fbf8-4252-90de-3ab2b6abce8b:Node 3dd17432-fbf8-4252-90de-3ab2b6abce8b :: false

publishItemsToNodes 0.213s
2020-09-09 22:45:25 |

2020-09-09 22:45:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:45:25 | ------------------------------------

2020-09-09 22:45:25 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3dd17432-fbf8-4252-90de-3ab2b6abce8b</node><item-id>item-0aa1ddf7-1dc7-4736-8c96-91a8e9e44a40</item-id><entry><test>item-0aa1ddf7-1dc7-4736-8c96-91a8e9e44a40</test></entry></data>

2020-09-09 22:45:26 | 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-0aa1ddf7-1dc7-4736-8c96-91a8e9e44a40</value></item-id></result>

2020-09-09 22:45:26 | [Mutex] waiting for: [published:item:notifieditem-0aa1ddf7-1dc7-4736-8c96-91a8e9e44a40:admin@test-domain.com]

2020-09-09 22:45:26 | [Mutex] received everything.

2020-09-09 22:45:26 | [Mutex] isItemNotified: published:item:notifieditem-0aa1ddf7-1dc7-4736-8c96-91a8e9e44a40:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2020-09-09 22:45:26 |

2020-09-09 22:45:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:45:26 | ------------------------------------

2020-09-09 22:45:26 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3dd17432-fbf8-4252-90de-3ab2b6abce8b</node><item-id>item-0aa1ddf7-1dc7-4736-8c96-91a8e9e44a40</item-id></data>

2020-09-09 22:45:26 | 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-0aa1ddf7-1dc7-4736-8c96-91a8e9e44a40</value></item-id></result>

2020-09-09 22:45:26 | [Mutex] received everything.

2020-09-09 22:45:26 | [Mutex] isItemNotified: retracted:item:notifieditem-0aa1ddf7-1dc7-4736-8c96-91a8e9e44a40:admin@test-domain.com :: true

retrieveItemsFromNodes 0.224s
2020-09-09 22:45:26 |

2020-09-09 22:45:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:45:26 | ------------------------------------

2020-09-09 22:45:26 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3dd17432-fbf8-4252-90de-3ab2b6abce8b</node><item-id>item-0aa1ddf7-1dc7-4736-8c96-91a8e9e44a40</item-id></data>

2020-09-09 22:45:26 | 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-3dd17432-fbf8-4252-90de-3ab2b6abce8b</value></node><item-id type="text-single" label="Item ID"><value>item-0aa1ddf7-1dc7-4736-8c96-91a8e9e44a40</value></item-id><item type="text-multi" label="Item"><value><item id="item-0aa1ddf7-1dc7-4736-8c96-91a8e9e44a40"><test>item-0aa1ddf7-1dc7-4736-8c96-91a8e9e44a40</test></item></value></item></result>

2020-09-09 22:45:26 | [Mutex] notify: [retrieved:item:item-0aa1ddf7-1dc7-4736-8c96-91a8e9e44a40:payload-matches:true:localhost]

2020-09-09 22:45:26 | [Mutex] received everything.

2020-09-09 22:45:26 | [Mutex] isItemNotified: retrieved:item:item-0aa1ddf7-1dc7-4736-8c96-91a8e9e44a40:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-09-09 22:45:26 |

2020-09-09 22:45:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:45:26 | ------------------------------------

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

2020-09-09 22:45:26 | 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-3dd17432-fbf8-4252-90de-3ab2b6abce8b</value><value>node-bcd08ba7-83c5-4ef0-86a1-eaab17175c16</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-09 22:45:26 |

2020-09-09 22:45:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:45:26 | ------------------------------------

2020-09-09 22:45:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3dd17432-fbf8-4252-90de-3ab2b6abce8b)</node-pattern></data>

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

subscribeNodes 1.131s
2020-09-09 22:45:24 |

2020-09-09 22:45:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:45:24 | ------------------------------------

2020-09-09 22:45:24 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3dd17432-fbf8-4252-90de-3ab2b6abce8b</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.247s
2020-09-09 22:45:26 |

2020-09-09 22:45:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:45:26 | ------------------------------------

2020-09-09 22:45:26 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3dd17432-fbf8-4252-90de-3ab2b6abce8b</node><jids><value>admin@test-domain.com</value></jids></data>

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