Ask a Question

why testrunner doesn't override project property?

SOLVED
daggerok
New Contributor

why testrunner doesn't override project property?

Hello all,

 

I'm using opensource version

 

In my soapui-test-project.xml I've created project property authorizationEndpoint=http://localhost:8080

I want override that, so I'm running tests using next command: 

 

D:\opt\SoapUI-5.3.0\bin\testrunner.bat -PauthorizationEndpoint=http://1.1.1.1:80 D:\code\test\soapui\soapui-test-project.xml

 

but runner executes tests with defined property in soapui-test-project.xml file but not from commandline

 

documentation says:

 

P : Specifies a value of a project property for the test run. The specified value will override the variable's value during the run. Usage: -P<variable>=<value>. If the value includes spaces, enclose the entire argument in quotes. To override several variable values, specify the -P argument several times.

 

What I'm doing wrong?

Thanks for any help

 

---

BR,

Max

1 ACCEPTED SOLUTION

Accepted Solutions
daggerok
New Contributor

Re: why testrunner doesn't override project property?

Fixed by restarting SoapUI...

Seems like until I exit it wasn't able save prject, or somethink like that.

Any way, After I reopened project I reconfigured property again and all start works fine.

 

That thread can be closed.

 

View solution in original post

2 REPLIES 2
daggerok
New Contributor

Re: why testrunner doesn't override project property?

Fixed by restarting SoapUI...

Seems like until I exit it wasn't able save prject, or somethink like that.

Any way, After I reopened project I reconfigured property again and all start works fine.

 

That thread can be closed.

 

sanj
Super Contributor

Re: why testrunner doesn't override project property?

Cool

cancel
Showing results for 
Search instead for 
Did you mean: