Generated by TestNG with ReportNG at 21:25 PST on Monday 23 November 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.935s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2020-11-23 21:41:09 |

2020-11-23 21:41:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:41:09 | ------------------------------------

2020-11-23 21:41:09 | [Mutex] waiting for: [configured:node:node-cc69149b-2ec6-488f-81aa-5acf039977ab:node-e34e35a6-0013-4a5d-8513-308c9564fbc8]

2020-11-23 21:41:09 | [Mutex] received everything.

2020-11-23 21:41:09 | [Mutex] isItemNotified: configured:node:node-cc69149b-2ec6-488f-81aa-5acf039977ab:node-e34e35a6-0013-4a5d-8513-308c9564fbc8 :: true

2020-11-23 21:41:10 | [Mutex] waiting for: [received:nodes:856d90df-3921-4618-b178-13eb7b9ce1d5:localhost]

2020-11-23 21:41:10 | [Mutex] received everything.

2020-11-23 21:41:10 | [Mutex] isItemNotified: received:node:856d90df-3921-4618-b178-13eb7b9ce1d5:localhost:node-cc69149b-2ec6-488f-81aa-5acf039977ab:Node cc69149b-2ec6-488f-81aa-5acf039977ab :: true

2020-11-23 21:41:10 | [Mutex] waiting for: [received:nodes:a5d06d85-777e-451a-bbee-5db688c70654:localhost]

2020-11-23 21:41:10 | [Mutex] waiting for: [received:nodes:a5d06d85-777e-451a-bbee-5db688c70654:localhost]

2020-11-23 21:41:10 | [Mutex] received everything.

2020-11-23 21:41:10 | [Mutex] isItemNotified: received:node:a5d06d85-777e-451a-bbee-5db688c70654:localhost:node-cc69149b-2ec6-488f-81aa-5acf039977ab:Node cc69149b-2ec6-488f-81aa-5acf039977ab :: false

createNodes 1.400s
2020-11-23 21:41:07 |

2020-11-23 21:41:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:41:07 | ------------------------------------

2020-11-23 21:41:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cc69149b-2ec6-488f-81aa-5acf039977ab</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cc69149b-2ec6-488f-81aa-5acf039977ab</title></pubsub></data>

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

2020-11-23 21:41:08 | [Mutex] waiting for: [received:nodes:4c2e9e24-57e6-4499-a8c9-2f98be4c60c1:localhost]

2020-11-23 21:41:08 | [Mutex] received everything.

2020-11-23 21:41:08 | [Mutex] isItemNotified: received:node:4c2e9e24-57e6-4499-a8c9-2f98be4c60c1:localhost:node-cc69149b-2ec6-488f-81aa-5acf039977ab:Node cc69149b-2ec6-488f-81aa-5acf039977ab :: true

createSubnodes 1.032s
2020-11-23 21:41:08 |

2020-11-23 21:41:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:41:08 | ------------------------------------

2020-11-23 21:41:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e34e35a6-0013-4a5d-8513-308c9564fbc8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e34e35a6-0013-4a5d-8513-308c9564fbc8</title></pubsub></data>

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

2020-11-23 21:41:09 | [Mutex] waiting for: [received:nodes:8258125c-1dcd-4614-86ac-ac0e4ee7c6fb:localhost]

2020-11-23 21:41:09 | [Mutex] received everything.

2020-11-23 21:41:09 | [Mutex] isItemNotified: received:node:8258125c-1dcd-4614-86ac-ac0e4ee7c6fb:localhost:node-e34e35a6-0013-4a5d-8513-308c9564fbc8:Node e34e35a6-0013-4a5d-8513-308c9564fbc8 :: true

deleteNodes 1.018s
2020-11-23 21:41:15 |

2020-11-23 21:41:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:41:15 | ------------------------------------

2020-11-23 21:41:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e34e35a6-0013-4a5d-8513-308c9564fbc8</node></data>

2020-11-23 21:41:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-23 21:41:16 | [Mutex] waiting for: [received:nodes:01e5a4d9-d7a4-4920-abfe-3de6ddf60ddc:localhost]

2020-11-23 21:41:16 | [Mutex] waiting for: [received:nodes:01e5a4d9-d7a4-4920-abfe-3de6ddf60ddc:localhost]

2020-11-23 21:41:16 | [Mutex] received everything.

2020-11-23 21:41:16 | [Mutex] isItemNotified: received:node:01e5a4d9-d7a4-4920-abfe-3de6ddf60ddc:localhost:node-e34e35a6-0013-4a5d-8513-308c9564fbc8:Node e34e35a6-0013-4a5d-8513-308c9564fbc8 :: false

deleteSubnodes 1.109s
2020-11-23 21:41:14 |

2020-11-23 21:41:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:41:14 | ------------------------------------

2020-11-23 21:41:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cc69149b-2ec6-488f-81aa-5acf039977ab</node></data>

2020-11-23 21:41:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-23 21:41:15 | [Mutex] waiting for: [received:nodes:7e682e66-8c74-4da4-a1de-af3611a0eac3:localhost]

2020-11-23 21:41:15 | [Mutex] received everything.

2020-11-23 21:41:15 | [Mutex] isItemNotified: received:node:7e682e66-8c74-4da4-a1de-af3611a0eac3:localhost:node-cc69149b-2ec6-488f-81aa-5acf039977ab:Node cc69149b-2ec6-488f-81aa-5acf039977ab :: false

2020-11-23 21:41:15 | [Mutex] waiting for: [received:nodes:9aecb831-44ca-42cc-b7c8-9333e5fab852:localhost]

2020-11-23 21:41:15 | [Mutex] received everything.

2020-11-23 21:41:15 | [Mutex] isItemNotified: received:node:9aecb831-44ca-42cc-b7c8-9333e5fab852:localhost:node-cc69149b-2ec6-488f-81aa-5acf039977ab:Node cc69149b-2ec6-488f-81aa-5acf039977ab :: false

publishItemsToNodes 0.233s
2020-11-23 21:41:12 |

2020-11-23 21:41:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:41:12 | ------------------------------------

2020-11-23 21:41:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-cc69149b-2ec6-488f-81aa-5acf039977ab</node><item-id>item-6f95f1b0-0dfa-48bf-b9fe-562af24ed2b2</item-id><entry><test>item-6f95f1b0-0dfa-48bf-b9fe-562af24ed2b2</test></entry></data>

2020-11-23 21:41:12 | 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-6f95f1b0-0dfa-48bf-b9fe-562af24ed2b2</value></item-id></result>

2020-11-23 21:41:12 | [Mutex] waiting for: [published:item:notifieditem-6f95f1b0-0dfa-48bf-b9fe-562af24ed2b2:admin@test-domain.com]

2020-11-23 21:41:12 | [Mutex] received everything.

2020-11-23 21:41:12 | [Mutex] isItemNotified: published:item:notifieditem-6f95f1b0-0dfa-48bf-b9fe-562af24ed2b2:admin@test-domain.com :: true

retractItemsFromNodes 0.300s
2020-11-23 21:41:12 |

2020-11-23 21:41:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:41:12 | ------------------------------------

2020-11-23 21:41:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-cc69149b-2ec6-488f-81aa-5acf039977ab</node><item-id>item-6f95f1b0-0dfa-48bf-b9fe-562af24ed2b2</item-id></data>

2020-11-23 21:41:12 | 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-6f95f1b0-0dfa-48bf-b9fe-562af24ed2b2</value></item-id></result>

2020-11-23 21:41:12 | [Mutex] received everything.

2020-11-23 21:41:12 | [Mutex] isItemNotified: retracted:item:notifieditem-6f95f1b0-0dfa-48bf-b9fe-562af24ed2b2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.209s
2020-11-23 21:41:12 |

2020-11-23 21:41:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:41:12 | ------------------------------------

2020-11-23 21:41:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-cc69149b-2ec6-488f-81aa-5acf039977ab</node><item-id>item-6f95f1b0-0dfa-48bf-b9fe-562af24ed2b2</item-id></data>

2020-11-23 21:41:12 | 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-cc69149b-2ec6-488f-81aa-5acf039977ab</value></node><item-id type="text-single" label="Item ID"><value>item-6f95f1b0-0dfa-48bf-b9fe-562af24ed2b2</value></item-id><item type="text-multi" label="Item"><value><item id="item-6f95f1b0-0dfa-48bf-b9fe-562af24ed2b2"><test>item-6f95f1b0-0dfa-48bf-b9fe-562af24ed2b2</test></item></value></item></result>

2020-11-23 21:41:12 | [Mutex] notify: [retrieved:item:item-6f95f1b0-0dfa-48bf-b9fe-562af24ed2b2:payload-matches:true:localhost]

2020-11-23 21:41:12 | [Mutex] received everything.

2020-11-23 21:41:12 | [Mutex] isItemNotified: retrieved:item:item-6f95f1b0-0dfa-48bf-b9fe-562af24ed2b2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-11-23 21:41:12 |

2020-11-23 21:41:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:41:12 | ------------------------------------

2020-11-23 21:41:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-23 21:41:12 | 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-cc69149b-2ec6-488f-81aa-5acf039977ab</value><value>node-e34e35a6-0013-4a5d-8513-308c9564fbc8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-11-23 21:41:12 |

2020-11-23 21:41:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:41:12 | ------------------------------------

2020-11-23 21:41:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cc69149b-2ec6-488f-81aa-5acf039977ab)</node-pattern></data>

2020-11-23 21:41:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.168s
2020-11-23 21:41:10 |

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

2020-11-23 21:41:10 | ------------------------------------

2020-11-23 21:41:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-cc69149b-2ec6-488f-81aa-5acf039977ab</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.300s
2020-11-23 21:41:12 |

2020-11-23 21:41:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:41:12 | ------------------------------------

2020-11-23 21:41:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-cc69149b-2ec6-488f-81aa-5acf039977ab</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-23 21:41:13 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>