Generated by TestNG with ReportNG at 22:50 PDT on Thursday 25 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.955s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.129s
2021-03-25 23:04:34 |

2021-03-25 23:04:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 23:04:34 | ------------------------------------

2021-03-25 23:04:34 | [Mutex] waiting for: [configured:node:node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b:node-05808135-83bd-49b6-8d59-b509abca5d1b]

2021-03-25 23:04:35 | [Mutex] received everything.

2021-03-25 23:04:35 | [Mutex] isItemNotified: configured:node:node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b:node-05808135-83bd-49b6-8d59-b509abca5d1b :: true

2021-03-25 23:04:36 | [Mutex] waiting for: [received:nodes:5ed1120a-b0d6-43e3-9416-d72cab56d7d5:localhost]

2021-03-25 23:04:36 | [Mutex] received everything.

2021-03-25 23:04:36 | [Mutex] isItemNotified: received:node:5ed1120a-b0d6-43e3-9416-d72cab56d7d5:localhost:node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b:Node 807320cd-63fd-4d96-9a35-e9aa6ac19a9b :: true

2021-03-25 23:04:36 | [Mutex] waiting for: [received:nodes:a766d624-6ce5-4b32-bc25-b7a4d38fd66f:localhost]

2021-03-25 23:04:36 | [Mutex] received everything.

2021-03-25 23:04:36 | [Mutex] isItemNotified: received:node:a766d624-6ce5-4b32-bc25-b7a4d38fd66f:localhost:node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b:Node 807320cd-63fd-4d96-9a35-e9aa6ac19a9b :: false

createNodes 1.378s
2021-03-25 23:04:32 |

2021-03-25 23:04:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 23:04:32 | ------------------------------------

2021-03-25 23:04:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 807320cd-63fd-4d96-9a35-e9aa6ac19a9b</title></pubsub></data>

2021-03-25 23:04:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-25 23:04:33 | [Mutex] waiting for: [received:nodes:f7b8e41e-963b-4766-8ad1-44209c84fab5:localhost]

2021-03-25 23:04:33 | [Mutex] waiting for: [received:nodes:f7b8e41e-963b-4766-8ad1-44209c84fab5:localhost]

2021-03-25 23:04:33 | [Mutex] received everything.

2021-03-25 23:04:33 | [Mutex] isItemNotified: received:node:f7b8e41e-963b-4766-8ad1-44209c84fab5:localhost:node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b:Node 807320cd-63fd-4d96-9a35-e9aa6ac19a9b :: true

createSubnodes 1.040s
2021-03-25 23:04:33 |

2021-03-25 23:04:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 23:04:33 | ------------------------------------

2021-03-25 23:04:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-05808135-83bd-49b6-8d59-b509abca5d1b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 05808135-83bd-49b6-8d59-b509abca5d1b</title></pubsub></data>

2021-03-25 23:04:33 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-25 23:04:34 | [Mutex] waiting for: [received:nodes:2dd34008-d47b-4f10-910a-d4d3df56fdff:localhost]

2021-03-25 23:04:34 | [Mutex] waiting for: [received:nodes:2dd34008-d47b-4f10-910a-d4d3df56fdff:localhost]

2021-03-25 23:04:34 | [Mutex] received everything.

2021-03-25 23:04:34 | [Mutex] isItemNotified: received:node:2dd34008-d47b-4f10-910a-d4d3df56fdff:localhost:node-05808135-83bd-49b6-8d59-b509abca5d1b:Node 05808135-83bd-49b6-8d59-b509abca5d1b :: true

deleteNodes 1.022s
2021-03-25 23:04:40 |

2021-03-25 23:04:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 23:04:40 | ------------------------------------

2021-03-25 23:04:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-05808135-83bd-49b6-8d59-b509abca5d1b</node></data>

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

2021-03-25 23:04:41 | [Mutex] waiting for: [received:nodes:66a71d59-3287-41c3-9c55-2eebea62c927:localhost]

2021-03-25 23:04:41 | [Mutex] received everything.

2021-03-25 23:04:41 | [Mutex] isItemNotified: received:node:66a71d59-3287-41c3-9c55-2eebea62c927:localhost:node-05808135-83bd-49b6-8d59-b509abca5d1b:Node 05808135-83bd-49b6-8d59-b509abca5d1b :: false

deleteSubnodes 1.119s
2021-03-25 23:04:39 |

2021-03-25 23:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 23:04:39 | ------------------------------------

2021-03-25 23:04:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b</node></data>

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

2021-03-25 23:04:40 | [Mutex] waiting for: [received:nodes:ad4bcc62-a0ef-413e-a05f-51c43233166e:localhost]

2021-03-25 23:04:40 | [Mutex] waiting for: [received:nodes:ad4bcc62-a0ef-413e-a05f-51c43233166e:localhost]

2021-03-25 23:04:40 | [Mutex] received everything.

2021-03-25 23:04:40 | [Mutex] isItemNotified: received:node:ad4bcc62-a0ef-413e-a05f-51c43233166e:localhost:node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b:Node 807320cd-63fd-4d96-9a35-e9aa6ac19a9b :: false

2021-03-25 23:04:40 | [Mutex] waiting for: [received:nodes:5e49b476-8962-4203-9ff0-5c999c673810:localhost]

2021-03-25 23:04:40 | [Mutex] received everything.

2021-03-25 23:04:40 | [Mutex] isItemNotified: received:node:5e49b476-8962-4203-9ff0-5c999c673810:localhost:node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b:Node 807320cd-63fd-4d96-9a35-e9aa6ac19a9b :: false

publishItemsToNodes 0.221s
2021-03-25 23:04:37 |

2021-03-25 23:04:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 23:04:37 | ------------------------------------

2021-03-25 23:04:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b</node><item-id>item-1fdf1ffb-052c-49b3-a8a2-a7d9ed9ef20c</item-id><entry><test>item-1fdf1ffb-052c-49b3-a8a2-a7d9ed9ef20c</test></entry></data>

2021-03-25 23:04: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-1fdf1ffb-052c-49b3-a8a2-a7d9ed9ef20c</value></item-id></result>

2021-03-25 23:04:37 | [Mutex] received everything.

2021-03-25 23:04:37 | [Mutex] isItemNotified: published:item:notifieditem-1fdf1ffb-052c-49b3-a8a2-a7d9ed9ef20c:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2021-03-25 23:04:37 |

2021-03-25 23:04:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 23:04:37 | ------------------------------------

2021-03-25 23:04:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b</node><item-id>item-1fdf1ffb-052c-49b3-a8a2-a7d9ed9ef20c</item-id></data>

2021-03-25 23:04: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-1fdf1ffb-052c-49b3-a8a2-a7d9ed9ef20c</value></item-id></result>

2021-03-25 23:04:38 | [Mutex] waiting for: [retracted:item:notifieditem-1fdf1ffb-052c-49b3-a8a2-a7d9ed9ef20c:admin@test-domain.com]

2021-03-25 23:04:38 | [Mutex] received everything.

2021-03-25 23:04:38 | [Mutex] isItemNotified: retracted:item:notifieditem-1fdf1ffb-052c-49b3-a8a2-a7d9ed9ef20c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.255s
2021-03-25 23:04:37 |

2021-03-25 23:04:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 23:04:37 | ------------------------------------

2021-03-25 23:04:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b</node><item-id>item-1fdf1ffb-052c-49b3-a8a2-a7d9ed9ef20c</item-id></data>

2021-03-25 23:04:37 | 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-807320cd-63fd-4d96-9a35-e9aa6ac19a9b</value></node><item-id label="Item ID" type="text-single"><value>item-1fdf1ffb-052c-49b3-a8a2-a7d9ed9ef20c</value></item-id><item label="Item" type="text-multi"><value><item id="item-1fdf1ffb-052c-49b3-a8a2-a7d9ed9ef20c"><test>item-1fdf1ffb-052c-49b3-a8a2-a7d9ed9ef20c</test></item></value></item></result>

2021-03-25 23:04:37 | [Mutex] notify: [retrieved:item:item-1fdf1ffb-052c-49b3-a8a2-a7d9ed9ef20c:payload-matches:true:localhost]

2021-03-25 23:04:37 | [Mutex] received everything.

2021-03-25 23:04:37 | [Mutex] isItemNotified: retrieved:item:item-1fdf1ffb-052c-49b3-a8a2-a7d9ed9ef20c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-03-25 23:04:37 |

2021-03-25 23:04:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 23:04:37 | ------------------------------------

2021-03-25 23:04:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-25 23:04:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b</value><value>test</value><value>node-05808135-83bd-49b6-8d59-b509abca5d1b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-03-25 23:04:37 |

2021-03-25 23:04:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 23:04:37 | ------------------------------------

2021-03-25 23:04:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b)</node-pattern></data>

2021-03-25 23:04:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.153s
2021-03-25 23:04:36 |

2021-03-25 23:04:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 23:04:36 | ------------------------------------

2021-03-25 23:04:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-25 23:04: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.288s
2021-03-25 23:04:38 |

2021-03-25 23:04:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 23:04:38 | ------------------------------------

2021-03-25 23:04:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-807320cd-63fd-4d96-9a35-e9aa6ac19a9b</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-25 23:04:38 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>