Generated by TestNG with ReportNG at 00:10 PDT on Monday 20 September 2021
root@f29ef40080b5 / 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.124s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2021-09-20 00:25:10 |

2021-09-20 00:25:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 00:25:10 | ------------------------------------

2021-09-20 00:25:10 | [Mutex] waiting for: [configured:node:node-eee335cf-79f1-4ac0-bb16-65155e1eeadc:node-73ef35f6-2c16-469a-bb34-fbc3bbc51b2a]

2021-09-20 00:25:10 | [Mutex] received everything.

2021-09-20 00:25:10 | [Mutex] isItemNotified: configured:node:node-eee335cf-79f1-4ac0-bb16-65155e1eeadc:node-73ef35f6-2c16-469a-bb34-fbc3bbc51b2a :: true

2021-09-20 00:25:11 | [Mutex] waiting for: [received:nodes:3045fb6b-062f-4113-aa9e-21699de4d3d9:localhost]

2021-09-20 00:25:11 | [Mutex] waiting for: [received:nodes:3045fb6b-062f-4113-aa9e-21699de4d3d9:localhost]

2021-09-20 00:25:11 | [Mutex] received everything.

2021-09-20 00:25:11 | [Mutex] isItemNotified: received:node:3045fb6b-062f-4113-aa9e-21699de4d3d9:localhost:node-eee335cf-79f1-4ac0-bb16-65155e1eeadc:Node eee335cf-79f1-4ac0-bb16-65155e1eeadc :: true

2021-09-20 00:25:11 | [Mutex] waiting for: [received:nodes:1d25f1af-0c48-4cd5-b168-2a79f5091fd6:localhost]

2021-09-20 00:25:11 | [Mutex] received everything.

2021-09-20 00:25:11 | [Mutex] isItemNotified: received:node:1d25f1af-0c48-4cd5-b168-2a79f5091fd6:localhost:node-eee335cf-79f1-4ac0-bb16-65155e1eeadc:Node eee335cf-79f1-4ac0-bb16-65155e1eeadc :: false

createNodes 1.625s
2021-09-20 00:25:07 |

2021-09-20 00:25:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 00:25:07 | ------------------------------------

2021-09-20 00:25:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-eee335cf-79f1-4ac0-bb16-65155e1eeadc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node eee335cf-79f1-4ac0-bb16-65155e1eeadc</title></pubsub></data>

2021-09-20 00:25:08 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-20 00:25:09 | [Mutex] waiting for: [received:nodes:3e5e28a4-982b-4ce9-96cf-d5cd041a1b91:localhost]

2021-09-20 00:25:09 | [Mutex] received everything.

2021-09-20 00:25:09 | [Mutex] isItemNotified: received:node:3e5e28a4-982b-4ce9-96cf-d5cd041a1b91:localhost:node-eee335cf-79f1-4ac0-bb16-65155e1eeadc:Node eee335cf-79f1-4ac0-bb16-65155e1eeadc :: true

createSubnodes 1.024s
2021-09-20 00:25:09 |

2021-09-20 00:25:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 00:25:09 | ------------------------------------

2021-09-20 00:25:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-73ef35f6-2c16-469a-bb34-fbc3bbc51b2a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 73ef35f6-2c16-469a-bb34-fbc3bbc51b2a</title></pubsub></data>

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

2021-09-20 00:25:10 | [Mutex] waiting for: [received:nodes:e1c16a33-fe49-43bf-acda-1d0c4871415a:localhost]

2021-09-20 00:25:10 | [Mutex] received everything.

2021-09-20 00:25:10 | [Mutex] isItemNotified: received:node:e1c16a33-fe49-43bf-acda-1d0c4871415a:localhost:node-73ef35f6-2c16-469a-bb34-fbc3bbc51b2a:Node 73ef35f6-2c16-469a-bb34-fbc3bbc51b2a :: true

deleteNodes 1.018s
2021-09-20 00:25:15 |

2021-09-20 00:25:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 00:25:15 | ------------------------------------

2021-09-20 00:25:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-73ef35f6-2c16-469a-bb34-fbc3bbc51b2a</node></data>

2021-09-20 00:25:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-20 00:25:16 | [Mutex] waiting for: [received:nodes:daadfe92-28b9-4a79-b4ed-b8daeff2390e:localhost]

2021-09-20 00:25:16 | [Mutex] waiting for: [received:nodes:daadfe92-28b9-4a79-b4ed-b8daeff2390e:localhost]

2021-09-20 00:25:16 | [Mutex] received everything.

2021-09-20 00:25:16 | [Mutex] isItemNotified: received:node:daadfe92-28b9-4a79-b4ed-b8daeff2390e:localhost:node-73ef35f6-2c16-469a-bb34-fbc3bbc51b2a:Node 73ef35f6-2c16-469a-bb34-fbc3bbc51b2a :: false

deleteSubnodes 1.158s
2021-09-20 00:25:14 |

2021-09-20 00:25:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 00:25:14 | ------------------------------------

2021-09-20 00:25:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-eee335cf-79f1-4ac0-bb16-65155e1eeadc</node></data>

2021-09-20 00:25:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-20 00:25:15 | [Mutex] waiting for: [received:nodes:468809e5-b632-4704-9e73-efd3ccc9e75f:localhost]

2021-09-20 00:25:15 | [Mutex] received everything.

2021-09-20 00:25:15 | [Mutex] isItemNotified: received:node:468809e5-b632-4704-9e73-efd3ccc9e75f:localhost:node-eee335cf-79f1-4ac0-bb16-65155e1eeadc:Node eee335cf-79f1-4ac0-bb16-65155e1eeadc :: false

2021-09-20 00:25:15 | [Mutex] waiting for: [received:nodes:a1469bc1-c7f0-4d6b-a533-0d8551d5a696:localhost]

2021-09-20 00:25:15 | [Mutex] received everything.

2021-09-20 00:25:15 | [Mutex] isItemNotified: received:node:a1469bc1-c7f0-4d6b-a533-0d8551d5a696:localhost:node-eee335cf-79f1-4ac0-bb16-65155e1eeadc:Node eee335cf-79f1-4ac0-bb16-65155e1eeadc :: false

publishItemsToNodes 0.206s
2021-09-20 00:25:12 |

2021-09-20 00:25:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 00:25:12 | ------------------------------------

2021-09-20 00:25:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-eee335cf-79f1-4ac0-bb16-65155e1eeadc</node><item-id>item-71c1bfd3-47d2-442d-8d20-4c7bde204109</item-id><entry><test>item-71c1bfd3-47d2-442d-8d20-4c7bde204109</test></entry></data>

2021-09-20 00:25: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-71c1bfd3-47d2-442d-8d20-4c7bde204109</value></item-id></result>

2021-09-20 00:25:12 | [Mutex] waiting for: [published:item:notifieditem-71c1bfd3-47d2-442d-8d20-4c7bde204109:admin@test-domain.com]

2021-09-20 00:25:12 | [Mutex] received everything.

2021-09-20 00:25:12 | [Mutex] isItemNotified: published:item:notifieditem-71c1bfd3-47d2-442d-8d20-4c7bde204109:admin@test-domain.com :: true

retractItemsFromNodes 0.354s
2021-09-20 00:25:13 |

2021-09-20 00:25:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 00:25:13 | ------------------------------------

2021-09-20 00:25:13 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-eee335cf-79f1-4ac0-bb16-65155e1eeadc</node><item-id>item-71c1bfd3-47d2-442d-8d20-4c7bde204109</item-id></data>

2021-09-20 00:25:13 | 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-71c1bfd3-47d2-442d-8d20-4c7bde204109</value></item-id></result>

2021-09-20 00:25:13 | [Mutex] received everything.

2021-09-20 00:25:13 | [Mutex] isItemNotified: retracted:item:notifieditem-71c1bfd3-47d2-442d-8d20-4c7bde204109:admin@test-domain.com :: true

retrieveItemsFromNodes 0.309s
2021-09-20 00:25:12 |

2021-09-20 00:25:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 00:25:12 | ------------------------------------

2021-09-20 00:25:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-eee335cf-79f1-4ac0-bb16-65155e1eeadc</node><item-id>item-71c1bfd3-47d2-442d-8d20-4c7bde204109</item-id></data>

2021-09-20 00:25:13 | 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-eee335cf-79f1-4ac0-bb16-65155e1eeadc</value></node><item-id type="text-single" label="Item ID"><value>item-71c1bfd3-47d2-442d-8d20-4c7bde204109</value></item-id><item type="text-multi" label="Item"><value><item id="item-71c1bfd3-47d2-442d-8d20-4c7bde204109"><test>item-71c1bfd3-47d2-442d-8d20-4c7bde204109</test></item></value></item></result>

2021-09-20 00:25:13 | [Mutex] notify: [retrieved:item:item-71c1bfd3-47d2-442d-8d20-4c7bde204109:payload-matches:true:localhost]

2021-09-20 00:25:13 | [Mutex] received everything.

2021-09-20 00:25:13 | [Mutex] isItemNotified: retrieved:item:item-71c1bfd3-47d2-442d-8d20-4c7bde204109:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-09-20 00:25:13 |

2021-09-20 00:25:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 00:25:13 | ------------------------------------

2021-09-20 00:25:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-09-20 00:25:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-eee335cf-79f1-4ac0-bb16-65155e1eeadc</value><value>test</value><value>node-73ef35f6-2c16-469a-bb34-fbc3bbc51b2a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-09-20 00:25:13 |

2021-09-20 00:25:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 00:25:13 | ------------------------------------

2021-09-20 00:25:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-eee335cf-79f1-4ac0-bb16-65155e1eeadc)</node-pattern></data>

2021-09-20 00:25:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.165s
2021-09-20 00:25:11 |

2021-09-20 00:25:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 00:25:11 | ------------------------------------

2021-09-20 00:25:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-eee335cf-79f1-4ac0-bb16-65155e1eeadc</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-20 00:25: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.291s
2021-09-20 00:25:13 |

2021-09-20 00:25:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 00:25:13 | ------------------------------------

2021-09-20 00:25:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-eee335cf-79f1-4ac0-bb16-65155e1eeadc</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-20 00:25:13 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>