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 69D1410951 for ; Sun, 1 Feb 2015 17:24:23 +0000 (UTC) Received: (qmail 61189 invoked by uid 500); 1 Feb 2015 17:24:23 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 61148 invoked by uid 500); 1 Feb 2015 17:24:23 -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 61137 invoked by uid 99); 1 Feb 2015 17:24:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2015 17:24:23 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_IMAGE_RATIO_06,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,URIBL_DBL_ABUSE_REDIR X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: encountered temporary error during SPF processing of domain of erez@theneura.com) Received: from [208.113.200.129] (HELO homiemail-a44.g.dreamhost.com) (208.113.200.129) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2015 17:24:19 +0000 Received: from homiemail-a44.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a44.g.dreamhost.com (Postfix) with ESMTP id 4030511805C for ; Sun, 1 Feb 2015 09:23:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=theneura.com; h=from:to :subject:date:message-id:mime-version:content-type; s= theneura.com; bh=U/aC8waEuvzPM7An/mfaICtEhxY=; b=tIMTF18AbqF8vKY 6tfILYfDWzOcmPKFxLP7hGDL1LQKsimBvQov1A67itgyO8pqUk7a51muDcYcqv31 4CpB4PaKGtRL3yaovYn1iAdgIGXcqh4i3pKlM+Y6+Ok7YLH5A7L+n1k218m2dliw loRKZUnZH8J9KxynMER66LiRRKlE= Received: from QAPC (bzq-109-65-8-82.red.bezeqint.net [109.65.8.82]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: erez@theneura.com) by homiemail-a44.g.dreamhost.com (Postfix) with ESMTPSA id 41297118057 for ; Sun, 1 Feb 2015 09:23:33 -0800 (PST) From: "Erez Naim" To: Subject: Jmeter Date: Sun, 1 Feb 2015 19:23:30 +0200 Message-ID: <004001d03e43$ce7ffe50$6b7ffaf0$@theneura.com> MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_0041_01D03E54.92DBD5C0" X-Mailer: Microsoft Outlook 15.0 Thread-Index: AdA+QwVEjVhwZOuaSdyLVJc8b8IJ+g== Content-Language: he X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_0041_01D03E54.92DBD5C0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0042_01D03E54.92DBD5C0" ------=_NextPart_001_0042_01D03E54.92DBD5C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I am running a Jmeter script which does this logic: Thread Group While controller (condition) http sampler request (for requested api with GET) JSON Path extractor (to extract my desired data, this data will be checked in the while loop ) Cookie manager Cache manager Response Assertion (200) Constant Timer (100 milliseconds) As I ran the test it is working but I get 94% of failures due to many times the sampler is called through the loop till the JSON is really there and being calculated. How can I make it logically better by not getting those errors , as you can see it here in the table below. It is not failure it is part of the test I expect it to fail the first while loop. Thanks! Erez Naim | QA Lead | EL AL 2 Street | Herzliya mobile (+972) 50 9 555 686 | fax (408) 689.1366 | skype erez.neura website | blog | twitter | map ------=_NextPart_001_0042_01D03E54.92DBD5C0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I am running = a Jmeter script which does this logic:

 

Thread = Group

 

        While = controller (condition)

         &= nbsp;        http sampler request = (for requested api with GET)

         &= nbsp;           &n= bsp; JSON Path extractor (to extract my desired data, this data will be = checked in the while loop )

         &= nbsp;           &n= bsp; Cookie manager

         &= nbsp;           &n= bsp; Cache manager

         &= nbsp;           &n= bsp; Response Assertion (200)

         &= nbsp;           &n= bsp; Constant Timer (100 milliseconds)

 

 

As I ran the = test it is working but I get 94% of failures due to many times the = sampler is called through the loop till the JSON is really there and = being calculated.

How can I make it = logically better by not getting those errors  , as you can see it = here in the table below.

It is not = failure it is part of the test I expect it to fail the first while loop. =

         &= nbsp;           &n= bsp;    

 

Thanks! =

 

Erez Naim  |  QA = Lead  |   = 3DLinkedIn  = 3DvCard  = 3DTwitter  =

3D"cid:image004.png@01D01E1B.5F153500"

EL AL 2 = Street | Herzliya 
mobile (+972) 50 9 555 = 686 
| fax&nbs= p;(408) 689.1366 | skype&n= bsp;erez.neura

 

website  |  blog  |  twitter  |  map    =

 

 

------=_NextPart_001_0042_01D03E54.92DBD5C0-- ------=_NextPart_000_0041_01D03E54.92DBD5C0--