Question on use_response_handler() and response_handler functions

In reply to puranik.sunil@tcs.com:

I have to precise my statement:
It is doing nothing with the response. But it is receiving the response, when enabled.
And the most simple action in the function is to print the response as I have proposed in my last post.

function void response_handler(uvm_sequence_item response);
     count++;
     `uvm_info(get_type_name(), $sformatf("count = %0d, response = %p", count, response), UVM_MEDIUM)
endfunction: response_handler

And don’t forget to declare the count variable in your sequence.