Hi All,
I am validating SAS Web URL by using below script .
sample=`curl -ksSf -u sasdemo@saspw:pass https://sample.com:8343/SASSTUDIO -v`
kill -0 $sample > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo " Web URL is connecting "
else
echo " $sample "
fi
The URL is connecting but even if i give wrong password it is showing as URL is connected. After validations i observed that curl command is checking till SASLogon page but not actual URL.
Can anyone help me in validating the SAS Web URL's with usernames and passwords in linux.
Thanks & Regards,
Sandeep