systemtests for server errors with wget
|Reported by:||pcampalani||Owned by:||pcampalani|
|Keywords:||wget http 500||Cc:||dmisev, pbaumann, abeccati|
wget, which is used to fetch the responses in the systemtests (see run_test() in ./systemtest/util/common.sh), does not seem capable of fetching the response content in case of 500 HTTP exit code. See http://stackoverflow.com/questions/6083102/http-500-error-in-wget.
This way, it won't be possible to test error conditions like it is done by WCS tests 21 and 22:
..since the response stored in output/ will be empty and will not match the oracle which instead contains the exception message.
curl might be considered as alternative, although it must be added in the installation requirements of rasdaman.
Change History (10)
comment:8 Changed 3 years ago by pcampalani
- Owner changed from dmisev to pcampalani
- Status changed from new to assigned