Forum Discussion

MPleas's avatar
MPleas
Occasional Contributor
11 years ago

SoapUI Pro Command-Line: Can I pass in test case properties directly instead of through prop files?

It appears that only project level properties can be passed in directly via the command-line. It doesn't appear that test case properties can be passed in directly from the command-line. It appears that to update test case properties you have to create a property file then pass that file into the command-line with the system parameter.

 

Can anyone confirm if there is a way to pass in test case properties directly without having to create the property file?

 

I'm in a unique situation where we have an external data source so all of our SoapUI test cases have a data ID that is added as a test case property. We are going to automate the execution of our tests via Jenkins which will call the SoapUI tests from the command-line. It appears I'm going to have to create hundreds of property files with all of the various data IDs, store those in source control, then reference those property files within the Jenkins job's SoapUI command-line call.

 

Isn't there an easier way to do this and update test case properties directly from the command-line without the property files?

 

:) Michelle

  • nmrao's avatar
    nmrao
    Icon for Champion Level 2 rankChampion Level 2
    How many such properties for the test case you would like to pass, just curious.