Generated by TestNG with ReportNG at 22:46 PDT on Sunday 13 June 2021
root@785cf647a4ab / 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.686s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.050s
2021-06-13 23:03:18 |

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

2021-06-13 23:03:18 | ------------------------------------

2021-06-13 23:03:18 | [Mutex] waiting for: [configured:node:node-edf76fe7-994a-46c9-befd-c1564d9c91a6:node-c5e73324-db35-4820-bde1-8ea8cc3b9b97]

2021-06-13 23:03:18 | [Mutex] received everything.

2021-06-13 23:03:18 | [Mutex] isItemNotified: configured:node:node-edf76fe7-994a-46c9-befd-c1564d9c91a6:node-c5e73324-db35-4820-bde1-8ea8cc3b9b97 :: true

2021-06-13 23:03:19 | [Mutex] waiting for: [received:nodes:3aa4e444-477b-469b-b083-1e18faee9431:localhost]

2021-06-13 23:03:19 | [Mutex] received everything.

2021-06-13 23:03:19 | [Mutex] isItemNotified: received:node:3aa4e444-477b-469b-b083-1e18faee9431:localhost:node-edf76fe7-994a-46c9-befd-c1564d9c91a6:Node edf76fe7-994a-46c9-befd-c1564d9c91a6 :: true

2021-06-13 23:03:19 | [Mutex] waiting for: [received:nodes:83bf4f43-0468-4207-bd68-9ae1fc2f50c2:localhost]

2021-06-13 23:03:19 | [Mutex] waiting for: [received:nodes:83bf4f43-0468-4207-bd68-9ae1fc2f50c2:localhost]

2021-06-13 23:03:19 | [Mutex] waiting for: [received:nodes:83bf4f43-0468-4207-bd68-9ae1fc2f50c2:localhost]

2021-06-13 23:03:19 | [Mutex] waiting for: [received:nodes:83bf4f43-0468-4207-bd68-9ae1fc2f50c2:localhost]

2021-06-13 23:03:19 | [Mutex] received everything.

2021-06-13 23:03:19 | [Mutex] isItemNotified: received:node:83bf4f43-0468-4207-bd68-9ae1fc2f50c2:localhost:node-edf76fe7-994a-46c9-befd-c1564d9c91a6:Node edf76fe7-994a-46c9-befd-c1564d9c91a6 :: false

createNodes 1.777s
2021-06-13 23:03:16 |

2021-06-13 23:03:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 23:03:16 | ------------------------------------

2021-06-13 23:03:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-edf76fe7-994a-46c9-befd-c1564d9c91a6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node edf76fe7-994a-46c9-befd-c1564d9c91a6</title></pubsub></data>

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

2021-06-13 23:03:17 | [Mutex] waiting for: [received:nodes:fafd1e54-4bf9-4582-b525-2da182ef925b:localhost]

2021-06-13 23:03:17 | [Mutex] received everything.

2021-06-13 23:03:17 | [Mutex] isItemNotified: received:node:fafd1e54-4bf9-4582-b525-2da182ef925b:localhost:node-edf76fe7-994a-46c9-befd-c1564d9c91a6:Node edf76fe7-994a-46c9-befd-c1564d9c91a6 :: true

createSubnodes 1.035s
2021-06-13 23:03:17 |

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

2021-06-13 23:03:17 | ------------------------------------

2021-06-13 23:03:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c5e73324-db35-4820-bde1-8ea8cc3b9b97</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c5e73324-db35-4820-bde1-8ea8cc3b9b97</title></pubsub></data>

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

2021-06-13 23:03:18 | [Mutex] waiting for: [received:nodes:2a750bd3-c350-4fec-864a-2298f16cd080:localhost]

2021-06-13 23:03:18 | [Mutex] received everything.

2021-06-13 23:03:18 | [Mutex] isItemNotified: received:node:2a750bd3-c350-4fec-864a-2298f16cd080:localhost:node-c5e73324-db35-4820-bde1-8ea8cc3b9b97:Node c5e73324-db35-4820-bde1-8ea8cc3b9b97 :: true

deleteNodes 1.021s
2021-06-13 23:03:24 |

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

2021-06-13 23:03:24 | ------------------------------------

2021-06-13 23:03:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c5e73324-db35-4820-bde1-8ea8cc3b9b97</node></data>

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

2021-06-13 23:03:25 | [Mutex] waiting for: [received:nodes:3c11e7a2-ab52-4b85-9a83-c11b1b99d0de:localhost]

2021-06-13 23:03:25 | [Mutex] received everything.

2021-06-13 23:03:25 | [Mutex] isItemNotified: received:node:3c11e7a2-ab52-4b85-9a83-c11b1b99d0de:localhost:node-c5e73324-db35-4820-bde1-8ea8cc3b9b97:Node c5e73324-db35-4820-bde1-8ea8cc3b9b97 :: false

deleteSubnodes 1.186s
2021-06-13 23:03:23 |

2021-06-13 23:03:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 23:03:23 | ------------------------------------

2021-06-13 23:03:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-edf76fe7-994a-46c9-befd-c1564d9c91a6</node></data>

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

2021-06-13 23:03:24 | [Mutex] waiting for: [received:nodes:7845a4a1-89cf-4c66-8a94-42f1041b56f1:localhost]

2021-06-13 23:03:24 | [Mutex] received everything.

2021-06-13 23:03:24 | [Mutex] isItemNotified: received:node:7845a4a1-89cf-4c66-8a94-42f1041b56f1:localhost:node-edf76fe7-994a-46c9-befd-c1564d9c91a6:Node edf76fe7-994a-46c9-befd-c1564d9c91a6 :: false

2021-06-13 23:03:24 | [Mutex] waiting for: [received:nodes:a05e6b4e-9938-4665-8b54-3098b772e00e:localhost]

2021-06-13 23:03:24 | [Mutex] received everything.

2021-06-13 23:03:24 | [Mutex] isItemNotified: received:node:a05e6b4e-9938-4665-8b54-3098b772e00e:localhost:node-edf76fe7-994a-46c9-befd-c1564d9c91a6:Node edf76fe7-994a-46c9-befd-c1564d9c91a6 :: false

publishItemsToNodes 0.228s
2021-06-13 23:03:21 |

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

2021-06-13 23:03:21 | ------------------------------------

2021-06-13 23:03:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-edf76fe7-994a-46c9-befd-c1564d9c91a6</node><item-id>item-6958661d-e7ce-46dc-bdcf-facd2c0923bd</item-id><entry><test>item-6958661d-e7ce-46dc-bdcf-facd2c0923bd</test></entry></data>

2021-06-13 23:03:21 | 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-6958661d-e7ce-46dc-bdcf-facd2c0923bd</value></item-id></result>

2021-06-13 23:03:21 | [Mutex] waiting for: [published:item:notifieditem-6958661d-e7ce-46dc-bdcf-facd2c0923bd:admin@test-domain.com]

2021-06-13 23:03:21 | [Mutex] received everything.

2021-06-13 23:03:21 | [Mutex] isItemNotified: published:item:notifieditem-6958661d-e7ce-46dc-bdcf-facd2c0923bd:admin@test-domain.com :: true

retractItemsFromNodes 0.251s
2021-06-13 23:03:22 |

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

2021-06-13 23:03:22 | ------------------------------------

2021-06-13 23:03:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-edf76fe7-994a-46c9-befd-c1564d9c91a6</node><item-id>item-6958661d-e7ce-46dc-bdcf-facd2c0923bd</item-id></data>

2021-06-13 23:03:22 | 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-6958661d-e7ce-46dc-bdcf-facd2c0923bd</value></item-id></result>

2021-06-13 23:03:22 | [Mutex] received everything.

2021-06-13 23:03:22 | [Mutex] isItemNotified: retracted:item:notifieditem-6958661d-e7ce-46dc-bdcf-facd2c0923bd:admin@test-domain.com :: true

retrieveItemsFromNodes 0.490s
2021-06-13 23:03:21 |

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

2021-06-13 23:03:21 | ------------------------------------

2021-06-13 23:03:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-edf76fe7-994a-46c9-befd-c1564d9c91a6</node><item-id>item-6958661d-e7ce-46dc-bdcf-facd2c0923bd</item-id></data>

2021-06-13 23:03:21 | 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-edf76fe7-994a-46c9-befd-c1564d9c91a6</value></node><item-id type="text-single" label="Item ID"><value>item-6958661d-e7ce-46dc-bdcf-facd2c0923bd</value></item-id><item type="text-multi" label="Item"><value><item id="item-6958661d-e7ce-46dc-bdcf-facd2c0923bd"><test>item-6958661d-e7ce-46dc-bdcf-facd2c0923bd</test></item></value></item></result>

2021-06-13 23:03:21 | [Mutex] notify: [retrieved:item:item-6958661d-e7ce-46dc-bdcf-facd2c0923bd:payload-matches:true:localhost]

2021-06-13 23:03:21 | [Mutex] received everything.

2021-06-13 23:03:21 | [Mutex] isItemNotified: retrieved:item:item-6958661d-e7ce-46dc-bdcf-facd2c0923bd:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.058s
2021-06-13 23:03:21 |

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

2021-06-13 23:03:21 | ------------------------------------

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

2021-06-13 23:03:21 | 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-c5e73324-db35-4820-bde1-8ea8cc3b9b97</value><value>node-edf76fe7-994a-46c9-befd-c1564d9c91a6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-06-13 23:03:21 |

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

2021-06-13 23:03:21 | ------------------------------------

2021-06-13 23:03: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-edf76fe7-994a-46c9-befd-c1564d9c91a6)</node-pattern></data>

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

subscribeNodes 1.223s
2021-06-13 23:03:19 |

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

2021-06-13 23:03:19 | ------------------------------------

2021-06-13 23:03:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-edf76fe7-994a-46c9-befd-c1564d9c91a6</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.315s
2021-06-13 23:03:22 |

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

2021-06-13 23:03:22 | ------------------------------------

2021-06-13 23:03:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-edf76fe7-994a-46c9-befd-c1564d9c91a6</node><jids><value>admin@test-domain.com</value></jids></data>

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