Generated by TestNG with ReportNG at 22:42 PDT on Tuesday 27 October 2020
root@eaa73862192b / 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.999s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.130s
2020-10-27 22:58:12 |

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

2020-10-27 22:58:12 | ------------------------------------

2020-10-27 22:58:12 | [Mutex] waiting for: [configured:node:node-ec5d8dd9-324f-4d09-8841-85291abc034b:node-ecce29b5-0cf1-4f95-a939-b6c6d8f3d022]

2020-10-27 22:58:12 | [Mutex] received everything.

2020-10-27 22:58:12 | [Mutex] isItemNotified: configured:node:node-ec5d8dd9-324f-4d09-8841-85291abc034b:node-ecce29b5-0cf1-4f95-a939-b6c6d8f3d022 :: true

2020-10-27 22:58:13 | [Mutex] waiting for: [received:nodes:a06e34fd-0aa0-4d41-b7f2-5b7883c1b79d:localhost]

2020-10-27 22:58:13 | [Mutex] received everything.

2020-10-27 22:58:13 | [Mutex] isItemNotified: received:node:a06e34fd-0aa0-4d41-b7f2-5b7883c1b79d:localhost:node-ec5d8dd9-324f-4d09-8841-85291abc034b:Node ec5d8dd9-324f-4d09-8841-85291abc034b :: true

2020-10-27 22:58:13 | [Mutex] waiting for: [received:nodes:26cc1937-259c-40b1-b07f-eb990b63c3a7:localhost]

2020-10-27 22:58:13 | [Mutex] received everything.

2020-10-27 22:58:13 | [Mutex] isItemNotified: received:node:26cc1937-259c-40b1-b07f-eb990b63c3a7:localhost:node-ec5d8dd9-324f-4d09-8841-85291abc034b:Node ec5d8dd9-324f-4d09-8841-85291abc034b :: false

createNodes 1.479s
2020-10-27 22:58:10 |

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

2020-10-27 22:58:10 | ------------------------------------

2020-10-27 22:58:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ec5d8dd9-324f-4d09-8841-85291abc034b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ec5d8dd9-324f-4d09-8841-85291abc034b</title></pubsub></data>

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

2020-10-27 22:58:11 | [Mutex] waiting for: [received:nodes:040d3fcd-2768-4474-b8d2-6a4135177452:localhost]

2020-10-27 22:58:11 | [Mutex] received everything.

2020-10-27 22:58:11 | [Mutex] isItemNotified: received:node:040d3fcd-2768-4474-b8d2-6a4135177452:localhost:node-ec5d8dd9-324f-4d09-8841-85291abc034b:Node ec5d8dd9-324f-4d09-8841-85291abc034b :: true

createSubnodes 1.029s
2020-10-27 22:58:11 |

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

2020-10-27 22:58:11 | ------------------------------------

2020-10-27 22:58:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ecce29b5-0cf1-4f95-a939-b6c6d8f3d022</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ecce29b5-0cf1-4f95-a939-b6c6d8f3d022</title></pubsub></data>

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

2020-10-27 22:58:12 | [Mutex] waiting for: [received:nodes:5ec2c8a4-0dbc-415f-b3f7-5d62211424b1:localhost]

2020-10-27 22:58:12 | [Mutex] received everything.

2020-10-27 22:58:12 | [Mutex] isItemNotified: received:node:5ec2c8a4-0dbc-415f-b3f7-5d62211424b1:localhost:node-ecce29b5-0cf1-4f95-a939-b6c6d8f3d022:Node ecce29b5-0cf1-4f95-a939-b6c6d8f3d022 :: true

deleteNodes 1.021s
2020-10-27 22:58:18 |

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

2020-10-27 22:58:18 | ------------------------------------

2020-10-27 22:58:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ecce29b5-0cf1-4f95-a939-b6c6d8f3d022</node></data>

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

2020-10-27 22:58:19 | [Mutex] waiting for: [received:nodes:500a602d-5dd5-4d58-8f86-ce897b7e193b:localhost]

2020-10-27 22:58:19 | [Mutex] received everything.

2020-10-27 22:58:19 | [Mutex] isItemNotified: received:node:500a602d-5dd5-4d58-8f86-ce897b7e193b:localhost:node-ecce29b5-0cf1-4f95-a939-b6c6d8f3d022:Node ecce29b5-0cf1-4f95-a939-b6c6d8f3d022 :: false

deleteSubnodes 1.117s
2020-10-27 22:58:16 |

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

2020-10-27 22:58:16 | ------------------------------------

2020-10-27 22:58:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ec5d8dd9-324f-4d09-8841-85291abc034b</node></data>

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

2020-10-27 22:58:18 | [Mutex] waiting for: [received:nodes:bc5d18f1-19a7-4d55-a762-ce22747bbc14:localhost]

2020-10-27 22:58:18 | [Mutex] received everything.

2020-10-27 22:58:18 | [Mutex] isItemNotified: received:node:bc5d18f1-19a7-4d55-a762-ce22747bbc14:localhost:node-ec5d8dd9-324f-4d09-8841-85291abc034b:Node ec5d8dd9-324f-4d09-8841-85291abc034b :: false

2020-10-27 22:58:18 | [Mutex] waiting for: [received:nodes:6ce042f7-0597-46f5-a1e2-bedbb5186b81:localhost]

2020-10-27 22:58:18 | [Mutex] received everything.

2020-10-27 22:58:18 | [Mutex] isItemNotified: received:node:6ce042f7-0597-46f5-a1e2-bedbb5186b81:localhost:node-ec5d8dd9-324f-4d09-8841-85291abc034b:Node ec5d8dd9-324f-4d09-8841-85291abc034b :: false

publishItemsToNodes 0.240s
2020-10-27 22:58:14 |

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

2020-10-27 22:58:14 | ------------------------------------

2020-10-27 22:58:14 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ec5d8dd9-324f-4d09-8841-85291abc034b</node><item-id>item-46307217-81e7-4aa0-8228-992bd922dabf</item-id><entry><test>item-46307217-81e7-4aa0-8228-992bd922dabf</test></entry></data>

2020-10-27 22:58:15 | 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-46307217-81e7-4aa0-8228-992bd922dabf</value></item-id></result>

2020-10-27 22:58:15 | [Mutex] received everything.

2020-10-27 22:58:15 | [Mutex] isItemNotified: published:item:notifieditem-46307217-81e7-4aa0-8228-992bd922dabf:admin@test-domain.com :: true

retractItemsFromNodes 0.177s
2020-10-27 22:58:15 |

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

2020-10-27 22:58:15 | ------------------------------------

2020-10-27 22:58:15 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ec5d8dd9-324f-4d09-8841-85291abc034b</node><item-id>item-46307217-81e7-4aa0-8228-992bd922dabf</item-id></data>

2020-10-27 22:58:15 | 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-46307217-81e7-4aa0-8228-992bd922dabf</value></item-id></result>

2020-10-27 22:58:15 | [Mutex] waiting for: [retracted:item:notifieditem-46307217-81e7-4aa0-8228-992bd922dabf:admin@test-domain.com]

2020-10-27 22:58:15 | [Mutex] received everything.

2020-10-27 22:58:15 | [Mutex] isItemNotified: retracted:item:notifieditem-46307217-81e7-4aa0-8228-992bd922dabf:admin@test-domain.com :: true

retrieveItemsFromNodes 0.267s
2020-10-27 22:58:15 |

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

2020-10-27 22:58:15 | ------------------------------------

2020-10-27 22:58:15 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ec5d8dd9-324f-4d09-8841-85291abc034b</node><item-id>item-46307217-81e7-4aa0-8228-992bd922dabf</item-id></data>

2020-10-27 22:58:15 | 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-ec5d8dd9-324f-4d09-8841-85291abc034b</value></node><item-id label="Item ID" type="text-single"><value>item-46307217-81e7-4aa0-8228-992bd922dabf</value></item-id><item label="Item" type="text-multi"><value><item id="item-46307217-81e7-4aa0-8228-992bd922dabf"><test>item-46307217-81e7-4aa0-8228-992bd922dabf</test></item></value></item></result>

2020-10-27 22:58:15 | [Mutex] notify: [retrieved:item:item-46307217-81e7-4aa0-8228-992bd922dabf:payload-matches:true:localhost]

2020-10-27 22:58:15 | [Mutex] received everything.

2020-10-27 22:58:15 | [Mutex] isItemNotified: retrieved:item:item-46307217-81e7-4aa0-8228-992bd922dabf:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.054s
2020-10-27 22:58:15 |

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

2020-10-27 22:58:15 | ------------------------------------

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

2020-10-27 22:58:15 | 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-ecce29b5-0cf1-4f95-a939-b6c6d8f3d022</value><value>node-ec5d8dd9-324f-4d09-8841-85291abc034b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-10-27 22:58:15 |

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

2020-10-27 22:58:15 | ------------------------------------

2020-10-27 22:58:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ec5d8dd9-324f-4d09-8841-85291abc034b)</node-pattern></data>

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

subscribeNodes 1.134s
2020-10-27 22:58:13 |

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

2020-10-27 22:58:13 | ------------------------------------

2020-10-27 22:58:13 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ec5d8dd9-324f-4d09-8841-85291abc034b</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.287s
2020-10-27 22:58:15 |

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

2020-10-27 22:58:15 | ------------------------------------

2020-10-27 22:58:15 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ec5d8dd9-324f-4d09-8841-85291abc034b</node><jids><value>admin@test-domain.com</value></jids></data>

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