Forum Discussion

shilpa16's avatar
shilpa16
Occasional Contributor
31 days ago

Run ReadyAPI Projects in TestEngine

I have a groovy script that will be called in every test, placed the script within the repo under ScriptLibrary -> utils folder. Changed the Project Properties -> Script Library to the repo location ( $(System.DefaultWorkingDirectory)\repo name\ScriptLibrary\utils )

The scripts are imported and are running successfully locally but in the Azure pipeline the step where the script is imported it's throwing error.

   import utils.RetryUtils:  org.codehaus.groovy.syntax.SyntaxException: unable to resolve class utils.RetryUtils

 

Run ReadyAPI Projects in TestEngine
 - task: TestEngine@1
   displayName: Run ReadyAPI project in TestEngine
   env:
API_Key: $(SPARX.MIST.GCP.Dev.APIKey)
   inputs:
     filePath: $(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip
     testSuiteName: MIST_Refactor
     environment: Dev
     serverUrl: ******
     serverUsername: ***
     serverPassword: ******
   continueOnError: true

No RepliesBe the first to reply