jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <mark.o.mil...@gmail.com>
Subject Re: What is the preferred method to assert multiple headers?
Date Mon, 11 Mar 2013 17:14:08 GMT
I recommend science. Try it in a few different ways and induce different
failure scenarios (one broken, several broken) and see how things are
reported to you compared to how you'd like to know about what's broken.

Mark


On Mon, Mar 11, 2013 at 9:33 AM, Jakob van Bethlehem <jakob@jet-stream.nl>wrote:

> Dear users,
>
> Currently I'm working on building some header assertions (using Response
> Assertion) on HTTP Requests. There is a set of 6 headers that our
> application must send, which I'd like to add to the Response Assertion, and
> I was wondering what is the preferred method to achieve this in JMeter:
> (1) create a single, huge pattern that has all headers (this can be done,
> because all 6 headers will come out in a given order), or
> (2) create a separate pattern for each header
>
> I don't know for sure whether the order in which headers are received
> could ever be mixed up (maybe when the server is stressed?). If that is the
> case, I guess method (2) would be preferable. If that is not the case,
> method (1) would result in a single test to run, which may be faster than
> method (2), although it is a huge test. I'm lacking experience here -
> hopefully someone can give some pointers.
>
> Sincerely,
> Jakob van Bethlehem
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message