API TESTING USING POSTMAN|CRUD OPERATIONS IN REST API TESTING

API TESTING USING POSTMAN 33 mins

This web services tutorial explains java rest api,restful web services,postman installation,crud operations in java ,different features of postman,HTTP get post.

QA Section

Speak Your Mind


Rajan Kumar Kaushik

Hi, When I enter localhost:8080 and hit enter, I am getting "this site can't be reach" message even I have closed all the other applications ,restarted the system.Could you please, help me on this.

Reply

Rajan Kumar Kaushik

Could you please let us know the exact link of student app.I have wasted my 2 hours for the same but still not able to find the same. In module 2, there is no "app.Hope",only jar files are there.

Reply
  • Rajan Kumar Kaushik

    got it thanks but I am not able to run it , I am facing the issue.I am running on mac.Could you please, help me on the same.

    Reply

Athmeeya

this student app is not compatable with jdk 17/18 ?

Reply

Athmeeya

Not able to install student app ,error is illeagalstateException and not able to load tej.com.Restapplication

Reply

Himanshu

I am not able to execute the Jar in cmd. I am using Java 11.0.3 version. I tried using the command java -jar --add-modules java.xml.bind rest.jar but getting error Error occurred during initialization of boot layer java.lang.module.FindException: Module java.xml.bind not found with command java -jar rest.jar getting below error ... 50 common frames omitted Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException at org.hibernate.validator.internal.engine.ConfigurationImpl.(ConfigurationImpl.java:129) ~[hibernate-validator-5.2.4.Final.jar!/:5.2.4.Final] at org.hibernate.validator.internal.engine.ConfigurationImpl.(ConfigurationImpl.java:96) ~[hibernate-validator-5.2.4.Final.jar!/:5.2.4.Final] at org.hibernate.validator.HibernateValidator.createGenericConfiguration(HibernateValidator.java:31) ~[hibernate-validator-5.2.4.Final.jar!/:5.2.4.Final] at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:276) ~[validation-api-1.1.0.Final.jar!/:na] at org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.afterPropertiesSet(LocalValidatorFactoryBean.java:248) ~[spring-context-4.3.4.RELEASE.jar!/:4.3.4.RELEASE] at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor$LocalValidatorFactory.run(ConfigurationPropertiesBindingPostProcessor.java:453) ~[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE] at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.getValidator(ConfigurationPropertiesBindingPostProcessor.java:387) ~[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE] at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.determineValidator(ConfigurationPropertiesBindingPostProcessor.java:370) ~[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE] at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:332) ~[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE] at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:303) ~[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1575) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE] ... 60 common frames omitted Caused by: java.lang.ClassNotFoundException: javax.xml.bind.ValidationException at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471) ~[na:na] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588) ~[na:na] at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:94) ~[rest.jar:0.0.1-SNAPSHOT] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[na:na] ... 73 common frames omitted

Reply

Gunjan

To download the app please click below lik https://www.whizdomtraining.com/user/home/download/Rest-Assured and you will have zip folder in that folder you will have Module 2 folder,In which we have the app.Hope this will help anyone is getting confused about download app.

Reply

Amit

I am not getting student App jar in description

Reply

Trainer

It's in code..I have checked Plz download code again

Reply

Trainer

Login to your account Download the code It's inside the code

Reply
  • Hemlata

    No its not. it contains the .xml file online.

    Reply
    • Trainer

      Its there in module 2

      Reply
      • https://Ternopil.PP.Ua

        I'mnot sure why but this blog is loading extremely slw for me. Is anypne else having thiis problem or is it a problem on my end? I'll check back later on and see if the problem still exists. https://Ternopil.PP.Ua

        Reply
      • https://lvivforum.Pp.ua/

        Great article. https://lvivforum.Pp.ua/

        Reply
      • lvivforum.pp.Ua

        Thanks for any other informative site. The place else may I get that type of information written in such a perfect way? I have a undertaking that I'm just now working on, and I've been on the look out for such info. https://Lvivforum.PP.Ua

        Reply
      • https://Bandur-Art.Blogspot.com/2024/08/the-ultimate-guide-to-no-mans-sky-mods.html

        You ought to take part in a contest for oone of tthe best websites on the web. I'm going to hijghly recommend this web site! https://Bandur-Art.Blogspot.com/2024/08/the-ultimate-guide-to-no-mans-sky-mods.html

        Reply
      • https://66Bb4C96E165C.Site123.me/

        Hi there! Thiis post couldn't be written any better! Looking at this article reminds mme of my previous roommate! He continually kept talking about this. I will forward this information to him. Pretty sure he'll have a good read. Thank you for sharing! https://66Bb4C96E165C.Site123.me/

        Reply
      • Darrin

        I’m not that much of a online reader to be honest but your sites really nice, keep it up! I'll go ahead and bookmark your site to come back later. Many thanks https://bandurart.mystrikingly.com/

        Reply
      • https://Zeleniymis.Com.ua/

        I'm very pleased to uncover this site. I want to to thank you foor ones time just for this wonderful read!! I definitely appreciated every bit of it and i also have you saved aas a favorite to see new stuff in your blog. https://zeleniymis.Com.ua/

        Reply
      • Odessa forum

        What's up, I read your blog regularly. Your story-telling style is witty, keep it up! https://Odessaforum.Biz.ua/

        Reply
      • https://Waste-Ndc.pro/community/profile/tressa79906983/

        You're so interesting! I do not think I've truly read something like that before. So great to find somebody with original thoughts on this issue. Seriously.. thank you for starting this up. This web sitye is something that's needed oon the internet, someone with some originality! https://Waste-Ndc.pro/community/profile/tressa79906983/

        Reply


Trainer

Login to your account Download the code It's inside the code

Reply

Punya Mansha

I have only one process 5172(java.exe) running on port. Not able to kill it and application is failing to start ..giving this error "he Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured." C:\Users\XXXX\Desktop>netstat -ao | find "8080" TCP 0.0.0.0:8080 XXXX:0 LISTENING 5172 TCP [::]:8080 XXXX:0 LISTENING 5172 C:\Users\XXXX\Desktop>tasklist /fi "pid eq "5172" Image Name PID Session Name Session# Mem Usage ========================= ======== ================ =========== ============ java.exe 5172 Services 0 88,316 K kindly help.

Reply
  • Punya Mansha

    can you pls help on this

    Reply
    • Punya Mansha

      thanks a lot..it worked after restart

      Reply

Punya Mansha

Not able to access student app thru 8080 port as I dont have permission to kill the processes listening to 8080 port. How to run student app on different port other than 8080

Reply
  • Trainer

    Some application might be blocking 8080. Generally skype, jenkins blocks it Please restart.. close all apps and try

    Reply

Punya Mansha

Pls provide the link for student app.

Reply
  • Trainer

    Login to your account and you will see it

    Reply

Preeti

I am not able to find out the Student App link

Reply
  • Trainer

    Login to your account and you will see it

    Reply

Supriya Shah

Hi Ashish, I am nor able to see the student app link cnould you please share the link to download the app?

Reply
  • Trainer

    Its the code. Login to your account and you will see the code download button on left side

    Reply

Himanshu

Hii, Are you using java with Bdd style or non bdd style?

Reply
  • Trainer

    We have Used Serenity BDD in Framework as well as data driven. So we have taught both - Bdd style AND Non bdd style

    Reply

Vipul Ratnam

I tried Launching Student app but it is not working. Error: "Site can't be reached"

Reply
  • Trainer

    Login to your account. Please download the latest student app

    Reply
    • Vipul Ratnam

      Can you please specify the exact location for downloading the Student app

      Reply
      • Vipul Ratnam

        Please provide the Link

        Reply


Vipul Ratnam

Which Version of JAVA is ideal for this if we are using Windows 10

Reply
  • Trainer

    Please install java 8. It's most stable and supported till 2030

    Reply