Forum Discussion

Prouser786's avatar
Prouser786
Occasional Contributor
15 years ago

How to Set Relative path for WADL file location in SoapUI

Hi,
Can anyone please tell me what i need to do to set the WADl file location in my SOAPUI PRO XML project.
I am running my soap project xml through continous integration tool and the project is dependent on WADL file.

Instead of C:\aplication.wadl i want to set it as project path +"\aplication.wadl".... how can i do this.

Thanks!

1 Reply

  • Aaronliu's avatar
    Aaronliu
    Frequent Contributor
    Hi,
    you can reference project property:
    def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
    def FilePath = groovyUtils.projectPath


    and then you can create folder placed your WADL file,for example: C:\myFolder\WADL\xxx.wadl is equal to FilePath+'xxx.wadl' (your project need to place in WADL folder)

    thanks,
    Aaron