apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
8.42k stars 2.1k forks source link

AWS S3 multipart upload #5291

Open asfimport opened 4 years ago

asfimport commented 4 years ago

Chinnikrishna (Bug 64343): 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[Î ‚²ÆQ‘H½¸_[l3ð ;%8/ ¶Çk†4ÛRCZ&lt;ÊN "}&lt;/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¿_¶k v—šß/Û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.

Severity: normal OS: All

asfimport commented 4 years ago

@pmouawad (migrated from Bugzilla): Hello, Can you provide more details ?

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

asfimport commented 4 years ago

Chinnikrishna (migrated from Bugzilla): 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[Î ‚²ÆQ‘H½¸_[l3ð ;%8/ ¶Çk†4ÛRCZ&lt;ÊN "}&lt;/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¿_¶k v—šß/Û5ž[üí÷ËvÍ͖ûý²]ó Œ§äïy¶ízfB—í÷ߦ?¯'M¢&N™…켓Z-íNA¿ÿƒ?2? ÀÿÚºøë‘ÒÈ4X õF ~ÿmâ5Z~ ~³Z\ôeû£6 dGºkL~¿lÐ&lt;‚¬öá@~¿lü‹]ÀC0&¿_6\•“˜‚æ@Îï—íÏn‹°žPEùý²ý‰V²ùý·éÏnËp€žß/۟h–p šß›þ¨ïÙ+ÉüþÛôç5WšÉ½8µB±º…ƒÓ¨ºg1YR„»ÝßnjÀF[ÔΛßmśëž‡Pù­– …€G¬LÍ1naûx=gï§ã¿yÎÞ¿ø_Oì3vÿÍüw³ùß&lt;ÿåö_=­ÿՓÿ_¾EÿÕù·ûó瞢™Ä)´j…²{㪛øýŸÿã?ÿïeçÚ¯Äô3nLËg1L,fÁ’œx&gt;ÏKõa7¡é蘲(L&lt;Õ'X\u–pðÏC–"#, j¦”Ó£ê ZŠnÌꋄ°õ|ŽŒoS§G‰„$6Ï  ïÅÀo(Ö#Jðo|¿È&¦GÕ ií®;wž×ª“Š¾ Ê/R¬d$öàšl¥ô(T‘ ¦&gt;uçA-¶ÄÜ·ÆBŠ  Á¥¥;«þ"¡âêÑ}«HˆHU_ÂŒÔ#ûšð‚eüÐäç3Ñ«ÄD$)p'8žƒ—óK+0²ã Аüž´‚nžM`ÐâÙ\dR<tzT€A‹¾ï¢ÊfꑼNXe¾Ý£7<%•_$TJV[ˆŒ&Tá1v“’"©…0BJ¿H¨Á\þQ†„ûãkXGœȬº"©E?AZ¬òûí á†Ô‚HkM–Ç÷ᚔwºOf¹:-I÷Qð"!‚K²8Q®Ê’ugU\$Ä}‹ïCº!¡örø/“óºzU&ÖpêS…Òk Ë;×Äq±ƒã%)©ä"¡+ÓÎ))x‘Z€)aԙ½×=ºH¬JÕMG21ŸŸe¡öebu«n[9G‰5±¾ƒ´$]Ó¨t™Zà')©)-YŸjM£Þ\h“(õ–e)þ«ÊK}uMçóšHè>ÏtbÉ° ¬½H¬Öm=„Á¶D7|¿ê~Ñ !ÇÎ):—’ä?9Ýe0“žPô˜ ê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:¶%rV°öHúYíKªM´5¬DòP:m j%´§¦F«ço¥)ZúV¬Â®Í°úU^àÞ AÏ£Õ£¿ÀrJIQ±4µÖ¼º[õápA[Î ²ÆQH½¸_[l3ð ;%8/ ¶Çk4ÛRCZ&lt;ÊN "}&lt;/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]