Session 6: API Testing | RestAssured | JSON & XML Schema validations | Serial & De-serilisation

  Рет қаралды 62,140

SDET- QA

SDET- QA

Күн бұрын

Пікірлер: 53
@avishmadan4460
@avishmadan4460 11 ай бұрын
One of the best video i have faced Serialization and Deserialization question multiple times in interview. Trust me this video is way better than paid courses.
@sdetpavan
@sdetpavan 11 ай бұрын
Thanks
@ksdnsdkumar1375
@ksdnsdkumar1375 Жыл бұрын
@4:26 start local API JSONSCHEMA VALIDATION @4:46 Gather JSON response details of URL using GET request in POSTMAN @5:57 Convert JSON response to JSONschema @6:40 Create a package, a class and test method @7:57 Copy that schema into a file and save it in the resources folder of the same project. @9:59 Declaring same URL in GET request in When() @10:53 Validate JSONschema in Then() @13:20 Execute the test XMLSCHEMA VALIDATION @21:47 Gather XML response details of URL using GET request in POSTMAN @23:10 Convert the XML response to an XML schema, then copy the schema into a file and save it in the resources folder of the same project. @24:55 Create a class and test method @26:19 Declaring same URL in GET request in When() @26:57 Validate XML schema in Then() @29:07 Execute the test @31:17 Handling errors SERIALIZATION @45:54 Introduction @51:32 Create a class and test method @54:54 Create a another class for getter and setter methods @55:54 In actual class, call setter methods from another class to declare input data using POJO class object @58:11 Convert POJO class object into JSON object using OjectMapper class (serialization) @01:02:21 Print JSON response in console @01:02:43 Execute the test DE-SERIALIZATION @01:05:36 Store JSON response from previous test into String variable @01:07:52 Convert JSON to POJO class object using OjectMapper class (de-serialization) @01:11:46 Call Getter methods from another class to print data @01:16:23 Execute the test
@xXMrThomasXx
@xXMrThomasXx 7 ай бұрын
Thx for the next great tutorial
@sdetpavan
@sdetpavan 7 ай бұрын
Glad you liked it!
@nagasaimaddula56
@nagasaimaddula56 7 ай бұрын
Excellent session sir
@sdetpavan
@sdetpavan 7 ай бұрын
Thanks
@sureshbabu-er1yy
@sureshbabu-er1yy Ай бұрын
Super videos
@sdetpavan
@sdetpavan Ай бұрын
Thanks
@jakkampudipavansriram1944
@jakkampudipavansriram1944 Ай бұрын
Thank you for the knowledge, my Quarry is where exactly we will use seria and de-sterilization in real time test scenario
@punithgowda3182
@punithgowda3182 Жыл бұрын
Welcome you sir and all.
@softwaretestinglearninghub
@softwaretestinglearninghub Жыл бұрын
thank you for detailed explanation!
@sdetpavan
@sdetpavan Жыл бұрын
Welcome
@NinoK-wx3jl
@NinoK-wx3jl 7 ай бұрын
Thank you so much, Sir
@sdetpavan
@sdetpavan 7 ай бұрын
Welcome
@rsrsn8810
@rsrsn8810 Жыл бұрын
I lost some time, lately joined 😭. I will go though video in conclusion
@venkatnaidu3839
@venkatnaidu3839 Жыл бұрын
Plz do a series on Salesforce Admin/QA with any sample projecrt sir.
@muralidharansivasankaran3422
@muralidharansivasankaran3422 Жыл бұрын
Hi Sir, I am facing the below error for validating Json Schema "java.lang.IncompatibleClassChangeError: Found class com.github.fge.jsonschema.main.JsonSchema, but interface was expected" could anyone help to resolve this? Thanks
@radhekrishnastatus5118
@radhekrishnastatus5118 Жыл бұрын
can you added one dependency like json schema validator
@shankarraj3433
@shankarraj3433 Жыл бұрын
{ "userId": 1, "id": 1, "title": "delectus aut autem", "completed": false } Sir, this the JSONObject which I am trying to convert into JSON Schema. After the conversion by the tools I got JSON Schema. In some tools they say 'userid' field is number and some others they say 'userid' field is an integer. Whether the field 'userid' is number or integer ?
@jayantabanerjee794
@jayantabanerjee794 Жыл бұрын
Thank You Sir
@sdetpavan
@sdetpavan Жыл бұрын
Welcome
@v2factsand327
@v2factsand327 Жыл бұрын
Awesome
@sdetpavan
@sdetpavan Жыл бұрын
Thanks
@chouman98
@chouman98 Жыл бұрын
Hi Mr Pavan , Could please share with us The schema Code?
@nirajraj2208
@nirajraj2208 Жыл бұрын
Sir, I have leant lot of things with the help of your videos, Thank you so much for valuable time sir 👍👍👍👍🙏🙏🙏🙏🙏🙏. I have question """how to insert and update the data in our local json file""" ?
@Lorenzo_786
@Lorenzo_786 10 ай бұрын
Using get and put http request
@nirajraj2208
@nirajraj2208 10 ай бұрын
@@Lorenzo_786 Thank you
@mv8167
@mv8167 Жыл бұрын
Excellent video; however, which video of yours shows the Postman creation of the Schema?
@ravibhushan751
@ravibhushan751 10 ай бұрын
its under api testing playlist where you will get postman plus restassured all videos ...in total 22 these 22 videos are more than enough to master API Testing
@nikhilkumar-qr7tb
@nikhilkumar-qr7tb Жыл бұрын
Please do a series on tosca automation
@bhagyakandregula
@bhagyakandregula Жыл бұрын
getting error "java.lang.IllegalArgumentException: Schema to use cannot be null" how to resolve this sir please help me
@kelvinguobadia2215
@kelvinguobadia2215 Жыл бұрын
Do you have any sql tutorials for beginners please. Microsoft sql server
@Rushikesh-b6x
@Rushikesh-b6x Жыл бұрын
Good evening sir
@mohanramakrishnakonijety9405
@mohanramakrishnakonijety9405 4 ай бұрын
Thank you
@mkv3708
@mkv3708 Жыл бұрын
Do you have power bi tutorial sir
@dipteemahajan9594
@dipteemahajan9594 Жыл бұрын
Please share solution for how to use token while testing api in jmeter.
@kirupaashankar9352
@kirupaashankar9352 Жыл бұрын
Sir totally how many videos u r going to upload for rest assured api ? I’m planning to start practicing ur tutorials
@ravibhushan751
@ravibhushan751 10 ай бұрын
total 12 videos -- first 8 are with all concept and other 4 are framework ...and these 12 videos are more than enough to master rest assured
@Arjun2mkap3929
@Arjun2mkap3929 Жыл бұрын
Sir rest assured is completed are still vedios is there
@ravibhushan751
@ravibhushan751 10 ай бұрын
total 12 videos -- first 8 are with all concept and other 4 are framework ...and these 12 videos are more than enough to master rest assured
@SahilShaikh-y2e
@SahilShaikh-y2e 5 ай бұрын
Please upload the code on the Git and share the link
@peehuzmasti2353
@peehuzmasti2353 Жыл бұрын
Sir i am a subsriber of ur channel. I have 1 yr experience in mobile application testing. But there is a gap of almost 10 yr in my career. So is there any chances to get into software testing again. Please help me out and suggest me what to do to get a job in IT sector.
@shashank7136
@shashank7136 Жыл бұрын
This type of questions is asked to how many years of experience guy?
@healthtips246
@healthtips246 Жыл бұрын
Sir from where i start and end ?
@shankarraj3433
@shankarraj3433 Жыл бұрын
Rest API testing and then Rest Assured.
@jadasuneel-o8p
@jadasuneel-o8p 9 ай бұрын
Could you please share me local API files it is very helpful to us
@Nanicentral619
@Nanicentral619 Жыл бұрын
I want to join this urgently, searching this institute contact number but I can't find anywhere, can one provide the contact number, haviy few doubts
@AbdulRasheed-uf1ns
@AbdulRasheed-uf1ns 2 ай бұрын
thanks for confusing ... the last sentence which you told , you should have told first
@chandrasekarradhakrishnan8932
@chandrasekarradhakrishnan8932 Жыл бұрын
I'm getting this issue when im trying to assert the xml schema below is the error. Ambiguous method overloading for method io.restassured.internal.matcher.xml
@chandrasekarradhakrishnan8932
@chandrasekarradhakrishnan8932 Жыл бұрын
Error Message : FAILED: RestAssured.QueryandPathParameters.validate_XML_SCHEMA_Validation groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method io.restassured.internal.matcher.xml.XmlXsdMatcher#matchesXsd. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.io.File] [class java.io.InputStream] [class java.io.Reader] [class java.lang.String] [class java.net.URL] at groovy.lang.MetaClassImpl.doChooseMostSpecificParams(MetaClassImpl.java:3426) at groovy.lang.MetaClassImpl.chooseMostSpecificParams(MetaClassImpl.java:3402) at groovy.lang.MetaClassImpl.chooseMethodInternal(MetaClassImpl.java:3392) at groovy.lang.MetaClassImpl.chooseMethod(MetaClassImpl.java:3336) at groovy.lang.MetaClassImpl.pickStaticMethod(MetaClassImpl.java:1687) at groovy.lang.MetaClassImpl.retrieveStaticMethod(MetaClassImpl.java:1583) at groovy.lang.MetaClassImpl.createStaticSite(MetaClassImpl.java:3593) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallStaticSite(CallSiteArray.java:73) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:54) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:217) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:231) at io.restassured.internal.matcher.xml.XmlXsdMatcher.matchesXsdInClasspath(XmlXsdMatcher.groovy:95) at io.restassured.matcher.RestAssuredMatchers.matchesXsdInClasspath(RestAssuredMatchers.java:83) at RestAssured.QueryandPathParameters.validate_XML_SCHEMA_Validation(QueryandPathParameters.java:106) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568)
@shaikkareembasha3149
@shaikkareembasha3149 Жыл бұрын
Sir okkasari mee number send cheyyoadi already meeku mail chesanu
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 906 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 29 МЛН
API Testing Using Postman | Crash Course
3:27:51
Mukesh otwani
Рет қаралды 108 М.
Session1: Introduction to API Testing
1:28:06
SDET- QA
Рет қаралды 1,1 МЛН
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 110 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН