Forum Discussion

bvenku1982's avatar
bvenku1982
Contributor
9 years ago

File Data source(CSV), how to skip the header

When using the File Data source(CSV) how to skip the header..

I attached the snap of my csv config in Soapui

  • bvenku1982's avatar
    bvenku1982
    9 years ago

    I found the option for this...

     

    Go to DataSource Options > Set the StartRow=1

    Please find the attachment for the reference ..... 

     

    thanks .......

     

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Bvenku1982,

     

    As far as I know, it’s impossible to do in DataSource. You can create a Groovy script that will read only the lines you need.

     

    • bvenku1982's avatar
      bvenku1982
      Contributor

      I found the option for this...

       

      Go to DataSource Options > Set the StartRow=1

      Please find the attachment for the reference ..... 

       

      thanks .......

       

      • TanyaYatskovska's avatar
        TanyaYatskovska
        SmartBear Alumni (Retired)

        Great to know this. Thanks for sharing the solution :)