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 2ABA7180F1 for ; Thu, 2 Jul 2015 14:07:17 +0000 (UTC) Received: (qmail 4288 invoked by uid 500); 2 Jul 2015 14:07:16 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 4252 invoked by uid 500); 2 Jul 2015 14:07:16 -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 4241 invoked by uid 99); 2 Jul 2015 14:07:16 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2015 14:07:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 357C1C0481 for ; Thu, 2 Jul 2015 14:07:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id PPJwVt7bnHRp for ; Thu, 2 Jul 2015 14:07:15 +0000 (UTC) Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 5FAD545417 for ; Thu, 2 Jul 2015 14:07:15 +0000 (UTC) Received: by obbkm3 with SMTP id km3so50142668obb.1 for ; Thu, 02 Jul 2015 07:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=oD5DRonfqjA5GStUiV904bGV7ydRlWQHRzdwCbElPG4=; b=EuXnMGFwp1UpKNaZID9coYklEGsHpB+igzvDB2b2ts3QOcLYdnvYF2rKM5yPtv8VyY 6NZzYhq5rk2UVymeUAUsAzJ5ZG1CBDwaESHzIDl4p0wAxolYWFXj4BDPsXbZ40Su10Mo F3nZjmIZDNmOuutX/ny1JcIH5Mh4K6GJZA801tTOccVtV9AvLmgZdw35YtJ+5jvNNONZ cglaDAexV9U6xa/LNqc75CBzfc8PEq4oYgiBV/hciZC87aY5tQVTNTY4S5htuM81hi+p CC5RGiyaQrvmckahRMV6WcOMhVQIMojnyydLlidEwih4n0MtEq2eNUekfSfrIqPN5eKh aiJQ== MIME-Version: 1.0 X-Received: by 10.182.196.72 with SMTP id ik8mr30229946obc.36.1435846029239; Thu, 02 Jul 2015 07:07:09 -0700 (PDT) Received: by 10.202.217.85 with HTTP; Thu, 2 Jul 2015 07:07:08 -0700 (PDT) Received: by 10.202.217.85 with HTTP; Thu, 2 Jul 2015 07:07:08 -0700 (PDT) Date: Thu, 2 Jul 2015 19:37:08 +0530 Message-ID: Subject: Error Handling in Jmeter From: Niraj To: JMeter Users List Content-Type: multipart/alternative; boundary=089e015374f8866b180519e4f4b5 --089e015374f8866b180519e4f4b5 Content-Type: text/plain; charset=UTF-8 Hello, My Jmeter script have only one request which get's input from CSV file and which executes 1000 times. Now what I want, if my request failed for more than 10 times, I need to stop my Jmeter test automatically. I know there is Test Action sampler. But I am not sure how can get failure count. I can use If controller. But what condition should I use so after 10 request failed. My If loop will execute and Test Action sampler will stop my test. If there is any other option, please let me know. Thanks, Niraj --089e015374f8866b180519e4f4b5--