Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C11ED3DC for ; Mon, 11 Mar 2013 17:14:36 +0000 (UTC) Received: (qmail 82609 invoked by uid 500); 11 Mar 2013 17:14:35 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 82560 invoked by uid 500); 11 Mar 2013 17:14:35 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 82544 invoked by uid 99); 11 Mar 2013 17:14:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 17:14:34 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mark.o.miller@gmail.com designates 209.85.212.173 as permitted sender) Received: from [209.85.212.173] (HELO mail-wi0-f173.google.com) (209.85.212.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 17:14:28 +0000 Received: by mail-wi0-f173.google.com with SMTP id hq4so1161864wib.0 for ; Mon, 11 Mar 2013 10:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=kZgEcrSFHzA41ekGaK3+b8kU//kdMiDnazweeuy8kb8=; b=L5f/kTRISOzxZSTxn/L6d5Fbbadm7EiAsjaK7yCZZKVyjVV6i8c4DPLvXCpbUM+TuB rAp4nys+xv4sGF9ianPpmkj/kB3mRj8ou2eOtQAX6dW7gg7ZDuH/xOEJbFtgr0A0ZFVd xqCTN/FSSeABvRoofmT/2mPucVTe7YOXzl4pMetfDai9iu0d/OXoA+SVtNHypIlnj11J ZVh+u4Pa+JCPjNzYqRuhAg0AdiMb56PErb3fhmfQw0aMBroYxpbj5m5M7SuE15sXhrT+ kDRzlqcvMHuXrUoDlGP0jjwttZtBSxW9CghWabkNBGbSTQMpdJcmOpGjYlQb6Y1cJoPF sJuQ== MIME-Version: 1.0 X-Received: by 10.180.77.9 with SMTP id o9mr14273634wiw.16.1363022048639; Mon, 11 Mar 2013 10:14:08 -0700 (PDT) Received: by 10.194.84.69 with HTTP; Mon, 11 Mar 2013 10:14:08 -0700 (PDT) In-Reply-To: <70A129AE-B429-470E-BE04-71FDB62B5A70@jet-stream.nl> References: <70A129AE-B429-470E-BE04-71FDB62B5A70@jet-stream.nl> Date: Mon, 11 Mar 2013 11:14:08 -0600 Message-ID: Subject: Re: What is the preferred method to assert multiple headers? From: Mark Miller To: JMeter Users List Content-Type: multipart/alternative; boundary=f46d043d66c307cf7004d7a94dc3 X-Virus-Checked: Checked by ClamAV on apache.org --f46d043d66c307cf7004d7a94dc3 Content-Type: text/plain; charset=ISO-8859-1 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 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 > > --f46d043d66c307cf7004d7a94dc3--