I want to run soapui with Maven, but has problem here and can't find any solution on the internet, want to know: How to overrides testCaseProperties just like projectProperties or testSuiteProperties in pom.xml file?
Screenshots as below:
Solved! Go to Solution.
I think this is a pretty uncommon scenario. I don't know if this is possible out of the box but maybe we can find something else that would work for you. Can you elaborate on what you are trying to achieve?
I want to assign value to testcase properties (hat_id) when run "mvn test -P Test -Dhat_id=789" command, here is pom.xml file like below:
I understand that you want to assign values to test case properties. The question is why can't you use test suite properties? Also, why do you want to pass something like a hat_id through maven? What is the use case here?
How about using a DataSink step?
@白夜有点黑 , have you found a solution? If you have not, could you please check whether using a DataSink step helps as Lucian suggested?
We are looking forward to hearing from you.
Thanks for getting back with the solution, @白夜有点黑 !