Katalon Studio 18 - How to test API with Katalon Studio

Поділитися
Вставка
  • Опубліковано 21 жов 2024

КОМЕНТАРІ • 127

  • @Lana-gi7ox
    @Lana-gi7ox 6 місяців тому +1

    Thank you very much for this tutorial. Easy to follow, despite it was made 5 years ago.

    • @RaghavPal
      @RaghavPal  6 місяців тому

      You're very welcome Lana

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

    Great Video Raghav Pal. I am going to use Katalon studio in my project for API testing. This is very simple & informative to me, thank you for all the efforts you have put in this.

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

      Glad it was helpful Girish, you can check the latest Udemy course on this here - automationstepbystep.com/udemy-discounts/

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

    Just watched this video. Really straightforward and Informative.

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

    Excellent and very clear lessons. Thank you very much!!!!!!

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

      You're welcome Steve

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

    Thank you for sharing this video

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

    Dear Raghav this course Help me alot, i automated the process using Katalon in Company , Please Give me a Favour to Update this Video, lots of Video are made of old version of Katalon as this video, i Currently using 6.3.3 Version, Thanks Man for your efforts❤️!

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

      You're welcome Asad. I know these are turning old. I will try to come up with a new ver soon

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

    @ Automation Step by Step: Raghav, can we use Data-Driven for verifying Various Param values. eg : 1) for valid start data 2) valid end date 3) valid start & end date

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

      HI Shanthi, you can create data as per your need and update the tests accordingly

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

    Hi, Question: For the validation of a locator value why use the locator value and not just "Contains String" instead?

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

      Hi, there are multiple ways we can do it

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

    Thank you. Loud and Clear :-)

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

      You're welcome Sameera

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

    Hi Raghav,
    Thanks for the new API session.
    How different and benefit it is from rest assured ? expecting a lots from you :-) Request you to cover as a complete demo project including git hub, jenkins integration. Can we integrate extent report api and cucumber here .

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

      Hi Manoranjan. thanks for watching. While with rest assured you have to add the lib in your project and do all scripting, here the main focus is to make test creation easy and simple. Talking of functionality both are at par. Somebody who does not want to go deeper into coding will like it more.
      I will do a complete demo project soon.

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

    Dear sir Raghav, may I ask for the best practice if the data is alot like 200+ data. Do we as a Tester need to create 200 test cases too for ID 1 - 200? thank you very much sir

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

      Hi Ronny, no, that is the use of data driven that you can use diff sets of data on the same test case, No need to create multiple test cases

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

    Excelent video man!

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

    Hello Raghav , can you cover API test cases topic , what should I keep in mind when I design the test cases .How to perform API testing in real world scenario ? Not about using specific tool but talking about approach .

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

      Sure Neha, will plan on this

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

    How to handle Arraylist in Request body?
    I have a json request something like
    {
    "Data": {
    "ItemsList": [ "value1", "value2","value3", "value4"],
    "DateTime":"datetimevalue"
    }
    }
    I am trying to check invalid and empty values in Itemslist array.
    On using Globalvariable.ItemsList, its printing me [value1, value2,value3,value4]
    If I pass Globalvariable.ItemsList in the script of SendRequest, i am getting 400 error, invalid request params

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

      Try to print and check if the data is getting referred properly from Global Variables

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

    Very Nice video, well explained tutorial. Do you have any video covering groovy scripting in Katalon Studio to automate api test cases?

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

      Hi Saranga, I have some videos touching some basics on this. You can find all here - automationstepbystep.com/909-2/online-courses/

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

    I tried to register into an account
    Gave creds->Clicked on Continue button->It generated a Dynamic 4 digit OTP
    Switched the tab and opened a url to hit an API which generates the OTP in the below fashion.
    “CODE-SPLIT”: [
    “4”,
    “7”,
    “9”,
    “8”
    From this Tab2, I need to copy/grab each number every time and switch the tab to Tab1. Paste the copied number i.e., 4 _ _ _
    Switch to Tab2 copy/grab the next number i.e., 7 -->Switch to Tab1 paste the number in the 2nd place i.e., 4 7 _ _
    Similarly for remaining two ,copy and paste the numbers by switching between the tabs
    Hurdle is OTP is dynamic.
    Any suggestions on this issue? Should I store the response some where every time or is there any better approach for this issue.

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

      Hi Ayesha, If you are getting OTP as an API response, you can store it in a Global variable and then use it in any subsequent request. You will find videos on chaining in this series

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

    Hi, I am trying to test the ZAPI (Zephyr API for JIRA) I am getting 500 error while using the PUT method. Can u please help me..
    - Thanks.

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

      Hi Ravi, 5xx is usually error from server. Have you checked your JIRA instance is up and running. Also check your request parameters, authorization etc.

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

      Hey Raghav, Everything seems to be fine mate. Still the error. Can I have a paid consultation call with you for 30 min plz.
      Do lemme know.

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

      Hi Ravi, will not be able to do calls. You can check the detailed logs

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

    Hi Raghav, thank you for the video..I successfully executed the testcase with one verifyelementpropertyvalue. But how do i verify multiple elements with single testcase. Please advise..thanks

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

      Hi Bhargav, You will either have to use the keyword for each element, Or you can create a custom keyword for your use. ua-cam.com/video/EhOWqEsv9S0/v-deo.html

  • @ShashiBhushankumar-vw9ol
    @ShashiBhushankumar-vw9ol Рік тому

    Hi Raghav regarding the Katalon Studio Version 8.5.5 I am facing one issue after creating the Test case When i adding the Verifying the element Property value when i am adding the Input as a value then Param type is showing Object for me so I am not able to verify the Name because it should be String.

    • @RaghavPal
      @RaghavPal  Рік тому

      Hi Shashi,
      Check the documentation of the keyword
      docs.katalon.com/docs/author/keywords/keyword-description-in-katalon-studio/web-service-keywords/ws-verify-element-property-value
      Ensure you are using it as per the syntax
      You can also try to use different type of verification keyword such as "verifyElementAttribute"
      you can also try to debug the script and see the actual output of your input variables.

  • @ErlanggaEr
    @ErlanggaEr Рік тому

    Hi Raghav, are you able to open katalon studio with the newest mac os ventura, it keeps crashing on my laptop(8.5.5 katalon)

    • @RaghavPal
      @RaghavPal  Рік тому

      Hi, not tried on Ventura, you can let the support team know and can also check on Katalon Forum

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

    Thank you for the video Raghav, I'm having conflict understanding what authorisation/OAuth is and how to use them. Kindly explain. Thank you.

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

      KIndly buttress on soap and rest API.

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

      I will do these sessions soon Orji

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

      @@RaghavPalPal, Thank you and I will be looking forward to the session. I will most appreciate it if I get a notification.

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

      You can subscribe and hit bell to get notifications

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

    Amazing, thank you!

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

    Great, TY Raghav !

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

      You're welcome Danny

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

    sir i have a question for you
    i want to get the data from the website and store into the database how can i do it ??
    and that would be on regular bases

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

      Hi Ahmad, for getting data from DB there are in-built features, for storing into db. use DBMS plugin - store.katalon.com/product/24/DBMS-Keywords

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

    Do you have another SOAP WSDL url? the link that you provided, I cannot access

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

      Hi Yan, you can check any working service like www.dneonline.com/calculator.asmx

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

      @@RaghavPal thanks! BTW, your videos are amazing and nice

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

    Hi Raghav, how can I verify element property value for a SOAP test? Do I need to get path for target xml tag?

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

      Hi, Yes you will need to give the path to get the target element and then validate it

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

    Hi Raghav,
    I have created a test case for REST API and while executing nothing happens. I went to Log Viewer and Progress option but nothing is being shown.
    Can you please help me this issue as what might be the problem?

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

      Hi, Can you check with a diff request

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

      @@RaghavPal Hi. The same test is working now without any configuration changes. I just restarted my system and it worked. By the way thanks a lot for your kind response. Could you please tutorial videos according to the new releases of katalon studio?

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

      I will do

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

      @@RaghavPal Thanks a lot. Request you to please make videos of some live project. I am new to Katalon and groovy.. it would help me and other new comers too.

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

    Hi Raghav, I followed your tutorial but I am receiving this error when testing the response 200 status code:
    groovy.lang.MissingPropertyException: No such property: Response for class
    need help?

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

    Can we Automate GraphQL API using Katalon ?

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

      Hi Ashwini, no idea on this. You can check on Katalon Forum forum.katalon.com/

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

    Hello Raghav!
    First of all thank you very much for all the great content you provide on your channel. It's absolutely GOLD!
    Second, i am totally new with Katalon and also fairly new with automation. I need help with the following:
    I want to test via API calls an End to End flow. I wish to use the processId from a POST response in another request that needs this processId in the body.
    The processId is unique and generated for each of the start_process POST request.
    Is there a possibility to use that id as a variable or something similar, without the use of groovy/java scripts?

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

      Hi Viorel, yes you can do this, can store the value from a response of a step and then use this in any subsequent step. Check here - docs.katalon.com/display/KD/Handle+Response+Messages

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

    Hi Raghav, how can we get part of response and store it in variable and same variable how we can pass to header.please let me know

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

      I will do that Kranthi

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

      Hi Raghav, like Kranthi, I am interested to know that too for my project. Please update. Thank you for a wonderful video. Very useful.

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

    Hi Raghav, Could you please let me know the steps how to add attachment / image file format of image/png, image/jpeg, application/pdf ,as part of soap WSDL ingestion / create content in katalon studio.

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

      Hi Santoo, not explored it, will check,

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

    Hi raghav, I am unable to connect to db2 ,, if you have solution please share it

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

      Hi Jamess, I have not tried, You can let me know your process and error you faced

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

    Hi Raghav,
    How can I generate a random number at the "http body" (POST).
    The JSON file I'm using at Postman is contain :
    "identifier": "Eytan{{$randomInt}}"
    that line gives random number every time I'm sending the API POST request. the problem is that Katalon is no support the " {{$randomInt}}".
    can you help me generating random number in the HTTP body at Katalon studio?
    Thank you

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

      Hi Eitan, if its not already present you can write a custom keyword and call it and use its value.

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

      Hi, thank you for you answer.I don't think i got it. do you mean it the HTTP body field? what keyword would give me random number?

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

      I meant, you will need to do scripting to create a program to create random integer and make a custom keyword that you can use. You can see this ua-cam.com/video/EhOWqEsv9S0/v-deo.html

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

    Nice ir
    Thank you

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

      You're welcome Poongodi

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

    hi ragh I got an error when verifying the element property (groovy.lang.missingproperty) help please

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

      Hi, I will need to check the complete logs to troubleshoot

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

      @@RaghavPal I got it now thank you

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

    Hi, I have one question, suppose we have 10 test cases and I need to execute them in 5 different ip's(multiple environment).
    Then how it can be possible to create multiple environment in KATALON.?

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

      Hi Ajeet, great question, fortunately with Katalon 5.4 ver we can do this using execution profile
      docs.katalon.com/pages/viewpage.action?pageId=13697476
      I will try to do a video on this tomorrow.

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

      Automation Step by Step - Raghav Pal
      Thanks Raghav for your quick reply.
      I'll wait for your video. :-)

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

      Here you go - ua-cam.com/video/fPuaDNKjNYQ/v-deo.html

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

      Automation Step by Step - Raghav Pal Thank you Raghav.... This is very helpful video for me. Now I can able to execute my test case in multiple environment.

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

    How we can locate ours request API with parameters and method type?

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

      Hi, I did not exactly got your use case, Can you please explain

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

    Hi , am getting - Received fatal alert: handshake_failure , working on Katalon Version: 5.7.1 . Could you pls help here. (same steps followed from Video)

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

      Hi, which step exactly you got this.

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

      Hi , I got every time , try to send the request , to be sure the step at 7:51 in video , I referred some sites , it looks some issue with Katalon , is it required any such Jira configuration ? my concern is , its same executed from your's. Thanks.

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

      So if you got it just once, it might be some issue at server end. You can also check by invoking the endpoint from browser.

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

      No , every time I worked on katalon getting this error , No issues with other tools like SOAPUI , Jmeter . Other also facing Same issue with Katalon . Here can refer the Support - forum.katalon.com/discussion/4358/displaying-received-fatal-alert-handshake-failure/p2

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

      Okay lets see the response to the support query. You can meanwhile try with some other ver of Katalon Studio, just to ensure this is not issue with this ver

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

    How do you shake android device in Katalon? Please!

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

      Need to check this Luc, try looking at Katalon documentation

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

    Thanks 🙏

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

    Hi bro can you tell me about how to integrate chef with jenkins

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

      Hi I will plan to do a session on that soon.

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

    Hi sir how to use swipe options in katalon studio. Plz

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

      Hi Rajesh, swipe functionality is in-built. see here - docs.katalon.com/display/KD/%5BMobile%5D+Swipe

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

    Hi, I’m getting a handshake error upon testing the api. But when i test the url in postman it works. Help me 😭

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

      Hi Angela, do you have logs & setup details

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

      hi, now it works with 5.8.0 version of katalon. i just donwload a new versino of katalon and it works! weird ahaha anyways, how can i use the access token from one api to another in katalon?

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

      Great to know that. I am going to create a session for this soon.

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

      thanks! we need that video for our api testing :D

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

      Will publish this soon.

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

    Thanks

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

    Why are there no videos in Spanish of this kind?

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

      I will be glad if somebody can translate it into Spanish

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

      Try to learn English then.

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

      teach me 7u7

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

    still waiting for the SOAP testing you mentioned

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

      Hi Vic, I remember, I am in the process to wind up a current assignment and will start soon on this.

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

      Hi I am stuck with using the SOAP....please count my request for Soap...