mamar
12 years agoContributor
[Resolved] How to run a static request dynamically?
Hi,
I have a test case which has a test request and groovy step like below.
Test Suite 1
---Test Step 1
---Groovy Script 1
My test case will run by fetching data from excel (data driven testing), runs the Test Step 1 and Groovy Step 1 and will continue to loop for 30 rows (30 scenarios). But for the 15th test case from the excel, first i need to run an another request (just need to pass the input to that request) and then my Test Step 1 should be run and this scenario is only for this 15th test case in my excel.
To be more clear, i want to run a series of test input with an test request, but for one case alone, i need to run a another request before running this and then followed with the current request.
Please can any one help me on this.
I have a test case which has a test request and groovy step like below.
Test Suite 1
---Test Step 1
---Groovy Script 1
My test case will run by fetching data from excel (data driven testing), runs the Test Step 1 and Groovy Step 1 and will continue to loop for 30 rows (30 scenarios). But for the 15th test case from the excel, first i need to run an another request (just need to pass the input to that request) and then my Test Step 1 should be run and this scenario is only for this 15th test case in my excel.
To be more clear, i want to run a series of test input with an test request, but for one case alone, i need to run a another request before running this and then followed with the current request.
Please can any one help me on this.