Forum Discussion

Jim's avatar
Jim
Occasional Contributor
17 years ago

Dynamically changing WSDL endpoints

Is there a mechanism for dynamically changing the WSDL endpoint?  We want to have our test cases run against the wsdl being run on many different servers. ie, Windows XP, Loinux, etc. Basically testing that each wsdl on each operating system works against a standard core set of tests.  Is this possible using SoapUI Pro or does this have to be done programtically changing the SoapUI XML project file?

2 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Jim!

    This depends on what you mean by "dynamically";
    - you can configure multiple endpoints for an interface in the interface windpows' "Service Endpoints" tab, and then assign that endpoint manually to requests
    - you can define an endpoint containing property-expansion and reference a project or global property that you can change as required
    - you could create a project-load script (in the Project Window) that runs every time your project is opened and updates all endpoints based on some system-property/setting/etc..

    Depends a bit on exactly how you want this to work.. from manual (first option) to totally automatic (last option).. and I'm sure there are more ways :-)

    If these are not sufficient, please describe your use-case/scenario and I'll try to come up with something appropriate..

    Hope this helps!

    regards,

    /Ole
    eviware.com
  • Jim's avatar
    Jim
    Occasional Contributor
    Thank you. These options you provided are very sufficient. Excellent tool.