Forum Discussion

JMcKinley's avatar
JMcKinley
Contributor
16 years ago

Question/issue: Change host through "run a test case" with maven

Is there a way to specify the service endpoint through a groovy script?

To be more specific:

We ran into an issue where the endpoint does change at runtime by using the maven plug-in to change the host from the server we develop our tests with to the server we want to actually run the whole project; however, when we use the SOAP UI "Run a Test Case" step, the test case that gets run does not get its host changed.. all of the other SOAP requests in the whole project get their host changed except for these. This was a big surprise to us and we're looking for either a workaround or a fix if this is a known issue.

artifactID: maven-soapui-pro-plugin
version: 2.0.2

Thanks!
Jim

1 Reply

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Jim,

    This is a bug, thanks for noticing! It will be fixed in next build (send me an email at ole@eviware.com and I'll notify you when it's available.. )

    regards!

    /Ole
    eviware.com