Web services | REST | 07 | Automation | API Testing | GET Request | JAVA - HTTP URL CONNECTION Tamil

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 เม.ย. 2019
  • Testing the APIs manually is an important skill to master but automating the API testing is more important than that. In this video, we will see how to automate API testing.
    We will learn,
    1) What are all the ways to automate API testing using JAVA?
    2) Types of third-party libraries like Apache HTTP client, Rest Assured, Google Http Client, Unirest and so on.
    3) How to get the status code via java?
    4) How to get the response message via Java?
    5) fetching the response body.
    Links Explained in the video:
    dummy.restapiexample.com/
    Follow me on Instagram: bit.ly/2Ez36rH
    Facebook: bit.ly/2TqPlis
    #APITesting #Automation #REST #LearnAutomationOnline

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

  • @udayakumar-raja
    @udayakumar-raja 2 ปีที่แล้ว

    The way of your explanation is brilliant . More to go . All the very best.

  • @user-nb3ok4kg7h
    @user-nb3ok4kg7h 4 หลายเดือนก่อน

    More Helpful Arul bro. Please comeback!!!

  • @divyasuresh-sf8df
    @divyasuresh-sf8df 3 หลายเดือนก่อน

    thank u sir

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

    Anna post man tool, response type we can select html/json/xml format. Java.net(HttpUrlConnection class) output response default format Json format ah?. Specified format la code molama retrieve panna mudiyuma Anna?

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

    i'm getting this error when i'm execute morethan time. kindly help me sir.
    the status code is: 429
    Exception in thread "main" Response message: Too Many Requests

  • @vijiviji-jq4wr
    @vijiviji-jq4wr 5 ปีที่แล้ว

    Why we use Buffered Reader here.. And will it append all the data from loop..where stringbuffer needs append function

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

    Bro readline output ah direct ah print pannaley complete ah print aaguthu then y we go for loop concepts?

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

    hi sir. Your Video was so nice. please share the details for PATCH request also and share that how to test these GET, PATCH, POST, DELETE in postman.

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

      Refer the Playlist tab for postman tutorials. Patch is similar to put. If you have the API only you can test for patch.

  • @user-zf6zb1kh2r
    @user-zf6zb1kh2r 11 หลายเดือนก่อน

    Hi,Arul If i run the same script again and again in eclipse,i'm getting the below message:
    Status Message is:Too Many Requests
    first time i got a message : 200 OK. But next time i got it 429:Too many requests. Can i know the reason please.

    • @LearnAutomationOnline
      @LearnAutomationOnline  11 หลายเดือนก่อน

      It’s a demo api. There’s a limit they are setting for the number of requests to be allowed within a period.

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

    what is the diff bt webdriverIO vs selnium ?

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

    Doubt: I too got the output while doing the GET program. My doubt is how we get output without accessing postman? While I execute the program, my postman is seems idle, then how? Even if postman is NOT installed in my machine, still will I get the output?

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

      there is no link between postman and ur javacode, postman u can do manually that's it. same we did without postman.

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

    Hi Arul,
    When I try this URI in my personal laptop, am able to get the response. But on my corporate network(private network), am getting error as "java.net.UnknownHostException: dummy.restapiexample.com".
    I can understand am behind firewall and due to proxy am getting this issue. How to handle this. Do we need any configuration setup or any code to achieve this.
    Note: am getting response when I hit the same URI in browser. Thanks in advance

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

      U have to add this host to your host file entry. Then it will work.

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

    Hai arulprasath...I am following all ur testing videos...gained good knowledge ...I am planning to apply for a job..have no experience...8years career gap...all companies expecting experienced tester..how to overcome this

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

      Hi, you can learn manual testing and since u don't have experience u prefer certification like istqb and then u start applying.

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

    3:15
    bro can u share the related docs
    to practice other comments in apis

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

      Have given for Google http and rest assured. Unirest I have explained in detail in the next videos. Apache http client has so many examples online. In the below website also you can refer.
      www.baeldung.com/google-http-client
      www.baeldung.com/rest-assured-tutorial

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

    Bro project support pannuveengala? Api

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

    RestAssured third party library video creation link ,please share me

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

      I haven't posted videos rest assured . It's very similar to unirest

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

    You have created dummy apis on ur own in one of your videos. Can yu send that url

  • @ragavendra-ti6bg
    @ragavendra-ti6bg ปีที่แล้ว

    Can you please source code used in this tutorial