Generated by TestNG with ReportNG at 22:32 PDT on Saturday 26 September 2020
root@8359be7fa07c / 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.759s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2020-09-26 22:48:41 |

2020-09-26 22:48:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:48:41 | ------------------------------------

2020-09-26 22:48:41 | [Mutex] waiting for: [configured:node:node-2dbd12ca-e032-4323-ba7b-683ce839a794:node-4449be79-9bbd-4824-a4d8-be231ff6072d]

2020-09-26 22:48:41 | [Mutex] received everything.

2020-09-26 22:48:41 | [Mutex] isItemNotified: configured:node:node-2dbd12ca-e032-4323-ba7b-683ce839a794:node-4449be79-9bbd-4824-a4d8-be231ff6072d :: true

2020-09-26 22:48:42 | [Mutex] waiting for: [received:nodes:f1124ea5-bc53-4a7b-b71c-ce12cb27f388:localhost]

2020-09-26 22:48:42 | [Mutex] received everything.

2020-09-26 22:48:42 | [Mutex] isItemNotified: received:node:f1124ea5-bc53-4a7b-b71c-ce12cb27f388:localhost:node-2dbd12ca-e032-4323-ba7b-683ce839a794:Node 2dbd12ca-e032-4323-ba7b-683ce839a794 :: true

2020-09-26 22:48:42 | [Mutex] waiting for: [received:nodes:a2ed2955-7c01-4888-80d1-6db2df7ad4fd:localhost]

2020-09-26 22:48:42 | [Mutex] received everything.

2020-09-26 22:48:42 | [Mutex] isItemNotified: received:node:a2ed2955-7c01-4888-80d1-6db2df7ad4fd:localhost:node-2dbd12ca-e032-4323-ba7b-683ce839a794:Node 2dbd12ca-e032-4323-ba7b-683ce839a794 :: false

createNodes 1.478s
2020-09-26 22:48:39 |

2020-09-26 22:48:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:48:39 | ------------------------------------

2020-09-26 22:48:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2dbd12ca-e032-4323-ba7b-683ce839a794</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2dbd12ca-e032-4323-ba7b-683ce839a794</title></pubsub></data>

2020-09-26 22:48:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-26 22:48:40 | [Mutex] waiting for: [received:nodes:26f3af14-b148-4eb4-86a9-a2b6bf742c7c:localhost]

2020-09-26 22:48:40 | [Mutex] received everything.

2020-09-26 22:48:40 | [Mutex] isItemNotified: received:node:26f3af14-b148-4eb4-86a9-a2b6bf742c7c:localhost:node-2dbd12ca-e032-4323-ba7b-683ce839a794:Node 2dbd12ca-e032-4323-ba7b-683ce839a794 :: true

createSubnodes 1.026s
2020-09-26 22:48:40 |

2020-09-26 22:48:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:48:40 | ------------------------------------

2020-09-26 22:48:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4449be79-9bbd-4824-a4d8-be231ff6072d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4449be79-9bbd-4824-a4d8-be231ff6072d</title></pubsub></data>

2020-09-26 22:48:40 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-26 22:48:41 | [Mutex] waiting for: [received:nodes:54b0efcd-3af2-4f98-a2a6-6c20c1d575e6:localhost]

2020-09-26 22:48:41 | [Mutex] received everything.

2020-09-26 22:48:41 | [Mutex] isItemNotified: received:node:54b0efcd-3af2-4f98-a2a6-6c20c1d575e6:localhost:node-4449be79-9bbd-4824-a4d8-be231ff6072d:Node 4449be79-9bbd-4824-a4d8-be231ff6072d :: true

deleteNodes 1.023s
2020-09-26 22:48:46 |

2020-09-26 22:48:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:48:46 | ------------------------------------

2020-09-26 22:48:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4449be79-9bbd-4824-a4d8-be231ff6072d</node></data>

2020-09-26 22:48:46 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-26 22:48:47 | [Mutex] waiting for: [received:nodes:75bb30bf-01d4-482b-8b6a-7e342d07d054:localhost]

2020-09-26 22:48:47 | [Mutex] received everything.

2020-09-26 22:48:47 | [Mutex] isItemNotified: received:node:75bb30bf-01d4-482b-8b6a-7e342d07d054:localhost:node-4449be79-9bbd-4824-a4d8-be231ff6072d:Node 4449be79-9bbd-4824-a4d8-be231ff6072d :: false

deleteSubnodes 1.103s
2020-09-26 22:48:45 |

2020-09-26 22:48:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:48:45 | ------------------------------------

2020-09-26 22:48:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2dbd12ca-e032-4323-ba7b-683ce839a794</node></data>

2020-09-26 22:48:45 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-26 22:48:46 | [Mutex] waiting for: [received:nodes:935931e0-f207-41cb-9091-096cc4409ec6:localhost]

2020-09-26 22:48:46 | [Mutex] waiting for: [received:nodes:935931e0-f207-41cb-9091-096cc4409ec6:localhost]

2020-09-26 22:48:46 | [Mutex] received everything.

2020-09-26 22:48:46 | [Mutex] isItemNotified: received:node:935931e0-f207-41cb-9091-096cc4409ec6:localhost:node-2dbd12ca-e032-4323-ba7b-683ce839a794:Node 2dbd12ca-e032-4323-ba7b-683ce839a794 :: false

2020-09-26 22:48:46 | [Mutex] waiting for: [received:nodes:688fe9e0-e977-41bd-ab37-adc48fdb0ae9:localhost]

2020-09-26 22:48:46 | [Mutex] received everything.

2020-09-26 22:48:46 | [Mutex] isItemNotified: received:node:688fe9e0-e977-41bd-ab37-adc48fdb0ae9:localhost:node-2dbd12ca-e032-4323-ba7b-683ce839a794:Node 2dbd12ca-e032-4323-ba7b-683ce839a794 :: false

publishItemsToNodes 0.181s
2020-09-26 22:48:43 |

2020-09-26 22:48:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:48:43 | ------------------------------------

2020-09-26 22:48:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2dbd12ca-e032-4323-ba7b-683ce839a794</node><item-id>item-69ef9a7c-442d-42a2-b17d-1de990cef871</item-id><entry><test>item-69ef9a7c-442d-42a2-b17d-1de990cef871</test></entry></data>

2020-09-26 22:48:43 | 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-69ef9a7c-442d-42a2-b17d-1de990cef871</value></item-id></result>

2020-09-26 22:48:43 | [Mutex] received everything.

2020-09-26 22:48:43 | [Mutex] isItemNotified: published:item:notifieditem-69ef9a7c-442d-42a2-b17d-1de990cef871:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2020-09-26 22:48:44 |

2020-09-26 22:48:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:48:44 | ------------------------------------

2020-09-26 22:48:44 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2dbd12ca-e032-4323-ba7b-683ce839a794</node><item-id>item-69ef9a7c-442d-42a2-b17d-1de990cef871</item-id></data>

2020-09-26 22:48:44 | 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-69ef9a7c-442d-42a2-b17d-1de990cef871</value></item-id></result>

2020-09-26 22:48:44 | [Mutex] received everything.

2020-09-26 22:48:44 | [Mutex] isItemNotified: retracted:item:notifieditem-69ef9a7c-442d-42a2-b17d-1de990cef871:admin@test-domain.com :: true

retrieveItemsFromNodes 0.228s
2020-09-26 22:48:43 |

2020-09-26 22:48:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:48:43 | ------------------------------------

2020-09-26 22:48:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2dbd12ca-e032-4323-ba7b-683ce839a794</node><item-id>item-69ef9a7c-442d-42a2-b17d-1de990cef871</item-id></data>

2020-09-26 22:48:44 | 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-2dbd12ca-e032-4323-ba7b-683ce839a794</value></node><item-id label="Item ID" type="text-single"><value>item-69ef9a7c-442d-42a2-b17d-1de990cef871</value></item-id><item label="Item" type="text-multi"><value><item id="item-69ef9a7c-442d-42a2-b17d-1de990cef871"><test>item-69ef9a7c-442d-42a2-b17d-1de990cef871</test></item></value></item></result>

2020-09-26 22:48:44 | [Mutex] notify: [retrieved:item:item-69ef9a7c-442d-42a2-b17d-1de990cef871:payload-matches:true:localhost]

2020-09-26 22:48:44 | [Mutex] received everything.

2020-09-26 22:48:44 | [Mutex] isItemNotified: retrieved:item:item-69ef9a7c-442d-42a2-b17d-1de990cef871:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.061s
2020-09-26 22:48:44 |

2020-09-26 22:48:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:48:44 | ------------------------------------

2020-09-26 22:48:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-26 22:48:44 | 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-2dbd12ca-e032-4323-ba7b-683ce839a794</value><value>node-4449be79-9bbd-4824-a4d8-be231ff6072d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-26 22:48:44 |

2020-09-26 22:48:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:48:44 | ------------------------------------

2020-09-26 22:48:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2dbd12ca-e032-4323-ba7b-683ce839a794)</node-pattern></data>

2020-09-26 22:48:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.092s
2020-09-26 22:48:42 |

2020-09-26 22:48:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:48:42 | ------------------------------------

2020-09-26 22:48:42 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2dbd12ca-e032-4323-ba7b-683ce839a794</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-26 22:48:42 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.175s
2020-09-26 22:48:44 |

2020-09-26 22:48:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 22:48:44 | ------------------------------------

2020-09-26 22:48:44 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2dbd12ca-e032-4323-ba7b-683ce839a794</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-26 22:48:44 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>