Jmeter: FTP Request Sampler: " java.net.UnknownHostException"
I am working on FTP Sampler and connecting with Public FTP Server
"ftp.swfwmd.state.fl.us" for "Get" method.
JMeter is showing following error in
Response code: 000 Response message: java.net.UnknownHostException: ftp.swfwmd.state.fl.us
Please help me out in this problem.作者: surbhi tyagi 的来源 发布者: 2017 年 9 月 15 日
The message indicate host is not known from your machine.
So check your DNS or add manually an entry in your DNS.作者: UBIK LOAD PACK 发布者: 15.09.2017 08:38
- Try accessing the server using IP address instead of hostname -
If point 1 doesn't help most probably you are sitting behind corporate firewall. For HTTP-based samplers you can specify proxy server details by adding the next lines to system.properties file (lives in "bin" folder of your JMeter installation)
ftp.proxyHost=hostname or IP address of your proxy ftp.proxyPort=port of your proxy server
if above doesn't help you can try setting the following properties instead:
socksProxyHost=hostname or IP address of your proxy socksProxyPort=port of your proxy server (normally 1080)
JMeter restart will be required to pick the properties up
References:作者: Dmitri T 发布者: 18.09.2017 04:56