On 06/12/06, Christensen, Alan <[EMAIL PROTECTED]> wrote:
My returned html pages include a number in them that corresponds to the back end time that was associated with processing the transaction. I'd like to figure out how I can extract this number and then have the listeners log this number along with the other data logged for each transaction. Is there an easy way to do this? I know that I can extract a value from one sampler and append the extracted value to the name field of the subsequent sampler. But this associates the backend time with the wrong line in the report. Any suggestions?
At present it is not possible to add extra details to the fields saved by the listeners. [There is an enhancement request to add extra fields to the listener data, but no work has been done on it.] However, you can use one of the existing fields, such as the responseMessage, to store the value. This could be done using a BeanShell Post-processor, for example: prev.setResponseMessage("${extractedTime}");
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]