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

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