ab_soapui
15 years agoOccasional Contributor
How to add different request templates in Soap UI for different testcases.
Hi.
I have multiple test request templates; I have to upload one of them depending on the test case, which i am reading from a csv file.
For example for some testcase i want to upload following test request template.
-----------------------------------------------------------------------------------------------------
2
4
For some other testcase i want to upload following test request. (basically its array of requests)
-------------------------------------------------------------------------------------------------------------------------
2
4
20
40
Same request template example with three nodes in the requests.
------------------------------------------------------------------------------------------
2
4
20
40
200
400
I am passing the testdata accrodingly from csv file.
How can i upload some request template using groovy script, so that for running a separate testcase, i can upload the respective request template?
Is there any other way to solve this kind of problems?
Any kind of help is greatly appriciated.
I have multiple test request templates; I have to upload one of them depending on the test case, which i am reading from a csv file.
For example for some testcase i want to upload following test request template.
-----------------------------------------------------------------------------------------------------
2
4
For some other testcase i want to upload following test request. (basically its array of requests)
-------------------------------------------------------------------------------------------------------------------------
2
4
20
40
Same request template example with three nodes in the requests.
------------------------------------------------------------------------------------------
2
4
20
40
200
400
I am passing the testdata accrodingly from csv file.
How can i upload some request template using groovy script, so that for running a separate testcase, i can upload the respective request template?
Is there any other way to solve this kind of problems?
Any kind of help is greatly appriciated.