Forum Discussion

daggerok's avatar
daggerok
New Contributor
7 years ago
Solved

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

  • 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.

     

2 Replies

  • daggerok's avatar
    daggerok
    New Contributor

    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.