The Post-Processor Save Responses to a File was partly introduced with
this in mind.

This takes a name prefix (which I think can be a variable) so you can
run the test twice, saving the results to two sets of files, and then
use some other tool to do comparisons of the files.

You may need to pre-process the files to remove some dynamic data
(e.g. dates/times) before doing the diffs.

There's no differencing capability built into JMeter at present.

However, I guess the Save Responses test element could be extended to
include a second filename prefix, and could save the new data and then
compare it. Not sure offhand how this should report differences - I
think it may run too late to change the failure status - but it could
certainly log a message.

Or one could develop a new Assertion.

You might still need to add a way to edit the responses to remove the
variable data.
I think this could be done using another Post-Processor (BeanShell
Assertion should be usable here) that gets run before the Saver gets
the result. Or this could be added to the Saver itself (easier to
understand).

I suggest you try using external comparisons first, as this will give
a better idea of the sort of text that might need to be removed from
the responses before diffing.

S.
On 4/25/05, Keith Weicksel <[EMAIL PROTECTED]> wrote:
> I was wondering if anyone used JMeter to regression test a site.
> Particularily, what I am looking for is the ability to:
> 
> 1 - create a baseline tests for some path in our site (storing the
> HTML/DOM response somewhere)
> 2 - run the same test again after changes were made to the site and be
> able to DIFF the responses (showing the differences somehow)
> 3 - if there are changes (and they are OK), replace the baseline
> responses with the new valid ones
> 
> I have used JMeter for about a month now, and do not believe it has this
> functionality built right into it at this point.  My question is what is
> the extent of the regression testing ability buiilt into JMeter?  And
> how difficult would it be to add this functionaility to it myselft?
> 
> Thanks,
> 
> Keith
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to