jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lisa Waugh" <wa...@us.ibm.com>
Subject Re: Using HTTP Request to test POST to upload and store a file
Date Mon, 31 Jul 2017 18:05:49 GMT
Hi Felix,
I put the debug sampler between the start session and the first upload. 
Here is the response data from the debug sampler:

JMeterVariables:
JMeterThread.last_sample_ok=true
JMeterThread.pack=org.apache.jmeter.threads.SamplePackage@1cf26bd
START.HMS=133510
START.MS=1501522510892
START.YMD=20170731
TESTSTART.MS=1501523923257
__jmeter.USER_TOKEN__=Group for Admin 1-1
sessionContextId3=e4860da0-7619-11e7-89d0-b9256255b64a
sessionContextId3_matchNr=1

JMeterProperties:
HTTPResponse.parsers=htmlParser wmlParser cssParser
START.HMS=133510
START.MS=1501522510892
START.YMD=20170731
TESTSTART.MS=1501523923257
beanshell.server.file=../extras/startup.bsh
classfinder.functions.contain=.functions.
classfinder.functions.notContain=.gui.
cookies=cookies
cssParser.className=org.apache.jmeter.protocol.http.parser.CssParser
cssParser.types=text/css
gui.quick_0=ThreadGroupGui
gui.quick_1=HttpTestSampleGui
gui.quick_2=RegexExtractorGui
gui.quick_3=AssertionGui
gui.quick_4=ConstantTimerGui
gui.quick_5=TestActionGui
gui.quick_6=JSR223PostProcessor
gui.quick_7=JSR223PreProcessor
gui.quick_8=DebugSampler
gui.quick_9=ViewResultsFullVisualizer
htmlParser.className=org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
htmlParser.types=text/html application/xhtml+xml application/xml text/xml
jmeter.laf.mac=System
jmeter.reportgenerator.apdex_satisfied_threshold=500
jmeter.reportgenerator.apdex_tolerated_threshold=1500
jmeter.reportgenerator.exclude_tc_from_top5_errors_by_sampler=true
jmeter.reportgenerator.exporter.html.classname=org.apache.jmeter.report.dashboard.HtmlTemplateExporter
jmeter.reportgenerator.graph.activeThreadsOverTime.classname=org.apache.jmeter.report.processor.graph.impl.ActiveThreadsGraphConsumer
jmeter.reportgenerator.graph.activeThreadsOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}
jmeter.reportgenerator.graph.activeThreadsOverTime.title=Active Threads 
Over Time
jmeter.reportgenerator.graph.bytesThroughputOverTime.classname=org.apache.jmeter.report.processor.graph.impl.BytesThroughputGraphConsumer
jmeter.reportgenerator.graph.bytesThroughputOverTime.exclude_controllers=true
jmeter.reportgenerator.graph.bytesThroughputOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}
jmeter.reportgenerator.graph.bytesThroughputOverTime.title=Bytes 
Throughput Over Time
jmeter.reportgenerator.graph.codesPerSecond.classname=org.apache.jmeter.report.processor.graph.impl.CodesPerSecondGraphConsumer
jmeter.reportgenerator.graph.codesPerSecond.exclude_controllers=true
jmeter.reportgenerator.graph.codesPerSecond.property.set_granularity=${jmeter.reportgenerator.overall_granularity}
jmeter.reportgenerator.graph.codesPerSecond.title=Codes Per Second
jmeter.reportgenerator.graph.connectTimeOverTime.classname=org.apache.jmeter.report.processor.graph.impl.ConnectTimeOverTimeGraphConsumer
jmeter.reportgenerator.graph.connectTimeOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}
jmeter.reportgenerator.graph.connectTimeOverTime.title=Connect Time Over 
Time
jmeter.reportgenerator.graph.hitsPerSecond.classname=org.apache.jmeter.report.processor.graph.impl.HitsPerSecondGraphConsumer
jmeter.reportgenerator.graph.hitsPerSecond.exclude_controllers=true
jmeter.reportgenerator.graph.hitsPerSecond.property.set_granularity=${jmeter.reportgenerator.overall_granularity}
jmeter.reportgenerator.graph.hitsPerSecond.title=Hits Per Second
jmeter.reportgenerator.graph.latenciesOverTime.classname=org.apache.jmeter.report.processor.graph.impl.LatencyOverTimeGraphConsumer
jmeter.reportgenerator.graph.latenciesOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}
jmeter.reportgenerator.graph.latenciesOverTime.title=Latencies Over Time
jmeter.reportgenerator.graph.latencyVsRequest.classname=org.apache.jmeter.report.processor.graph.impl.LatencyVSRequestGraphConsumer
jmeter.reportgenerator.graph.latencyVsRequest.exclude_controllers=true
jmeter.reportgenerator.graph.latencyVsRequest.property.set_granularity=${jmeter.reportgenerator.overall_granularity}
jmeter.reportgenerator.graph.latencyVsRequest.title=Latencies Vs Request
jmeter.reportgenerator.graph.responseTimeDistribution.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimeDistributionGraphConsumer
jmeter.reportgenerator.graph.responseTimeDistribution.property.set_granularity=500
jmeter.reportgenerator.graph.responseTimeDistribution.title=Response Time 
Distribution
jmeter.reportgenerator.graph.responseTimePercentiles.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimePercentilesGraphConsumer
jmeter.reportgenerator.graph.responseTimePercentiles.title=Response Time 
Percentiles
jmeter.reportgenerator.graph.responseTimePercentilesOverTime.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimePercentilesOverTimeGraphConsumer
jmeter.reportgenerator.graph.responseTimePercentilesOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}
jmeter.reportgenerator.graph.responseTimePercentilesOverTime.title=Response 
Time Percentiles Over Time (successful requests only)
jmeter.reportgenerator.graph.responseTimeVsRequest.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimeVSRequestGraphConsumer
jmeter.reportgenerator.graph.responseTimeVsRequest.exclude_controllers=true
jmeter.reportgenerator.graph.responseTimeVsRequest.property.set_granularity=${jmeter.reportgenerator.overall_granularity}
jmeter.reportgenerator.graph.responseTimeVsRequest.title=Response Time Vs 
Request
jmeter.reportgenerator.graph.responseTimesOverTime.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimeOverTimeGraphConsumer
jmeter.reportgenerator.graph.responseTimesOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}
jmeter.reportgenerator.graph.responseTimesOverTime.title=Response Time 
Over Time
jmeter.reportgenerator.graph.syntheticResponseTimeDistribution.classname=org.apache.jmeter.report.processor.graph.impl.SyntheticResponseTimeDistributionGraphConsumer
jmeter.reportgenerator.graph.syntheticResponseTimeDistribution.exclude_controllers=true
jmeter.reportgenerator.graph.syntheticResponseTimeDistribution.property.set_satisfied_threshold=${jmeter.reportgenerator.apdex_satisfied_threshold}
jmeter.reportgenerator.graph.syntheticResponseTimeDistribution.property.set_tolerated_threshold=${jmeter.reportgenerator.apdex_tolerated_threshold}
jmeter.reportgenerator.graph.syntheticResponseTimeDistribution.title=Synthetic 
Response Times Distribution
jmeter.reportgenerator.graph.timeVsThreads.classname=org.apache.jmeter.report.processor.graph.impl.TimeVSThreadGraphConsumer
jmeter.reportgenerator.graph.timeVsThreads.title=Time VS Threads
jmeter.reportgenerator.graph.transactionsPerSecond.classname=org.apache.jmeter.report.processor.graph.impl.TransactionsPerSecondGraphConsumer
jmeter.reportgenerator.graph.transactionsPerSecond.property.set_granularity=${jmeter.reportgenerator.overall_granularity}
jmeter.reportgenerator.graph.transactionsPerSecond.title=Transactions Per 
Second
jmeter.reportgenerator.overall_granularity=60000
jmeter.save.saveservice.assertion_results_failure_message=true
jmeter.save.saveservice.bytes=true
jmeter.save.saveservice.label=true
jmeter.save.saveservice.latency=true
jmeter.save.saveservice.print_field_names=true
jmeter.save.saveservice.response_code=true
jmeter.save.saveservice.response_message=true
jmeter.save.saveservice.successful=true
jmeter.save.saveservice.thread_counts=true
jmeter.save.saveservice.thread_name=true
jmeter.save.saveservice.time=true
jmeter.save.saveservice.timestamp_format=dd/MM/yyyy HH:mm
jmeter.version=3.1 r1770033
log_level.jmeter=INFO
log_level.jmeter.junit=DEBUG
log_level.jorphan=INFO
not_in_menu=org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler,org.apache.jmeter.protocol.mongodb.config.MongoSourceElement,org.apache.jmeter.visualizers.MonitorHealthVisualizer,org.apache.jmeter.timers.BSFTimer,org.apache.jmeter.modifiers.BSFPreProcessor,org.apache.jmeter.extractor.BSFPostProcessor,org.apache.jmeter.assertions.BSFAssertion,org.apache.jmeter.visualizers.BSFListener,org.apache.jmeter.protocol.java.sampler.BSFSampler
remote_hosts=127.0.0.1
sampleresult.timestamp.start=true
summariser.name=summary
system.properties=system.properties
upgrade_properties=/bin/upgrade.properties
user.properties=user.properties
view.results.tree.renderers_order=.RenderAsText,.RenderAsRegexp,.RenderAsCssJQuery,.RenderAsXPath,org.apache.jmeter.extractor.json.render.RenderAsJsonRenderer,.RenderAsHTML,.RenderAsHTMLFormatted,.RenderAsHTMLWithEmbedded,.RenderAsDocument,.RenderAsJSON,.RenderAsXML
wmlParser.className=org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
wmlParser.types=text/vnd.wap.wml 

SystemProperties:
awt.toolkit=sun.awt.windows.WToolkit
file.encoding=Cp1252
file.encoding.pkg=sun.io
file.separator=\
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=C:\ibm\apache-jmeter-3.1\bin\ApacheJMeter.jar;C:\ibm\apache-jmeter-3.1\lib\accessors-smart-1.1.jar;C:\ibm\apache-jmeter-3.1\lib\ApacheJMeter_slf4j_logkit.jar;C:\ibm\apache-jmeter-3.1\lib\asm-5.1.jar;C:\ibm\apache-jmeter-3.1\lib\avalon-framework-4.1.4.jar;C:\ibm\apache-jmeter-3.1\lib\bsf-2.4.0.jar;C:\ibm\apache-jmeter-3.1\lib\bsh-2.0b5.jar;C:\ibm\apache-jmeter-3.1\lib\bshclient.jar;C:\ibm\apache-jmeter-3.1\lib\cmdrunner-2.0.jar;C:\ibm\apache-jmeter-3.1\lib\commons-codec-1.10.jar;C:\ibm\apache-jmeter-3.1\lib\commons-collections-3.2.2.jar;C:\ibm\apache-jmeter-3.1\lib\commons-dbcp2-2.1.1.jar;C:\ibm\apache-jmeter-3.1\lib\commons-httpclient-3.1.jar;C:\ibm\apache-jmeter-3.1\lib\commons-io-2.5.jar;C:\ibm\apache-jmeter-3.1\lib\commons-jexl-2.1.1.jar;C:\ibm\apache-jmeter-3.1\lib\commons-jexl3-3.0.jar;C:\ibm\apache-jmeter-3.1\lib\commons-lang3-3.5.jar;C:\ibm\apache-jmeter-3.1\lib\commons-logging-1.2.jar;C:\ibm\apache-jmeter-3.1\lib\commons-math3-3.6.1.jar;C:\ibm\apache-jmeter-3.1\lib\commons-net-3.5.jar;C:\ibm\apache-jmeter-3.1\lib\commons-pool2-2.4.2.jar;C:\ibm\apache-jmeter-3.1\lib\dnsjava-2.1.7.jar;C:\ibm\apache-jmeter-3.1\lib\excalibur-logger-1.1.jar;C:\ibm\apache-jmeter-3.1\lib\freemarker-2.3.23.jar;C:\ibm\apache-jmeter-3.1\lib\geronimo-jms_1.1_spec-1.1.1.jar;C:\ibm\apache-jmeter-3.1\lib\groovy-all-2.4.7.jar;C:\ibm\apache-jmeter-3.1\lib\hamcrest-core-1.3.jar;C:\ibm\apache-jmeter-3.1\lib\httpclient-4.5.2.jar;C:\ibm\apache-jmeter-3.1\lib\httpcore-4.4.5.jar;C:\ibm\apache-jmeter-3.1\lib\httpmime-4.5.2.jar;C:\ibm\apache-jmeter-3.1\lib\jcharts-0.7.5.jar;C:\ibm\apache-jmeter-3.1\lib\jmeter-plugins-cmn-jmeter-0.3.jar;C:\ibm\apache-jmeter-3.1\lib\jmeter-plugins-common-io-0.2.jar;C:\ibm\apache-jmeter-3.1\lib\jodd-core-3.7.1.jar;C:\ibm\apache-jmeter-3.1\lib\jodd-lagarto-3.7.1.jar;C:\ibm\apache-jmeter-3.1\lib\jodd-log-3.7.1.jar;C:\ibm\apache-jmeter-3.1\lib\jodd-props-3.7.1.jar;C:\ibm\apache-jmeter-3.1\lib\jorphan.jar;C:\ibm\apache-jmeter-3.1\lib\json-20160212.jar;C:\ibm\apache-jmeter-3.1\lib\json-path-2.2.0.jar;C:\ibm\apache-jmeter-3.1\lib\json-smart-2.2.1.jar;C:\ibm\apache-jmeter-3.1\lib\jsoup-1.10.1.jar;C:\ibm\apache-jmeter-3.1\lib\jtidy-r938.jar;C:\ibm\apache-jmeter-3.1\lib\junit-4.12.jar;C:\ibm\apache-jmeter-3.1\lib\logkit-2.0.jar;C:\ibm\apache-jmeter-3.1\lib\mail-1.5.0-b01.jar;C:\ibm\apache-jmeter-3.1\lib\mongo-java-driver-2.11.3.jar;C:\ibm\apache-jmeter-3.1\lib\oro-2.0.8.jar;C:\ibm\apache-jmeter-3.1\lib\perfmon-2.2.2.jar;C:\ibm\apache-jmeter-3.1\lib\ph-commons-6.2.4.jar;C:\ibm\apache-jmeter-3.1\lib\ph-css-4.1.6.jar;C:\ibm\apache-jmeter-3.1\lib\rhino-1.7.7.1.jar;C:\ibm\apache-jmeter-3.1\lib\rsyntaxtextarea-2.6.0.jar;C:\ibm\apache-jmeter-3.1\lib\serializer-2.7.2.jar;C:\ibm\apache-jmeter-3.1\lib\slf4j-api-1.7.21.jar;C:\ibm\apache-jmeter-3.1\lib\tika-core-1.14.jar;C:\ibm\apache-jmeter-3.1\lib\tika-parsers-1.14.jar;C:\ibm\apache-jmeter-3.1\lib\xalan-2.7.2.jar;C:\ibm\apache-jmeter-3.1\lib\xercesImpl-2.11.0.jar;C:\ibm\apache-jmeter-3.1\lib\xml-apis-1.4.01.jar;C:\ibm\apache-jmeter-3.1\lib\xmlgraphics-commons-2.1.jar;C:\ibm\apache-jmeter-3.1\lib\xmlpull-1.1.3.1.jar;C:\ibm\apache-jmeter-3.1\lib\xpp3_min-1.1.4c.jar;C:\ibm\apache-jmeter-3.1\lib\xstream-1.4.9.jar;C:\ibm\apache-jmeter-3.1\lib\ext\ApacheJMeter_components.jar;C:\ibm\apache-jmeter-3.1\lib\ext\ApacheJMeter_core.jar;C:\ibm\apache-jmeter-3.1\lib\ext\ApacheJMeter_ftp.jar;C:\ibm\apache-jmeter-3.1\lib\ext\ApacheJMeter_functions.jar;C:\ibm\apache-jmeter-3.1\lib\ext\ApacheJMeter_http.jar;C:\ibm\apache-jmeter-3.1\lib\ext\ApacheJMeter_java.jar;C:\ibm\apache-jmeter-3.1\lib\ext\ApacheJMeter_jdbc.jar;C:\ibm\apache-jmeter-3.1\lib\ext\ApacheJMeter_jms.jar;C:\ibm\apache-jmeter-3.1\lib\ext\ApacheJMeter_junit.jar;C:\ibm\apache-jmeter-3.1\lib\ext\ApacheJMeter_ldap.jar;C:\ibm\apache-jmeter-3.1\lib\ext\ApacheJMeter_mail.jar;C:\ibm\apache-jmeter-3.1\lib\ext\ApacheJMeter_mongodb.jar;C:\ibm\apache-jmeter-3.1\lib\ext\ApacheJMeter_monitors.jar;C:\ibm\apache-jmeter-3.1\lib\ext\ApacheJMeter_native.jar;C:\ibm\apache-jmeter-3.1\lib\ext\ApacheJMeter_tcp.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-
plugins-casutg-2.1.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-cmd-2.1.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-dummy-0.2.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-ffw-2.0.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-fifo-0.2.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-filterresults-2.1.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-functions-2.0.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-graphs-additional-2.0.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-graphs-basic-2.0.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-graphs-composite-2.0.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-graphs-ggl-2.0.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-graphs-vs-2.0.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-httpraw-0.1.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-json-2.6.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-manager-0.12.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-manager-0.13.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-mergeresults-2.1.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-pde-0.1.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-perfmon-2.1.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-senseuploader-3.0.jar;C:\ibm\apache-jmeter-3.1\lib\ext\jmeter-plugins-tst-2.1.jar;C:\ibm\apache-jmeter-3.1\lib\junit\test.jar
java.class.version=52.0
java.endorsed.dirs=C:\Program Files (x86)\Java\jre1.8.0_131\lib\endorsed
java.ext.dirs=C:\Program Files 
(x86)\Java\jre1.8.0_131\lib\ext;C:\windows\Sun\Java\lib\ext
java.home=C:\Program Files (x86)\Java\jre1.8.0_131
java.io.tmpdir=C:\Users\LISAWA~1\AppData\Local\Temp\
java.library.path=C:\Program Files 
(x86)\Java\jre1.8.0_131\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program

Files (x86)\Box\Box Edit\;C:\Program Files\PuTTY\;C:\Program 
Files\Git\cmd;C:\Users\LisaWaugh\AppData\Local\Microsoft\WindowsApps;;.
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.8.0_131-b11
java.specification.name=Java Platform API Specification
java.specification.vendor=Oracle Corporation
java.specification.version=1.8
java.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
java.version=1.8.0_131
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.version=1.8
java.vm.vendor=Oracle Corporation
java.vm.version=25.131-b11
line.separator=

log4j.configuration=file:C:\ibm\apache-jmeter-3.1\bin\log4j.conf
org.apache.commons.logging.Log=org.apache.commons.logging.impl.LogKitLogger
os.arch=x86
os.name=Windows 10
os.version=10.0
path.separator=;
sun.arch.data.model=32
sun.awt.enableExtraMouseButtons=true
sun.boot.class.path=C:\Program Files 
(x86)\Java\jre1.8.0_131\lib\resources.jar;C:\Program Files 
(x86)\Java\jre1.8.0_131\lib\rt.jar;C:\Program Files 
(x86)\Java\jre1.8.0_131\lib\sunrsasign.jar;C:\Program Files 
(x86)\Java\jre1.8.0_131\lib\jsse.jar;C:\Program Files 
(x86)\Java\jre1.8.0_131\lib\jce.jar;C:\Program Files 
(x86)\Java\jre1.8.0_131\lib\charsets.jar;C:\Program Files 
(x86)\Java\jre1.8.0_131\lib\jfr.jar;C:\Program Files 
(x86)\Java\jre1.8.0_131\classes
sun.boot.library.path=C:\Program Files (x86)\Java\jre1.8.0_131\bin
sun.cpu.endian=little
sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 
i86
sun.desktop=windows
sun.io.unicode.encoding=UnicodeLittle
sun.java.command=C:\ibm\apache-jmeter-3.1\bin\ApacheJMeter.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=Cp1252
sun.management.compiler=HotSpot Client Compiler
sun.net.http.allowRestrictedHeaders=true
sun.os.patch.level=
user.country=US
user.dir=C:\ibm\apache-jmeter-3.1\bin
user.home=C:\Users\LisaWaugh
user.language=en
user.name=LisaWaugh
user.script=
user.timezone=America/New_York
user.variant=


Thanks,
Lisa

Lisa Waugh
720-396-0112
Fax:  720-396-0112
Charlotte, NC







From:   Felix Schumacher <felix.schumacher@internetallee.de>
To:     JMeter Users List <user@jmeter.apache.org>
Date:   07/31/2017 01:42 PM
Subject:        Re: Using HTTP Request to test POST to upload and store a 
file





Am 31. Juli 2017 19:35:47 MESZ schrieb Lisa Waugh <waugh@us.ibm.com>:
>Hi Felix,
>Here is the test:
>
>
>And I can see that the variables are being substituted correctly in the
>
>full raw request:
>
>POST 
>
https://ecl-stage.mybluemix.net/api/v1/profile/addMediaToLearnerCollection
>
>POST data:
>--35h2RHk7e5acZtT4mBtJXiR0LkVP4Gx7xHW6cbP6
>Content-Disposition: form-data; name="sessionContextId"
>Content-Type: text/plain; charset=US-ASCII
>Content-Transfer-Encoding: 8bit
>
>df2c83c0-7605-11e7-bac6-a123d5f99863
>--35h2RHk7e5acZtT4mBtJXiR0LkVP4Gx7xHW6cbP6
>Content-Disposition: form-data; name="vocabWord"
>Content-Type: text/plain; charset=US-ASCII
>Content-Transfer-Encoding: 8bit
>
>arachnid
>--35h2RHk7e5acZtT4mBtJXiR0LkVP4Gx7xHW6cbP6
>Content-Disposition: form-data; name="learnerGivenMediaLabels"
>Content-Type: text/plain; charset=US-ASCII
>Content-Transfer-Encoding: 8bit
>
>arachnid
>--35h2RHk7e5acZtT4mBtJXiR0LkVP4Gx7xHW6cbP6
>Content-Disposition: form-data; name="mediaCategory"
>Content-Type: text/plain; charset=US-ASCII
>Content-Transfer-Encoding: 8bit
>
>IMAGE
>--35h2RHk7e5acZtT4mBtJXiR0LkVP4Gx7xHW6cbP6
>Content-Disposition: form-data; name="mediaFile";
>filename="IMG_1573.JPG"
>Content-Type: 
>Content-Transfer-Encoding: binary
>
><actual file content, not shown here>
>--35h2RHk7e5acZtT4mBtJXiR0LkVP4Gx7xHW6cbP6--
>
>
>[no cookies]
>
>Request Headers:
>Connection: keep-alive
>Content-Length: 2014691
>Content-Type: multipart/form-data; 
>boundary=35h2RHk7e5acZtT4mBtJXiR0LkVP4Gx7xHW6cbP6; charset=US-ASCII
>Host: ecl-stage.mybluemix.net
>User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_131)
>
>
>This is for the larger file that fails.
>
>How do I set up a debit sampler?  I don't see that in the list of
>things I 
>can add to my test.

Sorry. That was the mail client being helpful by correcting my spelling. 

I meant the debug sampler. 

Felix

>
>Thanks,
>Lisa
>
>Lisa Waugh
>720-396-0112
>Fax:  720-396-0112
>Charlotte, NC
>
>
>
>
>
>
>
>From:   Felix Schumacher <felix.schumacher@internetallee.de>
>To:     JMeter Users List <user@jmeter.apache.org>
>Date:   07/31/2017 01:15 PM
>Subject:        Re: Using HTTP Request to test POST to upload and store
>a 
>file
>
>
>
>The images didn't make it through the mailing list. 
>
>Can you post the test? I counted three images in the log, only. Can you
>
>add a debit sampler to check that your variables are correctly 
>initialized? 
>
>Felix
>
>
>
>
>Am 31. Juli 2017 18:20:42 MESZ schrieb Lisa Waugh <waugh@us.ibm.com>:
>>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
>>waugh@us.ibm.com
>>
>>
>>Watson Education 
>> 
>> 
>> 
>>----- Original message -----
>>From: Felix Schumacher <felix.schumacher@internetallee.de>
>>To: user@jmeter.apache.org
>>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
><waugh@us.ibm.com>:
>>>> 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: user-unsubscribe@jmeter.apache.org
>>> For additional commands, e-mail: user-help@jmeter.apache.org
>>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>>For additional commands, e-mail: user-help@jmeter.apache.org
>> 
>> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org






Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message