Hi Felix,
Here is my HTTP Request:
 

 

 
I have the same http request set up to run 4 times.  The only thing I'm 
changing is the file name.

 
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.
 
I am running JMeter 3.1 r1770033 and Java 
java version "1.8.0"
Java(TM) SE Runtime Environment (build pwa6480sr4fp5-20170421_01(SR4 FP5))
IBM J9 VM (build 2.8, JRE 1.8.0 Windows 10 amd64-64 Compressed References 
20170419_344392 (JIT enabled, AOT enabled)
J9VM - R28_20170419_1004_B344392
JIT  - tr.r14.java_20170419_344392
GC   - R28_20170419_1004_B344392_CMPRSS
J9CL - 20170419_344392)
JCL - 20170420_01 based on Oracle jdk8u131-b11
 
I enabled debugging and captured the log
2017/07/31 11:32:14 INFO  - jmeter.engine.StandardJMeterEngine: Running 
the test! 
2017/07/31 11:32:14 INFO  - jmeter.samplers.SampleEvent: List of 
sample_variables: [] 
2017/07/31 11:32:14 INFO  - jmeter.gui.util.JMeterMenuBar: 
setRunning(true,*local*) 
2017/07/31 11:32:14 INFO  - jmeter.engine.StandardJMeterEngine: Starting 
ThreadGroup: 1 : Group for Admin 
2017/07/31 11:32:14 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 
threads for group Group for Admin. 
2017/07/31 11:32:14 INFO  - jmeter.engine.StandardJMeterEngine: Thread 
will continue on error 
2017/07/31 11:32:14 INFO  - jmeter.threads.ThreadGroup: Starting thread 
group number 1 threads 1 ramp-up 10 perThread 10000.0 delayedStart=false 
2017/07/31 11:32:14 INFO  - jmeter.threads.ThreadGroup: Started thread 
group number 1 
2017/07/31 11:32:14 INFO  - jmeter.engine.StandardJMeterEngine: All thread 
groups have been started 
2017/07/31 11:32:14 INFO  - jmeter.threads.JMeterThread: Thread started: 
Group for Admin 1-1 
2017/07/31 11:32:15 INFO  - jmeter.services.FileServer: Stored: 
c:\ibm\apache-jmeter-3.1\bin\inputs\IMG_1573.JPG 
2017/07/31 11:32:34 INFO  - jmeter.services.FileServer: Stored: 
c:\ibm\apache-jmeter-3.1\bin\inputs\IMG_4536.JPG 
2017/07/31 11:32:44 INFO  - jmeter.services.FileServer: Stored: 
c:\ibm\apache-jmeter-3.1\bin\inputs\dsc00010.jpg 
2017/07/31 11:33:15 INFO  - jmeter.threads.JMeterThread: Thread is done: 
Group for Admin 1-1 
2017/07/31 11:33:15 INFO  - jmeter.threads.JMeterThread: Thread finished: 
Group for Admin 1-1 
2017/07/31 11:33:15 INFO  - jmeter.engine.StandardJMeterEngine: Notifying 
test listeners of end of test 
2017/07/31 11:33:15 INFO  - jmeter.gui.util.JMeterMenuBar: 
setRunning(false,*local*) 
 
I'll capture a thread dump and send it later today.
 
thanks,
Lisa
 
Lisa Waugh
Performance Test Engineer
IBM Watson Education
+1 (720) 396-0112
+1 (704) 907-7008 m
[email protected]


Watson Education 
 
 
 
----- Original message -----
From: Felix Schumacher <[email protected]>
To: [email protected]
Cc:
Subject: Re: Using HTTP Request to test POST to upload and store a file
Date: Sat, Jul 29, 2017 5:57 AM
 
Am 28.07.2017 um 13:30 schrieb Felix Schumacher:
>
> Am 27. Juli 2017 23:50:20 MESZ schrieb Lisa Waugh <[email protected]>:
>> I'm trying to use HTTP Request to upload and store a file via a POST to
>> a
>> REST api.  I can't use HTTP Raw because it is an https request.
>>
>> I can successfully accomplish this with smaller files (<= 500 kb).
>> With
>> larger files (>= 582 kb) it fails with a 500 Error: Connection error.
>> I
>> know it is not an issue with my REST api because I can use POSTMAN and
>> successfully post the same file.
>>
>> I've increased the Connect timeouts and Response timeouts to 80000000
>> msecs.
>>
>> These are images or audio recordings, not text files.
>>
>> No errors appear in the jmeter logs.
> I think I can confirm this. Is the requests duration longer than 
expected?
>
> Could you take a threaddump while the request is waiting?
Strangely enough, I can't reproduce it at home with my linux setup.

How do you setup the http sampler to send the file? Which version of
JMeter and Java are you using. 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?  Is
>> there anyway to get this to work successfully?
>>
>> Lisa Waugh
>> 720-396-0112
>> Fax:  720-396-0112
>> Charlotte, NC
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
 
 


Reply via email to