JMeter Beginner Tutorial 11 - Testing Web Services API

Поділитися
Вставка
  • Опубліковано 15 жов 2024
  • An Update: JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement.
    Watch - Please Watch - • JMeter API Testing
    See Building a WebService Test Plan jmeter.apache.o...
    API = Application Programming Interface
    example-
    Restaurant - table - WAITER - kitchen
    real world example - makemytrip.com
    WebServices - client - API - server
    REST | SOAP
    How to test REST API
    ------------
    Step 1: Add HTTP Request Sampler
    OR
    Add SOAP/XML-RPC Request Sampler
    Step 2: Add REST API details
    (openweathermap....)
    api.openweathermap.org/data/2.5/forecast/city?id=524901&APPID=1111111111
    api.openweather...
    api.openweathermap.org
    /data/2.5/weather/
    q=NewDelhi
    appid=5ad76b332e2fa27ea9859353e5fdd69d
    Step 3 : Run and Validate
    How to test SOAP API
    ------------
    Step 1 : Add SOAP/XML-RPC Request Sampler
    Step 2 : Add details of the Soap API Request
    (www.webservicex...)
    Step 3 : Run and Validate
    JMeter Beginner Playlist : bit.ly/2Q0AJG3
    JMeter Intermediate Playlist : bit.ly/2M6AiIS
    JMeter Advanced Playlist: bit.ly/38T8KR5
    Free Courses - automationstep...
    _______ ONLINE COURSES TO LEARN _______
    FREE Courses - automationstep...
    Udemy Discounts - automationstep...
    GitHub - github.com/Rag...
    Udemy - www.udemy.com/...
    Training schedule - automationstep...
    ----------- UI TESTING -----------
    Selenium Beginners - bit.ly/2MGRS8K
    Selenium Java Framework from Scratch - bit.ly/2N9xvR6
    Selenium Python - bit.ly/2oyMp5x
    Selenium Tips - bit.ly/2owxc50
    Selenium Builder - bit.ly/2MKNtlq
    Katalon Studio - bit.ly/2wARFdi
    Robot Framework with RIDE- bit.ly/2Px6Ue9
    Robot Framework with Eclipse - bit.ly/2N8DZxb
    Protractor - bit.ly/2KtqVkU
    TestProject - bit.ly/2DRNJYE
    ----------- API TESTING -----------
    Web Services (API) - bit.ly/2MGafL7
    SoapUI - bit.ly/2MGahmd
    Postman - bit.ly/2wz8LrW
    General - bit.ly/2PYdwmV
    Katalon Studio API Testing - bit.ly/2BwuCTN
    ----------- MOBILE TESTING -----------
    Appium - bit.ly/2ZHFSGX
    Mobile Playlist - bit.ly/2PxpeUv
    ----------- CI | CD | DEVOPS -----------
    Jenkins Beginner - bit.ly/2MIn8EC
    Jenkins Tips & Trick - bit.ly/2LRt6xC
    Docker - bit.ly/2MInnzx
    Kubernetes - bit.ly/2MJIlMK
    ----------- VERSION CONTROL SYSTEM -----------
    Git & GitHub - bit.ly/2Q1pagY
    GitLab - bit.ly/2kQPGyQ
    ----------- PERFORMANCE TESTING -----------
    JMeter Tips & Tricks - bit.ly/2NOfWD2
    Performance Testing - bit.ly/2wEXbLS
    ----------- PROGRAMMING -----------
    Java Beginners - bit.ly/2PVUcXs
    Java Tips & Tricks - bit.ly/2CdcDnJ
    GROOVY - bit.ly/2FvWV5C
    JAVASCRIPT - bit.ly/2KJDZ8o
    PYTHON - bit.ly/2Z4iRye
    ----------- IDE -----------
    Visual Studio Code - bit.ly/2V15yvt
    ----------- MAVEN -----------
    Maven - bit.ly/2NJdDRS
    ----------- OTHERS -----------
    Redis- bit.ly/2N9jyCG
    Misc - bit.ly/2Q2q5xQ
    Tools & Tips - bit.ly/2oBfwoR
    QnA Friday- bit.ly/2NgwGpw
    Sunday Special - bit.ly/2wB23BO
    Ask Raghav - bit.ly/2CoJGWf
    Interviews - bit.ly/2NIPPxk
    All Playlists - bit.ly/2LSiezA
    Keep Learning,
    Raghav
    ---------- Connect with Raghav -----------
    Website - automationstep...
    LifeCharger -
    Udemy Courses - www.udemy.com/...
    Facebook - / automationstepbystep
    Twitter - / automationsbs
    UA-cam - / automationstepbystep
    Call for training at your location - raghav.qna@gmail.com
    You can support my mission for education by sharing this knowledge and helping as many people as you can.

КОМЕНТАРІ • 368

  • @RaghavPal
    @RaghavPal  5 років тому +16

    An Update:
    JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan
    jmeter.apache.org/usermanual/build-ws-test-plan.html

    • @ZafarDidit
      @ZafarDidit 5 років тому

      with HTTP Request element - can we test SOAP API as well ?

    • @anurajesh6201
      @anurajesh6201 5 років тому

      Hi Raghav - Thank you so much for your tutorial regarding this topic. Could you please provide more info regarding importing client certificate for SOAP

    • @vinaybhupatiraju393
      @vinaybhupatiraju393 5 років тому +1

      Hi sir IAM able to get the result by using normal http request. But I gave parameters like q and app I'd and got the result. So what is the need of using soap rpc request in specific? IAM so thankful to ur tutorials

    • @muneet4079
      @muneet4079 4 роки тому +1

      Hi Raghav, this one was very informative. I didn't know how to load test the API. I have a question, how do we load test an API where we must first login as an Admin user to get the same results you showed us here. I test APIs after logging into a Login api as an Admin. And the bearer access token is only valid for 120 seconds. Lemme know if you could help.

    • @kantdos
      @kantdos 3 роки тому

      @@ZafarDidit yes

  • @samirchandra2637
    @samirchandra2637 4 роки тому

    You are an awesome teacher. The way you are teaching is simplified and understandable. I am learning new things in Performance Testing and always preferred your tutorials because it's free with great content. Thanks, Raghav

    • @RaghavPal
      @RaghavPal  4 роки тому +1

      You're very welcome Samir. Humbled

  • @lovemishra8137
    @lovemishra8137 2 роки тому

    It's a nice video. Hope it will help me in future. I am a technical analyst at CG and I am currently on bench. I once heard about this JMeater and so I thought I should watch some video and your video come as first search results. Please discuss the scope of it too. Thank you

    • @RaghavPal
      @RaghavPal  2 роки тому

      Sure, Love, Can check this ua-cam.com/video/f3K9gWKpY2c/v-deo.html

  • @thasarath
    @thasarath 6 років тому +1

    Hello Raghav, You are just doing awesome Job! Your way of explaining things make more easy to understand the concepts..please keep doing. Thanks

    • @RaghavPal
      @RaghavPal  6 років тому

      Thanks for your message, will continue this.

  • @aisshvaryac
    @aisshvaryac 7 років тому +2

    Raghav truly grateful to you for sharing your knowledge with so much clarity.Cheers

    • @RaghavPal
      @RaghavPal  7 років тому

      I am glad Aisshvarya, that it helped. Keep learning.

  • @alqamaansari26
    @alqamaansari26 7 років тому +1

    Hi Raghav,
    You are doing an Awesome job. Your Explanation in Tutorial Very Clear. Keep up the Good Job.

    • @RaghavPal
      @RaghavPal  7 років тому

      I am glad it was helpful. Keep Learning.

  • @reddevilmelbourne
    @reddevilmelbourne 7 років тому

    hi Raghav.. good to know that you are online and responded to my comments..I am basically into mobile app and electronic devices testing...can you suggest or give me some tutorials on automating mobile apps ( both iOS & android).also if you know any tool that can help me test electronic hardware ....thnx in advance

    • @RaghavPal
      @RaghavPal  7 років тому +1

      Akhil, i will be making sessions on mobile testing both iOS and android, but not much info on electronic hardware

  • @ksabita1
    @ksabita1 4 роки тому

    Hi Raghav, You have explained REST API so clearly. Amazing job !! Thanks alot...

  • @sachinkarve3673
    @sachinkarve3673 6 років тому

    Raghav, you have done a fab job explaining JMeter. Cannot thank you enough!

    • @RaghavPal
      @RaghavPal  6 років тому

      Sachine, I,m glad it helped

  • @vinodreddychinthala
    @vinodreddychinthala 2 роки тому

    Thanks raghav, for giving your time towards exploring the knowledge.
    Have you done any videos for load testing of a flow using API's like for login, perform some task like book a ticket, logout..... Etc

    • @RaghavPal
      @RaghavPal  2 роки тому +1

      Hi Vinod, I have taken some basic examples, You can find several playlists on JMeter here - automationstepbystep.com/

  • @mellamputisriramchowdary3628
    @mellamputisriramchowdary3628 4 роки тому +1

    Supr explanation Raghav, Please can you tell how to authenticate and handle Token also.

    • @RaghavPal
      @RaghavPal  4 роки тому

      Hi Mellamputi, f you want to pass the authorization token as a header you just need to add a HTTP Header Manager config element in the HTTP Request Sampler. You can then pass the Authorization token value in the same manner.
      This should help you
      www.redline13.com/blog/2018/05/test-rest-apis-authentication-using-jmeter/
      octoperf.com/blog/2018/04/23/jmeter-rest-api-testing/
      Let me know if you were able to do it

  • @gollapudigomathi6484
    @gollapudigomathi6484 6 років тому

    Hai Raghav,
    Great info,In samplers Rpc request working directly is that mandatory to use http request as well

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi, yes you can use it, but it is not present in latest versions.

  • @phpganesh2818
    @phpganesh2818 2 роки тому +1

    could you pls expln wat are jmeter elements needed based on NFRS requrement and some scenarios based case study test execution and also some case studys regarding bottlenec analysis and resolve will be helpful and your tutorials because it's free with great content. Thanks, Raghav

  • @vikasnanu1
    @vikasnanu1 6 років тому

    Hi Raghav, Thanks for the wonderful tutorials on jmeter. i have been following all your tutorials. Request you to please have a series of tutorials on REST API.
    Many Thanks

    • @RaghavPal
      @RaghavPal  6 років тому

      Glad to know this Vikas, You can see tutorials on SOAPUI and POSTMAN, will add new sessions soon.
      ua-cam.com/play/PLhW3qG5bs-L-oT0GenwPLcJAPD_SiFK3C.html
      ua-cam.com/play/PLhW3qG5bs-L-Bt9T_bnyflQ0Te4VgFhKF.html

    • @vikasnanu1
      @vikasnanu1 6 років тому +1

      Automation Step by Step - Raghav Pal Thanks Raghav

  • @dipukakati5407
    @dipukakati5407 7 років тому +1

    Hi Raghav - Thanks for the video series. Please upload one video for a real-time project of performance testing using jMeter

    • @RaghavPal
      @RaghavPal  7 років тому

      hi Dipu, although i have tried to cover most of the concept that will be useful in any real time projects, will try to create more sessions with practical implementations.

  • @chrisforonda
    @chrisforonda 7 років тому +2

    Great tutural Raghav. How do test a get request. Where you get the information and you want to extract an authorization key from the request and insert it into another request every time you run the test?

    • @RaghavPal
      @RaghavPal  7 років тому

      Thanks for liking. You can use regular expression to extract values and provide to subsequent request.
      Watch this - ua-cam.com/video/7-NcyZuUQnw/v-deo.html

  • @ramjeekolli4543
    @ramjeekolli4543 6 років тому

    Hi Raghav, i could not find the sampler 'SOAP/XML-RCP request' in 4.0 version, it is throwing 'this test element is obsolete' message when i reuse my old jmx file. How do we test this now in 4.0 version?

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi Ramjee, JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan
      jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @amitsharma9086
    @amitsharma9086 4 роки тому

    Sir one more query - i am not able to see "HTTP Header manager" in my (j meter 5.3)
    as per below instructions
    Next, select "HTTP Header Manager" and update ("SOAPAction" header to match your webservice) -----> this also

    • @RaghavPal
      @RaghavPal  4 роки тому

      You will find under Config elements www.blazemeter.com/blog/using-jmeters-http-header-manager/

  • @vismikgeorge4332
    @vismikgeorge4332 6 років тому +1

    Hi Raghav, I'm using JMeter 3.3, but I'm not able to find "SOAP/XML - RPC Request" in my Sampler

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi Vismi
      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @prachiswain705
    @prachiswain705 4 роки тому

    Hi, I have viewed all the videos in the playlist. All these are really helpful. Thanks for sharing knowledge. 1 help I need from you. Please let me know how much Java I should learn and what topics in java I should learn to write proper beanshell script for complex scenarios.

    • @RaghavPal
      @RaghavPal  4 роки тому

      Hi Prachi, You can start with basics, and understand OOP concepts, After this I will say that you can learn and work as per the topic or script you need to write. Can check Java tutorials here - automationstepbystep.com/

  • @qavbox1446
    @qavbox1446 7 років тому +1

    Hello Raghav! I found your tutorials very easy to understand however, I am having problem with testing webservice SOAP because SOAP sampler was removed in JMeter ver 3.2 can you share how to test webservice using the latest version of JMeter. Thank you

    • @RaghavPal
      @RaghavPal  7 років тому +1

      Yes, . SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @killervaish7714
    @killervaish7714 7 років тому

    Hi Raghav,
    Need help regarding Tutorial 9, in jmeter 3.2 SOAP is not in sampler and jmeter 3.0 is removed by apache from its website what to do?

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi, i have added this info in the description of the video
      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @happydays3714
    @happydays3714 6 років тому

    Very Well explained Raghav pal. I just started working on API performance testing. Can i reach out to you for any questions ? thanks!

    • @RaghavPal
      @RaghavPal  6 років тому

      Great to know this. Yes you can put your questions, messages in the comment section of the relevant video.

  • @KKboosters
    @KKboosters 5 років тому

    Hi Raghav, need a query , L&P testing we are using JMeter ...scenario is : API Testing 1st API request to java application that response 401 handle by java code and return to another java method with adding some parameter value to handle this response and finally we got the 200 response. please guide me how to handle this scenario via JMeter script.

    • @RaghavPal
      @RaghavPal  5 років тому

      Hi Kannan, replied you on mail, you can use a java code inside JMeter to run any java app

  • @arundevsingh9900
    @arundevsingh9900 6 років тому

    Hi Raghav,
    I am learning from this series of Jeter and i have installed Jeter 4.0, and there is no way to add sampler: Soap/XML-RPC Request. So, please let me know how to add and send soap request while using SOAP API using http request.
    Thanks in advance. 🙂

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi Arun
      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @Koushik.kamlekar
    @Koushik.kamlekar 4 роки тому

    Hi Raghav, I have a scenario like need to add Parameter and Body in the HTTP request. While accessing ,able to use only one as input. Could you please let me know how to give input values for both. Thanks!

    • @RaghavPal
      @RaghavPal  4 роки тому

      Hi Koushik, We now use HTML Sampler for API requests, There is option to provide parameters. I will try to create a session on this

  • @Davesjdj
    @Davesjdj 7 років тому

    Hi Raghav, My soap webservies have many methods. I need to test performance of each method. So what is the way to call methods in the api. I am using HTTP request sampler in Jmeter 3.3. Where shall I specify method in the Request.For example getItemList is one of the method and wsdl is ItemAPI.wsdl

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi, in your case you will have to create multiple samplers per api request (method)

  • @ianhodgetts3313
    @ianhodgetts3313 6 років тому

    Excellent explanation of APIs. I'll be using the waiter analogy in future!

    • @RaghavPal
      @RaghavPal  6 років тому

      thanks for watching Ian

  • @akado5663
    @akado5663 6 років тому +3

    Hello Raghav,
    Thanks a lot, for your very nice videos.
    I have a question, I am using JMeter 3.3 and I don't see any SOAP Sampler
    I have also download Custom SOAP Sampler but I don't see any Field SOAP Action in it and I can not send SOAP Request.
    is there any separate sampler for SOAP in 3.3 to use? if yes where do i get it?
    (I get the follwoing Error:
    soap:ClientSystem.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: .
    at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
    at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message)
    at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
    at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)

    • @RaghavPal
      @RaghavPal  6 років тому

      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan
      jmeter.apache.org/usermanual/build-ws-test-plan.html

    • @akado5663
      @akado5663 6 років тому +1

      Thanks, Raghav for Info.

  • @alludharma5477
    @alludharma5477 6 років тому

    Hi Raghva,
    I just want to say thanks , those videos are helping for beginners .

    • @RaghavPal
      @RaghavPal  6 років тому

      You're welcome Allu,

  • @balaradhsrihari
    @balaradhsrihari 10 місяців тому

    I'm using jmeter for api testing and whenever I hit on my api in the testplan, jmeter gets stuck and opens the api after 10-15seconds, same happens when I hit on sample result of the api in view result tree. I've Uninstalled and reinstalled jmeter and jdk but still my jmeter shows the same issue. Using jmeter 5.6.2 and jdk 21. Pls help me with the issue

    • @RaghavPal
      @RaghavPal  10 місяців тому +1

      Srihari
      The issue you're experiencing with JMeter getting stuck and taking a long time to respond to API calls and view results could be caused by various factors. Here are some potential causes and solutions to investigate:
      1. **Slow System Resources:** Check if your system has sufficient resources, such as CPU, RAM, and network bandwidth, to handle the load of the API testing. If your system is overloaded, it can cause delays in JMeter's response times.
      2. **Network Latency:** Ensure that your network connection is stable and has low latency. High latency can significantly impact JMeter's ability to communicate with the API server.
      3. **API Server Performance:** Verify that the API server itself is performing well and can handle the load of your test requests. If the API server is experiencing performance issues, it can cause delays in response times.
      4. **JMeter Memory Settings:** Increase the Java heap size allocated to JMeter if it's running out of memory. This can be done by modifying the `JAVA_OPTS` environment variable or using the `-Xmx` flag when starting JMeter.
      5. **JMeter Configuration:** Review your JMeter configuration settings, particularly those related to the JDBC connection, HTTP request samplers, and listeners. Ensure that the settings are optimized for your testing scenario.
      6. **JMeter Thread Group:** Adjust the ramp-up period and thread count in the Concurrency Thread Group to manage the load gradually and avoid overloading the system.
      7. **JMeter Plugins:** Disable any unnecessary plugins that might be interfering with JMeter's performance.
      8. **JVM Garbage Collection:** Check if JVM garbage collection settings are causing delays. Consider using the `-XX:+UseG1GC` flag to enable the G1 garbage collector, which may improve performance.
      9. **JMeter Version:** Ensure you're using the latest stable version of JMeter. Older versions may have known bugs or performance issues that have been addressed in newer releases.
      10. **Community Support:** If the issue persists, consider seeking assistance from the JMeter community forums or mailing lists. There may be specific configuration or compatibility issues related to your environment that require additional guidance.
      Remember, performance testing involves understanding the performance bottlenecks and limitations of both the system under test and the testing infrastructure. By carefully analyzing the system resources, network conditions, API server performance, and JMeter configuration, you can identify the root cause of the delays and implement appropriate solutions to improve JMeter's responsiveness.

  • @ravisinha9031
    @ravisinha9031 7 років тому

    Hi Raghav ,Plz suggest how to work this out with JMeter 3.3 the latest version? As there is not SOAP-RPC Sampler in the Menu item

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi Ravi, An Update:
      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan - jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @BobbyMcShibby
    @BobbyMcShibby 7 років тому

    Hi Raghav,
    Thanks for the helpful video.
    Quick question: The SOAP example you provided in the video has shown that it cannot handle 10 concurrent threads and you briefly mentioned what were the next steps you would take to solve the issue. You also mentioned that you have went over this in your previous sessions but I don't remember seeing/hearing them.
    Could you please list or link the video that contains next steps on how to find the root cause and troubleshoot the problem?
    Thank you!

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi Bobby,
      What i mentioned was, using other sessions in this series you can create and get a detailed results including factors like response time, latency and can also get graphical results to better understand the performance issues.
      Let me know if there is anything specific you want to know.

    • @BobbyMcShibby
      @BobbyMcShibby 7 років тому

      Yes, I am aware of being able to find response and latency times, but how exactly do you figure out why it cannot handle 10 users? Or is that something you just report to the dev team and have them figure it out?
      Thanks!

  • @sobyss6379
    @sobyss6379 4 роки тому

    Hi Raghav. thank you for all of your videos. Could you please make a video on Post request of rest api with multiple users for macbook.

  • @priyank17apr
    @priyank17apr 7 років тому

    Hi Raghav,
    I have 2 test cases , its running fine in jmeter.
    now i want to configure my SVN and Jmeter ...Like in code if any changes
    its happened in svn .... test case will execute immediately.

    • @RaghavPal
      @RaghavPal  7 років тому

      You can create commands to run your jmeter test from commandline. Watch this.
      ua-cam.com/video/K26q5VgwLKk/v-deo.html
      And then set it up to run from jenkins. Watch this :
      ua-cam.com/video/mYGQPj78YhI/v-deo.html&list=PLhW3qG5bs-L-PpK83CC_m_bWd_722tvgk
      Then in jenkins you can select source control as svn.

  • @vaidehidiwe4031
    @vaidehidiwe4031 3 роки тому

    HI Raghav, very well explained. Thanks aton.
    Can you share link of session on "How to write groovy scripts" in Jmeter please.

    • @RaghavPal
      @RaghavPal  3 роки тому

      I have not yet done it Vaidehi, will plan on this

  • @jineshjayamohanan414
    @jineshjayamohanan414 7 років тому

    Hi Raghav,
    I was just going through the API Testing tutorial and faced a issue. I am using JMeter V3.2 still no SOAP/XML-RPC Request sampler displayed. Could you please help out.

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi Jinesh,
      Yes, . SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @fitwithbhushanletsdoit578
    @fitwithbhushanletsdoit578 5 років тому

    But this wont handle HTTPS requests, I do not see any Video in your playlist. It would be really great to have that. thanks @Raghav

    • @RaghavPal
      @RaghavPal  5 років тому

      Hi, now we need to use https sampler for api requests and you can provide https in protocol filed. I will make new videos on that

  • @ruchisingh920
    @ruchisingh920 7 років тому +1

    Thank you Raghav for sharing knowledge.you explained it very well.it helped a lot

    • @RaghavPal
      @RaghavPal  7 років тому

      I am glad Ruchi, it helped.

  • @vishal.choudhury
    @vishal.choudhury 6 років тому

    Thanks Raghav, You are an awesome guy.. Really learnt a lot from your tutorials.

    • @RaghavPal
      @RaghavPal  6 років тому

      Thanks for your message Vishal

  • @razvanvancea9002
    @razvanvancea9002 7 років тому +1

    Hello, I installed the XML plugin but the "SOAP/XML - RPC Request" is not displayed in Samples. Can you help me?

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi Razvan, have mentioned this in description of the video - JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan - jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @SnehaLathaM
    @SnehaLathaM 6 років тому

    Thank you for providing these tutorials.Its very helpful for us. In JMETER 4.0, SOAP/XML-RPC Request Sampler is not available. Can you let us know how to do that without this sampler. For REST I did it with HTTP Request Sampler. IS the process same with SOAP service?

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi Sneha, thanks for watching. An Update:
      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @SMallineni
    @SMallineni 2 роки тому

    Hi sir
    Is it good to learn jmeter after postman to get a job
    jmeter is continuation of postman ?
    or its alternative

    • @RaghavPal
      @RaghavPal  2 роки тому

      Yes, it will be a good diverse skill set

  • @RaghavPal
    @RaghavPal  5 років тому

    Online Courses - automationstepbystep.com/

  • @techinbanking6177
    @techinbanking6177 6 років тому

    Dear Raghav, I have one query on the difference in response time using the 2 samplers (SOAP XML RPC request and http sampler). If we are using the SOAP sampler the request is processed faster. Will it not affect the end results? So now the performance becomes dependent on the sampler used. Am I correct or missing something?

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi Prashant, Are all your parameters and configurations for both samplers same. Not sure why is it showing this. Ideally, sampler should not impact server performance.

  • @mehulb8549
    @mehulb8549 6 років тому +1

    Hi...Raghav I m using Apache JMeter 4.0 As I follow your video I can not see SOAP/XML- RPC Request Opthin on Thread group > Add > Sampler >
    can you please suggest how to sort this out. Thank you

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi Mehul
      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

    • @mehulb8549
      @mehulb8549 6 років тому

      Thank you, Raghav

  • @Travelet
    @Travelet 6 років тому

    Hello Raghav, I want to test web services with Auth 2.0 authentication, can you let us know how we can do it?

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi, can you check if this link helps you - stackoverflow.com/questions/41818784/how-to-do-a-oauth-2-0-authentication-in-jmeter?

  • @himabindukethireddy1048
    @himabindukethireddy1048 4 роки тому

    Hi Raghav, I want to create a test plan using IFTTT. Could you please inform me how to proceed

    • @RaghavPal
      @RaghavPal  4 роки тому

      Hi Himabindu, I have to check on this online.

  • @allaniman8829
    @allaniman8829 6 років тому

    Thank you for sharing your knowledge. Your example are clear and easy to understand.

    • @RaghavPal
      @RaghavPal  6 років тому

      Thanks for your message Allan

  • @ishamahajan7834
    @ishamahajan7834 6 років тому

    Hi Raghav, In JMeter 4.0, I cannot find Sampler - SOAP/XML-RPC Request. How and where to look about?

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi Isha,
      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @adisatapathy
    @adisatapathy 6 років тому

    Hi raghav i'm using jmeter 4.0 version there is no soap web service or sopa/xml sampler how can i proceed??

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi Aditya, I have mentioned this in the Description
      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @alvaro2326
    @alvaro2326 6 років тому

    I'm using Jmeter 3.3 and there's no SOAP/XML-RPC Request. Has this been replaced with a different sampler, or is it no longer necessary?

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi Alvaro JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan
      jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @doublewelogs
    @doublewelogs 5 років тому

    very thanks for your videos sharing your knowledge. Your example are clear and easy to understand.

  • @smanap3859
    @smanap3859 7 років тому

    At 14:41 only SOAP API starts, right. Was it mentioned wrongly for REST API a while earlier just before 14,:41?

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi Smana, first part deals with REST and second part with REST. where is the confusion

  • @titirghosh5571
    @titirghosh5571 4 роки тому +1

    Hi Raghav, I find your tutorials extremely useful. Can you please let me know when does an error message like this - "Non HTTP response code: Java.net.SocketException" appear? What does it mean?
    Also, suppose I am testing an application for 400 users. So how to understand what is the maximum load that the application can go under? I mean what is the error message that would be received for threshold load exceeded? Thanks a lot in advance.

    • @RaghavPal
      @RaghavPal  4 роки тому

      Hi Titir, This may usually happen if the server has closed the connection at its end (issue at the server end) or probably an issue with the request that you send to the server (client end)
      For checking the application performance you have to set a baseline (i.e. record the metrics with normal load) and then keep on increasing the load gradually and on every run compare the metrics with baseline (e.g. response time, throughput, avg etc) If you start getting huge differences, that would mean your application (servers) cannot take more load

  • @nitinfudani1552
    @nitinfudani1552 7 років тому +1

    Hi Raghav
    I am trying to prepare the dynamic login script using REST api but facing issues for the same.
    What i have done so far
    1. Prepare the Static Script first, it became successfull for 1 user.
    Now i am trying to do it for multiple users, so i made a csv containing few users and pass the variable as ${username} and ${pword} in place of static values in XML code..and when i run my script, getting 400 Bad request error.
    Please let me know what i am missing in my script?
    Awaiting for your positive response
    Thanks,

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi Nitin, just check the logs to validate if its passing the correct username and password.

    • @nitinfudani1552
      @nitinfudani1552 7 років тому +1

      Thank You Raghav for the quick response!
      Problem Resolved!

  • @prasannavenkatesh998
    @prasannavenkatesh998 6 років тому +1

    Hi Ragav,
    In this video when you give the number of thread count as 10, then some of the SOAP request are failing right? How can i debug why those request got failed?

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi Prasana, you can add listeners like View Results Tree and see the actual request and response.
      In case you get any server side error like 5xx code, then the issue is at server end. i.e.its not able to handle the load.

  • @RafiyaShaikhrafiya
    @RafiyaShaikhrafiya 7 років тому

    My Jmeter doesn't show SOAP XML-RPC under Sampler options...what do i do?

    • @RaghavPal
      @RaghavPal  7 років тому

      SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @kumar.aligeti
    @kumar.aligeti 5 років тому

    Hi Raghav, i need to run multiple APIs and these are inter linked means , after one API runs then i need to take some date from the responce then i need to use that in next Rest API, then i need to hit the 2nd Rest API and some date need to pick up from responce and that data to be used in 3rd Rest API... so this is whole is a set. I need to do perfomrece testing on this ... please tell me how can i do this?

    • @RaghavPal
      @RaghavPal  5 років тому

      Hi Kumara, what are your API format, REST or SOAP, in case of JSON response you can use JSON extractor in case of XML you can use XML extractors. Here are some videos to help
      ua-cam.com/video/7-NcyZuUQnw/v-deo.html
      ua-cam.com/play/PLhW3qG5bs-L-oMT1Cnrurt7gEaLrRub2V.html

  • @Abhishekkumar-ny9lc
    @Abhishekkumar-ny9lc 5 років тому

    Hello Raghav
    Have you uploaded any video on Socket testing using Jmeter. If u have any video or any reference please share the link and thank you for these videos, it help me alot.

  • @alexdan111111111111
    @alexdan111111111111 6 років тому

    You are a very good teacher, thank you very much! I wish you all the best!

  • @shrutikabasatwar3589
    @shrutikabasatwar3589 4 роки тому

    my api collection is ready in postman.Please suggest how can i use that postman collection in jmeter for performance testing

    • @RaghavPal
      @RaghavPal  4 роки тому

      Hi Shrutika, Although I did not try this, following can help
      loadium.com/postman-to-jmeter-converter/
      stackoverflow.com/questions/48009587/postman-script-to-jmeter-script
      apiumhub.com/tech-blog-barcelona/automatizing-postman-test-jmeter/

  • @zaintariq8843
    @zaintariq8843 4 роки тому

    Hello Raghav, So I signed up at website for the API keys and once I Logged in, the server name starts with “samples” Instead of api.openweather.. why is that? My test failed once I changed it to api for IP under web server on jmeter.

    • @RaghavPal
      @RaghavPal  4 роки тому +1

      Hi Zain, In case there are any changes at the api side, you can create the request accordingly. Can also try any other API in case this one is not working. I took this as a demo

    • @zaintariq8843
      @zaintariq8843 4 роки тому

      Automation Step by Step - Raghav Pal sounds good, thank you for getting back.

  • @ganeshghodke3981
    @ganeshghodke3981 7 років тому

    Hi Raghav,I am trying to this web services (API) testing using 3.2 Jmeter. I am unable to found option SOAP/XML-RPC Request under Sampler. is there any other file required for web service. could you please help?

    • @RaghavPal
      @RaghavPal  7 років тому

      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

    • @ganeshghodke3981
      @ganeshghodke3981 7 років тому +1

      Thanks Raghav

  • @veerendhrakumar3853
    @veerendhrakumar3853 5 років тому

    hi Raghav, i have one question for you.
    why Jmeter has 8888 as default port number ?

    • @RaghavPal
      @RaghavPal  5 років тому

      Hi Veerendhra, Not exactly sure on this.

  • @sriharivankayalapati873
    @sriharivankayalapati873 7 років тому

    Hello Raghav,
    I found your tutorials very easy to understand.I run test for 10 users but i get the errors for some requests like (403 Forbidden). so can you please tell me the how to slove this problem

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi Srihari, in case some of your requests are getting passed and some fails, then you probably have uncovered a potential performance issue, that your servers are not able to handle multiple concurrent authentication requests.
      You can look at the logs for further details.

  • @venkateshenumula1345
    @venkateshenumula1345 5 років тому

    I am not getting the SOAP/XML -RPC request in my samplers list. I am using apache J meter v 5.1.1

    • @RaghavPal
      @RaghavPal  5 років тому

      Hi Venkatesh,
      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @sriharivankayalapati873
    @sriharivankayalapati873 7 років тому

    hi raghav,
    i am doing load test in jmeter . i got some errors like non http response code java.net.connectexception. how to solve this problem .

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi Srihari, this looks like an issue from the server side. can check this :
      stackoverflow.com/questions/30164200/getting-response-code-non-http-response-code-java-net-connectexception-for-som

  • @esheetpatel6923
    @esheetpatel6923 7 років тому

    Hi Raghav,
    What to do if my variable is in parameter? For example, my URL is www.lifecharger.org/xyzabc/ND_1000.
    Now when I refresh my page then in my URL xyzabc become qwerty and it changes when you refresh the page and new value is created in place of qwerty. How can I tell JMeter to understand that the URL have new values when JMeter tries to retrieve it?
    How to handle dynamica variable in URL without input name or type?
    Thank you,

    • @RaghavPal
      @RaghavPal  7 років тому

      you can check using correlation

  • @ashwinch3445
    @ashwinch3445 6 років тому

    i dont have SOAP/xml-RPC -Request in JMeter 3.3. Can u show me how to work it in Jmeter 3.3. And evn show it using Body Data.

    • @RaghavPal
      @RaghavPal  6 років тому

      An Update:
      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @hadiaaziz9160
    @hadiaaziz9160 6 років тому

    raghav how can we test API in mobile app testing for example if we are testing some travelling
    app?

    • @RaghavPal
      @RaghavPal  6 років тому

      You can check this - ua-cam.com/video/JFDcgKQ8VFw/v-deo.html

  • @qapitolqauninterrupted2127
    @qapitolqauninterrupted2127 6 років тому

    Hi Raghav, I have apache version 3.2r and in this i am not getting option for Soap/XML rpc request. could you please tell me where I will get it

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi,
      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

    • @qapitolqauninterrupted2127
      @qapitolqauninterrupted2127 6 років тому +1

      thnksss

  • @kowserparvez3355
    @kowserparvez3355 6 років тому

    dumb question ... on the listeners u said to create .csv files ... is it still the .csv file or is it changed for excel ? or anything newer .. thanks

    • @RaghavPal
      @RaghavPal  6 років тому

      Yes you can use csv files

    • @kowserparvez3355
      @kowserparvez3355 6 років тому +1

      thank you sir. appreciate your help ... great videos

  • @user-lc3te3mo1p
    @user-lc3te3mo1p 7 років тому

    Hi Raghav, Can I record a test and check the performance of it instead going for csv file for authentication???

    • @RaghavPal
      @RaghavPal  7 років тому +2

      Hi Partha, you can surely create a test with call parameters hard coded , as well the assertions and do not require a csv file.

  • @jagrutsolanki9753
    @jagrutsolanki9753 6 років тому

    Hi, How can i test my web app which use web-socket for communication With Apache JMeter
    Scenario is like that
    1) Agent Login to application
    2) Visitor send message to agent from Tab-1
    3) Agent pick message of visitor from Tab-0
    4) visitor close chat & close Tab-1
    5) Agent close chat
    6) Logout Agent

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi Jagrut, if you search you will find information on how to test web socket apps with JMeter. I will too try to create a session on this soon.

    • @jagrutsolanki9753
      @jagrutsolanki9753 6 років тому +1

      Thank you. I try searching but couldn't find good resource for that, very less information available for that , waiting for your session.

  • @NageshwarRaoCiliveru
    @NageshwarRaoCiliveru 2 роки тому

    Hi,
    can you give me an example to authenticate using wsdl and process the rest of the wsdl end point using jmeter

    • @RaghavPal
      @RaghavPal  2 роки тому

      I will plan on this Nageshwar

  • @sriharivankayalapati873
    @sriharivankayalapati873 7 років тому

    hello raghav
    I am using 16gb ram and intel core i5, 7th gen machine.
    Can you please tell me the Maximum number of threads supported by JMeter...
    thanks

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi Srihari, see this should help - stackoverflow.com/questions/3528765/jmeter-max-thread-limit

  • @daniaalkhalil8355
    @daniaalkhalil8355 3 роки тому

    hello Ragahv thank you for this video but i don't have the option SOAP/XML-RPC Request Sampler in my jmeter Version 5.4 ! please advice

    • @RaghavPal
      @RaghavPal  3 роки тому +1

      Yes Dania, check the latest videos on API here - ua-cam.com/play/PLhW3qG5bs-L9sCVY1c_vox9blIrIzwEEb.html

    • @daniaalkhalil8355
      @daniaalkhalil8355 3 роки тому

      @@RaghavPal Thank you

  • @janardhanrajagopal6064
    @janardhanrajagopal6064 7 років тому

    I am using Jmeter 3.3 version. I am not able to add SOAP API request. Could you please let me know how to add in the latest version

    • @RaghavPal
      @RaghavPal  7 років тому

      An Update:
      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan - jmeter.apache.org/usermanual/build-ws-test-plan.html

    • @janardhanrajagopal6064
      @janardhanrajagopal6064 7 років тому +1

      thank you very much raghav

  • @mrutyunjaymallik7182
    @mrutyunjaymallik7182 8 років тому

    Hi, Thanks for sharing.
    Is it possible for the given scenario: Output of 1st web service used as input of 2nd web service and output of 2nd web service used as input of 3rd web service. Can you please share...

    • @RaghavPal
      @RaghavPal  8 років тому +1

      Thanks Mrutyunjay,
      Yes its possible through XPath extractor post processor. I will create a session on the same soon.

    • @mitalmajmundar3188
      @mitalmajmundar3188 8 років тому

      Hi Raghav,
      Have you created a video on XPath extractor? Waiting for that as I am having issues related to extracting Countries from the same WSDL that you have used in this video.

  • @manasbarik5301
    @manasbarik5301 5 років тому

    HI , can you please let me know, on 5.1 version , which sampler i use . i got only the http one not the having the soap/rpc sampler

    • @RaghavPal
      @RaghavPal  5 років тому

      Hi Manas, JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan
      jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @Davesjdj
    @Davesjdj 7 років тому

    Hi Raghav, Wanted to know how to test the performance of an api which brings loads of data in response on giving different inputs in request.

    • @RaghavPal
      @RaghavPal  7 років тому

      Are you getting any exception in parsing the data.

    • @Davesjdj
      @Davesjdj 7 років тому

      No Raghav, just wanted to know that is it possible to test such scenario in Jmeter.I am working ona library application. where there is no rush of users but loads of items are returned through API.So is it possible to performance test API's which returns loads of data in return

    • @RaghavPal
      @RaghavPal  7 років тому

      Yes, you can try setting the test and then see if you get any error in logs. Ideally you should be able to achieve this.

  • @hafizuzairhasan2115
    @hafizuzairhasan2115 4 роки тому

    Hi, Thanks alot for this video, I have one question, How can give the image parameter (attributes) in Body Data Like Firstname, Lastname, Profile_image Field for the Post Query in HTTP Request. Thanks in Advance.

    • @RaghavPal
      @RaghavPal  4 роки тому

      Hi Hafiz, I did not get you completely, How do you provide this in functional testing, it will be the same here. stackoverflow.com/questions/48200768/jmeter-send-image-and-other-parameters-together-in-post-request

  • @achinkumarror
    @achinkumarror 6 років тому +1

    SOAP XML RPC Request sampler is no more available in Jmeter ? From where can i get free sopa API?

    • @RaghavPal
      @RaghavPal  6 років тому

      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

  • @ChrisShepard8122
    @ChrisShepard8122 7 років тому +2

    Hi, Your videos are great and have been very useful. Just wanted to let you know the SOAP/XML-RPC Request Sampler has been removed in Jmeter v.3.2. This video needs an update.

    • @RaghavPal
      @RaghavPal  7 років тому +2

      Hi Chris, although this have been mentioned in description and few comments as well. I will plan to create a new version as well

    • @ChrisShepard8122
      @ChrisShepard8122 7 років тому +1

      Hi, Yes I noticed that you mentioned it in the description. I just wanted to give you a heads up for if you wanted to make an update. Some of our newer users to UA-cam might get confused.

    • @yashuverma3811
      @yashuverma3811 7 років тому +1

      how to test API now in the latest version ?

    • @kevivdude08
      @kevivdude08 6 років тому

      @yashu verma: did you find the solution?

    • @sreyashshukla9827
      @sreyashshukla9827 6 років тому

      did you find the soultion?

  • @SahanMendis
    @SahanMendis 8 років тому +1

    Hi can assertions be made for the REST or SOAP responses?
    Also you used "NewDelhi" as your search parameter for the REST API URL, is there anyway to like CSV file to load other cities to be sent per URL call?
    BTW this is a very good video! thank you!

    • @RaghavPal
      @RaghavPal  8 років тому +1

      Thanks Sahan for liking. Yes, assertions can be made on response by using Response Assertions. You can watch this video:
      ua-cam.com/video/mXhC9CtQBC8/v-deo.html
      You can load API parameter from external file like CSV. I will create a video for this shortly.

    • @RaghavPal
      @RaghavPal  8 років тому

      here you go:
      Jmeter Beginner Tutorial 13 - How to read data from csv file (Parameterisation)
      ua-cam.com/video/aH_ZhMrhHhI/v-deo.html

  • @swarnendubhattacharjee2201
    @swarnendubhattacharjee2201 4 роки тому

    Hi..you got the API key by signing up the portal?

    • @RaghavPal
      @RaghavPal  4 роки тому

      There is an option to get API key, You can explore as I will need to go back and check the process again

  • @sriharivankayalapati873
    @sriharivankayalapati873 7 років тому

    Hi Ragav
    i am running distributed load testing . i am adding all rdps ip's add in jmeter properties file . add on the all servers of rdps. but i am getting one error . ie Connection refused to host :172.13.12.32 ; nested exception is: java.net.ConnectException:Connection timed out: connect
    can please tell me answer as soon as possible .
    thank you
    srihari

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi Srihari, can you test manually if your node is accessible from your master machine.

    • @sriharivankayalapati873
      @sriharivankayalapati873 7 років тому

      yes its accessible. it shows on jmeter. and one more thing i am using aws RDPS...

  • @NidsExpressions
    @NidsExpressions 7 років тому +1

    Really Good tutorial! Explained every part of FTP concept very comprehensively! Thanks Raghav:)

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi Nidhi, thanks for watching and learning.

  • @nicholasamodu6676
    @nicholasamodu6676 3 місяці тому

    good afternoon sir. pls i am having this error if i run the test. >> Unable to update attachment reference. how can i resolve it. thank you

    • @RaghavPal
      @RaghavPal  3 місяці тому

      Nicholas
      Let's break down the problem and work through it step by step
      Step 1: Understand the error
      The error message "Unable to update attachment reference" suggests that JMeter is having trouble updating or accessing an attachment, which is likely a file or resource associated with your test
      Step 2: Check the test plan
      Review your test plan to identify any attachments or files that are being used. Check if you have added any files or resources to your test plan, such as CSV files, images, or other types of files
      Step 3: Verify file paths and permissions
      Ensure that the file paths to your attachments are correct and that JMeter has the necessary permissions to access them. Check if the files are located in the correct directory and that the file names are spelled correctly
      Step 4: Check the JMeter log file
      Look for more detailed error messages in the JMeter log file. You can find the log file in the `bin` directory of your JMeter installation. The log file may provide additional information about the error, such as the specific attachment that's causing the issue
      Step 5: Check for file encoding issues
      If you're using a CSV file or another type of file with special characters, try saving the file in a different encoding (e.g., UTF-8) to see if that resolves the issue
      Step 6: Try removing and re-adding the attachment
      Remove the attachment from your test plan and then re-add it. This can sometimes resolve issues with file references
      Step 7: Check for JMeter version issues
      If you're using an older version of JMeter, try updating to the latest version. Sometimes, errors like this can be resolved by updating to a newer version of JMeter
      Step 8: Search online for similar issues
      If none of the above steps resolve the issue, search online for similar problems and see if other users have encountered and resolved the same error
      By following these steps, you should be able to identify and resolve the "Unable to update attachment reference" error in JMeter
      -

    • @nicholasamodu6676
      @nicholasamodu6676 3 місяці тому

      @@RaghavPal thank you sir

  • @aimanjavid8441
    @aimanjavid8441 7 років тому

    in sampler list "SOAP/XML Request sampler" is missing here ..what i can do for that.?

    • @RaghavPal
      @RaghavPal  7 років тому

      SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

    • @aimanjavid8441
      @aimanjavid8441 7 років тому +1

      thats fine ..Thanku

  • @ivanstrelka3448
    @ivanstrelka3448 5 років тому

    Hi bro! Can you tell us about performance testing mobile apps? Thank you so much.

    • @RaghavPal
      @RaghavPal  5 років тому

      Hi Ivan, you can use JMeter to test server-side performance - ua-cam.com/video/JFDcgKQ8VFw/v-deo.html
      www.testbytes.net/blog/performance-testing-tools-for-mobile-applications/

  • @hemaharsh2381
    @hemaharsh2381 6 років тому

    Hello Raghav. such a good information!. How to do simulation of the json file ( Body data) in the jmeter using Http- POST method

    • @RaghavPal
      @RaghavPal  6 років тому

      Replied to your other comment Hema

  • @alyssaandrea3922
    @alyssaandrea3922 6 років тому

    Do you know where can I get the old version? The new version does not have the SOAP/XML Sampler. BTW, really good tutorials. Liked and subscribed!

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi Alyssa, You can get earlier ver here - archive.apache.org/dist/jmeter/binaries/
      JMeter ver 3.2 onwards - SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan jmeter.apache.org/usermanual/build-ws-test-plan.html

    • @alyssaandrea3922
      @alyssaandrea3922 6 років тому +1

      Thank you so much :)

    • @RaghavPal
      @RaghavPal  6 років тому

      You're welcome Alyssa

  • @alokranjan1657
    @alokranjan1657 5 років тому

    I have created the script with my key and its working but when i am try change the city other then London like Bristol, Derby and even Noida then it works but always showing the the City as London in the response

    • @RaghavPal
      @RaghavPal  5 років тому

      Hi Alok, pls check if the data is passed properly in the request, You can use step by step debugger to see the variables and its values. ua-cam.com/video/7JI3GD0ifTw/v-deo.html

    • @igprasad
      @igprasad 5 років тому

      @@RaghavPal Hi Raghav, even i have the same issue, showing city as London eventhough i change the city name, and also if I keep method POST it is giving me error as invalid apiKey, Can you please post another updated video how to test with SOAP API as SOAP Request was removed in new version of jmeter,Thanks!

  • @abhinavanand4076
    @abhinavanand4076 6 років тому

    hello sir can you tell me the best certification for jmeter. I have one Vskills for jmeter plz tell me which is best.

    • @RaghavPal
      @RaghavPal  6 років тому

      Answered your other comment Abhinav

  • @ganeshkamble9078
    @ganeshkamble9078 4 роки тому

    Hello Raghav, Can you help us to do performance testing with protocol buffer ?

    • @RaghavPal
      @RaghavPal  4 роки тому +1

      Hi Ganesh, I will check on this

    • @ganeshkamble9078
      @ganeshkamble9078 4 роки тому

      @@RaghavPal , Appreciated about your time and efforts for teaching us in simple way! Thank you.

  • @lifestyleworld6821
    @lifestyleworld6821 7 років тому

    Nice Tutorial ...Actually the Rest API not working on my machine.I am getting error "500 Internal Server Error".Could please help me on that?

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi Amit, are you testing with the same api as shown in the video. It might be down. Can you check manually.

    • @lifestyleworld6821
      @lifestyleworld6821 7 років тому +1

      Yes, I tried it wid another api and now it's running fine. Thanks !!

  • @esheetpatel6923
    @esheetpatel6923 7 років тому

    Hi. I got one quich question. Will Jmeter show an error if we parameterize invalid username and password from CSV file.
    Thank you,

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi Ishit, JMeter on itself will not show an error if its able to get the value from csv successfully. Its that in the response you will get something like invalid username/password and you can put an assertion over it, to fail if you do not get correct response.

    • @esheetpatel6923
      @esheetpatel6923 7 років тому

      Automation Step-by-Step - Raghav Pal
      First of all thanks Raghav for replying. Can you also help me with what kind of response and assertion I have to use to get invalid username and password error.
      Thanks,

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi Ishit, if you goto response assertions you will get options for http code/ content etc. You can use content assertion here

  • @sriharivankayalapati873
    @sriharivankayalapati873 7 років тому

    Hello Raghav,
    How to pass the token Id in Api to Another Api .. can you please tell me Answer

    • @sriharivankayalapati873
      @sriharivankayalapati873 7 років тому

      can you please give me the your email or ph no..

    • @RaghavPal
      @RaghavPal  7 років тому

      Hi Srihari, you can use correlation - ua-cam.com/video/7-NcyZuUQnw/v-deo.html