Open kapil-agnihotri opened 2 years ago
Since the last version the stacktrace is muted by default. Use the property etf.stacktrace.show = true in the etf-config.properties to enable it. (INSPIRE Validator still uses v2.0, overlooked stacktrace part)
The framework provides certain functionalities to avoid these kind of NullPointerExceptions. However, there are some test suites (i.e. the INSPIRE WMS ETS) that do not make use of the framework functionalities and then these errors occur due to their own implementations. Since this cannot be fixed in the framework, it is best to report the NPEs to the INSPIRE helpdesk.
If I run the above WMS view service directly on the INSPIRE validator then I do get the result of the test run.
This information indicates that there is a problem with your INSPIRE validator-specific deployment. So, from my point of view, there are two issues: 1. NPEs in general should not be thrown by the ETS and 2. there is a problem with local deployment.
I overlooked the stacktrace part and misclassified the error thing. However, please report the problem to the INSPIRE helpdesk first, as I guess it is related to the SoapUI ETS.
Thanks a lot @jonherrmann for your feedback. As proposed by you, I have created an issue on INSPIRE helpdesk GitHub page.
We get NPE when starting tests for WMS service using the API call. NPE is observed only for the first time when this API is requested but on successive API calls the test runs successfully.
We get
500
status code from etf-webapp with below stacktrace:If I run the above WMS view service directly on the INSPIRE validator then I do get the result of the test run.
Also, I see that according to your swagger API 4. Manage Test Runs documentation, we should also receive
"error": "Error message"
in case ofInternal error - 500
but we do not get any such human readable error message but only thestacktrace
withtimestamp
and theurl
. It would be great to get such a human readable error response in these scenarios as these scenarios are frequent and happens during the first run for the tests.Please let me know if you need any further support to verify the issue.
Attaching logs from etf service for your reference. etf-5f5c9f976d-f6qx5.log
Looking forward to your feedback.