Forum Discussion

alokraj001's avatar
alokraj001
New Contributor
9 years ago

Form based authentication

Hi,

I want to do form based authentication of website (eg. http://downloads.smartbear.com/samples/TestComplete10/WebOrders/Login.aspx) through SOAPUI tools.

For that I have taken following steps

1)Created a REST Project in workspace (name Web Order Login testing)

2)Then added a Test Suite and Test case under this workspace ,which created a REST request test step.

project creation.JPG

3) Under this REST Request in the authorization section I have filled "User Name " and "Password" section.

login_request.JPG

4) Also I have checked the "Maintain HTTP Session" checkbox 

maintain_http_session.JPG

5) after clicking the gree button of Test Case 1 button (on upper left corner) it gives the message "FINISHED"

 

run_test_case.JPG

 

So My Question is How Can I verify that the website has been authenticated.If I enters the wrong username and password it still show the status 200 when i click on the log of test case.

log_message1.JPG

log_message.JPG

 

 

Please Help Me ,How can I do form based authentication REST based website.I am totally new to SOAP UI Tools.

Thanx in Advance.