Forum Discussion

pizzaTime's avatar
pizzaTime
Occasional Contributor
5 years ago
Solved

Data source error using gitlab

Hello, While writing my tests, I import from csv.file data that are used in request (body) but when launched through GitLab, in allure reports my tests failed with :  Error:java.io.FileNotFound...
  • HimanshuTayal's avatar
    HimanshuTayal
    5 years ago

    pizzaTime :

     

    Try with this :

     

    groovyutils = new com.eviware.soapui.support.GroovyUtils(context)
    projectpath = groovyutils.projectPath
    log.info projectpath

    projectPath will return where your project is stored, try to manipulate it or place the csv file on the same location where your project is placed.