Generated by TestNG with ReportNG at 22:46 PDT on Sunday 14 March 2021
root@43fec6d4badf / 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.042s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.143s
2021-03-14 23:02:06 |

2021-03-14 23:02:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 23:02:06 | ------------------------------------

2021-03-14 23:02:06 | [Mutex] waiting for: [configured:node:node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338:node-4e838694-cb29-4f58-acc0-23d45afbecf9]

2021-03-14 23:02:06 | [Mutex] received everything.

2021-03-14 23:02:06 | [Mutex] isItemNotified: configured:node:node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338:node-4e838694-cb29-4f58-acc0-23d45afbecf9 :: true

2021-03-14 23:02:07 | [Mutex] waiting for: [received:nodes:12c290ec-6a9b-4528-8cda-f81c09f4d15f:localhost]

2021-03-14 23:02:07 | [Mutex] received everything.

2021-03-14 23:02:07 | [Mutex] isItemNotified: received:node:12c290ec-6a9b-4528-8cda-f81c09f4d15f:localhost:node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338:Node 47d1b26f-2f2d-47ae-a4e1-cf9e13b28338 :: true

2021-03-14 23:02:07 | [Mutex] waiting for: [received:nodes:f53c359f-1311-478a-9a05-da0fed12ffda:localhost]

2021-03-14 23:02:07 | [Mutex] received everything.

2021-03-14 23:02:07 | [Mutex] isItemNotified: received:node:f53c359f-1311-478a-9a05-da0fed12ffda:localhost:node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338:Node 47d1b26f-2f2d-47ae-a4e1-cf9e13b28338 :: false

createNodes 1.402s
2021-03-14 23:02:03 |

2021-03-14 23:02:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 23:02:03 | ------------------------------------

2021-03-14 23:02:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 47d1b26f-2f2d-47ae-a4e1-cf9e13b28338</title></pubsub></data>

2021-03-14 23:02:04 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-14 23:02:05 | [Mutex] waiting for: [received:nodes:bb9ba528-f530-49b0-a9de-6aa9c2b9ec5b:localhost]

2021-03-14 23:02:05 | [Mutex] received everything.

2021-03-14 23:02:05 | [Mutex] isItemNotified: received:node:bb9ba528-f530-49b0-a9de-6aa9c2b9ec5b:localhost:node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338:Node 47d1b26f-2f2d-47ae-a4e1-cf9e13b28338 :: true

createSubnodes 1.027s
2021-03-14 23:02:05 |

2021-03-14 23:02:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 23:02:05 | ------------------------------------

2021-03-14 23:02:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4e838694-cb29-4f58-acc0-23d45afbecf9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4e838694-cb29-4f58-acc0-23d45afbecf9</title></pubsub></data>

2021-03-14 23:02:05 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-14 23:02:06 | [Mutex] waiting for: [received:nodes:16124ce3-e1e9-4b6e-b44d-575406b087aa:localhost]

2021-03-14 23:02:06 | [Mutex] received everything.

2021-03-14 23:02:06 | [Mutex] isItemNotified: received:node:16124ce3-e1e9-4b6e-b44d-575406b087aa:localhost:node-4e838694-cb29-4f58-acc0-23d45afbecf9:Node 4e838694-cb29-4f58-acc0-23d45afbecf9 :: true

deleteNodes 1.018s
2021-03-14 23:02:11 |

2021-03-14 23:02:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 23:02:11 | ------------------------------------

2021-03-14 23:02:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4e838694-cb29-4f58-acc0-23d45afbecf9</node></data>

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

2021-03-14 23:02:12 | [Mutex] waiting for: [received:nodes:2bed3918-1099-4eca-9ff0-78985d0cb151:localhost]

2021-03-14 23:02:12 | [Mutex] received everything.

2021-03-14 23:02:12 | [Mutex] isItemNotified: received:node:2bed3918-1099-4eca-9ff0-78985d0cb151:localhost:node-4e838694-cb29-4f58-acc0-23d45afbecf9:Node 4e838694-cb29-4f58-acc0-23d45afbecf9 :: false

deleteSubnodes 1.121s
2021-03-14 23:02:10 |

2021-03-14 23:02:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 23:02:10 | ------------------------------------

2021-03-14 23:02:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338</node></data>

2021-03-14 23:02:10 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-14 23:02:11 | [Mutex] waiting for: [received:nodes:adf5b7ac-7cd8-4fce-a290-a0e46299c467:localhost]

2021-03-14 23:02:11 | [Mutex] received everything.

2021-03-14 23:02:11 | [Mutex] isItemNotified: received:node:adf5b7ac-7cd8-4fce-a290-a0e46299c467:localhost:node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338:Node 47d1b26f-2f2d-47ae-a4e1-cf9e13b28338 :: false

2021-03-14 23:02:11 | [Mutex] waiting for: [received:nodes:d06aa30c-bcdf-427f-844a-6066839fc2fe:localhost]

2021-03-14 23:02:11 | [Mutex] received everything.

2021-03-14 23:02:11 | [Mutex] isItemNotified: received:node:d06aa30c-bcdf-427f-844a-6066839fc2fe:localhost:node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338:Node 47d1b26f-2f2d-47ae-a4e1-cf9e13b28338 :: false

publishItemsToNodes 0.234s
2021-03-14 23:02:08 |

2021-03-14 23:02:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 23:02:08 | ------------------------------------

2021-03-14 23:02:08 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338</node><item-id>item-af0e8904-b861-4c72-b572-678f5ad3c634</item-id><entry><test>item-af0e8904-b861-4c72-b572-678f5ad3c634</test></entry></data>

2021-03-14 23:02:08 | 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-af0e8904-b861-4c72-b572-678f5ad3c634</value></item-id></result>

2021-03-14 23:02:08 | [Mutex] received everything.

2021-03-14 23:02:08 | [Mutex] isItemNotified: published:item:notifieditem-af0e8904-b861-4c72-b572-678f5ad3c634:admin@test-domain.com :: true

retractItemsFromNodes 0.208s
2021-03-14 23:02:09 |

2021-03-14 23:02:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 23:02:09 | ------------------------------------

2021-03-14 23:02:09 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338</node><item-id>item-af0e8904-b861-4c72-b572-678f5ad3c634</item-id></data>

2021-03-14 23:02:09 | 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-af0e8904-b861-4c72-b572-678f5ad3c634</value></item-id></result>

2021-03-14 23:02:09 | [Mutex] waiting for: [retracted:item:notifieditem-af0e8904-b861-4c72-b572-678f5ad3c634:admin@test-domain.com]

2021-03-14 23:02:09 | [Mutex] received everything.

2021-03-14 23:02:09 | [Mutex] isItemNotified: retracted:item:notifieditem-af0e8904-b861-4c72-b572-678f5ad3c634:admin@test-domain.com :: true

retrieveItemsFromNodes 0.285s
2021-03-14 23:02:08 |

2021-03-14 23:02:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 23:02:08 | ------------------------------------

2021-03-14 23:02:08 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338</node><item-id>item-af0e8904-b861-4c72-b572-678f5ad3c634</item-id></data>

2021-03-14 23:02:09 | 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-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338</value></node><item-id type="text-single" label="Item ID"><value>item-af0e8904-b861-4c72-b572-678f5ad3c634</value></item-id><item type="text-multi" label="Item"><value><item id="item-af0e8904-b861-4c72-b572-678f5ad3c634"><test>item-af0e8904-b861-4c72-b572-678f5ad3c634</test></item></value></item></result>

2021-03-14 23:02:09 | [Mutex] notify: [retrieved:item:item-af0e8904-b861-4c72-b572-678f5ad3c634:payload-matches:true:localhost]

2021-03-14 23:02:09 | [Mutex] received everything.

2021-03-14 23:02:09 | [Mutex] isItemNotified: retrieved:item:item-af0e8904-b861-4c72-b572-678f5ad3c634:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-03-14 23:02:09 |

2021-03-14 23:02:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 23:02:09 | ------------------------------------

2021-03-14 23:02:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-14 23:02:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-4e838694-cb29-4f58-acc0-23d45afbecf9</value><value>test</value><value>node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.063s
2021-03-14 23:02:09 |

2021-03-14 23:02:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 23:02:09 | ------------------------------------

2021-03-14 23:02:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338)</node-pattern></data>

2021-03-14 23:02:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.160s
2021-03-14 23:02:07 |

2021-03-14 23:02:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 23:02:07 | ------------------------------------

2021-03-14 23:02:07 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-14 23:02:07 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.359s
2021-03-14 23:02:09 |

2021-03-14 23:02:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 23:02:09 | ------------------------------------

2021-03-14 23:02:09 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-47d1b26f-2f2d-47ae-a4e1-cf9e13b28338</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-14 23:02:09 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>