StevenC
11 years agoContributor
Writing load test results to a database
My tests generate a unique id that goes in with each soap call and flows through our system what I am trying to solve for is to be able to run a load test and say the soap response time for transaction id number abc123 was x.xx seconds, that way for any transactions which exceeded a given threshold we can investigate in log files and the database to see where the problem was occurring.
The obvious solution to this is to have a groovy step after the soap call that writes the unique id and response time (and possibly some other data that would be useful to me) off to a database but I've spent the better part of the last 2 days reading your online documentation and googling and I see that this can be done but I have not been able to find any examples how to do it or even any documentation that tells me what class/property holds the response time for the soap call.
So can someone provide me with an example?
The obvious solution to this is to have a groovy step after the soap call that writes the unique id and response time (and possibly some other data that would be useful to me) off to a database but I've spent the better part of the last 2 days reading your online documentation and googling and I see that this can be done but I have not been able to find any examples how to do it or even any documentation that tells me what class/property holds the response time for the soap call.
So can someone provide me with an example?