View Code? Open in Web Editor
NEW
This is the sample demo of SOAPUI using data driven approach. Where the payload as well as parameter is read from excel file for API.
soapui_demo's Introduction
Download and add the jxl.jar in your soap ui > bin folder
Download the PET-soapui-project.xml and DataDriven.xls file
Edit the excel file as per your need
- Do not make any changes in the TC column.
- Do not specify any value in the cell which are kept blank.
- Add the data as per the pet payload example given in api of "http://petstore.swagger.io"
- Open Soap UI and Click on File > Import Project and select downloaded PET-soapui-project.xml file
- Open the testuite "pet" > open testcase "Run TC" > open "Script" file
- Change the excel file path i.e., at line number #8 with the download excel file
- Change the Project path at line number #59
- Save the project
- Run the TestCase "Run TC"
soapui_demo's People
Contributors
Stargazers
Watchers