How to capture http response and send it to log?
I am sure some of you did this before.
How do you capture response from a test run and send results to performance test log? For example: if a customer is not qualified for credit, his id should be displayed in the log. I have a content verification point to verify who will qualify. And most of them qualify so, I need the customer ids who DOEN'T qualify. So, I need to send those ids ONLY when my verification point fails.
I am trying to write some custom code, but it is getting too complicated. Any better ideas?
Your help will be appreciated.
Re: How to capture http response and send it to log?
simple option(useful only for limited no. of total users say 100) is to prepare a schedule with 10 concurrent users with 10 iterations(for 10*10=100 total users in ur datapool) and keep ur log level "all" and uncheck "Only sample info from subset of users".
after running the same,check test logs where ur VP failed and get the invalid login from that VP failure iteration by checkin the requests.