Generated by TestNG with ReportNG at 22:44 PDT on Monday 13 September 2021
root@b2c2a8eba6e6 / 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.300s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2021-09-13 23:01:18 |

2021-09-13 23:01:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 23:01:18 | ------------------------------------

2021-09-13 23:01:18 | [Mutex] waiting for: [configured:node:node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32:node-95ba0dce-78f4-4965-87b9-a1dae63a379e]

2021-09-13 23:01:18 | [Mutex] received everything.

2021-09-13 23:01:18 | [Mutex] isItemNotified: configured:node:node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32:node-95ba0dce-78f4-4965-87b9-a1dae63a379e :: true

2021-09-13 23:01:19 | [Mutex] waiting for: [received:nodes:eb8411a6-4411-4c99-8f7e-7ac6c5cb9785:localhost]

2021-09-13 23:01:19 | [Mutex] received everything.

2021-09-13 23:01:19 | [Mutex] isItemNotified: received:node:eb8411a6-4411-4c99-8f7e-7ac6c5cb9785:localhost:node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32:Node d4380a18-23c9-4f7a-b4ec-e8ff873bfe32 :: true

2021-09-13 23:01:19 | [Mutex] waiting for: [received:nodes:3c3eb22a-73fb-4eae-870e-372553402a86:localhost]

2021-09-13 23:01:19 | [Mutex] received everything.

2021-09-13 23:01:19 | [Mutex] isItemNotified: received:node:3c3eb22a-73fb-4eae-870e-372553402a86:localhost:node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32:Node d4380a18-23c9-4f7a-b4ec-e8ff873bfe32 :: false

createNodes 1.785s
2021-09-13 23:01:15 |

2021-09-13 23:01:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 23:01:15 | ------------------------------------

2021-09-13 23:01:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d4380a18-23c9-4f7a-b4ec-e8ff873bfe32</title></pubsub></data>

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

2021-09-13 23:01:17 | [Mutex] waiting for: [received:nodes:15bb2f5e-195b-4ec3-9fa7-e8d6fc07207c:localhost]

2021-09-13 23:01:17 | [Mutex] received everything.

2021-09-13 23:01:17 | [Mutex] isItemNotified: received:node:15bb2f5e-195b-4ec3-9fa7-e8d6fc07207c:localhost:node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32:Node d4380a18-23c9-4f7a-b4ec-e8ff873bfe32 :: true

createSubnodes 1.032s
2021-09-13 23:01:17 |

2021-09-13 23:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 23:01:17 | ------------------------------------

2021-09-13 23:01:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-95ba0dce-78f4-4965-87b9-a1dae63a379e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 95ba0dce-78f4-4965-87b9-a1dae63a379e</title></pubsub></data>

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

2021-09-13 23:01:18 | [Mutex] waiting for: [received:nodes:024603c3-e396-454f-a99b-97751a05369f:localhost]

2021-09-13 23:01:18 | [Mutex] received everything.

2021-09-13 23:01:18 | [Mutex] isItemNotified: received:node:024603c3-e396-454f-a99b-97751a05369f:localhost:node-95ba0dce-78f4-4965-87b9-a1dae63a379e:Node 95ba0dce-78f4-4965-87b9-a1dae63a379e :: true

deleteNodes 1.018s
2021-09-13 23:01:24 |

2021-09-13 23:01:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 23:01:24 | ------------------------------------

2021-09-13 23:01:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-95ba0dce-78f4-4965-87b9-a1dae63a379e</node></data>

2021-09-13 23:01:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-13 23:01:25 | [Mutex] waiting for: [received:nodes:8e108eb3-260a-4fe8-b502-f1743a8a0739:localhost]

2021-09-13 23:01:25 | [Mutex] received everything.

2021-09-13 23:01:25 | [Mutex] isItemNotified: received:node:8e108eb3-260a-4fe8-b502-f1743a8a0739:localhost:node-95ba0dce-78f4-4965-87b9-a1dae63a379e:Node 95ba0dce-78f4-4965-87b9-a1dae63a379e :: false

deleteSubnodes 1.147s
2021-09-13 23:01:22 |

2021-09-13 23:01:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 23:01:22 | ------------------------------------

2021-09-13 23:01:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32</node></data>

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

2021-09-13 23:01:24 | [Mutex] waiting for: [received:nodes:4ac00001-6dc5-4f3b-a3c9-05b20af0458c:localhost]

2021-09-13 23:01:24 | [Mutex] received everything.

2021-09-13 23:01:24 | [Mutex] isItemNotified: received:node:4ac00001-6dc5-4f3b-a3c9-05b20af0458c:localhost:node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32:Node d4380a18-23c9-4f7a-b4ec-e8ff873bfe32 :: false

2021-09-13 23:01:24 | [Mutex] waiting for: [received:nodes:13b0a833-52ff-495f-a33b-a360f101b7fb:localhost]

2021-09-13 23:01:24 | [Mutex] received everything.

2021-09-13 23:01:24 | [Mutex] isItemNotified: received:node:13b0a833-52ff-495f-a33b-a360f101b7fb:localhost:node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32:Node d4380a18-23c9-4f7a-b4ec-e8ff873bfe32 :: false

publishItemsToNodes 0.268s
2021-09-13 23:01:20 |

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

2021-09-13 23:01:20 | ------------------------------------

2021-09-13 23:01:20 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32</node><item-id>item-3b2e3bca-5449-4ff1-bd47-11ad6ab65dd2</item-id><entry><test>item-3b2e3bca-5449-4ff1-bd47-11ad6ab65dd2</test></entry></data>

2021-09-13 23:01:21 | 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-3b2e3bca-5449-4ff1-bd47-11ad6ab65dd2</value></item-id></result>

2021-09-13 23:01:21 | [Mutex] waiting for: [published:item:notifieditem-3b2e3bca-5449-4ff1-bd47-11ad6ab65dd2:admin@test-domain.com]

2021-09-13 23:01:21 | [Mutex] received everything.

2021-09-13 23:01:21 | [Mutex] isItemNotified: published:item:notifieditem-3b2e3bca-5449-4ff1-bd47-11ad6ab65dd2:admin@test-domain.com :: true

retractItemsFromNodes 0.235s
2021-09-13 23:01:21 |

2021-09-13 23:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 23:01:21 | ------------------------------------

2021-09-13 23:01:21 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32</node><item-id>item-3b2e3bca-5449-4ff1-bd47-11ad6ab65dd2</item-id></data>

2021-09-13 23:01:21 | 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-3b2e3bca-5449-4ff1-bd47-11ad6ab65dd2</value></item-id></result>

2021-09-13 23:01:21 | [Mutex] received everything.

2021-09-13 23:01:21 | [Mutex] isItemNotified: retracted:item:notifieditem-3b2e3bca-5449-4ff1-bd47-11ad6ab65dd2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.343s
2021-09-13 23:01:21 |

2021-09-13 23:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 23:01:21 | ------------------------------------

2021-09-13 23:01:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32</node><item-id>item-3b2e3bca-5449-4ff1-bd47-11ad6ab65dd2</item-id></data>

2021-09-13 23:01:21 | 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-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32</value></node><item-id label="Item ID" type="text-single"><value>item-3b2e3bca-5449-4ff1-bd47-11ad6ab65dd2</value></item-id><item label="Item" type="text-multi"><value><item id="item-3b2e3bca-5449-4ff1-bd47-11ad6ab65dd2"><test>item-3b2e3bca-5449-4ff1-bd47-11ad6ab65dd2</test></item></value></item></result>

2021-09-13 23:01:21 | [Mutex] notify: [retrieved:item:item-3b2e3bca-5449-4ff1-bd47-11ad6ab65dd2:payload-matches:true:localhost]

2021-09-13 23:01:21 | [Mutex] received everything.

2021-09-13 23:01:21 | [Mutex] isItemNotified: retrieved:item:item-3b2e3bca-5449-4ff1-bd47-11ad6ab65dd2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-09-13 23:01:21 |

2021-09-13 23:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 23:01:21 | ------------------------------------

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

2021-09-13 23:01:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32</value><value>test</value><value>node-95ba0dce-78f4-4965-87b9-a1dae63a379e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-09-13 23:01:21 |

2021-09-13 23:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 23:01:21 | ------------------------------------

2021-09-13 23:01:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32)</node-pattern></data>

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

subscribeNodes 1.178s
2021-09-13 23:01:19 |

2021-09-13 23:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 23:01:19 | ------------------------------------

2021-09-13 23:01:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-13 23:01:19 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.255s
2021-09-13 23:01:21 |

2021-09-13 23:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 23:01:21 | ------------------------------------

2021-09-13 23:01:21 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d4380a18-23c9-4f7a-b4ec-e8ff873bfe32</node><jids><value>admin@test-domain.com</value></jids></data>

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