In this article, we will discuss various ways to test web services whether it is developed using SOAP or REST approach
Generally, in development environment whenever we develop web services either using SOAP or REST approach, we need to test web services so as to fix the issues (if any)
- Before integrating with other applications
- Or else exposing to outside world to consume the web services
There are various ways to test a deployed/exposed web services,
- Browser client
- Java client
- SOAP UI
Browser Client
- Advanced REST Client from Google Chrome
- Postman REST Client
- RESTClient Add-ons for Mozilla Firefox
- Insomnia REST Client
Java Client
- HttpURLConnection classes from JDK
- HttpClient or CloseableHttpClient from open source Apache
- JAX-RS classes javax.ws.rs.client like Client, WebTarget
- JBoss package org.jboss.resteasy.client like ResteasyClient, ResteasyWebTarget and Response
- JBoss package org.jboss.resteasy.client like ClientRequest and ClientResponse
SOAP UI Client
- SOAP UI Client from SOAP (free trial version)
- SOAP UI PRO Client from SOAP (license version)
Example: Click on links to get complete demo examples
Happy Coding !!
Happy Learning !!