Forum Discussion

khansen's avatar
khansen
New Contributor
2 years ago

How to identify a specific (failed) test-step with Data-Source value

Hello,

 

I can't seem to find a way in the Transaction Log to identify failing test-steps other than clicking into each individual failure and looking at information in the request body. This isn't practical at scale and I need a way to see which record from the SQL db the data-source connects to is failing directly in the Transaction Log list.

 

Ideally, I'd like to replace where it says "(Data Row #)" with a data-source variable so I can see directly in the Transaction Log list view all the records being processed instead of clicking into them.

 

Here's an example of what I'm trying to accomplish:

 

 

1 Reply

  • ChrisAdams's avatar
    ChrisAdams
    Champion Level 3

    When running data driven tests, I don't want the test to stop when a step fails.

    Instead, I use a data sink step immediately before the datasource loop step.  With the data sink, you can write pretty much whatever you want.

    You can add details from the datasource, e.g. row, test id, test description.  You can also write details from any of the test steps within the loop for that particular iteration.