Forum Discussion

SiKing's avatar
SiKing
Community Expert
12 years ago

testrunner switches

I am trying to figure out the beaviour of some of the testrunner switches. Specifically -e and -h.

In my project I have a combination of SOAP (multiple endpoints), REST (multiple endpoints), AMF, and JDBC calls. Everything runs on the same server.
Using the -e switch overrides all the endpoints to whatever I specify, which does not work in my case.
Using the -h switch overrides the hostname. But only for REST and SOAP calls? AMF and JDBC are unchanged. Is this the correct behaviour?

Please note that I am aware of the Environments (-E switch) feature. I am just trying to figure out how the -h switch (supposedly?) works.

1 Reply

  • Hi,

    The -e switch will override all the endpoints. If you were looking to affect one particular endpoint and leave the others unchanged, I believe this can be achieved with environment change, so the problem could be approached from an environment handling perspective.

    As for the -h switch, it functions how you have described, but I believe it should apply to AMF and JDBC requests as well. I have logged a bug regarding this: it's SOAP-2477.

    Regards,

    Giscard
    SmartBear Support