Hi Raghav, Hope you are well... This session explains FTP sampler very well - thank you so much for these efforts. Can you please make one on SFTP and FTPS ?
Hi Raghav, Wanted to get an answer to my question. In this video we did a copy-paste of files. So is it possible to validate the cut-paste of files? for e.g. If i want to MOVE a file from local to ftps instead of copying. (PS-Your tutorials are a delight to watch!)
On executing for PUT method I get "Response code:550" and "Response message:550 Permission denied". I have created a Response assertion with "Field to Test" as Response Code, "Pattern Matching Rules" as Equals, "Patterns to Test" as 550. I think the test should pass instead of failing?
Hi Amir, looks like the credentials are not working, Try another FTP if you have or find online. Else can understand the concept and move to next video
Hi, can check these ftptest.net/ www.sftp.net/public-online-sftp-servers stackoverflow.com/questions/7968703/is-there-a-public-ftp-server-to-test-upload-and-download
all my PUTs failed, just as yours. Could it be because the file on the remote path exists before upload and cannot be replaced? The file permissions of my upload on the FTP server are rw-r--r-- , so I need to change permissions after each PUT (maybe also delete it) so that next PUT can upload. How do i execute a command via JMeter on remote machine?
Yes Deyan, the reason for FTP Put failing is that the file already exists on FTP server and unlike our local machine we may not have complete control over FTP server. You can try changing the permission on the server or can parameterise FTP Put test with CSV Config data set. Watch this: Jmeter Beginner Tutorial 17 - How to parameterize FTP test ua-cam.com/video/Gwutv8adr9g/v-deo.html&feature=em-uploademail
Thanks, Raghav! I will watch this one and all your videos about JMeter. Out of many video lessons you truly stand out as the best teacher. I hope you will address in the future some test automation topics, like Selenium.
Hi Raghav, I am trying to do a GET and have done all settings as per your video. Hovewer my GET is failing saying "java.net.socketexception: connection Reset". Please help
Hi.. I also got the same error, ******Thread Name: Thread Group for FTP 1-1 Sample Start: 2016-11-14 14:06:40 IST Load time: 2135 Connect Time: 0 Latency: 1127 Size in bytes: 0 Headers size in bytes: 0 Body size in bytes: 0 Sample Count: 1 Error Count: 1 Data type ("text"|"bin"|""): Response code: 000 Response message: java.net.SocketException: Permission denied: recv failed Response headers: SampleResult fields: ContentType: DataEncoding: null******* BUT TRY AFTER SWITCHING OFF YOUR WINDOWS FIREWALL, IT WILL WORK!! Thankyou Aimy Raghav please share your thoughts on this
Not the order but level will matter, for example if you have placed config element at test plan level then it will be executed before all samplers at test plan level
I am glad you found it helpful Dobromir. You can use Regular Expression Extractor. Please watch - Jmeter Beginner Tutorial 19 - Correlation (with Regular Expression Extractor) ua-cam.com/video/7-NcyZuUQnw/v-deo.html
Hello i want to ask a question, when we do ftp test load, what is the thing that are actually calculated? is it the load time when we get the data from the server? does the download speed counts? thx for the tutorial
Hi Axel, yes here it counts the time taken by the complete FTP download or upload process and when you do with multiple users, it can check the performance of FTP server
Hi Kuldeep, in case you want to change file name you can use bean shell scripting. However i will recommend that if you are downloading the same file then you just put assertions to validate the test was successful
Hi sir, I like the way you teach in videos... I have to test 2 mobile apps and one website communicating each other.. can I test this scenario in jmeter?
Thanks for watching Srilakshmi, JMeter is a tool for checking the server performance. You can check if your requirements are met with the samplers provided by JMeter
Hi, I am getting this error message " java.io.FileNotFoundException: c:\Users\Sunil\Desktop\soun.txt (The system cannot find the path specified)" while doing FTP PUT request, I am unable to fix it, please help me.
Thanks for your great work. when we do the "GET", the target file in server can be downloaded multiple times to local and only the latest one is saved and all previous downloaded file will be overwrote(check the time stamp)(test pass with multiple threads) but when we do the "PUT", the target file on local can NOT be uploaded multiple times to server, it means the uploading with same file is failed (test failed with multiple threads). How to make the "PUT" multiple threads? thanks
Hi Nerissa, this is the settings of your ftp server. If it does not accepts the file with same name you can update the name (may be append a timestamp) before uploading.
While doing ftp GET test, i am getting error response as "Response message: org.apache.commons.net.ftp.FTPConnectionClosedException: FTP response 421 received. Server closed connection."
Thanks for the video Raghav, it was definitely informative! Is there a way to poll or monitor the ftp server location until the file is available to download? I'm testing a case where I know after uploading the file it's going to take x amount of time (depending on the file size uploaded) to generate the response(file to be downloaded) in the download location.
Hi! I have some doubts. 1.In real time application, How to find FTP server loc if we are not using any Filezilla application? 2.What if I want to transfer or upload files multiple times in different location or folders?
Hi Nazneen, here I have used a public ftp for demo, In real world you will be provided the ftp location by your project team. For uploading to multiple locations, you can parameterize the location using csv files, Can find that in JMeter videos here automationstepbystep.com/online-courses/
Hi Raghav, Thanks for the video. I am unable to execute put function in Jmeter. I have added same file path /pub/incoming/README123.txt to upload but got message as "Response code:550 Response message:550 Permission denied." in sampler result. Kindly advise on this.
Hi Raghav, I did executed get(RETR) and got file download from server ftp.swfwmd.state.fl.us As per your mentioned points i have verified. 1.I have entered correct credential. 2.Used authorized user.User Name-anonymous,Password-Email id Kindly advise.
How to access filezilla i downoaded the latest release not having any such options You appear to be behind a NAT router. Please configure the passive mode settings and forward a range of ports in your router. Warning: FTP over TLS is not enabled, users cannot securely log in.
Hi Abhishek, looks like its not issue from JMeter. Check if you get some useful info here: avjacobsen.wordpress.com/2012/10/01/how-to-set-up-filezilla-sftp-server-behind-nat-in-passive-mode/ forum.filezilla-project.org/viewtopic.php?t=45462
when i use put method it says Thread Name: FTP Thread 1-1 Sample Start: 2019-04-12 02:58:34 PDT Load time: 1232 Connect Time: 0 Latency: 303 Size in bytes: 0 Sent bytes:0 Headers size in bytes: 0 Body size in bytes: 0 Sample Count: 1 Error Count: 1 Data type ("text"|"bin"|""): Response code: 550 Response message: 550 Access is denied.
Dear Tejas, Response: 550 Access is denied is mainly the response of the remote FTP server that you are trying to PUT your file in it. I believe that the server you are trying to PUT your file in is not giving the permission of upload to users or the user you have doesn't have the permission for such actions (you can check by uploading a file manually and then check the result) OR the session is maybe expired and you need to make sure that your session is valid (correct UN and PW, and valid not expired session). If you need to use a free FTP server for both "GET" and "PUT" actions you can use this one : www.wftpserver.com/onlinedemo.htm Good luck :)
hi Raghav, the way u explain is amazing.. especially for the beginners ! could u please provide some tutorial on selenium web driver and SOAP UI.. it would be really helpful then.. thanks :)
Hi Soumi, great to know that it helped you. You can see selenium tutorials here: ua-cam.com/play/PLhW3qG5bs-L_s9HdC5zNshE5Ti8jABwlU.html You can also explore other playlist here : ua-cam.com/channels/Tt7pyY-o0eltq14glaG5dg.htmlplaylists I will add SoapUI in future.
Pls check this Nadim - forum.filezilla-project.org/viewtopic.php?t=48295 The TCP port 990 is ONLY for Implicit FTPS. Implicit is encrypted from the start and thus needs a separate port. You cannot connect using Explicit or plain FTP to that port. Explicit FTP over TLS uses the same port as plain FTP, 21 by default.
Hello Raghav, I have tried, but getting below error Response code: 000 Response message: java.net.ConnectException: Connection timed out: connect Can you please what is the problem Thanks Yugender Velde
Hi Raghav, I am getting below error: java.io.FileNotFoundException: \Users\HOME\Desktop\Binge\Watch.txt (The system cannot find the path specified) Please help
hi Raghav, does this functionality (save in response) display the text of a compressed file which was accessed on a ftp site? Also, how can we connect to FTPS server?
Hi Raghav, When i am trying PUT with 'Save File in Response' checkbox enabled (in FTP Request), then no file response am getting. However, the request is successful. It works fine for me for GET. Please help. Thanks
Hey Raghav! Your videos are very helpful. When I attempt to get a file from an FTP, I get a success message, however, the file I fetched never shows up in the file path I set up in the sampler. Do you have any ideas as to why this may be?
got a question: if you set number of threads = 5 in your thread group for the FTP request GET. Will these threads get the same file for 5 times or just once, thank you
Hi Raghav, First, Iam very much thankful for your videos . I have query in FTP Upload & Download video request you to clarify the same. i.e @5:58 to 6:38 minutes you ran with 5users right, but after Refresh in local file location only one Readme.txt file transfered, my doubt is why it's not transfered 5 files for 5 users?
Hai Raghav, they way you are explaining is too good, Thanks for giving a clear picture for Jmeter for me -A Beginner. Raghav can u please share the link if you have for Git and jenkins.
Hi Raghav, I need your help. How can we handle Response Code: 553. Base on my research it is a permanent response for sending a file with filename as parameter. Is there a way to pass that error? Thank you!
Here are some steps and insights 1. Verify Server Connectivity and Configuration: - Test from command line: Use the `ftp` command from your Windows command prompt to manually connect to the FTP server using the same credentials you've provided in JMeter. If you can't connect here, there might be an issue with the server itself, firewall restrictions, or incorrect credentials. - Double-check host, port, and credentials: Ensure they are accurate and match the server requirements. Pay attention to capitalization, which can matter on some FTP servers. - Passive/Active Mode: Experiment with both passive and active modes in JMeter's FTP Request sampler settings to see if one works better. 2. Resolve Firewall or Network Issues: - Disable firewalls temporarily: Consider temporarily disabling firewalls on both the client and server sides to rule out blocking rules. Remember to re-enable them afterward for security. - Check network restrictions: If you're on a corporate network, verify that outbound FTP traffic is allowed and not blocked by network security policies. 3. Address Server-Side Issues: - Contact server administrator: Check if the server is up and running, and if FTP access is enabled for your account. - Review server logs: If you have access, look for any errors or warnings related to your connection attempts in the server's logs. 4. Consider Timeouts and Retries: - Adjust timeouts: If the server is slow to respond, increase the connection timeout and response timeout values in JMeter's FTP Request sampler settings. - Enable retries: Consider enabling retries with a reasonable delay in case of temporary connection issues. 5. Explore Alternative Connection Options: - Try different ports: If the default port (21) is blocked, try alternative FTP ports like 22 (SSH) or 990 (FTPS). - Use FTPS (if supported): If the server supports FTPS (secure FTP), use it for additional security and encryption. 6. Check JMeter Settings and Configuration: - Review JMeter logs: Look for any error messages or warnings in JMeter's logs that might provide clues about the issue. - Verify JMeter version: Ensure you're using a compatible version of JMeter, especially if connecting to an older FTP server. By carefully following these steps and considering the potential causes, you should be able to identify and resolve the "Could not connect to server" error in your JMeter FTP request on Windows 11.
Hi Sandeep, yes absolutely we can test REST web services. Please watch this - Jmeter Beginner Tutorial 9 - Testing Web Services API ua-cam.com/video/eaU7951fNuQ/v-deo.html
Hi Aditya, just see this is similar to your need - serverfault.com/questions/919591/load-testing-scenario-for-upload-download-file-to-from-sftp-server-using-winscp groups.google.com/forum/#!topic/jmeter-plugins/Na-HCdgH8ec
hi raghav, When im trying to connect the ftp server with FileZilla , it was not connecting . i think the server path which u have given in Description was not working. Please let me know is it working properly or i did any mistake?????
Hi Raghav, I have newly downloaded FileZilla but after installation when I click FileZilla Server then it ask me to put password. Now I can't find the password as I didn't setup any password before. I am stuck to open File Zilla now. Could you please advise on this. Thanks.
Hi Raghav, thanks for all the wonderful informative videos! Do you have anything on how to do jmeter scripting for ftp over ssl protocol? I have a requirement and its very challenging to find any info online. Any help would greatly help. Thanks in advance
Hi Raghav, your tutorial is amazing.. I have 1 doubt,if each user is trying to copy different files of different size/format from server to our locale mac.. Is it possible for us to check dat? Thanks in advance, Aimy
Yes Aimy, We will need to crete a TestPlan using different ThreadGroups or multiple Samples in same Thread Group, Where we can provide different files per sampler. It can also be parametrised as you might have seen in some other tutorials in this series.
Hi Raghav, Thanks for sharing this videos , is there any way we can download and upload bulk amount of file either same or multiple types using same sampler or any other. I understand if we need to do for many file we need to add that much requests.
@@RaghavPal thank you so much for this informative video. Lets say l have to pick 10 different files from a remove location back to my machine how do you do that. I can see we explicitly mentioned the file name README.txt is it possible to use wild carts if one wants to chose files with a certain extnsn e.g .txt?
Hello Raghav. thank you so much for JMeter videos. do you have any video or knowledge about SSH Command Sampler. As in my current project need to access Unix server with command and i am struggling how to use "su" command with password in it. can you please help me? many Thanks.
Hello, thank you for your tutorials, I found them very helpfull. With this one I have a problem with the site that you use for publicly available FTP location. When I try to go to the link that you use I received a message that the site is not secure and also I can't log in with Anonymous as a Username and my mail for Password. Can you help me with this? I haven't use publicly available FTP location so far and I'm not familiar how to do it, so I prefer to do it like exactly like in the video.
Hi Ekaterina, I used public FTPs for demo, in real world you will have your FTP servers, Can try searching some more secure options that will have you sign up and use it
Hi Raghav, I could not able find the way to download the file from Amazon S3 server. using Jmeter. When I record the script i got the parameters AWSAccessKeyID, Expires, Signature. In this two parameters except AWSAccessKeyID are dynamically generate when i click the download link. After google the issue i got this link only: docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html. Help me on how to solve this issue Can you crate a video with an example how to download the file with above parameters.
Hi Raghav, Thanks for the response. Actually i noticed the above link before i sent a help on this. I can not able to do using jmeter with different parameters for actual login for this amazon web server. is this possible to show a demo on this or post the video
HI Shiva, what is the flow. Do you first login. in case we need a dynamically generated Expires and Signature values that are generated in an earlier step, we can do referencing.
When i try to login, i need to pass the parameters more than one. How to pass the parameters more than one using regular expression. also, i pasted below link while click the download file. How to extract the parameters like "AWSAccessKeyId, Expires, Signature"... {"message":"ok","data":{"keyFileLink":"esomgearsota-prod-s3repo.s3-us-west-2.amazonaws.com/cid00007/pidcid0000700014/credentials/LINUX/linux_eSOMgears_key_Jmeter6.tar.gz?AWSAccessKeyId=AKIAJ64VPA4UPPCVTXGQ&Expires=1513696055&Signature=aNN2yyRpAwJSrYPJ8qiSTT0G4TQ%3D","devKitLink":"esomgearsota-prod-s3repo.s3-us-west-2.amazonaws.com/os/LINUX/linux_developement_kit.tar.gz?AWSAccessKeyId=AKIAJ64VPA4UPPCVTXGQ&Expires=1513696055&Signature=U0x7E3afJRpCVYr15ePZRZ%2FIdUY%3D","product_id":"pidcid0000700014"},"expiry":"undefined"
Hi Sir, I am going to site: www.swfwmd.state.fl.us/data/ftp/ on UI in browser but it has showing me PAGE NOT FOUND. To test this Jmeter functionality, shall i need to pre requisite that I have to create FTP server connection before. Then I have to try this tutotorial
Thanks Raghav for the quick response , Could you please suggest some other site for test, it would be great. I tried the server " test.talia.net" . but its not working for me.
Hi Raghav, Thanks for Great session. When i am trying PUT with 'Save File in Response' checkbox enabled (in FTP Request), then no file response am getting. However, the request is successful. It works fine for me for GET. Please help. Thanks in Advance!!! Have a great day:)
Thread Name:Thread Group 1-1 Sample Start:2020-07-11 05:49:42 IST Load time:2543 Connect Time:0 Latency:644 Size in bytes:0 Sent bytes:7478 Headers size in bytes:0 Body size in bytes:0 Sample Count:1 Error Count:1 Data type ("text"|"bin"|""): Response code:550 Response message:550 Permission denied.
Thank you so much Raghav for the videos....Could you please make video how to configure and monitor jmeter results using Grafana and prometheus DB with 'jmeter-prometheus-plugin-master'? If you give this info it will be very helpful for me.
You are doing Great I learnt a lot of things from your channel. Currently i am learning JMeter now i am able to do everything for web pages but when i am trying to check http mp3 feed(52.74.30.238:8000/jagbaniradio.mp3) getting errors. May you please help me. If you have a different way to do this please help me.
I have configured a server from where a feed(52.74.30.238:8000/jagbaniradio.mp3) live streaming and all listeners are listening this feed via browser. So i want to check the load my server can take using JMeter. I mean how many listeners can listen this at a time.
Okay so you can setup a test with multiple virtual users (threads) as per your requirements. Now what exactly is the issue you are facing. Do you have logs.
if i do test load for some web page(pcisecuritystandards.org/about_us/) its working fine but if i test live feed(52.74.30.238:8000/jagbaniradio.mp3) its getting error. here i am considering 52.74.30.238:8000/jagbaniradio.mp3 like a web page also.
Hi Raghav,
Hope you are well...
This session explains FTP sampler very well - thank you so much for these efforts.
Can you please make one on SFTP and FTPS ?
Hi Ravinder, i am glad it was helpful. Will make session on SFTP soon.
Thank you so much Raghav for this very informative and powerful tutorial :)
You're welcome Momen
Hi Raghav,
Wanted to get an answer to my question. In this video we did a copy-paste of files. So is it possible to validate the cut-paste of files? for e.g. If i want to MOVE a file from local to ftps instead of copying.
(PS-Your tutorials are a delight to watch!)
Hi Kalash, as far as i know there is no in-built feature to do it but you can always do scripting to achieve your scenario.
On executing for PUT method I get "Response code:550" and "Response message:550 Permission denied".
I have created a Response assertion with "Field to Test" as Response Code, "Pattern Matching Rules" as Equals, "Patterns to Test" as 550. I think the test should pass instead of failing?
Hi Amir, looks like the credentials are not working, Try another FTP if you have or find online. Else can understand the concept and move to next video
Hi Raghav, do you have any new FTP sampler to test here. give sampler in description is not longer available to test.
Hi, can check these
ftptest.net/
www.sftp.net/public-online-sftp-servers
stackoverflow.com/questions/7968703/is-there-a-public-ftp-server-to-test-upload-and-download
@@RaghavPal Sure, will check this. Thanks!
all my PUTs failed, just as yours. Could it be because the file on the remote path exists before upload and cannot be replaced? The file permissions of my upload on the FTP server are rw-r--r-- , so I need to change permissions after each PUT (maybe also delete it) so that next PUT can upload.
How do i execute a command via JMeter on remote machine?
Yes Deyan, the reason for FTP Put failing is that the file already exists on FTP server and unlike our local machine we may not have complete control over FTP server.
You can try changing the permission on the server or can parameterise FTP Put test with CSV Config data set. Watch this:
Jmeter Beginner Tutorial 17 - How to parameterize FTP test
ua-cam.com/video/Gwutv8adr9g/v-deo.html&feature=em-uploademail
Thanks, Raghav! I will watch this one and all your videos about JMeter. Out of many video lessons you truly stand out as the best teacher. I hope you will address in the future some test automation topics, like Selenium.
Thanks Deyan, i will create Beginner Tutorials on Selenium soon.
Hi Raghav,
I am trying to do a GET and have done all settings as per your video. Hovewer my GET is failing saying "java.net.socketexception: connection Reset". Please help
Hi.. I also got the same error,
******Thread Name: Thread Group for FTP 1-1
Sample Start: 2016-11-14 14:06:40 IST
Load time: 2135
Connect Time: 0
Latency: 1127
Size in bytes: 0
Headers size in bytes: 0
Body size in bytes: 0
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""):
Response code: 000
Response message: java.net.SocketException: Permission denied: recv failed
Response headers:
SampleResult fields:
ContentType:
DataEncoding: null*******
BUT TRY AFTER SWITCHING OFF YOUR WINDOWS FIREWALL, IT WILL WORK!!
Thankyou
Aimy
Raghav please share your thoughts on this
Does ordering matters for config files etc . What if we place config elements as last elements ?
Not the order but level will matter, for example if you have placed config element at test plan level then it will be executed before all samplers at test plan level
Hey, thanks a lot for making these videos Raghav!
Could you please make a video explaining how to extract and use variables from HTML responses?
I am glad you found it helpful Dobromir.
You can use Regular Expression Extractor. Please watch - Jmeter Beginner Tutorial 19 - Correlation (with Regular Expression Extractor)
ua-cam.com/video/7-NcyZuUQnw/v-deo.html
Thanks, i hadn't gone that far in the videos yet but i will jump directly to that one since i need it for work :)
Great job, again!
ur videos r really amazing thanku so much for such good videos
Hello i want to ask a question, when we do ftp test load, what is the thing that are actually calculated? is it the load time when we get the data from the server? does the download speed counts? thx for the tutorial
Hi Axel, yes here it counts the time taken by the complete FTP download or upload process and when you do with multiple users, it can check the performance of FTP server
@@RaghavPal cheers, thx for the reply
Hi Raghav, if we download file from ftp server then it will overwrite downloaded file in case of number of threads is more. how can we avoid it.
Hi Kuldeep, in case you want to change file name you can use bean shell scripting. However i will recommend that if you are downloading the same file then you just put assertions to validate the test was successful
Hi sir, I like the way you teach in videos... I have to test 2 mobile apps and one website communicating each other.. can I test this scenario in jmeter?
Thanks for watching Srilakshmi, JMeter is a tool for checking the server performance. You can check if your requirements are met with the samplers provided by JMeter
Hi, I am getting this error message " java.io.FileNotFoundException: c:\Users\Sunil\Desktop\soun.txt (The system cannot find the path specified)" while doing FTP PUT request, I am unable to fix it, please help me.
Hi Sunil, Is the file present. Check the path and names
Thanks for your great work.
when we do the "GET", the target file in server can be downloaded multiple times to local and only the latest one is saved and all previous downloaded file will be overwrote(check the time stamp)(test pass with multiple threads)
but when we do the "PUT", the target file on local can NOT be uploaded multiple times to server, it means the uploading with same file is failed (test failed with multiple threads).
How to make the "PUT" multiple threads? thanks
Hi Nerissa, this is the settings of your ftp server. If it does not accepts the file with same name you can update the name (may be append a timestamp) before uploading.
While doing ftp GET test, i am getting error response as "Response message: org.apache.commons.net.ftp.FTPConnectionClosedException: FTP response 421 received. Server closed connection."
Hi Roshan, as per the error message looks like server is not open. Pls check the same manually to verify.
Thanks for the video Raghav, it was definitely informative! Is there a way to poll or monitor the ftp server location until the file is available to download? I'm testing a case where I know after uploading the file it's going to take x amount of time (depending on the file size uploaded) to generate the response(file to be downloaded) in the download location.
Hi, you can always use the scripts, not very sure if there is some direct way or plugin for this. Will need to check online
Hi Raghav, FTP Get and Put, readme.txt when wrote to the incoming folder, why the size of the file different than the get location
Hi Sujeet, not sure if that is due to the platform OS, if the difference is not much, should not be an issue
Hi Raghav,
As per Mail conversation, While testing GET request getting below error:
"550 Failed to open file"
Hi Aditya,
Can you try with a diff FTP
Hi! I have some doubts.
1.In real time application, How to find FTP server loc if we are not using any Filezilla application?
2.What if I want to transfer or upload files multiple times in different location or folders?
Hi Nazneen, here I have used a public ftp for demo, In real world you will be provided the ftp location by your project team.
For uploading to multiple locations, you can parameterize the location using csv files, Can find that in JMeter videos here automationstepbystep.com/online-courses/
Hi Raghav,
Thanks for the video.
I am unable to execute put function in Jmeter. I have added same file path /pub/incoming/README123.txt to upload but got message as "Response code:550
Response message:550 Permission denied." in sampler result.
Kindly advise on this.
Hi Bhushan, pls check looks like your credentials are not correct or the user is not authorized
Hi Raghav,
I did executed get(RETR) and got file download from server ftp.swfwmd.state.fl.us
As per your mentioned points i have verified.
1.I have entered correct credential.
2.Used authorized user.User Name-anonymous,Password-Email id
Kindly advise.
Hi @@bhushansambhus6411 , have u solved the error which u are facing?
How to access filezilla i downoaded the latest release not having any such options
You appear to be behind a NAT router. Please configure the passive mode settings and forward a range of ports in your router.
Warning: FTP over TLS is not enabled, users cannot securely log in.
Hi Abhishek, looks like its not issue from JMeter. Check if you get some useful info here:
avjacobsen.wordpress.com/2012/10/01/how-to-set-up-filezilla-sftp-server-behind-nat-in-passive-mode/
forum.filezilla-project.org/viewtopic.php?t=45462
when i use put method it says
Thread Name: FTP Thread 1-1
Sample Start: 2019-04-12 02:58:34 PDT
Load time: 1232
Connect Time: 0
Latency: 303
Size in bytes: 0
Sent bytes:0
Headers size in bytes: 0
Body size in bytes: 0
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""):
Response code: 550
Response message: 550 Access is denied.
Dear Tejas,
Response: 550 Access is denied is mainly the response of the remote FTP server that you are trying to PUT your file in it. I believe that the server you are trying to PUT your file in is not giving the permission of upload to users or the user you have doesn't have the permission for such actions (you can check by uploading a file manually and then check the result) OR the session is maybe expired and you need to make sure that your session is valid (correct UN and PW, and valid not expired session).
If you need to use a free FTP server for both "GET" and "PUT" actions you can use this one : www.wftpserver.com/onlinedemo.htm
Good luck :)
hi Raghav, the way u explain is amazing.. especially for the beginners ! could u please provide some tutorial on selenium web driver and SOAP UI.. it would be really helpful then.. thanks :)
Hi Soumi, great to know that it helped you. You can see selenium tutorials here: ua-cam.com/play/PLhW3qG5bs-L_s9HdC5zNshE5Ti8jABwlU.html
You can also explore other playlist here : ua-cam.com/channels/Tt7pyY-o0eltq14glaG5dg.htmlplaylists
I will add SoapUI in future.
Automation Step-by-Step - Raghav Pal ohhhh great... thank u so much ! :)
You're welcome Soumi. Please subscribe to get notified on future videos.
Automation Step-by-Step - Raghav Pal yeah, I have subscribed already :)
I keep getting syntax error when I try to quick connect on FileZilla. What port must be given in order to connect?
Pls check this Nadim - forum.filezilla-project.org/viewtopic.php?t=48295
The TCP port 990 is ONLY for Implicit FTPS. Implicit is encrypted from the start and thus needs a separate port. You cannot connect using Explicit or plain FTP to that port.
Explicit FTP over TLS uses the same port as plain FTP, 21 by default.
Hello Raghav, I have tried, but getting below error
Response code: 000
Response message: java.net.ConnectException: Connection timed out: connect
Can you please what is the problem
Thanks
Yugender Velde
Hi Yugender, your request could not connect to server. Pls check url and credentials are correct.
Hi Raghav,
I am getting below error:
java.io.FileNotFoundException: \Users\HOME\Desktop\Binge\Watch.txt (The system cannot find the path specified)
Please help
Hi Aditya, pls check the location and the privileges to that folder
hi Raghav, does this functionality (save in response) display the text of a compressed file which was accessed on a ftp site?
Also, how can we connect to FTPS server?
Hi Kedar, not checked this. You can try and see if it shows the content. For FTP you can see - ua-cam.com/video/tLtHW6edVlo/v-deo.html
Good morning Raghav : i am facing the above error while using the PUT functionality...
Hi Amit, looks like you the credentials for incorrect. Pls check or try with another FTP
Hi Raghav,
When i am trying PUT with 'Save File in Response' checkbox enabled (in FTP Request), then no file response am getting. However, the request is successful.
It works fine for me for GET.
Please help.
Thanks
Hi Ankita,
can you check the logs. Also ensure the file location is correct.
Hey Raghav! Your videos are very helpful. When I attempt to get a file from an FTP, I get a success message, however, the file I fetched never shows up in the file path I set up in the sampler. Do you have any ideas as to why this may be?
Hi Andrea, may be you can try another FTP server and check
Hi Raghav, Thanks for your tutorial, but please tell me if you know another website that provide free ftp service
I Teguh, I will have to check online, Try to see if you find some online public ftp
Hi Raghav, I have transferred the file from server to my local with GET request but blank file is being generated. it doesn't contain any data.?
Hi Kuldeep, did you check save file in response and see if it shows the contents.
Hi raghav, I checked...firewall is blocking the file so I turned off firewall and then I tried. now file with content is being transferred.
Great to know this Kuldeep
got a question:
if you set number of threads = 5 in your thread group for the FTP request GET.
Will these threads get the same file for 5 times or just once, thank you
5 times. It should be 5 users doing a FTP Get
thank you, and I've tested it
Hi Raghav,
First, Iam very much thankful for your videos .
I have query in FTP Upload & Download video request you to clarify the same. i.e @5:58 to 6:38 minutes you ran with 5users right, but after Refresh in local file location only one Readme.txt file transfered, my doubt is why it's not transfered 5 files for 5 users?
Hi Prasanth, as we are transferring the same file, it gets overridden everytime
@@RaghavPal Ohh ok, Thank you Raghav.
Hai Raghav, they way you are explaining is too good, Thanks for giving a clear picture for Jmeter for me -A Beginner. Raghav can u please share the link if you have for Git and jenkins.
Hi Aishwarya, thanks for watching.
Jenkins - ua-cam.com/play/PLhW3qG5bs-L_ZCOA4zNPSoGbnVQ-rp_dG.html
Git - ua-cam.com/play/PLhW3qG5bs-L8OlICbNX9u4MZ3rAt5c5GG.html
Playlists - ua-cam.com/channels/Tt7pyY-o0eltq14glaG5dg.htmlplaylists
What is the significance of Adding more than 1 thread(user) in get/put request , as the file will be be transfered / uploaded once only
Here we are checking how will the server respond if multiple users are doing the upload.
Ok got it.. Thanks....
great video! congrats
Thanks
Hi Raghav, I need your help. How can we handle Response Code: 553. Base on my research it is a permanent response for sending a file with filename as parameter. Is there a way to pass that error?
Thank you!
Hi Aiko, not very sure, will need to check online
Hi Raghev, I am having 'Could not connect to server' issues...I am using Windows 11 ,
Here are some steps and insights
1. Verify Server Connectivity and Configuration:
- Test from command line: Use the `ftp` command from your Windows command prompt to manually connect to the FTP server using the same credentials you've provided in JMeter. If you can't connect here, there might be an issue with the server itself, firewall restrictions, or incorrect credentials.
- Double-check host, port, and credentials: Ensure they are accurate and match the server requirements. Pay attention to capitalization, which can matter on some FTP servers.
- Passive/Active Mode: Experiment with both passive and active modes in JMeter's FTP Request sampler settings to see if one works better.
2. Resolve Firewall or Network Issues:
- Disable firewalls temporarily: Consider temporarily disabling firewalls on both the client and server sides to rule out blocking rules. Remember to re-enable them afterward for security.
- Check network restrictions: If you're on a corporate network, verify that outbound FTP traffic is allowed and not blocked by network security policies.
3. Address Server-Side Issues:
- Contact server administrator: Check if the server is up and running, and if FTP access is enabled for your account.
- Review server logs: If you have access, look for any errors or warnings related to your connection attempts in the server's logs.
4. Consider Timeouts and Retries:
- Adjust timeouts: If the server is slow to respond, increase the connection timeout and response timeout values in JMeter's FTP Request sampler settings.
- Enable retries: Consider enabling retries with a reasonable delay in case of temporary connection issues.
5. Explore Alternative Connection Options:
- Try different ports: If the default port (21) is blocked, try alternative FTP ports like 22 (SSH) or 990 (FTPS).
- Use FTPS (if supported): If the server supports FTPS (secure FTP), use it for additional security and encryption.
6. Check JMeter Settings and Configuration:
- Review JMeter logs: Look for any error messages or warnings in JMeter's logs that might provide clues about the issue.
- Verify JMeter version: Ensure you're using a compatible version of JMeter, especially if connecting to an older FTP server.
By carefully following these steps and considering the potential causes, you should be able to identify and resolve the "Could not connect to server" error in your JMeter FTP request on Windows 11.
Hi Raghav...Thank you for your help...much appreciated...!!!
Hi Raghav, can we use jmeter for Automation testing of REST services?, if yes how can we integrate the same with jenkins
Hi Sandeep, yes absolutely we can test REST web services. Please watch this - Jmeter Beginner Tutorial 9 - Testing Web Services API
ua-cam.com/video/eaU7951fNuQ/v-deo.html
Hi raghav in our company instead of password they are using ppk file so how can i connect to server?Can we please guide me.
Hi Aditya, just see this is similar to your need - serverfault.com/questions/919591/load-testing-scenario-for-upload-download-file-to-from-sftp-server-using-winscp
groups.google.com/forum/#!topic/jmeter-plugins/Na-HCdgH8ec
hi raghav,
When im trying to connect the ftp server with FileZilla , it was not connecting . i think the server path which u have given in Description was not working. Please let me know is it working properly or i did any mistake?????
hi Katta, yes its not working as of now. You can test with some other ftp.
Automation Step-by-Step - Raghav Pal Tq for ur information sir
If the file size is large (let's say in gb) then how can handle in jmeter.
Hi Chandan, JMeter should be able to handle this unless there are any external factors causing some issue. Are you getting any errors?
Hi Raghav, I have newly downloaded FileZilla but after installation when I click FileZilla Server then it ask me to put password. Now I can't find the password as I didn't setup any password before. I am stuck to open File Zilla now. Could you please advise on this. Thanks.
Alok, check this link if it helps:
www.groovypost.com/howto/retrieve-recover-filezilla-ftp-passwords/
Hi Raghav, thanks for all the wonderful informative videos!
Do you have anything on how to do jmeter scripting for ftp over ssl protocol?
I have a requirement and its very challenging to find any info online. Any help would greatly help. Thanks in advance
Hi Anu, I will plan a session, but can take some time.
Hi Raghav, your tutorial is amazing..
I have 1 doubt,if each user is trying to copy different files of different size/format from server to our locale mac..
Is it possible for us to check dat?
Thanks in advance,
Aimy
Yes Aimy,
We will need to crete a TestPlan using different ThreadGroups or multiple Samples in same Thread Group, Where we can provide different files per sampler.
It can also be parametrised as you might have seen in some other tutorials in this series.
Hi Raghav, Thanks for sharing this videos , is there any way we can download and upload bulk amount of file either same or multiple types using same sampler or any other. I understand if we need to do for many file we need to add that much requests.
Hi Kawita, once you setup the test you can run it either on multiple iterations or with required user load
@@RaghavPal thank you so much for this informative video. Lets say l have to pick 10 different files from a remove location back to my machine how do you do that. I can see we explicitly mentioned the file name README.txt is it possible to use wild carts if one wants to chose files with a certain extnsn e.g .txt?
Hello Raghav. thank you so much for JMeter videos. do you have any video or knowledge about SSH Command Sampler. As in my current project need to access Unix server with command and i am struggling how to use "su" command with password in it. can you please help me?
many Thanks.
HI Swinal, not now, I will plan a session on this
Hello, thank you for your tutorials, I found them very helpfull. With this one I have a problem with the site that you use for publicly available FTP location. When I try to go to the link that you use I received a message that the site is not secure and also I can't log in with Anonymous as a Username and my mail for Password. Can you help me with this? I haven't use publicly available FTP location so far and I'm not familiar how to do it, so I prefer to do it like exactly like in the video.
Hi Ekaterina, I used public FTPs for demo, in real world you will have your FTP servers, Can try searching some more secure options that will have you sign up and use it
Hi Raghav, I could not able find the way to download the file from Amazon S3 server. using Jmeter. When I record the script i got the parameters AWSAccessKeyID, Expires, Signature. In this two parameters except AWSAccessKeyID are dynamically generate when i click the download link. After google the issue i got this link only: docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html. Help me on how to solve this issue
Can you crate a video with an example how to download the file with above parameters.
Hi Sivashankar, please check this link - stackoverflow.com/questions/45835189/not-able-to-download-the-file-from-aws-s3-bucket-using-jmeter-3-1
Hi Raghav, Thanks for the response. Actually i noticed the above link before i sent a help on this. I can not able to do using jmeter with different parameters for actual login for this amazon web server. is this possible to show a demo on this or post the video
HI Shiva, what is the flow. Do you first login. in case we need a dynamically generated Expires and Signature values that are generated in an earlier step, we can do referencing.
When i try to login, i need to pass the parameters more than one. How to pass the parameters more than one using regular expression. also, i pasted below link while click the download file. How to extract the parameters like "AWSAccessKeyId, Expires, Signature"...
{"message":"ok","data":{"keyFileLink":"esomgearsota-prod-s3repo.s3-us-west-2.amazonaws.com/cid00007/pidcid0000700014/credentials/LINUX/linux_eSOMgears_key_Jmeter6.tar.gz?AWSAccessKeyId=AKIAJ64VPA4UPPCVTXGQ&Expires=1513696055&Signature=aNN2yyRpAwJSrYPJ8qiSTT0G4TQ%3D","devKitLink":"esomgearsota-prod-s3repo.s3-us-west-2.amazonaws.com/os/LINUX/linux_developement_kit.tar.gz?AWSAccessKeyId=AKIAJ64VPA4UPPCVTXGQ&Expires=1513696055&Signature=U0x7E3afJRpCVYr15ePZRZ%2FIdUY%3D","product_id":"pidcid0000700014"},"expiry":"undefined"
Hi, you can see if correlation helps you - ua-cam.com/video/7-NcyZuUQnw/v-deo.html
You are doing an Outstanding Job... Your all the tutorials are excellent.... Do you have any Tutorial on Appium.....?
Not yet, will be coming soon
desperately waiting for it , other options are there but the way you explain is commendable
I am happy and humbled to know this. Appium is definitely in my top few list. Will start on it soon.
Hi Sir,
I am going to site: www.swfwmd.state.fl.us/data/ftp/ on UI in browser but it has showing me PAGE NOT FOUND.
To test this Jmeter functionality, shall i need to pre requisite that I have to create FTP server connection before. Then I have to try this tutotorial
I am also facing the same issue
Hi Vishal, looks like the site is down now. Search for some other site or if you have some already existing site try with that
Vedika, replied to Vishal's query
Thanks Raghav for the quick response , Could you please suggest some other site for test, it would be great. I tried the server " test.talia.net" . but its not working for me.
Hi Vedika, you will get some options in this post - stackoverflow.com/questions/7968703/is-there-a-public-ftp-server-to-test-upload-and-download
Hi Raghav,
Thanks for Great session.
When i am trying PUT with 'Save File in Response' checkbox enabled (in FTP Request), then no file response am getting. However, the request is successful.
It works fine for me for GET.
Please help.
Thanks in Advance!!!
Have a great day:)
Hi Manikandan, i believe save file in response is for get only, Your test is working fine.
Automation Step-by-Step - Raghav Pal Thanks Raghav :)
Raghav, This link "www.swfwmd.state.fl.us/data/ftp/" does not exist anymore. Do you have an alternate link .Can you please provide one if you have it
Hi Prashanth, you can check for some public ftp for testing bit.ly/2HRjCE9
please do videos on EMV testing please
Hi Kavitha, thanks for your request. This will be special type of testing. I will see if i can do something on this.
Thread Name:Thread Group 1-1
Sample Start:2020-07-11 05:49:42 IST
Load time:2543
Connect Time:0
Latency:644
Size in bytes:0
Sent bytes:7478
Headers size in bytes:0
Body size in bytes:0
Sample Count:1
Error Count:1
Data type ("text"|"bin"|""):
Response code:550
Response message:550 Permission denied.
Hi Amit, Pls check if you have provided correct credentials
Thank you so much Raghav for the videos....Could you please make video how to configure and monitor jmeter results using Grafana and prometheus DB with 'jmeter-prometheus-plugin-master'? If you give this info it will be very helpful for me.
I will do Rayala
what do you password ? status incorrect server.
Please tell your issue in detail.
Thanks
hI Raghav, I am recieving 550 response code when I am trying the put request
Hi, 550 code is for Permission Denied. You should have valid user credentials and your user should have permission to put on ftp server
I did the same as u have shown in the video..with the same ftp server
So could you please let me know how do I get the permission?
Hi, I am not sure if the FTP i used in this video has any issues now, You can search for any public available FTP and try on that.
what is FTP?
FTP = File Transfer Protocol en.wikipedia.org/wiki/File_Transfer_Protocol
Hi Raghav,
How I setup Jmeter with Ariba. Please let me thoughts.
Thanks,
Vimal Raj
hi Vimal, no idea on Ariba. Can you give some more info on the same, so that i can look into it.
Your videos are the best. 1/0 likes...
Glad you like them!
You are doing Great
I learnt a lot of things from your channel. Currently i am learning JMeter now i am able to do everything for web pages but when i am trying to check http mp3 feed(52.74.30.238:8000/jagbaniradio.mp3) getting errors. May you please help me. If you have a different way to do this please help me.
Hi Vishal, i could not access the link. What are the issues you are facing. Do you have logs.
I have configured a server from where a feed(52.74.30.238:8000/jagbaniradio.mp3) live streaming and all listeners are listening this feed via browser. So i want to check the load my server can take using JMeter. I mean how many listeners can listen this at a time.
Okay so you can setup a test with multiple virtual users (threads) as per your requirements. Now what exactly is the issue you are facing. Do you have logs.
if i do test load for some web page(pcisecuritystandards.org/about_us/) its working fine but if i test live feed(52.74.30.238:8000/jagbaniradio.mp3) its getting error. here i am considering 52.74.30.238:8000/jagbaniradio.mp3 like a web page also.
Hello Raghav, Please help me
password means any email like is not compulsory you have before sign up ??
Yes for the example given in this video
@@RaghavPal thank you my ftp get perform successfuly but ftp put is not working :(
What is the error/logs
Automation Step by Step - Raghav Pal 550 respond denied
And show null also
You can try with some other FTP