Generated by TestNG with ReportNG at 05:43 PST on Wednesday 27 January 2021
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 : 10.063s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2021-01-27 05:57:24 |

2021-01-27 05:57:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:57:24 | ------------------------------------

2021-01-27 05:57:24 | [Mutex] waiting for: [configured:node:node-a8c5197a-3242-4b43-8388-ebff92738621:node-5402e227-1471-413c-8d21-b18e848c2552]

2021-01-27 05:57:24 | [Mutex] received everything.

2021-01-27 05:57:24 | [Mutex] isItemNotified: configured:node:node-a8c5197a-3242-4b43-8388-ebff92738621:node-5402e227-1471-413c-8d21-b18e848c2552 :: true

2021-01-27 05:57:25 | [Mutex] waiting for: [received:nodes:d52d97ca-178f-4443-bca4-d93f9e6b2ee9:localhost]

2021-01-27 05:57:25 | [Mutex] received everything.

2021-01-27 05:57:25 | [Mutex] isItemNotified: received:node:d52d97ca-178f-4443-bca4-d93f9e6b2ee9:localhost:node-a8c5197a-3242-4b43-8388-ebff92738621:Node a8c5197a-3242-4b43-8388-ebff92738621 :: true

2021-01-27 05:57:25 | [Mutex] waiting for: [received:nodes:c2d7e5a2-0a62-4aaf-86df-973e2abc0938:localhost]

2021-01-27 05:57:25 | [Mutex] received everything.

2021-01-27 05:57:25 | [Mutex] isItemNotified: received:node:c2d7e5a2-0a62-4aaf-86df-973e2abc0938:localhost:node-a8c5197a-3242-4b43-8388-ebff92738621:Node a8c5197a-3242-4b43-8388-ebff92738621 :: false

createNodes 1.614s
2021-01-27 05:57:22 |

2021-01-27 05:57:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:57:22 | ------------------------------------

2021-01-27 05:57:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a8c5197a-3242-4b43-8388-ebff92738621</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a8c5197a-3242-4b43-8388-ebff92738621</title></pubsub></data>

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

2021-01-27 05:57:23 | [Mutex] waiting for: [received:nodes:559f56c8-f9ee-4608-89f7-dabab0c60cb1:localhost]

2021-01-27 05:57:23 | [Mutex] received everything.

2021-01-27 05:57:23 | [Mutex] isItemNotified: received:node:559f56c8-f9ee-4608-89f7-dabab0c60cb1:localhost:node-a8c5197a-3242-4b43-8388-ebff92738621:Node a8c5197a-3242-4b43-8388-ebff92738621 :: true

createSubnodes 1.023s
2021-01-27 05:57:23 |

2021-01-27 05:57:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:57:23 | ------------------------------------

2021-01-27 05:57:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5402e227-1471-413c-8d21-b18e848c2552</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5402e227-1471-413c-8d21-b18e848c2552</title></pubsub></data>

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

2021-01-27 05:57:24 | [Mutex] waiting for: [received:nodes:0b725b57-28e3-4b1a-a7bb-d33b545f1547:localhost]

2021-01-27 05:57:24 | [Mutex] received everything.

2021-01-27 05:57:24 | [Mutex] isItemNotified: received:node:0b725b57-28e3-4b1a-a7bb-d33b545f1547:localhost:node-5402e227-1471-413c-8d21-b18e848c2552:Node 5402e227-1471-413c-8d21-b18e848c2552 :: true

deleteNodes 1.020s
2021-01-27 05:57:30 |

2021-01-27 05:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:57:30 | ------------------------------------

2021-01-27 05:57:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5402e227-1471-413c-8d21-b18e848c2552</node></data>

2021-01-27 05:57:30 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-27 05:57:31 | [Mutex] waiting for: [received:nodes:c8a02a59-3ad5-451a-b6fa-bba182e2e272:localhost]

2021-01-27 05:57:31 | [Mutex] received everything.

2021-01-27 05:57:31 | [Mutex] isItemNotified: received:node:c8a02a59-3ad5-451a-b6fa-bba182e2e272:localhost:node-5402e227-1471-413c-8d21-b18e848c2552:Node 5402e227-1471-413c-8d21-b18e848c2552 :: false

deleteSubnodes 1.154s
2021-01-27 05:57:29 |

2021-01-27 05:57:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:57:29 | ------------------------------------

2021-01-27 05:57:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a8c5197a-3242-4b43-8388-ebff92738621</node></data>

2021-01-27 05:57:29 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-27 05:57:30 | [Mutex] waiting for: [received:nodes:ae56d58f-8a9a-49db-a448-3039b239e4e1:localhost]

2021-01-27 05:57:30 | [Mutex] received everything.

2021-01-27 05:57:30 | [Mutex] isItemNotified: received:node:ae56d58f-8a9a-49db-a448-3039b239e4e1:localhost:node-a8c5197a-3242-4b43-8388-ebff92738621:Node a8c5197a-3242-4b43-8388-ebff92738621 :: false

2021-01-27 05:57:30 | [Mutex] waiting for: [received:nodes:291abb89-c87e-4f77-8866-54b64066baca:localhost]

2021-01-27 05:57:30 | [Mutex] received everything.

2021-01-27 05:57:30 | [Mutex] isItemNotified: received:node:291abb89-c87e-4f77-8866-54b64066baca:localhost:node-a8c5197a-3242-4b43-8388-ebff92738621:Node a8c5197a-3242-4b43-8388-ebff92738621 :: false

publishItemsToNodes 0.190s
2021-01-27 05:57:26 |

2021-01-27 05:57:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:57:26 | ------------------------------------

2021-01-27 05:57:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a8c5197a-3242-4b43-8388-ebff92738621</node><item-id>item-f186fa24-d95b-4d63-8e66-65ef79d87236</item-id><entry><test>item-f186fa24-d95b-4d63-8e66-65ef79d87236</test></entry></data>

2021-01-27 05:57:27 | 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-f186fa24-d95b-4d63-8e66-65ef79d87236</value></item-id></result>

2021-01-27 05:57:27 | [Mutex] received everything.

2021-01-27 05:57:27 | [Mutex] isItemNotified: published:item:notifieditem-f186fa24-d95b-4d63-8e66-65ef79d87236:admin@test-domain.com :: true

retractItemsFromNodes 0.204s
2021-01-27 05:57:27 |

2021-01-27 05:57:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:57:27 | ------------------------------------

2021-01-27 05:57:27 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a8c5197a-3242-4b43-8388-ebff92738621</node><item-id>item-f186fa24-d95b-4d63-8e66-65ef79d87236</item-id></data>

2021-01-27 05:57:27 | 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-f186fa24-d95b-4d63-8e66-65ef79d87236</value></item-id></result>

2021-01-27 05:57:27 | [Mutex] waiting for: [retracted:item:notifieditem-f186fa24-d95b-4d63-8e66-65ef79d87236:admin@test-domain.com]

2021-01-27 05:57:27 | [Mutex] received everything.

2021-01-27 05:57:27 | [Mutex] isItemNotified: retracted:item:notifieditem-f186fa24-d95b-4d63-8e66-65ef79d87236:admin@test-domain.com :: true

retrieveItemsFromNodes 0.328s
2021-01-27 05:57:27 |

2021-01-27 05:57:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:57:27 | ------------------------------------

2021-01-27 05:57:27 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a8c5197a-3242-4b43-8388-ebff92738621</node><item-id>item-f186fa24-d95b-4d63-8e66-65ef79d87236</item-id></data>

2021-01-27 05:57:27 | 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-a8c5197a-3242-4b43-8388-ebff92738621</value></node><item-id label="Item ID" type="text-single"><value>item-f186fa24-d95b-4d63-8e66-65ef79d87236</value></item-id><item label="Item" type="text-multi"><value><item id="item-f186fa24-d95b-4d63-8e66-65ef79d87236"><test>item-f186fa24-d95b-4d63-8e66-65ef79d87236</test></item></value></item></result>

2021-01-27 05:57:27 | [Mutex] notify: [retrieved:item:item-f186fa24-d95b-4d63-8e66-65ef79d87236:payload-matches:true:localhost]

2021-01-27 05:57:27 | [Mutex] received everything.

2021-01-27 05:57:27 | [Mutex] isItemNotified: retrieved:item:item-f186fa24-d95b-4d63-8e66-65ef79d87236:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2021-01-27 05:57:27 |

2021-01-27 05:57:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:57:27 | ------------------------------------

2021-01-27 05:57:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-27 05:57:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-5402e227-1471-413c-8d21-b18e848c2552</value><value>test</value><value>node-a8c5197a-3242-4b43-8388-ebff92738621</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.060s
2021-01-27 05:57:27 |

2021-01-27 05:57:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:57:27 | ------------------------------------

2021-01-27 05:57:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a8c5197a-3242-4b43-8388-ebff92738621)</node-pattern></data>

2021-01-27 05:57:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.092s
2021-01-27 05:57:25 |

2021-01-27 05:57:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:57:25 | ------------------------------------

2021-01-27 05:57:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a8c5197a-3242-4b43-8388-ebff92738621</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-27 05:57:25 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.331s
2021-01-27 05:57:27 |

2021-01-27 05:57:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:57:27 | ------------------------------------

2021-01-27 05:57:27 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a8c5197a-3242-4b43-8388-ebff92738621</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-27 05:57:28 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>