Tuesday, July 23, 2019

steps to perform web api testing in SOAPUI

this blog will demonstrates the steps by steps to perform web api testing in SOAPUI.

SoapUI is built for end-to-end testing of Rest and SOAP Apis, Web Service and Micro Service.  SoapUI can easily automated API testing and perform load testing.


Header :
X-API-UserName :
X-API-Token :

In above API, we need to pass Order ID as part of API‘s Path and for API security verification, we have to pass user Name and API token as HTTP Request Header.

1.     Install SOAPUI Tool
2.     Run the SoapUI app and click on REST Icon

SOAP UI


3.     Enter REST API URL  -  https://localhost:/Order/ID/1000

SOAPUI - REST API URL


4.     Click on Header Tabs and enter Header Name and Value ( in example, X-API-Token Header)  

SOAP UI - ADD HEADER
         
Click on OK

SOAP UI -  HEADER


5.     Click on Run Button () to submit HTTP Request for API

SOAPUI - Submit HTTP REQUEST



No comments:

Post a Comment