JMeter Beginner Class 26: How to test for File Upload

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 พ.ค. 2022
  • How to test for File Upload
    ------------------------------------------
    Step 1 : Create a Test Plan - Thread Group - HTTP Request
    Step 2 : Add values in HTTP Request sampler
    Step 3 : Add File Upload details
    Step 4 : Add Listeners to view results
    Step 5 : Run and Validate
    www.w3schools.com/tags/tryit....
    www.freeformatter.com/mime-ty...

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

  • @user-dl4kq9hc3v
    @user-dl4kq9hc3v ปีที่แล้ว

    Thank you so much. you saved me

  • @MohammedSameer-rx5rz
    @MohammedSameer-rx5rz 10 หลายเดือนก่อน

    Thank you so much

    • @testingtutorialspoint
      @testingtutorialspoint  10 หลายเดือนก่อน

      Most welcome if you are like my videos please do subscribe and share to your friends

  • @meditationmusic38
    @meditationmusic38 7 หลายเดือนก่อน

    Thanks for the videos🙏💐..I want to ask like, when we have not tagname as input then how we used this file upload scenario.

    • @testingtutorialspoint
      @testingtutorialspoint  7 หลายเดือนก่อน

      use which tagname it is there or in case you don't know the tagname //*[@attrebute = "value"]

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

    I have to pass different files for my execution. can i do parameterization in file path. Is there any alternative way to upload different files in each iteration..

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

      one of the common ways to parametrize your performance scripts is to use a CSV file. can you check 18 video same playlist may be it will work in case if we are not able to run multiple files after watch 18th video let me know i will try my end also

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

    How to add other parameters to the https post request?

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

      1. add thread group
      2. inside thread groud, add user parameters
      3. inside thread group add http request
      4. inside https request, add body and paramers

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

      @@testingtutorialspoint for some reason. It doesn't allow to add both parameters and body data for post request

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

      For me it is working without any issue

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

    would be even better if you showed the response data page as well

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

      that moment it is not given any response body because it is free file upload website. In UI you can see some message but when it is going to do Jmeter it is not showed. I will in mind I will do one more video for file upload with response display

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

      @@testingtutorialspoint i trying to test it on my localhost but the file does not copied into the declared path, however when manually doing than works and file copied into folder, i dollowed everything in your video.
      The Response seems stays on the same page as the upload page and not the same as after submit(if really happened)

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

      It is dummy url that way if you have any valid api or ui try that api you will get correct response

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

      @@testingtutorialspoint okey I found the error, it was because the form action used external URL for form process

    • @user-dl4kq9hc3v
      @user-dl4kq9hc3v ปีที่แล้ว

      The reply depends upon your/endpoint implementation