Good Video to understand the rest services execution by using Katalon.. Great Job
@RaghavPal4 жыл бұрын
Glad it was helpful Govind
@whereweregoingwedontneedey43743 жыл бұрын
Great video, thanks
@RaghavPal3 жыл бұрын
Glad you liked it!
@mohammedvaseem35624 жыл бұрын
Hi Raghav, thank you for clear crispy and best explanation. Question: what is the difference between postman and katalon. Which one is having more advantage and more market share. Thanks in advance
@RaghavPal4 жыл бұрын
Hi Vaseem, Postman is for API, Katalon can handle web, api, mobile and desktop. Postman can be used for free although it has paid accounts as well. Katalon's free ver is very limited and will have to go for licence
@mohammedvaseem35624 жыл бұрын
@@RaghavPal thank you Raghav. Much appreciate your work..
@joshuawrixon27672 жыл бұрын
Hi, Is it possible to use a variable or global variable as the property value for a response body: JSON value check? If so, how would you need to display this? Thanks
@RaghavPal2 жыл бұрын
You can
@joshuawrixon27672 жыл бұрын
@@RaghavPal Thanks for getting back to me, sorry for the delay in my response (I've been away). As an example, I am using the 'verification' tab to verify the following with a hardcoded value: WS.verifyElementPropertyValue(response, 'address.postcode[0]', 'DE1 3GL') How would I amend this to reflect using a variable? In the 'variable' tab I have named a value 'Postcode' and given it a default value but I can't figure out how to link the two together at the moment. Thanks
@joshuawrixon27672 жыл бұрын
@@RaghavPal Hi, Would it be possible for you to please reply to this comment with a demonstration of how you would write a variable and/or a global variable as the property value for a response body: JSON value check? Thank you
@shanthiva64323 жыл бұрын
Hi Raghav, Is it necessary to include the Object Repository feature in Katalon for individual test cases and then include them in the TestCase Section? I have written a groovy script in the keyword section for Auth request and it is working fine.
@RaghavPal3 жыл бұрын
Hi Shanti, it is a defined structure for easy maintenance, If what you are doing working for you and you can maintain it, its okay
@shanthiva64323 жыл бұрын
@@RaghavPal It is not working for me since each time I write a TC, it is asking for test object and directing to Object Repository
@RaghavPal3 жыл бұрын
Hi Shanthi, I believe for Katalon , you will have to follow the structure
@shanthiva64323 жыл бұрын
@@RaghavPal Looks so.. I was able to use object repo and do Data-Driven..
@RaghavPal3 жыл бұрын
okay
@iridescent105 жыл бұрын
Hello Raghav, Thank you for all the videos you provide us regarding testing automation!! I have a problem with automating my API project. I need a way to send API with OAuth2.0. For example, i want to send a POST call with Bearer {{token}} in the Request Header. I previously generated via a Login call the Token.. and stored it as a Global Variable... From what i noticed, Katalon cannot mention variables in request header (or at least I couldn't make it work)... and neither does it support OAuth2.0 ... Thank you for all your work and any kind of information is very appreciated!
@RaghavPal5 жыл бұрын
Hi Viorel, I am not sure if you have already tried this forum.katalon.com/t/how-to-add-oauth-2-0-authorization-header/8850 There are some workarounds mentioned.
@asifuzzamanbappy12975 жыл бұрын
Going Through This Playlist Once Again, Got A Question Though "Send request and Verify - ListUsers" Does Not Verify Json Elements ( name & id )Except Response Code!! But Verification Runs Fine From Object Repository Though!! Any Thought On This?? Thanks In Advance..
@RaghavPal5 жыл бұрын
Hi Asif, ideally it should run all the verification sinippets that you have added in the request. In case you face any issue in that can write in katalon forum
@alexfrolov36195 жыл бұрын
good
@RaghavPal5 жыл бұрын
Thanks for watching
@tanmaisharma37745 жыл бұрын
Hi, Is Travis Ci integration with Katalon Studio available? It is used in my org. or even CircleCI if you know. Thanks
@RaghavPal5 жыл бұрын
Hi Tanmai, I have not tried, but here are some links that suggest you can do it with docker www.katalon.com/technologies/ forum.katalon.com/t/can-katalon-work-with-travis-ci/12345
@shanthiva64324 жыл бұрын
Hello Raghav, Please let me know if you have any videos for Authorization. I am unable to run the scripts for REST api authomation
@RaghavPal4 жыл бұрын
Hi Shanthi, not specific to authorization, I have shown that you can add that in authorization section. Let me know what is the issue you're facing
@shanthiva64324 жыл бұрын
@@RaghavPal : I have included the authorization but when i running the suite the token is not getting updated. Is there a way to store it in a variable and the use in in headers for individual test cases
@RaghavPal4 жыл бұрын
Yes, pls check the videos on req response chaining where a response value can be extracted and stored to be used by other requests
@shanthiva64324 жыл бұрын
@@RaghavPal Thanks Raghav
@shanthiva64324 жыл бұрын
Hi Raghav, I was able to generate the script for Authorization. Is there a way you can verify it.
@1sunflower20052 жыл бұрын
How to get the user counts? Thank you!
@RaghavPal2 жыл бұрын
will need more details on this
@1sunflower20052 жыл бұрын
if get user returns 3 users how to validate the count is 3?
@RaghavPal2 жыл бұрын
Okay, you just need to extract the number using JSON Path or Xpath and then compare it as per your needs, You can take help from the API Chaining video to see how to extract
@1sunflower20052 жыл бұрын
Appreciated!! Have had lots of help from your videos.
@maggiechang66534 жыл бұрын
Hi Raghav, thanks for the tutorial that helps me to start learning the automation test. I have a question about the error "com.kms.katalon.core.exception.StepFailedException: Unable to verify element property value ". the locator and value in a verify step "WS.verifyElementPropertyValue(response, 'status', '0000')" are identified from jsonpath. May I have your help to know what the root cause to get this error?
@RaghavPal4 жыл бұрын
Hi Maggie, I believe you will need to add the json path of the node you need to verify. In the response of the api, you can click on the value and press Ctrl+K (Command+K for mac). This will generate a verification snippet in the verifications tab and from there you can copy the json path
@shanthiva64324 жыл бұрын
Hi Raghav, Thanks for the video. I am an API Tester trying to automate my API's. In this video it is mentioned about no Authorization. But in my API i am using Authorization using Bearer token. Can you please help me with this topic
@RaghavPal4 жыл бұрын
Hi Shanthi, there is the section (tab) where you can add your authorization. I will plan to add a video, for now can take help from katalon documentation.
@shanthiva64324 жыл бұрын
@@RaghavPal : Thank you Raghav. Is there a way i can send you a mail on what i am looking for.
@RaghavPal4 жыл бұрын
You can but replies on mail is very delayed and here other can also see your issue and help
@shanthiva64324 жыл бұрын
@@RaghavPal : I am using authorization Bearer token and storing them in a variable access_token. This token value changes on TST and STG. So i don't need to run the authorization request each time. I need help automating it.
@shanthiva64324 жыл бұрын
@@RaghavPal : Hi Raghav, I need your help. Please help me in this. I have trouble in automating this part.
@pratheepkumar42184 жыл бұрын
Hi sir, in postman I'm getting access token easily. But kalaton if I give correct information to the authorization page, I am not getting the access token Here. How to tackle.
@RaghavPal4 жыл бұрын
Hi Pratheep, I will have to see your request and setup, Also check if any of the videos in this playlist helps you - kzbin.info/aero/PLhW3qG5bs-L-yy1HtdxKcp-blmG5qeWgg
@classygg13003 жыл бұрын
Hi sir, I am developing an automation test on katalon in which the user will click on a button present on my site and then the automation test will run on the katalon installed on my server using Jenkins, the problem is I want the user to enter the captcha or OTP. Can I use API to send that captcha image to that user by sending a popup that will contain that captcha with an input element and when the user will submit captcha my catalog project will submit the form after receiving it. Please tell me which technology I should use how it could work. The user won't have selenium installed on its pc. He will interact on the site and the site will trigger the katalon script which will contain user id of that particular user.
@RaghavPal3 жыл бұрын
You can try the api way
@dheerajsingh65686 жыл бұрын
Hi Raghav, I am very much confused in API testing means from where should I start learning ?? Do you have a complete playlist of api testing list coz on checking your playlist I didn't find any complete playlist. So please advise me and also which api tool is best katalaon or soup UI??
@RaghavPal6 жыл бұрын
Hi Dheeraj, You can check the playlists here - automationstepbystep.com/api-testing/ For Katalon Studio, there will be more videos added in the playlist.
@yemimafebeyantimarpaung86922 ай бұрын
Halo Raghav, why in my katalon isn't show the verification log? i'm already follow ur instruction.
@RaghavPal2 ай бұрын
Yemima It can be due to change of version.. hope you are using trial or licensed version
@tannislearn54544 жыл бұрын
After running this snippet : WS.verifyElementPropertyValue(response, '.data[0].first_name', 'George') as per your instruction my test was failed and getting this error. ------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2020-06-28 16:04:40.527 ERROR c.k.k.core.main.WSVerificationExecutor - ? Verification FAILED. Reason: com.kms.katalon.core.exception.StepFailedException: Unable to verify element property value (Root cause: groovy.lang.MissingPropertyException: No such property: data for class: Script1 at Script1.run(Script1.groovy:1) at com.kms.katalon.core.webservice.helper.WebServiceCommonHelper.parseAndGetPropertyValueForJson(WebServiceCommonHelper.java:162) at com.kms.katalon.core.webservice.keyword.builtin.VerifyElementPropertyValueKeyword$_verifyElementPropertyValue_closure1.doCall(VerifyElementPropertyValueKeyword.groovy:52) -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
@RaghavPal4 жыл бұрын
Hi, sorry for late reply, can you try after deleting the . from .data[0]
@Vodkanology4 жыл бұрын
Hello again Sir, may you always have a good day. Do you mind if I'm asking some questions ? 1. I'm using Katalon version 7.52 and while following your steps I noticed that my verification log display is not like yours. It's very messy and there were no [START] - [INFO] - [PASSED/FAILED] - [END] in every verification steps. It's hard to read. Is there anything wrong with my Katalon setup and how could I make my log look like yours? Here's my screenshot for my verification log display imgur.com/a/CFqhv7i 2.In my object repository , If a verification that was placed on the top of others verification is Failed, then the test will be stopped and all the rest of the verifications won't be checked. Is there anything I should do to make all the verifications checked even there's a failed one? I've tried changing the setting in the Project to " continue on failure" but nothing happens. I apologize if I'm asking too much. Thank you in advance for your time. Have a blessed day.
@RaghavPal4 жыл бұрын
Hi, I know there are some changes with Katalon Studio latest version and I am planning to create new tutorials. For now you can check with katalon documentation For test stopping on failure you can set Failure Handling. docs.katalon.com/katalon-studio/docs/failure-handling.html