Hi David,

Thanks for the response,

>(1) Capture them all in a Results Tree sampler. I think I would do this
twice for one and two as you list below, then compare the output files

I have many requests(test cases) in my automated test suite. At the end of
test-run, I want to get a list of failed test cases/requests.
In this case, I guess it would be needed to do some extra work "parse and
compare" the two xmls etc.

This requirement is a very general use case. Does jmeter provide a simpler
way to go about it?

For load testing also, I think it would be useful because to verify that
under a heavy load also your website sends expected response is important.

Please let me know if I am trying to do something differently or missing
something.

Thanks.


On Fri, Mar 25, 2011 at 11:50 AM, David Patrick <[email protected]> wrote:

> Hi Vikas,
>
> To record the responses, I think you have two options:
> (1) Capture them all in a Results Tree sampler. I think I would do this
> twice for one and two as you list below, then compare the output files
>
> or
>
> (2) Use Badboy (badboy.com.au) to record the transactions in record phase.
> Then, after exporting this to a JMX file, you will be able to run it and
> compare the results you get.
>
> If you are looking to do both your steps in each iteration, then I think
> that extending my option (1) above is the way to go - possibly using REGEX
> samples, variables and assertions to capture the response, re-request it and
> check again.
>
> I hope I have been of help.
>
> --
> David Patrick
> [email protected]
>
> On 25 Mar 2011, at 06:11, Vikas Malik wrote:
>
> > Hello,
> >
> > I am using jmeter for functional testing the website. I am trying to
> store
> > the responses while recording the HTTP request traffic using HTTP proxy
> > server, but there does not seem to be any option in jmeter to store
> > responses.
> >
> > Basically I am trying to do the following. Please let me know if it is
> > possible to do so using jmeter, if yes, any pointers how to go about it
> will
> > be very useful.
> >
> > 1. Store the http traffic(both request and response) using HTTP proxy.
> Store
> > the responses as samples.
> > 2. Re-run the recorded HTTP requests in testing phase and compare the
> > responses we get now against the samples stored in step 1. Any mismatch
> > should fail the test.
> >
> > Thanks.
> > Vikas Malik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to