Forum Discussion
IMO, you should use the data driven approach for the same.
It is possible to achieve data driven approach with Open Source edition as well.
All you need is a test case with following steps -
a. groovy script step
b. rest step
Groovy script will have -
- a groovy script that reads a data file which consists of test case in each row.
- typically a row (test case) contains different input data in column wise. In this case particularly, one of the column can be either request (as that is variable in each test) or keep request in a file and put that file path as column data.
- based on the above, you will be able to read the request, and set/update it as request(pay load) for the rest step.
- run the rest step from groovy itself
- loop the above till all the rows are processed.
Related Content
- 9 months agoswagcoder
Recent Discussions
- 2 days agoemoya
- 3 days agoMyBalanceNow