Tuesday, July 19, 2016

How to call REST API using SOAPUI and Basic Authentication

1- Create New SOAP Rest project
Image_1

2- Provide REST Project URL
Image_2

3- Set up Basic Auth

Image_3

4- Click on new basic
Image_4
Select Basic Auth
Image_5


5- Enter User Id and Passwd and select Authenticate pre-emptively radio button
Image_6
Add your resource 
Image_7

Run your request and you will be able to get response in xml, JSON, HTML and RAW.

No comments: