Forum Discussion

zokirsalomov's avatar
zokirsalomov
Occasional Contributor
3 years ago

Print failed test step data

Hi,

In readyapi, Im running data driven testing where it reads data from excel file and pass it to HTTP request as parameter, and it loops through around 10k lines of data. I want to print/log the data(comes from excel file) that is failing only, is it possible? How can I achieve that? Thanks in advance.

 

 

  • richie's avatar
    richie
    Community Hero

    Hey zokirsalomov 

     

    Have you tried adding in a DataSink object between your HTTP request and the Data Source Loop step?

     

    Cheers,

     

    Rich

    • zokirsalomov's avatar
      zokirsalomov
      Occasional Contributor

      Data Sink option helped me to print what I need in logs but Im unable to copy data log to my clipboard so I can save it. Any suggestion?