Generated by TestNG with ReportNG at 22:51 PDT on Monday 05 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 : 10.022s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.092s
2020-10-05 23:07:37 |

2020-10-05 23:07:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:07:37 | ------------------------------------

2020-10-05 23:07:37 | [Mutex] waiting for: [configured:node:node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb:node-0429ba46-58bb-4cce-9f25-596f1c3a7925]

2020-10-05 23:07:37 | [Mutex] received everything.

2020-10-05 23:07:37 | [Mutex] isItemNotified: configured:node:node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb:node-0429ba46-58bb-4cce-9f25-596f1c3a7925 :: true

2020-10-05 23:07:38 | [Mutex] waiting for: [received:nodes:c9d39247-c3e0-4a77-ac06-2504b867c7a6:localhost]

2020-10-05 23:07:38 | [Mutex] received everything.

2020-10-05 23:07:38 | [Mutex] isItemNotified: received:node:c9d39247-c3e0-4a77-ac06-2504b867c7a6:localhost:node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb:Node 6ff17a87-2aa0-4e0b-a55b-923ad7d537bb :: true

2020-10-05 23:07:38 | [Mutex] waiting for: [received:nodes:236f4802-b606-48eb-ba56-965c5dec159c:localhost]

2020-10-05 23:07:38 | [Mutex] waiting for: [received:nodes:236f4802-b606-48eb-ba56-965c5dec159c:localhost]

2020-10-05 23:07:38 | [Mutex] received everything.

2020-10-05 23:07:38 | [Mutex] isItemNotified: received:node:236f4802-b606-48eb-ba56-965c5dec159c:localhost:node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb:Node 6ff17a87-2aa0-4e0b-a55b-923ad7d537bb :: false

createNodes 1.483s
2020-10-05 23:07:34 |

2020-10-05 23:07:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:07:34 | ------------------------------------

2020-10-05 23:07:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6ff17a87-2aa0-4e0b-a55b-923ad7d537bb</title></pubsub></data>

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

2020-10-05 23:07:35 | [Mutex] waiting for: [received:nodes:9a2b742b-91b7-4c0b-9b81-483eb7d42ef4:localhost]

2020-10-05 23:07:35 | [Mutex] received everything.

2020-10-05 23:07:35 | [Mutex] isItemNotified: received:node:9a2b742b-91b7-4c0b-9b81-483eb7d42ef4:localhost:node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb:Node 6ff17a87-2aa0-4e0b-a55b-923ad7d537bb :: true

createSubnodes 1.031s
2020-10-05 23:07:35 |

2020-10-05 23:07:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:07:35 | ------------------------------------

2020-10-05 23:07:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0429ba46-58bb-4cce-9f25-596f1c3a7925</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0429ba46-58bb-4cce-9f25-596f1c3a7925</title></pubsub></data>

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

2020-10-05 23:07:37 | [Mutex] waiting for: [received:nodes:43e425d8-6fa4-4089-ac99-c4a7de771936:localhost]

2020-10-05 23:07:37 | [Mutex] waiting for: [received:nodes:43e425d8-6fa4-4089-ac99-c4a7de771936:localhost]

2020-10-05 23:07:37 | [Mutex] received everything.

2020-10-05 23:07:37 | [Mutex] isItemNotified: received:node:43e425d8-6fa4-4089-ac99-c4a7de771936:localhost:node-0429ba46-58bb-4cce-9f25-596f1c3a7925:Node 0429ba46-58bb-4cce-9f25-596f1c3a7925 :: true

deleteNodes 1.020s
2020-10-05 23:07:42 |

2020-10-05 23:07:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:07:42 | ------------------------------------

2020-10-05 23:07:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0429ba46-58bb-4cce-9f25-596f1c3a7925</node></data>

2020-10-05 23:07:42 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-05 23:07:43 | [Mutex] waiting for: [received:nodes:63919e3e-bab6-4419-86c5-8e7a08b65899:localhost]

2020-10-05 23:07:43 | [Mutex] waiting for: [received:nodes:63919e3e-bab6-4419-86c5-8e7a08b65899:localhost]

2020-10-05 23:07:43 | [Mutex] received everything.

2020-10-05 23:07:43 | [Mutex] isItemNotified: received:node:63919e3e-bab6-4419-86c5-8e7a08b65899:localhost:node-0429ba46-58bb-4cce-9f25-596f1c3a7925:Node 0429ba46-58bb-4cce-9f25-596f1c3a7925 :: false

deleteSubnodes 1.122s
2020-10-05 23:07:41 |

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

2020-10-05 23:07:41 | ------------------------------------

2020-10-05 23:07:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb</node></data>

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

2020-10-05 23:07:42 | [Mutex] waiting for: [received:nodes:fbe09f3d-ae1e-4f57-9610-bbcdcb25f426:localhost]

2020-10-05 23:07:42 | [Mutex] waiting for: [received:nodes:fbe09f3d-ae1e-4f57-9610-bbcdcb25f426:localhost]

2020-10-05 23:07:42 | [Mutex] received everything.

2020-10-05 23:07:42 | [Mutex] isItemNotified: received:node:fbe09f3d-ae1e-4f57-9610-bbcdcb25f426:localhost:node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb:Node 6ff17a87-2aa0-4e0b-a55b-923ad7d537bb :: false

2020-10-05 23:07:42 | [Mutex] waiting for: [received:nodes:85f3ebe6-896e-47d2-8362-6f7b08178fef:localhost]

2020-10-05 23:07:42 | [Mutex] received everything.

2020-10-05 23:07:42 | [Mutex] isItemNotified: received:node:85f3ebe6-896e-47d2-8362-6f7b08178fef:localhost:node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb:Node 6ff17a87-2aa0-4e0b-a55b-923ad7d537bb :: false

publishItemsToNodes 0.236s
2020-10-05 23:07:39 |

2020-10-05 23:07:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:07:39 | ------------------------------------

2020-10-05 23:07:39 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb</node><item-id>item-27e3d335-c56e-4f0a-abb4-02dbe04cca56</item-id><entry><test>item-27e3d335-c56e-4f0a-abb4-02dbe04cca56</test></entry></data>

2020-10-05 23:07:39 | 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-27e3d335-c56e-4f0a-abb4-02dbe04cca56</value></item-id></result>

2020-10-05 23:07:39 | [Mutex] waiting for: [published:item:notifieditem-27e3d335-c56e-4f0a-abb4-02dbe04cca56:admin@test-domain.com]

2020-10-05 23:07:39 | [Mutex] received everything.

2020-10-05 23:07:39 | [Mutex] isItemNotified: published:item:notifieditem-27e3d335-c56e-4f0a-abb4-02dbe04cca56:admin@test-domain.com :: true

retractItemsFromNodes 0.316s
2020-10-05 23:07:39 |

2020-10-05 23:07:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:07:39 | ------------------------------------

2020-10-05 23:07:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb</node><item-id>item-27e3d335-c56e-4f0a-abb4-02dbe04cca56</item-id></data>

2020-10-05 23:07:40 | 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-27e3d335-c56e-4f0a-abb4-02dbe04cca56</value></item-id></result>

2020-10-05 23:07:40 | [Mutex] received everything.

2020-10-05 23:07:40 | [Mutex] isItemNotified: retracted:item:notifieditem-27e3d335-c56e-4f0a-abb4-02dbe04cca56:admin@test-domain.com :: true

retrieveItemsFromNodes 0.181s
2020-10-05 23:07:39 |

2020-10-05 23:07:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:07:39 | ------------------------------------

2020-10-05 23:07:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb</node><item-id>item-27e3d335-c56e-4f0a-abb4-02dbe04cca56</item-id></data>

2020-10-05 23:07:39 | 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-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb</value></node><item-id label="Item ID" type="text-single"><value>item-27e3d335-c56e-4f0a-abb4-02dbe04cca56</value></item-id><item label="Item" type="text-multi"><value><item id="item-27e3d335-c56e-4f0a-abb4-02dbe04cca56"><test>item-27e3d335-c56e-4f0a-abb4-02dbe04cca56</test></item></value></item></result>

2020-10-05 23:07:39 | [Mutex] notify: [retrieved:item:item-27e3d335-c56e-4f0a-abb4-02dbe04cca56:payload-matches:true:localhost]

2020-10-05 23:07:39 | [Mutex] received everything.

2020-10-05 23:07:39 | [Mutex] isItemNotified: retrieved:item:item-27e3d335-c56e-4f0a-abb4-02dbe04cca56:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2020-10-05 23:07:39 |

2020-10-05 23:07:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:07:39 | ------------------------------------

2020-10-05 23:07:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-05 23:07:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-0429ba46-58bb-4cce-9f25-596f1c3a7925</value><value>test</value><value>node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.063s
2020-10-05 23:07:39 |

2020-10-05 23:07:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:07:39 | ------------------------------------

2020-10-05 23:07:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb)</node-pattern></data>

2020-10-05 23:07:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.125s
2020-10-05 23:07:38 |

2020-10-05 23:07:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:07:38 | ------------------------------------

2020-10-05 23:07:38 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.288s
2020-10-05 23:07:40 |

2020-10-05 23:07:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 23:07:40 | ------------------------------------

2020-10-05 23:07:40 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6ff17a87-2aa0-4e0b-a55b-923ad7d537bb</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-05 23:07:40 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>