简体   繁体   中英

An error for excel download in firefox for JMeter script recording

I am recording one script using JMeter. On webpage there are two options two download data. One is excel and one is csv. The csv format data is downloading successfully but when clicking on excel icon to download data it is giving an error as shown in below image.

在此处输入图像描述

I tried one solution as mentioned on different forum but it is not working. Added below lines in user.properties file.

httpclient4.retrycount=1
hc.parameters.file=hc.parameters
httpclient4.idletimeout=1

and added below line in hc.parameters

http.connection.stalecheck$Boolean=true 

It is not working.

The solution is for different problem, you shouldn't be blindly copying and pasting configuration amendments without understanding what it's all about.

At the moment I can suggest only the following hints:

  1. Double check your HTTP(S) Test Script Recorder and browser configuration, pay special attention to the HTTPS recording and certificates chapter of the HTTP(S) Test Script Recorder documentation, ensure that JMeter's certificate is imported in the browser, it's not expired, etc.

  2. Increase JMeter logging verbosity for the HTTP(S) Test Script Recorder and Apache HttpComponents by adding the next line to log4j2.xml file

    <Logger name="org.apache.jmeter.protocol.http.proxy" level="debug" /> <Logger name="org.apache.http" level="debug" />

this way you should see way more information in jmeter.log file 3. If the above steps won't help or give a clue you can try out an alternative recording solution like JMeter Chrome Extension

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM