JMeter Beginner Tutorial 10 - How to test FTP upload and download

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ค. 2016
  • more about Raghav - automationstepbystep.com/
    IF the FTP is not available try from here
    ftptest.net/
    www.sftp.net/public-online-sf...
    stackoverflow.com/questions/7...
    How to test FTP upload and download
    Step 1 : Add a FTP Request Sampler
    Step 2 : Add FTP connection parameters
    www.swfwmd.state.fl.us/data/ftp/
    Server: ftp.swfwmd.state.fl.us
    User Name: Anonymous
    (use your email address as password)
    If the above site is down you can find more options here:
    stackoverflow.com/questions/7...
    Step 3 : Test a FTP GET and validate (get file from ftp server to local system)
    Step 4 : Test a FTP PUT and validate (transfer file from local to ftp server)
    (FileZilla client is used in this demo for physical validation of file transfer.
    You can use other FTP clients like WinSCP)
    _JMeter Beginner Playlist : bit.ly/2Q0AJG3
    JMeter Intermediate Playlist : bit.ly/2M6AiIS
    JMeter Advanced Playlist: bit.ly/38T8KR5

ความคิดเห็น • 181

  • @momenuthman5471
    @momenuthman5471 5 ปีที่แล้ว

    Thank you so much Raghav for this very informative and powerful tutorial :)

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      You're welcome Momen

  • @rbassi751
    @rbassi751 7 ปีที่แล้ว +2

    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 ?

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Hi Ravinder, i am glad it was helpful. Will make session on SFTP soon.

  • @soumibanerjee8648
    @soumibanerjee8648 7 ปีที่แล้ว +2

    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 :)

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว +2

      Hi Soumi, great to know that it helped you. You can see selenium tutorials here: th-cam.com/play/PLhW3qG5bs-L_s9HdC5zNshE5Ti8jABwlU.html
      You can also explore other playlist here : th-cam.com/channels/Tt7pyY-o0eltq14glaG5dg.htmlplaylists
      I will add SoapUI in future.

    • @soumibanerjee8648
      @soumibanerjee8648 7 ปีที่แล้ว +1

      Automation Step-by-Step - Raghav Pal ohhhh great... thank u so much ! :)

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว +1

      You're welcome Soumi. Please subscribe to get notified on future videos.

    • @soumibanerjee8648
      @soumibanerjee8648 7 ปีที่แล้ว +1

      Automation Step-by-Step - Raghav Pal yeah, I have subscribed already :)

  • @jsuarez3891
    @jsuarez3891 2 ปีที่แล้ว

    great video! congrats

  • @DobromirManchev
    @DobromirManchev 7 ปีที่แล้ว +3

    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?

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว +2

      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)
      th-cam.com/video/7-NcyZuUQnw/w-d-xo.html

    • @DobromirManchev
      @DobromirManchev 7 ปีที่แล้ว +1

      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!

    • @sakarbhardwaj7849
      @sakarbhardwaj7849 5 ปีที่แล้ว

      ur videos r really amazing thanku so much for such good videos

  • @aishwaryak5288
    @aishwaryak5288 6 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Aishwarya, thanks for watching.
      Jenkins - th-cam.com/play/PLhW3qG5bs-L_ZCOA4zNPSoGbnVQ-rp_dG.html
      Git - th-cam.com/play/PLhW3qG5bs-L8OlICbNX9u4MZ3rAt5c5GG.html
      Playlists - th-cam.com/channels/Tt7pyY-o0eltq14glaG5dg.htmlplaylists

  • @karanbcit
    @karanbcit 3 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      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

  • @smanap3859
    @smanap3859 6 ปีที่แล้ว

    Thanks

  • @KalashDave
    @KalashDave 6 ปีที่แล้ว +1

    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!)

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว +1

      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.

  • @srilakshmihd4532
    @srilakshmihd4532 6 ปีที่แล้ว +1

    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?

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      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

  • @bhallaskitchen
    @bhallaskitchen 6 ปีที่แล้ว

    You are doing an Outstanding Job... Your all the tutorials are excellent.... Do you have any Tutorial on Appium.....?

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Not yet, will be coming soon

    • @bhallaskitchen
      @bhallaskitchen 6 ปีที่แล้ว

      desperately waiting for it , other options are there but the way you explain is commendable

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      I am happy and humbled to know this. Appium is definitely in my top few list. Will start on it soon.

  • @chubbyman2564
    @chubbyman2564 4 ปีที่แล้ว +1

    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

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      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

    • @chubbyman2564
      @chubbyman2564 4 ปีที่แล้ว

      @@RaghavPal cheers, thx for the reply

  • @aimymatt6353
    @aimymatt6353 7 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      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.

  • @andremw87
    @andremw87 4 ปีที่แล้ว

    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?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Andrea, may be you can try another FTP server and check

  • @nerissag6326
    @nerissag6326 7 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว +1

      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.

  • @anulakshmanan7228
    @anulakshmanan7228 3 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Hi Anu, I will plan a session, but can take some time.

  • @rayalasrinivasarao7022
    @rayalasrinivasarao7022 5 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      I will do Rayala

  • @armyfe2457
    @armyfe2457 6 ปีที่แล้ว +1

    please do videos on EMV testing please

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Kavitha, thanks for your request. This will be special type of testing. I will see if i can do something on this.

  • @deyanpavlov
    @deyanpavlov 8 ปีที่แล้ว +1

    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?

    • @RaghavPal
      @RaghavPal  8 ปีที่แล้ว

      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
      th-cam.com/video/Gwutv8adr9g/w-d-xo.html&feature=em-uploademail

    • @deyanpavlov
      @deyanpavlov 8 ปีที่แล้ว +1

      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.

    • @RaghavPal
      @RaghavPal  8 ปีที่แล้ว

      Thanks Deyan, i will create Beginner Tutorials on Selenium soon.

    • @automationgeek5439
      @automationgeek5439 8 ปีที่แล้ว

      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

    • @aimymatt6353
      @aimymatt6353 7 ปีที่แล้ว

      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

  • @megatron741
    @megatron741 6 ปีที่แล้ว

    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?

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Kedar, not checked this. You can try and see if it shows the content. For FTP you can see - th-cam.com/video/tLtHW6edVlo/w-d-xo.html

  • @Kuldeep5836
    @Kuldeep5836 6 ปีที่แล้ว +1

    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.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      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

  • @ice7mayu
    @ice7mayu 7 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      5 times. It should be 5 users doing a FTP Get

    • @ice7mayu
      @ice7mayu 7 ปีที่แล้ว +1

      thank you, and I've tested it

  • @nazneenfathima7698
    @nazneenfathima7698 5 ปีที่แล้ว

    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?

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      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/

  • @truepakistani9604
    @truepakistani9604 3 ปีที่แล้ว +1

    Does ordering matters for config files etc . What if we place config elements as last elements ?

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      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

  • @bhallaskitchen
    @bhallaskitchen 6 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Here we are checking how will the server respond if multiple users are doing the upload.

    • @bhallaskitchen
      @bhallaskitchen 6 ปีที่แล้ว +1

      Ok got it.. Thanks....

  • @amiraliansari9887
    @amiraliansari9887 4 ปีที่แล้ว

    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?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      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

  • @bprasanthkumar4303
    @bprasanthkumar4303 5 ปีที่แล้ว

    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?

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Hi Prasanth, as we are transferring the same file, it gets overridden everytime

    • @bprasanthkumar4303
      @bprasanthkumar4303 5 ปีที่แล้ว +1

      @@RaghavPal Ohh ok, Thank you Raghav.

  • @kawita071
    @kawita071 3 ปีที่แล้ว

    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
      @RaghavPal  3 ปีที่แล้ว

      Hi Kawita, once you setup the test you can run it either on multiple iterations or with required user load

    • @cliford91
      @cliford91 3 ปีที่แล้ว

      @@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?

  • @sunnybhangu1
    @sunnybhangu1 7 ปีที่แล้ว

    Hi Raghav, can we use jmeter for Automation testing of REST services?, if yes how can we integrate the same with jenkins

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Hi Sandeep, yes absolutely we can test REST web services. Please watch this - Jmeter Beginner Tutorial 9 - Testing Web Services API
      th-cam.com/video/eaU7951fNuQ/w-d-xo.html

  • @teguhhariyadi7524
    @teguhhariyadi7524 3 ปีที่แล้ว +1

    Hi Raghav, Thanks for your tutorial, but please tell me if you know another website that provide free ftp service

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      I Teguh, I will have to check online, Try to see if you find some online public ftp

  • @nadimchouglay1947
    @nadimchouglay1947 5 ปีที่แล้ว

    I keep getting syntax error when I try to quick connect on FileZilla. What port must be given in order to connect?

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      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.

  • @ankitasuthar6500
    @ankitasuthar6500 7 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Hi Ankita,
      can you check the logs. Also ensure the file location is correct.

  • @kattathejesh5714
    @kattathejesh5714 7 ปีที่แล้ว

    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?????

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      hi Katta, yes its not working as of now. You can test with some other ftp.

    • @kattathejesh5714
      @kattathejesh5714 7 ปีที่แล้ว +1

      Automation Step-by-Step - Raghav Pal Tq for ur information sir

  • @abhishekangrish
    @abhishekangrish 6 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      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

  • @amollondhe5483
    @amollondhe5483 4 ปีที่แล้ว +1

    Hi Raghav, do you have any new FTP sampler to test here. give sampler in description is not longer available to test.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      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

    • @amollondhe5483
      @amollondhe5483 4 ปีที่แล้ว

      @@RaghavPal Sure, will check this. Thanks!

  • @Kuldeep5836
    @Kuldeep5836 6 ปีที่แล้ว

    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.?

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว +1

      Hi Kuldeep, did you check save file in response and see if it shows the contents.

    • @Kuldeep5836
      @Kuldeep5836 6 ปีที่แล้ว +1

      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.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Great to know this Kuldeep

  • @roshankandel5645
    @roshankandel5645 7 ปีที่แล้ว

    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."

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Roshan, as per the error message looks like server is not open. Pls check the same manually to verify.

  • @bhushansambhus6411
    @bhushansambhus6411 4 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Bhushan, pls check looks like your credentials are not correct or the user is not authorized

    • @bhushansambhus6411
      @bhushansambhus6411 4 ปีที่แล้ว

      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.

    • @arbazarsheds1564
      @arbazarsheds1564 4 ปีที่แล้ว

      Hi @@bhushansambhus6411 , have u solved the error which u are facing?

  • @adisatapathy
    @adisatapathy 6 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      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

  • @tejastoley6714
    @tejastoley6714 5 ปีที่แล้ว

    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.

    • @momenuthman5471
      @momenuthman5471 5 ปีที่แล้ว +1

      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 :)

  • @sujeetsingh5029
    @sujeetsingh5029 4 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Sujeet, not sure if that is due to the platform OS, if the difference is not much, should not be an issue

  • @swinalpatel9022
    @swinalpatel9022 3 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      HI Swinal, not now, I will plan a session on this

  • @chandanjethi3654
    @chandanjethi3654 6 ปีที่แล้ว

    If the file size is large (let's say in gb) then how can handle in jmeter.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Hi Chandan, JMeter should be able to handle this unless there are any external factors causing some issue. Are you getting any errors?

  • @EkaterinaHristova-dy5xw
    @EkaterinaHristova-dy5xw ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      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

  • @knownothing1277
    @knownothing1277 7 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Alok, check this link if it helps:
      www.groovypost.com/howto/retrieve-recover-filezilla-ftp-passwords/

  • @hcalingacion8515
    @hcalingacion8515 2 ปีที่แล้ว

    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!

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว +1

      Hi Aiko, not very sure, will need to check online

  • @adityalokare3902
    @adityalokare3902 3 ปีที่แล้ว

    Hi Raghav,
    As per Mail conversation, While testing GET request getting below error:
    "550 Failed to open file"

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Hi Aditya,
      Can you try with a diff FTP

  • @Sunilkumar-rt4th
    @Sunilkumar-rt4th 6 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Sunil, Is the file present. Check the path and names

  • @amitsharma9086
    @amitsharma9086 4 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Amit, Pls check if you have provided correct credentials

  • @amitsharma9086
    @amitsharma9086 4 ปีที่แล้ว

    Good morning Raghav : i am facing the above error while using the PUT functionality...

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Amit, looks like you the credentials for incorrect. Pls check or try with another FTP

  • @derelictmanchester8745
    @derelictmanchester8745 6 หลายเดือนก่อน

    Hi Raghev, I am having 'Could not connect to server' issues...I am using Windows 11 ,

    • @RaghavPal
      @RaghavPal  6 หลายเดือนก่อน +1

      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.

    • @derelictmanchester8745
      @derelictmanchester8745 5 หลายเดือนก่อน

      Hi Raghav...Thank you for your help...much appreciated...!!!

  • @yugendervelde411
    @yugendervelde411 5 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Hi Yugender, your request could not connect to server. Pls check url and credentials are correct.

  • @adityalokare3902
    @adityalokare3902 3 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Hi Aditya, pls check the location and the privileges to that folder

  • @manikandanmadheshwaran5576
    @manikandanmadheshwaran5576 6 ปีที่แล้ว

    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:)

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Manikandan, i believe save file in response is for get only, Your test is working fine.

    • @manikandanmadheshwaran5576
      @manikandanmadheshwaran5576 6 ปีที่แล้ว +1

      Automation Step-by-Step - Raghav Pal Thanks Raghav :)

  • @VimalRaj46
    @VimalRaj46 7 ปีที่แล้ว

    Hi Raghav,
    How I setup Jmeter with Ariba. Please let me thoughts.
    Thanks,
    Vimal Raj

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      hi Vimal, no idea on Ariba. Can you give some more info on the same, so that i can look into it.

  • @qapitolqauninterrupted2127
    @qapitolqauninterrupted2127 6 ปีที่แล้ว

    hI Raghav, I am recieving 550 response code when I am trying the put request

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi, 550 code is for Permission Denied. You should have valid user credentials and your user should have permission to put on ftp server

    • @qapitolqauninterrupted2127
      @qapitolqauninterrupted2127 6 ปีที่แล้ว

      I did the same as u have shown in the video..with the same ftp server

    • @qapitolqauninterrupted2127
      @qapitolqauninterrupted2127 6 ปีที่แล้ว

      So could you please let me know how do I get the permission?

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      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.

  • @truepakistani9604
    @truepakistani9604 3 ปีที่แล้ว

    Your videos are the best. 1/0 likes...

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Glad you like them!

  • @Allinoneclick23
    @Allinoneclick23 5 ปีที่แล้ว

    password means any email like is not compulsory you have before sign up ??

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว +1

      Yes for the example given in this video

    • @Allinoneclick23
      @Allinoneclick23 5 ปีที่แล้ว

      @@RaghavPal thank you my ftp get perform successfuly but ftp put is not working :(

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว +1

      What is the error/logs

    • @Allinoneclick23
      @Allinoneclick23 5 ปีที่แล้ว

      Automation Step by Step - Raghav Pal 550 respond denied
      And show null also

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      You can try with some other FTP

  • @sivashankarp9051
    @sivashankarp9051 6 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Sivashankar, please check this link - stackoverflow.com/questions/45835189/not-able-to-download-the-file-from-aws-s3-bucket-using-jmeter-3-1

    • @sivashankarp9051
      @sivashankarp9051 6 ปีที่แล้ว

      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

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว +1

      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.

    • @sivashankarp9051
      @sivashankarp9051 6 ปีที่แล้ว

      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"

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi, you can see if correlation helps you - th-cam.com/video/7-NcyZuUQnw/w-d-xo.html

  • @vishalrraymal9582
    @vishalrraymal9582 6 ปีที่แล้ว

    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

    • @vedikasharma2421
      @vedikasharma2421 6 ปีที่แล้ว

      I am also facing the same issue

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      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

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Vedika, replied to Vishal's query

    • @vedikasharma2421
      @vedikasharma2421 6 ปีที่แล้ว

      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.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว +1

      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

  • @nguyenthien8282
    @nguyenthien8282 7 ปีที่แล้ว

    what do you password ? status incorrect server.

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Please tell your issue in detail.

  • @SS-xt5ul
    @SS-xt5ul 3 ปีที่แล้ว +1

    what is FTP?

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      FTP = File Transfer Protocol en.wikipedia.org/wiki/File_Transfer_Protocol

  • @prashantht.v8289
    @prashantht.v8289 5 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Hi Prashanth, you can check for some public ftp for testing bit.ly/2HRjCE9

  • @0xvishal
    @0xvishal 6 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Vishal, i could not access the link. What are the issues you are facing. Do you have logs.

    • @0xvishal
      @0xvishal 6 ปีที่แล้ว

      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.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      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.

    • @0xvishal
      @0xvishal 6 ปีที่แล้ว

      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.

    • @0xvishal
      @0xvishal 6 ปีที่แล้ว

      Hello Raghav, Please help me