Forum Discussion

singhtester's avatar
singhtester
Contributor
13 years ago

Dynamic endpoint as commandline parameter for Testrunner.bat

Hi Guys,

1. Can I parameterize endpoint when running suite as commandline:
I am getting error, as url variable, which is an endpoint is not recognizing.

======================
set url = http://<host>:<port>
testrunner.bat -e%url% -sREST_Suite -EDefault -I -S -tC:\Users\soapui-settings.xml "D:\WebServices\REST\Automation\REST WebServices Test Plan-soapui-project.xml"
=======================

2. As above is a batch, can I run the same from vbscript

Thanks,
Gurpreet
  • brainiac007's avatar
    brainiac007
    Occasional Contributor
    Hi Gurpreet
    I have the same problem and very interested to solve.
  • This is what the Multi Environment feature in SoapUI Pro is designed for.