SoapUI
Top 15 SoapUI Interview Questions & Answers
1) Explain what is SOAP UI? SOAP UI is a free, open source cross-platform functional Testing...
1) Explain what is REST and RESTFUL?
REST represents REpresentational State Transfer; it is a relatively new aspect of writing web API.
RESTFUL is referred for web services written by applying REST architectural concept are called RESTful services, it focuses on system resources and how state of resource should be transported over HTTP protocol to different clients written in different language. In RESTFUL web service HTTP methods like GET, POST, PUT and DELETE can be used to perform CRUD operations.
2) Explain the architectural style for creating web API?
The architectural style for creating web api are
3) Mention what tools are required to test your web API?
SOAPUI tool for SOAP WS and Firefox "poster" plugin for RESTFUL services.
4) Mention what are the HTTP methods supported by REST?
HTTP methods supported by REST are:
5) Mention whether you can use GET request instead of PUT to create a resource?
No, you are not supposed to use PUT for GET. GET operations should only have view rights, while PUT resource is used for updating a data.
6) Mention what are resources in a REST architecture?
Resources are identified by logical URLs; it is the key element of a RESTful design. Unlike, SOAP web services in REST, you view the product data as a resource and this resource should contain all the required information.
7) Mention what is the difference between AJAX and REST?
AJAX | REST |
|
|
7) Mention some key characteristics of REST?
Some key characteristics of REST includes
8) Mention what are the different application integration styles?
The different integration styles include
9) Explain how JAXB related to RESTful web API?
JAXB stands for java arch for XML binding.
10) Mention what is the difference between PUT and POST?
"PUT" puts a file or resource at a particular URI and exactly at that URI. If there is already a file or resource at that URI, PUT changes that file or resource. If there is no resource or file there, PUT makes one
POST sends data to a particular URI and expects the resource at that URI to deal with the request. The web server at this point can decide what to do with the data in the context of specified resource
PUT is idempotent meaning, invoking it any number of times will not have an impact on resources.
However, POST is not idempotent, meaning if you invoke POST multiple times it keeps creating more resources
11) Mention which markup language can be used in restful web api?
JSON and XML are the two markup language that can be used in restful web api
12) Mention what is the difference between RPC or document style web services? How you determine to which one to choose?
In document style web services, we can transport an XML message as part of SOAP request which is not possible in RPC style web service. Document style web service is most appropriate in some application where XML message behaves as document and content of that document can alter and intention of web service does not rely on the content of XML message.
13) Mention what is JAX-WS and JAX-RS?
Both JAX-WS and JAX-RS are libraries (APIs) for doing communication in various ways in Java. JAX-WS is a library that can be used to do SOAP communication in JAVA, and JAX-RS lets you do the REST communication in JAVA.
14) List out the tools or API for developing or testing web api?
Testing tools for web services for REST APIs includes
15) Mention what is the difference between SOAP and REST?
SOAP | REST |
|
|
1) Explain what is SOAP UI? SOAP UI is a free, open source cross-platform functional Testing...
What is SOAP UI? SOAP UI is the leading open source cross-platform API Testing tool SOAPUI allows...
What is BDD Testing? BDD (Behavior-driven development) Testing is a technique of agile software...
Training Summary SoapUI is the market leader in API Testing Tool. You can do functional, load,...
SoapUI is a widely popular API testing tool. It allows you to test REST and SOAP protocols. It...
Understanding the SOAP Protocol Before we create a SOAPUI Test case, let us understand basics...