Bug 64343 - AWS S3 multipart upload
Summary: AWS S3 multipart upload
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 5.2.1
Hardware: PC All
: P2 normal (vote)
Target Milestone: JMETER_5.3.0
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-13 03:54 UTC by Chinnikrishna
Modified: 2020-04-27 04:58 UTC (History)
2 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chinnikrishna 2020-04-13 03:54:05 UTC
Hi team,

I am upload pdf files to aws s3 server our upload process is multi part upload.

if we upload 7MB file we are getting below request 
1. POST (uploads request) here we are getting upload ID
2. PUT request for PartNumber-1(chunk data we are sending to server)
3. PUT request for PartNumber-2(chunk data we are sending to server)
4. POST request for complete multipart  

While uploading chunk data i mean PUT request in JMeter we are getting below error in log

Error decoding query, maybe your request parameters should be encoded:¶%r`V°öHúYíKªM´5¬DòP:m j%´§¦F«ço¥)ZúV¬Â®Í°úU^àÞ AÏ£Õ£¿ÀrJIQ±4µÖ¼º[õápA[Î	²ÆQH½¸_[l3ð ;%8/ ¶Çk4ÛRCZ<ÊN	"}</a³Åö¯ÖGSäz®­Ìä"SíA~ä" Ïô?ÿóþo¿þÿ`|>{áÿBïØ-sþH¼}<úRÒÿ·ôM)Õ¥v3 :%õ
q~¿l¼DÂúý²ý9r°»gÐïíϱÝÂP¿_¶?Gxóÿ¿_¶?
¦RËõûoÓ¯!ôûoÓI ³'Q4øùý²]Wmi±ß/Ûù{»Îï¿M×÷ÞBk¿_¶kvß/Û5[üí÷ËvÍÍûý²]ó§äïy¶ízfBí÷ߦ?¯'M¢
java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "r`"
	at java.net.URLDecoder.decode(Unknown Source) ~[?:1.8.0_241]
	at org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP.decodeQuery(RequestViewHTTP.java:338) [ApacheJMeter_http.jar:5.2.1]
	at org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP.getQueryMap(RequestViewHTTP.java:292) [ApacheJMeter_http.jar:5.2.1]
	at org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP.setSamplerResult(RequestViewHTTP.java:218) [ApacheJMeter_http.jar:5.2.1]
	at org.apache.jmeter.visualizers.RequestPanel.setSamplerResult(RequestPanel.java:109) [ApacheJMeter_components.jar:5.2.1]
	at org.apache.jmeter.visualizers.SamplerResultTab.setupTabPane(SamplerResultTab.java:239) [ApacheJMeter_components.jar:5.2.1]
	at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.valueChanged(ViewResultsFullVisualizer.java:384) [ApacheJMeter_components.jar:5.2.1]
	at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.valueChanged(ViewResultsFullVisualizer.java:362) [ApacheJMeter_components.jar:5.2.1]
	at javax.swing.JTree.fireValueChanged(Unknown Source) [?:1.8.0_241]
	at javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown Source) [?:1.8.0_241]
	at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown Source) [?:1.8.0_241]
	at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown Source) [?:1.8.0_241]
	at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown Source) [?:1.8.0_241]
	at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown Source) [?:1.8.0_241]
	at javax.swing.JTree.setSelectionPath(Unknown Source) [?:1.8.0_241]


We tried content-encoding "UTF-8" also but no luck

please look into this issue,

Thanks in advance,
Chinnikrishna,
+91 8801177621.
Comment 1 Philippe Mouawad 2020-04-26 15:11:29 UTC
Hello,
Can you provide more details ?

- Test plan or query
- View Results Tree content
- jmeter.log

With current provided information, we cannot analyze anything.

The error you show happens when you view a request in View Results Tree, not when you do the request
Comment 2 Chinnikrishna 2020-04-27 04:58:44 UTC
Request body we are sending i.e like below

¶%r`V°öHúYíKªM´5¬DòP:m j%´§¦F«ço¥)ZúV¬Â®Í°úU^àÞ AÏ£Õ£¿ÀrJIQ±4µÖ¼º[õápA[Î	²ÆQH½¸_[l3ð ;%8/ ¶Çk4ÛRCZ<ÊN	"}</a³Åö¯ÖGSäz®­Ìä"SíA~ä" Ïô?ÿóþo¿þÿ`|>{áÿBïØ-sþH¼}<úRÒÿ·ôM)Õ¥v3 :%õ
q~¿l¼DÂúý²ý9r°»gÐïíϱÝÂP¿_¶?Gxóÿ¿_¶?
¦RËõûoÓ¯!ôûoÓI ³'Q4øùý²]Wmi±ß/Ûù{»Îï¿M×÷ÞBk¿_¶kvß/Û5[üí÷ËvÍÍûý²]ó§äïy¶ízfBí÷ߦ?¯'M¢&Nì¼Z-íNA¿ÿ?2?ÀÿÚºøëÒÈ4X`
õF~ÿmâ5Z~ ~³Z\ôeû£6dGºkL~¿lÐ<¬öá@~¿lü]ÀC0&¿_6\æ@ÎïíÏn°PEùý²ýV²ùý·éÏnËpß/Ûhp ßþ¨ïÙ+ÉüþÛôç5Wɽ8µB±ºÓ¨ºg1YR»ÝßnjÀF[ÔÎßmÅëPù­G¬LÍ1naûx=gï§ã¿yÎÞ¿ø_Oì3vÿÍüw³ùß<ÿåö_=­ÿÕÿ_¾EÿÕù·ûóç¢Ä)´j²{ãªøýÿã?ÿïeçÚ¯Äô3nLËg1L,fÁx>ÏKõa7¡éè²(L<Õ'X\upðÏC"#,	j¦Ó£êZnÌê°õ|oS§G$6Ï 	ïÅÀo(Ö#Jðo|¿È&¦GÕ	ií®;wת¾ Ê/R¬d$öàl¥ô(T ¦>uçA-¶ÄÜ·ÆB 	Á¥¥;«þ"¡âêÑ}«HHU_ÂÔ#ûðeüÐäç3Ñ«ÄD$)p'8óK+0²ã	`Ðü´nM`ÐâÙ\dR<tzTA¾ï¢Êfê¼NXe¾Ý£7<%_$TJV[&Tá1v"©0BJ*¿H¨Á\þQûãkXGȬº"©E?AZ¬òûíáÔHkMÇ÷áwºOf¹:-I÷Qð"!K²8Q®ÊugU\$Ä}ïCº!¡örø/óºzU&ÖpêSÒk	Ë;×Äq±ã%)©ä"¡+ÓÎ))xZ)aÔ½×=ºH¬JÕM*G21e¡öebu«n[9G5±¾´$]Ó¨tZà')©)-YjM£Þ\h(õe)þ«ÊK}uMçóHè>ÏtbÉ°¬½H¬*Öm=Á¶D7|¿ê~Ñ	!ÇÎ):ä?9Ýe0PôêX¦\P¢D>UTÍ2èØàL­'ÈñY
 \°Ë½uÉ*
Z²þö$ìZ


In log we are getting Error decoding query, maybe your request parameters should be encoded:¶%r`V°öHúYíKªM´5¬DòP:m j%´§¦F«ço¥)ZúV¬Â®Í°úU^àÞ AÏ£Õ£¿ÀrJIQ±4µÖ¼º[õápA[Î	²ÆQH½¸_[l3ð ;%8/ ¶Çk4ÛRCZ<ÊN	"}</a³Åö¯ÖGSäz®­Ìä"SíA~ä" Ïô?ÿóþo¿þÿ`|>{áÿBïØ-sþH¼}<úRÒÿ·ôM)Õ¥v3 :%õ
q~¿l¼DÂúý²ý9r°»gÐïíϱÝÂP¿_¶?Gxóÿ¿_¶?
¦RËõûoÓ¯!ôûoÓI ³'Q4øùý²]Wmi±ß/Ûù{»Îï¿M×÷ÞBk¿_¶kvß/Û5[üí÷ËvÍÍûý²]ó§äïy¶ízfBí÷ߦ?¯'M¢
java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "r`"
	at java.net.URLDecoder.decode(Unknown Source) ~[?:1.8.0_241]
	at org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP.decodeQuery(RequestViewHTTP.java:338) [ApacheJMeter_http.jar:5.2.1]
	at org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP.getQueryMap(RequestViewHTTP.java:292) [ApacheJMeter_http.jar:5.2.1]
	at org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP.setSamplerResult(RequestViewHTTP.java:218) [ApacheJMeter_http.jar:5.2.1]
	at org.apache.jmeter.visualizers.RequestPanel.setSamplerResult(RequestPanel.java:109) [ApacheJMeter_components.jar:5.2.1]
	at org.apache.jmeter.visualizers.SamplerResultTab.setupTabPane(SamplerResultTab.java:239) [ApacheJMeter_components.jar:5.2.1]
	at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.valueChanged(ViewResultsFullVisualizer.java:384) [ApacheJMeter_components.jar:5.2.1]
	at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.valueChanged(ViewResultsFullVisualizer.java:362) [ApacheJMeter_components.jar:5.2.1]
	at javax.swing.JTree.fireValueChanged(Unknown Source) [?:1.8.0_241]
	at javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown Source) [?:1.8.0_241]
	at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown Source) [?:1.8.0_241]
	at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown Source) [?:1.8.0_241]
	at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown Source) [?:1.8.0_241]
	at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown Source) [?:1.8.0_241]
	at javax.swing.JTree.setSelectionPath(Unknown Source) [?:1.8.0_241]