Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 50540200CD6 for ; Mon, 31 Jul 2017 19:15:42 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4EFFF16591F; Mon, 31 Jul 2017 17:15:42 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6EBAD16591E for ; Mon, 31 Jul 2017 19:15:41 +0200 (CEST) Received: (qmail 96075 invoked by uid 500); 31 Jul 2017 17:15:39 -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 96062 invoked by uid 99); 31 Jul 2017 17:15:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2017 17:15:39 +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 657C3C00D6 for ; Mon, 31 Jul 2017 17:15:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.609 X-Spam-Level: *** X-Spam-Status: No, score=3.609 tagged_above=-999 required=6.31 tests=[HTML_IMAGE_RATIO_04=0.61, HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id lZg_4qarOmsz for ; Mon, 31 Jul 2017 17:15:35 +0000 (UTC) Received: from internetallee.de (internetallee.de [81.169.162.220]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 29DCA5FB2C for ; Mon, 31 Jul 2017 17:15:34 +0000 (UTC) Received: from sunny-felix.fritz.box (p5DE8F17E.dip0.t-ipconnect.de [93.232.241.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by internetallee.de (Postfix) with ESMTPSA id 5AB97126402B for ; Mon, 31 Jul 2017 19:15:28 +0200 (CEST) Date: Mon, 31 Jul 2017 19:15:25 +0200 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----HR32HUUKI8VH99OFBVO4MBJ29WPL3X" Content-Transfer-Encoding: 7bit Subject: Re: Using HTTP Request to test POST to upload and store a file To: JMeter Users List From: Felix Schumacher Message-ID: archived-at: Mon, 31 Jul 2017 17:15:42 -0000 ------HR32HUUKI8VH99OFBVO4MBJ29WPL3X Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The images didn't make it through the mailing list=2E=20 Can you post the test? I counted three images in the log, only=2E Can you = add a debit sampler to check that your variables are correctly initialized?= =20 Felix Am 31=2E Juli 2017 18:20:42 MESZ schrieb Lisa Waugh = : >Hi Felix, >Here is my HTTP Request: >=20 > >=20 > >=20 >I have the same http request set up to run 4 times=2E The only thing I'm > >changing is the file name=2E > >=20 >I can run this same exact request in Postman on the same machine and it > >work consistently so I don't think I have any firewall issues=2E >=20 >I am running JMeter 3=2E1 r1770033 and Java=20 >java version "1=2E8=2E0" >Java(TM) SE Runtime Environment (build pwa6480sr4fp5-20170421_01(SR4 >FP5)) >IBM J9 VM (build 2=2E8, JRE 1=2E8=2E0 Windows 10 amd64-64 Compressed >References=20 >20170419_344392 (JIT enabled, AOT enabled) >J9VM - R28_20170419_1004_B344392 >JIT - tr=2Er14=2Ejava_20170419_344392 >GC - R28_20170419_1004_B344392_CMPRSS >J9CL - 20170419_344392) >JCL - 20170420_01 based on Oracle jdk8u131-b11 >=20 >I enabled debugging and captured the log >2017/07/31 11:32:14 INFO - jmeter=2Eengine=2EStandardJMeterEngine: Runni= ng > >the test!=20 >2017/07/31 11:32:14 INFO - jmeter=2Esamplers=2ESampleEvent: List of=20 >sample_variables: []=20 >2017/07/31 11:32:14 INFO - jmeter=2Egui=2Eutil=2EJMeterMenuBar:=20 >setRunning(true,*local*)=20 >2017/07/31 11:32:14 INFO - jmeter=2Eengine=2EStandardJMeterEngine: >Starting=20 >ThreadGroup: 1 : Group for Admin=20 >2017/07/31 11:32:14 INFO - jmeter=2Eengine=2EStandardJMeterEngine: >Starting 1=20 >threads for group Group for Admin=2E=20 >2017/07/31 11:32:14 INFO - jmeter=2Eengine=2EStandardJMeterEngine: Threa= d=20 >will continue on error=20 >2017/07/31 11:32:14 INFO - jmeter=2Ethreads=2EThreadGroup: Starting thre= ad > >group number 1 threads 1 ramp-up 10 perThread 10000=2E0 >delayedStart=3Dfalse=20 >2017/07/31 11:32:14 INFO - jmeter=2Ethreads=2EThreadGroup: Started threa= d=20 >group number 1=20 >2017/07/31 11:32:14 INFO - jmeter=2Eengine=2EStandardJMeterEngine: All >thread=20 >groups have been started=20 >2017/07/31 11:32:14 INFO - jmeter=2Ethreads=2EJMeterThread: Thread >started:=20 >Group for Admin 1-1=20 >2017/07/31 11:32:15 INFO - jmeter=2Eservices=2EFileServer: Stored:=20 >c:\ibm\apache-jmeter-3=2E1\bin\inputs\IMG_1573=2EJPG=20 >2017/07/31 11:32:34 INFO - jmeter=2Eservices=2EFileServer: Stored:=20 >c:\ibm\apache-jmeter-3=2E1\bin\inputs\IMG_4536=2EJPG=20 >2017/07/31 11:32:44 INFO - jmeter=2Eservices=2EFileServer: Stored:=20 >c:\ibm\apache-jmeter-3=2E1\bin\inputs\dsc00010=2Ejpg=20 >2017/07/31 11:33:15 INFO - jmeter=2Ethreads=2EJMeterThread: Thread is >done:=20 >Group for Admin 1-1=20 >2017/07/31 11:33:15 INFO - jmeter=2Ethreads=2EJMeterThread: Thread >finished:=20 >Group for Admin 1-1=20 >2017/07/31 11:33:15 INFO - jmeter=2Eengine=2EStandardJMeterEngine: >Notifying=20 >test listeners of end of test=20 >2017/07/31 11:33:15 INFO - jmeter=2Egui=2Eutil=2EJMeterMenuBar:=20 >setRunning(false,*local*)=20 >=20 >I'll capture a thread dump and send it later today=2E >=20 >thanks, >Lisa >=20 >Lisa Waugh >Performance Test Engineer >IBM Watson Education >+1 (720) 396-0112 >+1 (704) 907-7008 m >waugh@us=2Eibm=2Ecom > > >Watson Education=20 >=20 >=20 >=20 >----- Original message ----- >From: Felix Schumacher >To: user@jmeter=2Eapache=2Eorg >Cc: >Subject: Re: Using HTTP Request to test POST to upload and store a file >Date: Sat, Jul 29, 2017 5:57 AM >=20 >Am 28=2E07=2E2017 um 13:30 schrieb Felix Schumacher: >> >> Am 27=2E Juli 2017 23:50:20 MESZ schrieb Lisa Waugh : >>> I'm trying to use HTTP Request to upload and store a file via a POST >to >>> a >>> REST api=2E I can't use HTTP Raw because it is an https request=2E >>> >>> I can successfully accomplish this with smaller files (<=3D 500 kb)=2E >>> With >>> larger files (>=3D 582 kb) it fails with a 500 Error: Connection >error=2E >>> I >>> know it is not an issue with my REST api because I can use POSTMAN >and >>> successfully post the same file=2E >>> >>> I've increased the Connect timeouts and Response timeouts to >80000000 >>> msecs=2E >>> >>> These are images or audio recordings, not text files=2E >>> >>> No errors appear in the jmeter logs=2E >> I think I can confirm this=2E Is the requests duration longer than=20 >expected? >> >> Could you take a threaddump while the request is waiting? >Strangely enough, I can't reproduce it at home with my linux setup=2E > >How do you setup the http sampler to send the file? Which version of >JMeter and Java are you using=2E Is this between different computers, >could there be a firewall that interferes with the requests? > >Can you try to set the logging of JMeter to something more detailed >like >debug? > >Felix >> >> Felix >> >>> Is there a setting controlling the size somewhere I haven't found?=20 >Is >>> there anyway to get this to work successfully? >>> >>> Lisa Waugh >>> 720-396-0112 >>> Fax: 720-396-0112 >>> Charlotte, NC >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@jmeter=2Eapache=2Eorg >> For additional commands, e-mail: user-help@jmeter=2Eapache=2Eorg >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@jmeter=2Eapache=2Eorg >For additional commands, e-mail: user-help@jmeter=2Eapache=2Eorg >=20 >=20 ------HR32HUUKI8VH99OFBVO4MBJ29WPL3X--