Generated by TestNG with ReportNG at 12:22 PDT on Thursday 27 August 2020
root@18d694fe8e0a / 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.031s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2020-08-27 12:38:35 |

2020-08-27 12:38:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 12:38:35 | ------------------------------------

2020-08-27 12:38:35 | [Mutex] waiting for: [configured:node:node-db84e905-31f7-435c-9eb5-f879ecad64f7:node-db1179d5-90b6-4c80-ac90-0992ba7d853f]

2020-08-27 12:38:35 | [Mutex] received everything.

2020-08-27 12:38:35 | [Mutex] isItemNotified: configured:node:node-db84e905-31f7-435c-9eb5-f879ecad64f7:node-db1179d5-90b6-4c80-ac90-0992ba7d853f :: true

2020-08-27 12:38:36 | [Mutex] waiting for: [received:nodes:81d1982d-07d6-4041-9bc4-4f8131183d25:localhost]

2020-08-27 12:38:36 | [Mutex] waiting for: [received:nodes:81d1982d-07d6-4041-9bc4-4f8131183d25:localhost]

2020-08-27 12:38:36 | [Mutex] received everything.

2020-08-27 12:38:36 | [Mutex] isItemNotified: received:node:81d1982d-07d6-4041-9bc4-4f8131183d25:localhost:node-db84e905-31f7-435c-9eb5-f879ecad64f7:Node db84e905-31f7-435c-9eb5-f879ecad64f7 :: true

2020-08-27 12:38:36 | [Mutex] waiting for: [received:nodes:80380de0-46c6-439f-bfd8-e4b3c41bcc13:localhost]

2020-08-27 12:38:36 | [Mutex] received everything.

2020-08-27 12:38:36 | [Mutex] isItemNotified: received:node:80380de0-46c6-439f-bfd8-e4b3c41bcc13:localhost:node-db84e905-31f7-435c-9eb5-f879ecad64f7:Node db84e905-31f7-435c-9eb5-f879ecad64f7 :: false

createNodes 1.601s
2020-08-27 12:38:32 |

2020-08-27 12:38:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 12:38:32 | ------------------------------------

2020-08-27 12:38:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-db84e905-31f7-435c-9eb5-f879ecad64f7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node db84e905-31f7-435c-9eb5-f879ecad64f7</title></pubsub></data>

2020-08-27 12:38:33 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 12:38:34 | [Mutex] waiting for: [received:nodes:ebe80226-6b52-46f8-a990-bf2b06e2c5b7:localhost]

2020-08-27 12:38:34 | [Mutex] received everything.

2020-08-27 12:38:34 | [Mutex] isItemNotified: received:node:ebe80226-6b52-46f8-a990-bf2b06e2c5b7:localhost:node-db84e905-31f7-435c-9eb5-f879ecad64f7:Node db84e905-31f7-435c-9eb5-f879ecad64f7 :: true

createSubnodes 1.034s
2020-08-27 12:38:34 |

2020-08-27 12:38:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 12:38:34 | ------------------------------------

2020-08-27 12:38:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-db1179d5-90b6-4c80-ac90-0992ba7d853f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node db1179d5-90b6-4c80-ac90-0992ba7d853f</title></pubsub></data>

2020-08-27 12:38:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 12:38:35 | [Mutex] waiting for: [received:nodes:8bcfb06e-584f-44c9-b1ec-2ffd6f46a543:localhost]

2020-08-27 12:38:35 | [Mutex] received everything.

2020-08-27 12:38:35 | [Mutex] isItemNotified: received:node:8bcfb06e-584f-44c9-b1ec-2ffd6f46a543:localhost:node-db1179d5-90b6-4c80-ac90-0992ba7d853f:Node db1179d5-90b6-4c80-ac90-0992ba7d853f :: true

deleteNodes 1.019s
2020-08-27 12:38:40 |

2020-08-27 12:38:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 12:38:40 | ------------------------------------

2020-08-27 12:38:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-db1179d5-90b6-4c80-ac90-0992ba7d853f</node></data>

2020-08-27 12:38:40 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 12:38:41 | [Mutex] waiting for: [received:nodes:de4e0c63-c9a8-4f52-9bbf-bb4767dcd02f:localhost]

2020-08-27 12:38:41 | [Mutex] received everything.

2020-08-27 12:38:41 | [Mutex] isItemNotified: received:node:de4e0c63-c9a8-4f52-9bbf-bb4767dcd02f:localhost:node-db1179d5-90b6-4c80-ac90-0992ba7d853f:Node db1179d5-90b6-4c80-ac90-0992ba7d853f :: false

deleteSubnodes 1.141s
2020-08-27 12:38:39 |

2020-08-27 12:38:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 12:38:39 | ------------------------------------

2020-08-27 12:38:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-db84e905-31f7-435c-9eb5-f879ecad64f7</node></data>

2020-08-27 12:38:39 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 12:38:40 | [Mutex] waiting for: [received:nodes:3368cd22-4a3e-4155-9dc5-ebfbe9bba409:localhost]

2020-08-27 12:38:40 | [Mutex] received everything.

2020-08-27 12:38:40 | [Mutex] isItemNotified: received:node:3368cd22-4a3e-4155-9dc5-ebfbe9bba409:localhost:node-db84e905-31f7-435c-9eb5-f879ecad64f7:Node db84e905-31f7-435c-9eb5-f879ecad64f7 :: false

2020-08-27 12:38:40 | [Mutex] waiting for: [received:nodes:74d5d1fc-62c3-4fc4-a331-8b5ec8d68711:localhost]

2020-08-27 12:38:40 | [Mutex] received everything.

2020-08-27 12:38:40 | [Mutex] isItemNotified: received:node:74d5d1fc-62c3-4fc4-a331-8b5ec8d68711:localhost:node-db84e905-31f7-435c-9eb5-f879ecad64f7:Node db84e905-31f7-435c-9eb5-f879ecad64f7 :: false

publishItemsToNodes 0.265s
2020-08-27 12:38:37 |

2020-08-27 12:38:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 12:38:37 | ------------------------------------

2020-08-27 12:38:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-db84e905-31f7-435c-9eb5-f879ecad64f7</node><item-id>item-595f3f55-269c-4e7c-bbb0-499dce4cf998</item-id><entry><test>item-595f3f55-269c-4e7c-bbb0-499dce4cf998</test></entry></data>

2020-08-27 12:38:37 | 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-595f3f55-269c-4e7c-bbb0-499dce4cf998</value></item-id></result>

2020-08-27 12:38:37 | [Mutex] waiting for: [published:item:notifieditem-595f3f55-269c-4e7c-bbb0-499dce4cf998:admin@test-domain.com]

2020-08-27 12:38:37 | [Mutex] received everything.

2020-08-27 12:38:37 | [Mutex] isItemNotified: published:item:notifieditem-595f3f55-269c-4e7c-bbb0-499dce4cf998:admin@test-domain.com :: true

retractItemsFromNodes 0.180s
2020-08-27 12:38:38 |

2020-08-27 12:38:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 12:38:38 | ------------------------------------

2020-08-27 12:38:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-db84e905-31f7-435c-9eb5-f879ecad64f7</node><item-id>item-595f3f55-269c-4e7c-bbb0-499dce4cf998</item-id></data>

2020-08-27 12:38:38 | 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-595f3f55-269c-4e7c-bbb0-499dce4cf998</value></item-id></result>

2020-08-27 12:38:38 | [Mutex] waiting for: [retracted:item:notifieditem-595f3f55-269c-4e7c-bbb0-499dce4cf998:admin@test-domain.com]

2020-08-27 12:38:38 | [Mutex] received everything.

2020-08-27 12:38:38 | [Mutex] isItemNotified: retracted:item:notifieditem-595f3f55-269c-4e7c-bbb0-499dce4cf998:admin@test-domain.com :: true

retrieveItemsFromNodes 0.221s
2020-08-27 12:38:37 |

2020-08-27 12:38:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 12:38:37 | ------------------------------------

2020-08-27 12:38:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-db84e905-31f7-435c-9eb5-f879ecad64f7</node><item-id>item-595f3f55-269c-4e7c-bbb0-499dce4cf998</item-id></data>

2020-08-27 12:38:38 | 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-db84e905-31f7-435c-9eb5-f879ecad64f7</value></node><item-id label="Item ID" type="text-single"><value>item-595f3f55-269c-4e7c-bbb0-499dce4cf998</value></item-id><item label="Item" type="text-multi"><value><item id="item-595f3f55-269c-4e7c-bbb0-499dce4cf998"><test>item-595f3f55-269c-4e7c-bbb0-499dce4cf998</test></item></value></item></result>

2020-08-27 12:38:38 | [Mutex] notify: [retrieved:item:item-595f3f55-269c-4e7c-bbb0-499dce4cf998:payload-matches:true:localhost]

2020-08-27 12:38:38 | [Mutex] received everything.

2020-08-27 12:38:38 | [Mutex] isItemNotified: retrieved:item:item-595f3f55-269c-4e7c-bbb0-499dce4cf998:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-08-27 12:38:38 |

2020-08-27 12:38:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 12:38:38 | ------------------------------------

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

2020-08-27 12:38:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-db1179d5-90b6-4c80-ac90-0992ba7d853f</value><value>node-db84e905-31f7-435c-9eb5-f879ecad64f7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-08-27 12:38:38 |

2020-08-27 12:38:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 12:38:38 | ------------------------------------

2020-08-27 12:38:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-db84e905-31f7-435c-9eb5-f879ecad64f7)</node-pattern></data>

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

subscribeNodes 1.134s
2020-08-27 12:38:36 |

2020-08-27 12:38:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 12:38:36 | ------------------------------------

2020-08-27 12:38:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-db84e905-31f7-435c-9eb5-f879ecad64f7</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-27 12:38:36 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.302s
2020-08-27 12:38:38 |

2020-08-27 12:38:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 12:38:38 | ------------------------------------

2020-08-27 12:38:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-db84e905-31f7-435c-9eb5-f879ecad64f7</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-27 12:38:38 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>