Generated by TestNG with ReportNG at 21:21 PST on Monday 01 March 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 : 9.952s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2021-03-01 21:36:32 |

2021-03-01 21:36:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:36:32 | ------------------------------------

2021-03-01 21:36:32 | [Mutex] waiting for: [configured:node:node-0224ee1a-b142-410e-88a8-0e0c142aecf4:node-08b24512-ebad-44a9-a625-815aa996b2cc]

2021-03-01 21:36:32 | [Mutex] received everything.

2021-03-01 21:36:32 | [Mutex] isItemNotified: configured:node:node-0224ee1a-b142-410e-88a8-0e0c142aecf4:node-08b24512-ebad-44a9-a625-815aa996b2cc :: true

2021-03-01 21:36:33 | [Mutex] waiting for: [received:nodes:0b326cc1-1089-493b-b624-75bfb91f0f23:localhost]

2021-03-01 21:36:33 | [Mutex] received everything.

2021-03-01 21:36:33 | [Mutex] isItemNotified: received:node:0b326cc1-1089-493b-b624-75bfb91f0f23:localhost:node-0224ee1a-b142-410e-88a8-0e0c142aecf4:Node 0224ee1a-b142-410e-88a8-0e0c142aecf4 :: true

2021-03-01 21:36:33 | [Mutex] waiting for: [received:nodes:0679f237-fcd9-4b3c-8484-86fe769e03fc:localhost]

2021-03-01 21:36:33 | [Mutex] waiting for: [received:nodes:0679f237-fcd9-4b3c-8484-86fe769e03fc:localhost]

2021-03-01 21:36:33 | [Mutex] waiting for: [received:nodes:0679f237-fcd9-4b3c-8484-86fe769e03fc:localhost]

2021-03-01 21:36:33 | [Mutex] waiting for: [received:nodes:0679f237-fcd9-4b3c-8484-86fe769e03fc:localhost]

2021-03-01 21:36:33 | [Mutex] received everything.

2021-03-01 21:36:33 | [Mutex] isItemNotified: received:node:0679f237-fcd9-4b3c-8484-86fe769e03fc:localhost:node-0224ee1a-b142-410e-88a8-0e0c142aecf4:Node 0224ee1a-b142-410e-88a8-0e0c142aecf4 :: false

createNodes 1.399s
2021-03-01 21:36:29 |

2021-03-01 21:36:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:36:29 | ------------------------------------

2021-03-01 21:36:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0224ee1a-b142-410e-88a8-0e0c142aecf4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0224ee1a-b142-410e-88a8-0e0c142aecf4</title></pubsub></data>

2021-03-01 21:36:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-01 21:36:30 | [Mutex] waiting for: [received:nodes:883139d2-321c-4eab-a43a-7a3c06e7288e:localhost]

2021-03-01 21:36:31 | [Mutex] received everything.

2021-03-01 21:36:31 | [Mutex] isItemNotified: received:node:883139d2-321c-4eab-a43a-7a3c06e7288e:localhost:node-0224ee1a-b142-410e-88a8-0e0c142aecf4:Node 0224ee1a-b142-410e-88a8-0e0c142aecf4 :: true

createSubnodes 1.026s
2021-03-01 21:36:31 |

2021-03-01 21:36:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:36:31 | ------------------------------------

2021-03-01 21:36:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-08b24512-ebad-44a9-a625-815aa996b2cc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 08b24512-ebad-44a9-a625-815aa996b2cc</title></pubsub></data>

2021-03-01 21:36:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-01 21:36:32 | [Mutex] waiting for: [received:nodes:6ba192a0-6db9-4b79-8605-1b8a17a76427:localhost]

2021-03-01 21:36:32 | [Mutex] received everything.

2021-03-01 21:36:32 | [Mutex] isItemNotified: received:node:6ba192a0-6db9-4b79-8605-1b8a17a76427:localhost:node-08b24512-ebad-44a9-a625-815aa996b2cc:Node 08b24512-ebad-44a9-a625-815aa996b2cc :: true

deleteNodes 1.021s
2021-03-01 21:36:37 |

2021-03-01 21:36:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:36:37 | ------------------------------------

2021-03-01 21:36:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-08b24512-ebad-44a9-a625-815aa996b2cc</node></data>

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

2021-03-01 21:36:38 | [Mutex] waiting for: [received:nodes:16937d3f-c185-4ebb-a8e9-0467cf884393:localhost]

2021-03-01 21:36:38 | [Mutex] received everything.

2021-03-01 21:36:38 | [Mutex] isItemNotified: received:node:16937d3f-c185-4ebb-a8e9-0467cf884393:localhost:node-08b24512-ebad-44a9-a625-815aa996b2cc:Node 08b24512-ebad-44a9-a625-815aa996b2cc :: false

deleteSubnodes 1.116s
2021-03-01 21:36:36 |

2021-03-01 21:36:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:36:36 | ------------------------------------

2021-03-01 21:36:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0224ee1a-b142-410e-88a8-0e0c142aecf4</node></data>

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

2021-03-01 21:36:37 | [Mutex] waiting for: [received:nodes:9b50c3ed-a890-4e43-9e38-c5cc6bb1ac75:localhost]

2021-03-01 21:36:37 | [Mutex] received everything.

2021-03-01 21:36:37 | [Mutex] isItemNotified: received:node:9b50c3ed-a890-4e43-9e38-c5cc6bb1ac75:localhost:node-0224ee1a-b142-410e-88a8-0e0c142aecf4:Node 0224ee1a-b142-410e-88a8-0e0c142aecf4 :: false

2021-03-01 21:36:37 | [Mutex] waiting for: [received:nodes:3f3c7790-c4f9-4f89-91c8-1f31b2ce1906:localhost]

2021-03-01 21:36:37 | [Mutex] received everything.

2021-03-01 21:36:37 | [Mutex] isItemNotified: received:node:3f3c7790-c4f9-4f89-91c8-1f31b2ce1906:localhost:node-0224ee1a-b142-410e-88a8-0e0c142aecf4:Node 0224ee1a-b142-410e-88a8-0e0c142aecf4 :: false

publishItemsToNodes 0.243s
2021-03-01 21:36:34 |

2021-03-01 21:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:36:34 | ------------------------------------

2021-03-01 21:36:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0224ee1a-b142-410e-88a8-0e0c142aecf4</node><item-id>item-2bdeacdb-6441-4af0-b42c-f9a906dd1fef</item-id><entry><test>item-2bdeacdb-6441-4af0-b42c-f9a906dd1fef</test></entry></data>

2021-03-01 21:36:34 | 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-2bdeacdb-6441-4af0-b42c-f9a906dd1fef</value></item-id></result>

2021-03-01 21:36:34 | [Mutex] waiting for: [published:item:notifieditem-2bdeacdb-6441-4af0-b42c-f9a906dd1fef:admin@test-domain.com]

2021-03-01 21:36:34 | [Mutex] received everything.

2021-03-01 21:36:34 | [Mutex] isItemNotified: published:item:notifieditem-2bdeacdb-6441-4af0-b42c-f9a906dd1fef:admin@test-domain.com :: true

retractItemsFromNodes 0.285s
2021-03-01 21:36:34 |

2021-03-01 21:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:36:34 | ------------------------------------

2021-03-01 21:36:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0224ee1a-b142-410e-88a8-0e0c142aecf4</node><item-id>item-2bdeacdb-6441-4af0-b42c-f9a906dd1fef</item-id></data>

2021-03-01 21:36:35 | 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-2bdeacdb-6441-4af0-b42c-f9a906dd1fef</value></item-id></result>

2021-03-01 21:36:35 | [Mutex] waiting for: [retracted:item:notifieditem-2bdeacdb-6441-4af0-b42c-f9a906dd1fef:admin@test-domain.com]

2021-03-01 21:36:35 | [Mutex] received everything.

2021-03-01 21:36:35 | [Mutex] isItemNotified: retracted:item:notifieditem-2bdeacdb-6441-4af0-b42c-f9a906dd1fef:admin@test-domain.com :: true

retrieveItemsFromNodes 0.250s
2021-03-01 21:36:34 |

2021-03-01 21:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:36:34 | ------------------------------------

2021-03-01 21:36:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0224ee1a-b142-410e-88a8-0e0c142aecf4</node><item-id>item-2bdeacdb-6441-4af0-b42c-f9a906dd1fef</item-id></data>

2021-03-01 21:36:34 | 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-0224ee1a-b142-410e-88a8-0e0c142aecf4</value></node><item-id label="Item ID" type="text-single"><value>item-2bdeacdb-6441-4af0-b42c-f9a906dd1fef</value></item-id><item label="Item" type="text-multi"><value><item id="item-2bdeacdb-6441-4af0-b42c-f9a906dd1fef"><test>item-2bdeacdb-6441-4af0-b42c-f9a906dd1fef</test></item></value></item></result>

2021-03-01 21:36:34 | [Mutex] notify: [retrieved:item:item-2bdeacdb-6441-4af0-b42c-f9a906dd1fef:payload-matches:true:localhost]

2021-03-01 21:36:34 | [Mutex] received everything.

2021-03-01 21:36:34 | [Mutex] isItemNotified: retrieved:item:item-2bdeacdb-6441-4af0-b42c-f9a906dd1fef:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2021-03-01 21:36:34 |

2021-03-01 21:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:36:34 | ------------------------------------

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

2021-03-01 21:36:34 | 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-0224ee1a-b142-410e-88a8-0e0c142aecf4</value><value>node-08b24512-ebad-44a9-a625-815aa996b2cc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-03-01 21:36:34 |

2021-03-01 21:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:36:34 | ------------------------------------

2021-03-01 21:36:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0224ee1a-b142-410e-88a8-0e0c142aecf4)</node-pattern></data>

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

subscribeNodes 1.122s
2021-03-01 21:36:33 |

2021-03-01 21:36:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:36:33 | ------------------------------------

2021-03-01 21:36:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0224ee1a-b142-410e-88a8-0e0c142aecf4</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-01 21:36:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.290s
2021-03-01 21:36:35 |

2021-03-01 21:36:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:36:35 | ------------------------------------

2021-03-01 21:36:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0224ee1a-b142-410e-88a8-0e0c142aecf4</node><jids><value>admin@test-domain.com</value></jids></data>

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