Automate Rest GET Call using HTTP Client - Rest API Automation - Part-3

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 พ.ย. 2024

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

  • @Abhi_AdventureAndFitnessFreak
    @Abhi_AdventureAndFitnessFreak 3 ปีที่แล้ว +4

    I was searching for quite a long time to learn and do hands on RestAPI, today i finally able to do everything from skretch and the way Naveen you explained is really awesome. My confidence has grown up now and i guess i will be ready for interview once i complete the whole couse.
    A tutor like you is a blessing for all of us.

  • @raisawate2812
    @raisawate2812 4 ปีที่แล้ว +3

    I have Started my career very late in automation Testing Such videos with end to end explanation are helping hands for me thanks Naveen

  • @sarojjha9243
    @sarojjha9243 5 ปีที่แล้ว +12

    Thanks a lot, Naveen. In the end, you told its little difficult since differing from selenium concepts. My question is ... If one gets a trainer like you and a right attitude to learn like a small schoolboy ...no concept sounds difficult...

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

    Man, I love how you are explaining at a framework level!

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

    I had no idea we could automate api testing in the above manner, thank you so much for enlightening all of us. You are right that one should manually try how api methods work and then it is easier to understand how it can be automated.

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

    So much informative content, everything is covered in depth. Thanks a lot Naveen. God bless you for all this.

  • @harshpatel160
    @harshpatel160 6 ปีที่แล้ว +4

    You are doing really a great work for Students like me.
    But one thing if you can do, just increase font size and try to write coding part in full screen.
    So it make easy to watch specially code. Expecting this it's really amazing platform to learn.

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

    Thank you sir for such a nice video and the beauty is explaining in very simple way that a non IT person will also able to get the concept very clearly. This will help us a lot. Once again thank you Naveen AutomationLabs👍

  • @AvinashRadhakrishnan-o2o
    @AvinashRadhakrishnan-o2o 10 หลายเดือนก่อน

    Thanks Naveen.....The Session was Excellent and it helped me understand the concepts very well. Please keep up the excellent work. Big Salute.

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

    Really appreciated, The way you relate api testing via postman tool and api testing via code. Please go through with part 1 and part 2 before starting this videos in order to understand each line/concept of code. Thanks Naveen

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

    Naveen is apple of our eye

  • @raghavendraaroli2562
    @raghavendraaroli2562 9 หลายเดือนก่อน

    Thanks a lot for posting these videos Naveen Ji ... Its helping me a lot.🙏

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

    This the first time I am able to get everything in one go (from any tutorial video i have seen so far), Saw 5 videos in sequence and they are all very informative and crisp. Excellent Job Naveen. Will go through other videos as well. Thanks for Sharing

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

    Hi Naveen, Firstly thank you so much for your wonderful tutorials on Web services API.
    Its because of you i changed from Rest-assured to HTTPClient (Take that as a compliment).
    Eagerly waiting for your POST Method video.
    Keep up the good work you are doing great and keep rocking.

  • @thiery572
    @thiery572 6 ปีที่แล้ว +7

    I can use these videos as my confidence therapy. :)

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

    Thanks a lot, Naveen I love the way you explain each and every topic

  • @srivuttar
    @srivuttar 6 ปีที่แล้ว +2

    Thanks a lot Naveen. I really enjoyed going through your videos. You have really very good content in Rest API. You explained in details by putting your hard efforts so that anyone can understand. Kudos to your efforts. I am eagerly waiting for POST, PUT and DELETE videos.
    Thanks a ton -- Sridhar V

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

    I would recommend everyone to switch to IntelliJ as their IDE if you are following Naveen. It is much easier to follow his tutorial and practice it along with in IntelliJ as in comparison to Eclipse. IntelliJ intuitively fixes any error and suggests recommended changes. It is fast and easy to use IDE.

  • @sreejithsatish4857
    @sreejithsatish4857 4 ปีที่แล้ว +3

    Hi Naveen,
    Thank you for providing us with all the tutorials with simple and easiest way to learn.
    I have an issue to hit the GET call to the provided URL through eclipse. But when I try the same using the postman it is working fine. Im using a settings.xml for maven built. Is there anything that I have to do as proxy in the eclipse.
    I am getting error as timeout issue. Please help.

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

    Who are these 12 ppl who disliked this video, This is amazing stuff. Superb work Naveen

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

    Thank you is small word for the effort that you are putting.

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

    Really it's an awesome session that you gave to us Sir, am really happy.. thank you pls do continue to do the same excellent sessions ..

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

    If i have to learn something, i will prefer to watch naveen videos
    Thanks Naveen

  • @DeepakYadav-fu9vy
    @DeepakYadav-fu9vy 2 ปีที่แล้ว

    Really Video is Awesome as framework label❣❣❣

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

    i just saw the pre spring era,and it does not look good.Great work dude

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

    Thank you so much @Naveen for such new efforts about REST API , Appreciate your way of teaching and the contents u delivered just awesome. Yes it's took too much time to Understand the new concepts but Now i can say i know something about REST API Testing as well.

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

    Hi Naveen,
    I have followed your project step by steps as per your instructions but at last i have unable to run/execute the test scripts.
    I have found an exception i.e ClientProtocolException.Plz Can you help me.

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

    Thanks Naveen...you are doing social help by posting these videos.. I haven't seen any video for API testing on youtube..
    We are early waiting for your new Video related to POST, PUT DEL....looking forward more videos... :)

  • @mariabajwa8632
    @mariabajwa8632 5 ปีที่แล้ว +3

    So much informative content, Amazing. thank you so much .

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

    You even show how to debug. RESPECT!!

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

    Crystal Clear Explanation.Thank you.God Bless.

  • @PankajSharma-pl3nq
    @PankajSharma-pl3nq 4 ปีที่แล้ว +1

    Hello Naveen, Nice Explanation as always. I have one doubt. At 34:35 why did you had to extend the TestBase Class in your GetAPI Class?
    Is it just to inherit the prop object?
    We could have achieved same result without extending base class and by having the prop object as static ?

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

    👌 teaching. ... thanks sir.

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

    Thanks a lot, i have created the same framework. good to see that everything working fine.

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

    Very helpful..Thanks Naveen 🙌🤩

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

    Thank you so much @Naveen for such new efforts about REST API automation

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

      thanks buddy:)

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

      Hi @Naveen, is it possible to read a session attribute value using http client?

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

    I learned a lot from your video.. Thanks Naveen

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

    I see that the videos are for accessing already developed APIs. Have you done videos on actual building APIs. e.g. with databases.

  • @MyWalia
    @MyWalia 6 ปีที่แล้ว +2

    You are a fabulous teacher...Thanks..

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

    Thanks for sharing this concept.. interesting to watch upcoming videos

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

    @Here, sometimes the Json Object will throw an exception "JSON Text must begin with "{", when your response starts with "[", you can use the below code to overcome that
    jsonrespString = EntityUtils.toString(chresp.getEntity(),"UTF-8");
    int i = jsonrespString.indexOf("{");
    jsonrespString = jsonrespString.substring(i);
    JSONObject respJson = new JSONObject(jsonrespString);

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

    hey Naveen! Do you also have any videos created for Rest API automation using Restassured?

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

    great help 👍👍 really appreciate your work 👏👏 Thanks Naveen!!

  • @mhizlisa2892
    @mhizlisa2892 9 หลายเดือนก่อน

    Please which esclipe tool did you use, maybe I'm using the wrong tool that's why I'm having issues

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

    Hi Naveen,
    I am following your tutorial to build the RestClient using HTTP Client for API testing.
    I am getting SSLHandshakeException while running my API tests. We have 3 environments QA, Demo and Prod. Demo and Prod are using https protocol whereas QA was previously using http and now has been upgraded to use https protocol. My API tests are working fine on the Demo and Prod environment, but failing on the QA environment giving the below exception:
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
    Our DevOps team has updated the SSL certs on the QA server, but it didnt help either.
    Have you ever encountered such SSL Exception and if you are aware of any solution for the same.

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

    Need help, i get an error when i use the code -- " JSONObject responsejson = new JSONObject(reponseString); " -- it says the constructor JSONObject is undefined.. Please reply at the earliest.

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

    Hi naveen , Wat will be best approach for rest api automation!....using rest assured or http client

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

    Is there any inbuilt method in HTTPClient lib to get response Time ?. We have stopwatch in Java , but I would like to know from you if there is any built method in Apache lib. Thanks

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

    Hi Naveen,
    Very helpful videos ,thank you so much!

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

    Hi Naveen, I want to automate put call using Newman or any other method and set frequency to it, is possible to connect with you?

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

    Thank you Naveen, very nice explanation. I started watching 1 video and continued . all the concepts explained very well. I am very new in automation.

  • @i.am.gaurav.khanna
    @i.am.gaurav.khanna 6 ปีที่แล้ว

    Thank you so much Naveen for such informative tutorials. These videos are really helpful and easy to understand.

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

    Thanks you so much sir, you make everything so easy for a new learner 😊. I hope one day I will be like you

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

    Thanks for all your effort Naveen. videos are very informative and helpful for beginners. Can you please advise how can we integrate extent report in backend testing if we are using HttpClient.

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

    Hi Naveen, i am new in automation and i want to learn api automation testing so can you please help me to guide from where i need to start? Do i need to learn coding first. Please help!

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

    Very clearly explained... awesome video...

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

    Hi.. I have been following your methods for automation but just wanted to ask , how can i send notification via email if the get Api is down?

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

    excellent tutorial. thank you so much

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

    Hi Naveen I am beginner for API Automation i have watch carefully from initial level. But now I am stuck in REST API GET Call. I have followed each and every steps carefully but still my code doesn't work.. I don't have any error still out put not reflecting as yours..can you please guide me..what should I do.. please help me

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

    Hi Naveen, Excellent video. How to handle https request using HTTPClient. Please can you share some details on this.

  • @15arpi
    @15arpi 6 ปีที่แล้ว

    hi naveen can you tell how to do RestAPI testing using C# . Will The flow of coding be similar to what you explained and how different it is compared to java thank you in advance

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

    Hi Naveen I am getting below exception and I am not able to resolve it. There is nothing helpful as well on google.
    The code is exactly similar to this video. Please suggest any solution.
    org.testng.testngexception cannot instantiate class

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

    Really Appreciable !!!Thank you Naveen !!!

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

    Awesome tutorial. Please make some tutorial on rest api automation with python and pytest. This is very much demanded in marcket

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

    well informative video

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

    @Naveen Can you please add similar video for Put and Delete methods also?

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

    Thanks Navin

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

    Hi Naveen , Please help me to know that how to get all cookies and extract value from them in Get API

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

    Thanks a ton, Naveen for tutorials. I have used json response as per your video, but getting error java.nio.charset.UnsupportedCharsetException: UFT-8. Pls anyone help me out with this.

  • @Raj-uz9nv
    @Raj-uz9nv 7 ปีที่แล้ว +1

    9c explanation.... Can u tell how many topics are there in core java

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

    Hi Naveen I pass the URL in HTTP get even though the URL is correct it throws an illegal argumentation error. Please help me on this.

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

    Hi Naveen
    I tried executing the code but after running it is showing "java.io.FileNotFoundException: C:\Users\lps02\eclipse-workspace
    estapi\src\main\java\com\qa\config (Access is denied)" error. Can u please help here?

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

    Hi,
    Can i use same script for SOAP API Automation or its only applicable for Rest API Assured?

  • @MohammadAlam-xx3qu
    @MohammadAlam-xx3qu 6 ปีที่แล้ว

    Hello Naveen this is great tutorial, how do we get the code means your all class file is there any location where we can get and use it very easily.

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

    @Naveen for API Automation , rest Assured or HTTP client which one is good?

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

      Jk Heaven both are good. Httpclient APIs are easy to implement. Restassured is more like a bdd approach

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

      Naveen AutomationLabs , but in interviews they are asking about Rest API testing.

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

      What should we tell to the interviewer?

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

      you can mention both http client and rest assured. tell some other tools like postman, rest client etc.

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

      Naveen AutomationLabs please add post, delete and put request

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

    Very informative video.

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

    Hello Naveen. I am getting "javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure" from line "httpClient.execute.." in RestClient.get method. I am using jre1.8.0_251 and httpclient -4.5.12 and httpcore-4.4.13. I have even tried to ignore the SSL error by "creating the HttpClient using HttpClient factory methods and assign the ssl socket factory(TrustSelfSignedStrategy)". would be great if you can guide in this step. Unable to proceed with next episodes due to this error. Thanks!.

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

      Found the solution and thought it might help the others currently. SSLHandshakeException is solved by downgrading JDK/JRE version from 1.8.0_231 to 1.8.0_171. Now the connection is made successfully and the response is received.

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

    Hi Naveen. i am following this video for creating Http get script. But i am getting errors in instantiation. Can u help?

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

    Hi Naveen,
    Thanks for this video.
    I am getting null in the responseString. Can you help here?

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

    As you are using TestNG, can't we assert the response instead of printing it into console. I think, then the validation is also automated. it will be justified with the automated testing.

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

      obviously we have to validate JSON object also. It's there in the next video, I have explained how to validate JSON response using Json API. here u go: th-cam.com/video/mcUpHffY47A/w-d-xo.html

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

      +Naveen AutomationLabs cool thanks!

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

    Hi Naveen,
    I have a question
    Why we automate API using JAVA Code or others ,if we have already tools like Postman, SOAP UI, We can use those tools and automate the API with very less time.

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

      Hi Pavan ,
      tools can be helpful for manual testing , or might even have features to run multiple API call in a batch . but when we talk about a framework JAVA usage will always be required.
      We cant be having a separate framework for API and other front end.

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

    Using rest assured client, api automating is very easy.. Then why don't we go for rest assured Instead of httpclient??

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

    I am getting the below error on executing the code, could any please help.
    org.testng.TestNGException:
    TestNG by default disables loading DTD from unsecured Urls. If you need to explicitly load the DTD from a http url, please do so by using the JVM argument [-Dtestng.dtd.http=true]
    at org.testng.xml.TestNGContentHandler.resolveEntity(TestNGContentHandler.java:115)

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

    Awesome!

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

    This video is very much helpful even to new users of API automation..I want to see video related to hit GET call with url and Headers..anyone please help me

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

    Hi Naveen i am facinf this error
    org.testng.TestNGException:
    Cannot instantiate class com.qa.TestCases.GetapitestCase
    at org.testng.internal.ObjectFactoryImpl.newInstance(ObjectFactoryImpl.java:30)
    at org.testng.internal.ClassHelper.createInstance1(ClassHelper.java:423)
    Please suggest where is the issue.

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

    Hi Naveen,
    I have followed all the steps as per your instructions but unable to run/execute the scripts.

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

      me too.. client protocol exception while executing the get command

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

    Hi Sir, Maven Is not working in my System it’s giving me some error can you Pls help me.

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

    Hi sir i have try this code but iam getting the error org.testng.TestNGException:
    Cannot instantiate class com.QA.Test.GetAPITest so plese give me solution of this problem

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

    Unable to create project from archetype [com.haoxuer.maven.archetype:maven-archetype-quickstart:1.01 -> repo1.maven.org/maven2]
    org.apache.maven.archetype.exception.ArchetypeGenerationFailure: Error merging velocity templates: Unable to find resource 'archetype-resources/pom.xml'
    I got this error.I am newm in API testing.How I fix this?

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

    Hi Naveen, can you please also help me out on Web services and Web jobs performance testing.

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

    I am getting error - .org.testng.TestNGException kindly help

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

      For me also same issue

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

    Thanks a lot Naveen. Got excellent idea of API automation. Can you help me in resolving an issue, I am getting "UnknownHostException/HostConnectionException". Kindly do me the needful. Thanks very much in advance. :)

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

    Hi @Naveen AutomationLabs
    I followed the same code and i see that when i implement the same in my project one API gives 200 and the next get API gives 404.. i tried with several APIs but no use. Can you help?

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

      in this case, u r doing some mistake. need to check ur APIs. it must also work in ur case. have u hit these apis manually using postman? can u share these apis with me?

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

      Hi Naveen, I finally realised that the problem is not with my Code instead the API itself is not working, so it was a bug. Thanks so much.

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

    Hi naveen ...we need same video but using Groovy script and ReadyAPI
    Thanks

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

    Can you please explain this " System.getProperty("user.dir") " from below code??
    FileInputStream ip = new FileInputStream(System.getProperty("user.dir")+"/src/main/java/com/qa/config/config.properties");

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

    hi sir, please tell me how to pass bearer token in this code, developer given me one REST api(post), which is genereated token, whenever i hit this api, it will create new bearer token, and i use this token in POSTMAN, but how to automate this, can you suggest any logic... please sir...

  • @vijaykumar-pd8zi
    @vijaykumar-pd8zi 6 ปีที่แล้ว +1

    I have written complete GET call code but when i tried to execute its showing error Nullpointer exception (Before Method set up configuration is wrong) in the Console. Please i am not able to resolve this one. Please suggest how to overcome this error

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

      same error for me as well Please anyone Help !!!

    • @33pranav
      @33pranav 5 ปีที่แล้ว

      Make sure you are using the same
      annotations as well, beforemethod and test should come from TestNg, maybe you have used Junit in the test.

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

    @Naveen AutomationLabs
    What to do If I have to add authorization Header and other headers with the GET request?

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

      +Dhruv Bhatnagar the same way using headermap in the form of hashmap object.

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

      Naveen AutomationLabs thank you

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

    Why POJO classes use in some framework. Can any body explain