Forum Discussion

SumitM's avatar
SumitM
Occasional Contributor
7 years ago

How to pass custom properties values to SoapUI Pro from command prompt.

I need to set some custom properties (ex. endpoints, version number, etc) to Test Project custom properties before running the Test suite. I need to pass Custom Properties for Test Project through co...
  • groovyguy's avatar
    groovyguy
    7 years ago

    You can do that with the snippet I posted above.

     

    • -PPropertyName=value 
    • -PAutomated=true

    That will at least set a Project level Custom property to an overridden value. I am not 100% sure if that Property has to exist or if this would create it. But I do know if you have a Project level Custom property called "Automated" and it is set to false, passing in "-PAutomated=true" would override that to false when ran with the testrunner.bat command line arguments.