def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
def projectDir = groovyUtils.projectPath
log.info(projectDir)
Now the variable projectDir has the project path which can be set as one of the project properties and can be used in later stages.
Hi This code is giving me null pointer exception at line 2. How to resolve this
Hi Anonymous.
Please save your project and try again. Hope this helps.
-Gan