Architecting, installing and maintaining your SAS environment

SAS Web URL Login Check

Reply
Contributor
Posts: 63

SAS Web URL Login Check

Hi All,

 

I am validating SAS Web URL by using below script .

 

sample=`curl -ksSf -u sasdemo@saspwSmiley Tongueass 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

Occasional Contributor
Posts: 17

Re: SAS Web URL Login Check

Posted in reply to sandeep_reddy

Sandeep,

 

AFAIK, since SAS Studio has a logon page where you have to enter username and password, the way you have executed curl won't work. I am not sure of the solution and would leave it to the members to answer your question. Thanks!

Contributor
Posts: 63

Re: SAS Web URL Login Check

Posted in reply to shirishkamath
Hi Shirish,
I have just used an example as sas studio URL. I need to validate SAS Visual Analytics URL which requires username and password to enter. Now i need too validate by passing the username and password with curl command.
Thanks & Regards,
Sandeep
Ask a Question
Discussion stats
  • 2 replies
  • 106 views
  • 1 like
  • 2 in conversation