Generated by TestNG with ReportNG at 22:44 PDT on Wednesday 05 May 2021
root@f29ef40080b5 / 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.383s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.134s
2021-05-05 22:57:54 |

2021-05-05 22:57:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:57:54 | ------------------------------------

2021-05-05 22:57:54 | [Mutex] waiting for: [configured:node:node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e:node-ed06aafb-8739-417b-a594-614834ba75d1]

2021-05-05 22:57:54 | [Mutex] received everything.

2021-05-05 22:57:54 | [Mutex] isItemNotified: configured:node:node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e:node-ed06aafb-8739-417b-a594-614834ba75d1 :: true

2021-05-05 22:57:55 | [Mutex] waiting for: [received:nodes:6d998ede-1802-42b5-a65d-f8d46df10eef:localhost]

2021-05-05 22:57:55 | [Mutex] received everything.

2021-05-05 22:57:55 | [Mutex] isItemNotified: received:node:6d998ede-1802-42b5-a65d-f8d46df10eef:localhost:node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e:Node 5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e :: true

2021-05-05 22:57:55 | [Mutex] waiting for: [received:nodes:12e8cc3e-b2da-4594-bebc-e9dd14a5f31f:localhost]

2021-05-05 22:57:55 | [Mutex] waiting for: [received:nodes:12e8cc3e-b2da-4594-bebc-e9dd14a5f31f:localhost]

2021-05-05 22:57:55 | [Mutex] received everything.

2021-05-05 22:57:55 | [Mutex] isItemNotified: received:node:12e8cc3e-b2da-4594-bebc-e9dd14a5f31f:localhost:node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e:Node 5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e :: false

createNodes 1.682s
2021-05-05 22:57:51 |

2021-05-05 22:57:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:57:51 | ------------------------------------

2021-05-05 22:57:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e</title></pubsub></data>

2021-05-05 22:57:52 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-05 22:57:53 | [Mutex] waiting for: [received:nodes:a4735ca6-4f14-4812-b236-be14212b30c2:localhost]

2021-05-05 22:57:53 | [Mutex] received everything.

2021-05-05 22:57:53 | [Mutex] isItemNotified: received:node:a4735ca6-4f14-4812-b236-be14212b30c2:localhost:node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e:Node 5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e :: true

createSubnodes 1.037s
2021-05-05 22:57:53 |

2021-05-05 22:57:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:57:53 | ------------------------------------

2021-05-05 22:57:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ed06aafb-8739-417b-a594-614834ba75d1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ed06aafb-8739-417b-a594-614834ba75d1</title></pubsub></data>

2021-05-05 22:57:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-05 22:57:54 | [Mutex] waiting for: [received:nodes:1274922b-85ef-489a-b9ce-8a7ef6dc2bc1:localhost]

2021-05-05 22:57:54 | [Mutex] received everything.

2021-05-05 22:57:54 | [Mutex] isItemNotified: received:node:1274922b-85ef-489a-b9ce-8a7ef6dc2bc1:localhost:node-ed06aafb-8739-417b-a594-614834ba75d1:Node ed06aafb-8739-417b-a594-614834ba75d1 :: true

deleteNodes 1.025s
2021-05-05 22:58:00 |

2021-05-05 22:58:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:58:00 | ------------------------------------

2021-05-05 22:58:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ed06aafb-8739-417b-a594-614834ba75d1</node></data>

2021-05-05 22:58:00 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-05 22:58:01 | [Mutex] waiting for: [received:nodes:99c7af78-6362-43d9-abcc-c285299b79b9:localhost]

2021-05-05 22:58:01 | [Mutex] received everything.

2021-05-05 22:58:01 | [Mutex] isItemNotified: received:node:99c7af78-6362-43d9-abcc-c285299b79b9:localhost:node-ed06aafb-8739-417b-a594-614834ba75d1:Node ed06aafb-8739-417b-a594-614834ba75d1 :: false

deleteSubnodes 1.130s
2021-05-05 22:57:59 |

2021-05-05 22:57:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:57:59 | ------------------------------------

2021-05-05 22:57:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e</node></data>

2021-05-05 22:57:59 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-05 22:58:00 | [Mutex] waiting for: [received:nodes:4180531e-3a30-44a9-bf6e-deaa0a2b941f:localhost]

2021-05-05 22:58:00 | [Mutex] waiting for: [received:nodes:4180531e-3a30-44a9-bf6e-deaa0a2b941f:localhost]

2021-05-05 22:58:00 | [Mutex] received everything.

2021-05-05 22:58:00 | [Mutex] isItemNotified: received:node:4180531e-3a30-44a9-bf6e-deaa0a2b941f:localhost:node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e:Node 5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e :: false

2021-05-05 22:58:00 | [Mutex] waiting for: [received:nodes:876ba328-c1c1-4e5f-acab-1b7192876566:localhost]

2021-05-05 22:58:00 | [Mutex] received everything.

2021-05-05 22:58:00 | [Mutex] isItemNotified: received:node:876ba328-c1c1-4e5f-acab-1b7192876566:localhost:node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e:Node 5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e :: false

publishItemsToNodes 0.267s
2021-05-05 22:57:56 |

2021-05-05 22:57:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:57:56 | ------------------------------------

2021-05-05 22:57:56 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e</node><item-id>item-2e565980-e07c-4ca7-8cd9-d4712219dd3d</item-id><entry><test>item-2e565980-e07c-4ca7-8cd9-d4712219dd3d</test></entry></data>

2021-05-05 22:57:57 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-2e565980-e07c-4ca7-8cd9-d4712219dd3d</value></item-id></result>

2021-05-05 22:57:57 | [Mutex] received everything.

2021-05-05 22:57:57 | [Mutex] isItemNotified: published:item:notifieditem-2e565980-e07c-4ca7-8cd9-d4712219dd3d:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2021-05-05 22:57:57 |

2021-05-05 22:57:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:57:57 | ------------------------------------

2021-05-05 22:57:57 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e</node><item-id>item-2e565980-e07c-4ca7-8cd9-d4712219dd3d</item-id></data>

2021-05-05 22:57:57 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-2e565980-e07c-4ca7-8cd9-d4712219dd3d</value></item-id></result>

2021-05-05 22:57:57 | [Mutex] received everything.

2021-05-05 22:57:57 | [Mutex] isItemNotified: retracted:item:notifieditem-2e565980-e07c-4ca7-8cd9-d4712219dd3d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.265s
2021-05-05 22:57:57 |

2021-05-05 22:57:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:57:57 | ------------------------------------

2021-05-05 22:57:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e</node><item-id>item-2e565980-e07c-4ca7-8cd9-d4712219dd3d</item-id></data>

2021-05-05 22:57:57 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e</value></node><item-id type="text-single" label="Item ID"><value>item-2e565980-e07c-4ca7-8cd9-d4712219dd3d</value></item-id><item type="text-multi" label="Item"><value><item id="item-2e565980-e07c-4ca7-8cd9-d4712219dd3d"><test>item-2e565980-e07c-4ca7-8cd9-d4712219dd3d</test></item></value></item></result>

2021-05-05 22:57:57 | [Mutex] notify: [retrieved:item:item-2e565980-e07c-4ca7-8cd9-d4712219dd3d:payload-matches:true:localhost]

2021-05-05 22:57:57 | [Mutex] received everything.

2021-05-05 22:57:57 | [Mutex] isItemNotified: retrieved:item:item-2e565980-e07c-4ca7-8cd9-d4712219dd3d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-05 22:57:57 |

2021-05-05 22:57:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:57:57 | ------------------------------------

2021-05-05 22:57:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-05 22:57:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-ed06aafb-8739-417b-a594-614834ba75d1</value><value>node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.067s
2021-05-05 22:57:57 |

2021-05-05 22:57:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:57:57 | ------------------------------------

2021-05-05 22:57:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e)</node-pattern></data>

2021-05-05 22:57:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.206s
2021-05-05 22:57:55 |

2021-05-05 22:57:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:57:55 | ------------------------------------

2021-05-05 22:57:55 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-05 22:57:55 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.295s
2021-05-05 22:57:57 |

2021-05-05 22:57:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:57:57 | ------------------------------------

2021-05-05 22:57:57 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5fadfc6c-3257-4b0c-84b6-a7c6d6acc76e</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-05 22:57:58 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>