Generated by TestNG with ReportNG at 08:04 PST on Tuesday 24 November 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 : 9.966s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2020-11-24 08:23:21 |

2020-11-24 08:23:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:23:21 | ------------------------------------

2020-11-24 08:23:21 | [Mutex] waiting for: [configured:node:node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8:node-7a4ad7c6-757a-4481-a8f4-f2111b9faecd]

2020-11-24 08:23:21 | [Mutex] received everything.

2020-11-24 08:23:21 | [Mutex] isItemNotified: configured:node:node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8:node-7a4ad7c6-757a-4481-a8f4-f2111b9faecd :: true

2020-11-24 08:23:22 | [Mutex] waiting for: [received:nodes:6ea155eb-7bf8-43d2-8d4d-87edc783d17d:localhost]

2020-11-24 08:23:22 | [Mutex] received everything.

2020-11-24 08:23:22 | [Mutex] isItemNotified: received:node:6ea155eb-7bf8-43d2-8d4d-87edc783d17d:localhost:node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8:Node 6f80a52a-f216-46cb-9b1e-fd24b46b8ec8 :: true

2020-11-24 08:23:22 | [Mutex] waiting for: [received:nodes:35faa30f-e43b-4fda-8889-a1c62e201d64:localhost]

2020-11-24 08:23:22 | [Mutex] received everything.

2020-11-24 08:23:22 | [Mutex] isItemNotified: received:node:35faa30f-e43b-4fda-8889-a1c62e201d64:localhost:node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8:Node 6f80a52a-f216-46cb-9b1e-fd24b46b8ec8 :: false

createNodes 1.510s
2020-11-24 08:23:19 |

2020-11-24 08:23:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:23:19 | ------------------------------------

2020-11-24 08:23:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6f80a52a-f216-46cb-9b1e-fd24b46b8ec8</title></pubsub></data>

2020-11-24 08:23:19 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-24 08:23:20 | [Mutex] waiting for: [received:nodes:a4b442ca-b356-4a00-9ee8-37ab9dbef0ca:localhost]

2020-11-24 08:23:20 | [Mutex] received everything.

2020-11-24 08:23:20 | [Mutex] isItemNotified: received:node:a4b442ca-b356-4a00-9ee8-37ab9dbef0ca:localhost:node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8:Node 6f80a52a-f216-46cb-9b1e-fd24b46b8ec8 :: true

createSubnodes 1.026s
2020-11-24 08:23:20 |

2020-11-24 08:23:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:23:20 | ------------------------------------

2020-11-24 08:23:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7a4ad7c6-757a-4481-a8f4-f2111b9faecd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7a4ad7c6-757a-4481-a8f4-f2111b9faecd</title></pubsub></data>

2020-11-24 08:23:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-24 08:23:21 | [Mutex] waiting for: [received:nodes:b7ace60e-4de8-40e7-ac9e-733ae1e8f928:localhost]

2020-11-24 08:23:21 | [Mutex] received everything.

2020-11-24 08:23:21 | [Mutex] isItemNotified: received:node:b7ace60e-4de8-40e7-ac9e-733ae1e8f928:localhost:node-7a4ad7c6-757a-4481-a8f4-f2111b9faecd:Node 7a4ad7c6-757a-4481-a8f4-f2111b9faecd :: true

deleteNodes 1.018s
2020-11-24 08:23:27 |

2020-11-24 08:23:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:23:27 | ------------------------------------

2020-11-24 08:23:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7a4ad7c6-757a-4481-a8f4-f2111b9faecd</node></data>

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

2020-11-24 08:23:28 | [Mutex] waiting for: [received:nodes:6e579efe-d853-4a63-8edb-8211bce13ff5:localhost]

2020-11-24 08:23:28 | [Mutex] received everything.

2020-11-24 08:23:28 | [Mutex] isItemNotified: received:node:6e579efe-d853-4a63-8edb-8211bce13ff5:localhost:node-7a4ad7c6-757a-4481-a8f4-f2111b9faecd:Node 7a4ad7c6-757a-4481-a8f4-f2111b9faecd :: false

deleteSubnodes 1.142s
2020-11-24 08:23:26 |

2020-11-24 08:23:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:23:26 | ------------------------------------

2020-11-24 08:23:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8</node></data>

2020-11-24 08:23:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-24 08:23:27 | [Mutex] waiting for: [received:nodes:09ac829b-afdf-4625-b00a-24a85d7a9a61:localhost]

2020-11-24 08:23:27 | [Mutex] received everything.

2020-11-24 08:23:27 | [Mutex] isItemNotified: received:node:09ac829b-afdf-4625-b00a-24a85d7a9a61:localhost:node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8:Node 6f80a52a-f216-46cb-9b1e-fd24b46b8ec8 :: false

2020-11-24 08:23:27 | [Mutex] waiting for: [received:nodes:4c832c5f-69c4-4a37-b975-804de8216333:localhost]

2020-11-24 08:23:27 | [Mutex] received everything.

2020-11-24 08:23:27 | [Mutex] isItemNotified: received:node:4c832c5f-69c4-4a37-b975-804de8216333:localhost:node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8:Node 6f80a52a-f216-46cb-9b1e-fd24b46b8ec8 :: false

publishItemsToNodes 0.270s
2020-11-24 08:23:23 |

2020-11-24 08:23:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:23:23 | ------------------------------------

2020-11-24 08:23:23 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8</node><item-id>item-9c638ddd-18a3-41f7-8095-624be5a5411a</item-id><entry><test>item-9c638ddd-18a3-41f7-8095-624be5a5411a</test></entry></data>

2020-11-24 08:23:24 | 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-9c638ddd-18a3-41f7-8095-624be5a5411a</value></item-id></result>

2020-11-24 08:23:24 | [Mutex] received everything.

2020-11-24 08:23:24 | [Mutex] isItemNotified: published:item:notifieditem-9c638ddd-18a3-41f7-8095-624be5a5411a:admin@test-domain.com :: true

retractItemsFromNodes 0.248s
2020-11-24 08:23:24 |

2020-11-24 08:23:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:23:24 | ------------------------------------

2020-11-24 08:23:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8</node><item-id>item-9c638ddd-18a3-41f7-8095-624be5a5411a</item-id></data>

2020-11-24 08:23:24 | 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-9c638ddd-18a3-41f7-8095-624be5a5411a</value></item-id></result>

2020-11-24 08:23:24 | [Mutex] received everything.

2020-11-24 08:23:24 | [Mutex] isItemNotified: retracted:item:notifieditem-9c638ddd-18a3-41f7-8095-624be5a5411a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.243s
2020-11-24 08:23:24 |

2020-11-24 08:23:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:23:24 | ------------------------------------

2020-11-24 08:23:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8</node><item-id>item-9c638ddd-18a3-41f7-8095-624be5a5411a</item-id></data>

2020-11-24 08:23:24 | 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-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8</value></node><item-id label="Item ID" type="text-single"><value>item-9c638ddd-18a3-41f7-8095-624be5a5411a</value></item-id><item label="Item" type="text-multi"><value><item id="item-9c638ddd-18a3-41f7-8095-624be5a5411a"><test>item-9c638ddd-18a3-41f7-8095-624be5a5411a</test></item></value></item></result>

2020-11-24 08:23:24 | [Mutex] notify: [retrieved:item:item-9c638ddd-18a3-41f7-8095-624be5a5411a:payload-matches:true:localhost]

2020-11-24 08:23:24 | [Mutex] received everything.

2020-11-24 08:23:24 | [Mutex] isItemNotified: retrieved:item:item-9c638ddd-18a3-41f7-8095-624be5a5411a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2020-11-24 08:23:24 |

2020-11-24 08:23:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:23:24 | ------------------------------------

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

2020-11-24 08:23:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-7a4ad7c6-757a-4481-a8f4-f2111b9faecd</value><value>test</value><value>node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2020-11-24 08:23:24 |

2020-11-24 08:23:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:23:24 | ------------------------------------

2020-11-24 08:23:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8)</node-pattern></data>

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

subscribeNodes 1.090s
2020-11-24 08:23:22 |

2020-11-24 08:23:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:23:22 | ------------------------------------

2020-11-24 08:23:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-24 08:23:22 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.251s
2020-11-24 08:23:24 |

2020-11-24 08:23:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:23:24 | ------------------------------------

2020-11-24 08:23:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6f80a52a-f216-46cb-9b1e-fd24b46b8ec8</node><jids><value>admin@test-domain.com</value></jids></data>

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