Generated by TestNG with ReportNG at 10:17 PDT on Thursday 27 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.159s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2021-05-27 10:30:39 |

2021-05-27 10:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:30:39 | ------------------------------------

2021-05-27 10:30:39 | [Mutex] waiting for: [configured:node:node-4ec1179e-72be-4b18-9947-4e5c865bee64:node-c97032a1-3760-4ed0-9361-32467189633f]

2021-05-27 10:30:39 | [Mutex] received everything.

2021-05-27 10:30:39 | [Mutex] isItemNotified: configured:node:node-4ec1179e-72be-4b18-9947-4e5c865bee64:node-c97032a1-3760-4ed0-9361-32467189633f :: true

2021-05-27 10:30:40 | [Mutex] waiting for: [received:nodes:b74d4191-696e-4506-be10-83fd1ede827f:localhost]

2021-05-27 10:30:40 | [Mutex] received everything.

2021-05-27 10:30:40 | [Mutex] isItemNotified: received:node:b74d4191-696e-4506-be10-83fd1ede827f:localhost:node-4ec1179e-72be-4b18-9947-4e5c865bee64:Node 4ec1179e-72be-4b18-9947-4e5c865bee64 :: true

2021-05-27 10:30:40 | [Mutex] waiting for: [received:nodes:bdf42bf8-0670-49db-8c50-45936928c9c6:localhost]

2021-05-27 10:30:40 | [Mutex] received everything.

2021-05-27 10:30:40 | [Mutex] isItemNotified: received:node:bdf42bf8-0670-49db-8c50-45936928c9c6:localhost:node-4ec1179e-72be-4b18-9947-4e5c865bee64:Node 4ec1179e-72be-4b18-9947-4e5c865bee64 :: false

createNodes 1.551s
2021-05-27 10:30:37 |

2021-05-27 10:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:30:37 | ------------------------------------

2021-05-27 10:30:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4ec1179e-72be-4b18-9947-4e5c865bee64</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4ec1179e-72be-4b18-9947-4e5c865bee64</title></pubsub></data>

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

2021-05-27 10:30:38 | [Mutex] waiting for: [received:nodes:b1ec72f0-f304-455e-9953-27317d4a7929:localhost]

2021-05-27 10:30:38 | [Mutex] received everything.

2021-05-27 10:30:38 | [Mutex] isItemNotified: received:node:b1ec72f0-f304-455e-9953-27317d4a7929:localhost:node-4ec1179e-72be-4b18-9947-4e5c865bee64:Node 4ec1179e-72be-4b18-9947-4e5c865bee64 :: true

createSubnodes 1.028s
2021-05-27 10:30:38 |

2021-05-27 10:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:30:38 | ------------------------------------

2021-05-27 10:30:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c97032a1-3760-4ed0-9361-32467189633f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c97032a1-3760-4ed0-9361-32467189633f</title></pubsub></data>

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

2021-05-27 10:30:39 | [Mutex] waiting for: [received:nodes:4e7766d4-df4d-4f28-999a-997a3b251a58:localhost]

2021-05-27 10:30:39 | [Mutex] received everything.

2021-05-27 10:30:39 | [Mutex] isItemNotified: received:node:4e7766d4-df4d-4f28-999a-997a3b251a58:localhost:node-c97032a1-3760-4ed0-9361-32467189633f:Node c97032a1-3760-4ed0-9361-32467189633f :: true

deleteNodes 1.019s
2021-05-27 10:30:45 |

2021-05-27 10:30:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:30:45 | ------------------------------------

2021-05-27 10:30:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c97032a1-3760-4ed0-9361-32467189633f</node></data>

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

2021-05-27 10:30:46 | [Mutex] waiting for: [received:nodes:3ffc8aee-46af-468b-950a-7270210af74f:localhost]

2021-05-27 10:30:46 | [Mutex] received everything.

2021-05-27 10:30:46 | [Mutex] isItemNotified: received:node:3ffc8aee-46af-468b-950a-7270210af74f:localhost:node-c97032a1-3760-4ed0-9361-32467189633f:Node c97032a1-3760-4ed0-9361-32467189633f :: false

deleteSubnodes 1.144s
2021-05-27 10:30:44 |

2021-05-27 10:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:30:44 | ------------------------------------

2021-05-27 10:30:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4ec1179e-72be-4b18-9947-4e5c865bee64</node></data>

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

2021-05-27 10:30:45 | [Mutex] waiting for: [received:nodes:510b3ddd-fb75-4aa9-8102-5a8753d54a87:localhost]

2021-05-27 10:30:45 | [Mutex] waiting for: [received:nodes:510b3ddd-fb75-4aa9-8102-5a8753d54a87:localhost]

2021-05-27 10:30:45 | [Mutex] received everything.

2021-05-27 10:30:45 | [Mutex] isItemNotified: received:node:510b3ddd-fb75-4aa9-8102-5a8753d54a87:localhost:node-4ec1179e-72be-4b18-9947-4e5c865bee64:Node 4ec1179e-72be-4b18-9947-4e5c865bee64 :: false

2021-05-27 10:30:45 | [Mutex] waiting for: [received:nodes:c21ef06c-6920-4648-904c-15080856ad38:localhost]

2021-05-27 10:30:45 | [Mutex] received everything.

2021-05-27 10:30:45 | [Mutex] isItemNotified: received:node:c21ef06c-6920-4648-904c-15080856ad38:localhost:node-4ec1179e-72be-4b18-9947-4e5c865bee64:Node 4ec1179e-72be-4b18-9947-4e5c865bee64 :: false

publishItemsToNodes 0.218s
2021-05-27 10:30:42 |

2021-05-27 10:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:30:42 | ------------------------------------

2021-05-27 10:30:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4ec1179e-72be-4b18-9947-4e5c865bee64</node><item-id>item-ef307ae6-20cf-4aa0-9d11-fd32c8c06425</item-id><entry><test>item-ef307ae6-20cf-4aa0-9d11-fd32c8c06425</test></entry></data>

2021-05-27 10:30:42 | 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-ef307ae6-20cf-4aa0-9d11-fd32c8c06425</value></item-id></result>

2021-05-27 10:30:42 | [Mutex] waiting for: [published:item:notifieditem-ef307ae6-20cf-4aa0-9d11-fd32c8c06425:admin@test-domain.com]

2021-05-27 10:30:42 | [Mutex] received everything.

2021-05-27 10:30:42 | [Mutex] isItemNotified: published:item:notifieditem-ef307ae6-20cf-4aa0-9d11-fd32c8c06425:admin@test-domain.com :: true

retractItemsFromNodes 0.308s
2021-05-27 10:30:42 |

2021-05-27 10:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:30:42 | ------------------------------------

2021-05-27 10:30:42 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4ec1179e-72be-4b18-9947-4e5c865bee64</node><item-id>item-ef307ae6-20cf-4aa0-9d11-fd32c8c06425</item-id></data>

2021-05-27 10:30:43 | 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-ef307ae6-20cf-4aa0-9d11-fd32c8c06425</value></item-id></result>

2021-05-27 10:30:43 | [Mutex] waiting for: [retracted:item:notifieditem-ef307ae6-20cf-4aa0-9d11-fd32c8c06425:admin@test-domain.com]

2021-05-27 10:30:43 | [Mutex] received everything.

2021-05-27 10:30:43 | [Mutex] isItemNotified: retracted:item:notifieditem-ef307ae6-20cf-4aa0-9d11-fd32c8c06425:admin@test-domain.com :: true

retrieveItemsFromNodes 0.372s
2021-05-27 10:30:42 |

2021-05-27 10:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:30:42 | ------------------------------------

2021-05-27 10:30:42 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4ec1179e-72be-4b18-9947-4e5c865bee64</node><item-id>item-ef307ae6-20cf-4aa0-9d11-fd32c8c06425</item-id></data>

2021-05-27 10:30:42 | 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-4ec1179e-72be-4b18-9947-4e5c865bee64</value></node><item-id type="text-single" label="Item ID"><value>item-ef307ae6-20cf-4aa0-9d11-fd32c8c06425</value></item-id><item type="text-multi" label="Item"><value><item id="item-ef307ae6-20cf-4aa0-9d11-fd32c8c06425"><test>item-ef307ae6-20cf-4aa0-9d11-fd32c8c06425</test></item></value></item></result>

2021-05-27 10:30:42 | [Mutex] notify: [retrieved:item:item-ef307ae6-20cf-4aa0-9d11-fd32c8c06425:payload-matches:true:localhost]

2021-05-27 10:30:42 | [Mutex] received everything.

2021-05-27 10:30:42 | [Mutex] isItemNotified: retrieved:item:item-ef307ae6-20cf-4aa0-9d11-fd32c8c06425:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2021-05-27 10:30:42 |

2021-05-27 10:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:30:42 | ------------------------------------

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

2021-05-27 10:30:42 | 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-c97032a1-3760-4ed0-9361-32467189633f</value><value>node-4ec1179e-72be-4b18-9947-4e5c865bee64</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-27 10:30:42 |

2021-05-27 10:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:30:42 | ------------------------------------

2021-05-27 10:30:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4ec1179e-72be-4b18-9947-4e5c865bee64)</node-pattern></data>

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

subscribeNodes 1.129s
2021-05-27 10:30:40 |

2021-05-27 10:30:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:30:40 | ------------------------------------

2021-05-27 10:30:40 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4ec1179e-72be-4b18-9947-4e5c865bee64</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.278s
2021-05-27 10:30:43 |

2021-05-27 10:30:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:30:43 | ------------------------------------

2021-05-27 10:30:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4ec1179e-72be-4b18-9947-4e5c865bee64</node><jids><value>admin@test-domain.com</value></jids></data>

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