Forum Discussion
nmrao
Champion Level 1
9 years agoWhy do you even write or use groovy script? It should be fine as long as the request in the request step appears as you have shown (with property expansions), soapui automatically sends request by replacing those values.
Or completely misunderstood your case.
Or completely misunderstood your case.
- vpachpute19 years agoFrequent Contributor
Hi
Actually my project requirement is as
1. Pass the request using using external .xml file. (So that going forward, if there is any change in request, needs to change in one place rather than changing in each test case. )
2. So in that request, MSISDN should be dynamic and test data should be passed as per requirement.
But while sending request using file, parameterised property value is not called. So i want to write Groovy script to first write into xml file with parameter values and call this file into script.
Please refer to
Regards
Vishal
- vpachpute19 years agoFrequent Contributor
Hi
Can anyone please help me on the same
Regards
Vishal
- vpachpute19 years agoFrequent Contributor
Hi
Can anyone please help on this .
Or suggest any relevant post to write into xml file so that I can refer.
Thanks
Regagds
Vishal