• Register
2,500 points
9 2

1. What is SoapUI?

SoapUI is a tool that is used for functional and non-functional testing of SOAP Web Services as well as RESTful or HTTP based services Web Services. It is an Open Source, free tool. It is useful in functional testing, performance testing, interoperability testing, regression testing and much more.

2. What is the primary challenge when testing web services?

The major challenge is that they do not have a UI because, majority of functional testing is transferred out via the GUI.

3. What are the communication channels available for a web service?

Normally web service is combined with the following protocols. They are,

  • HTTP / POST

  • HTTP / GET

  • SOAP

  • While exposing the web services, these channels will be used for communication with the clients. Here HTTP / POST protocol transfers the data between the clients with a secure mode. HTTP / GET protocol permits the clients to look at the transferred data with limited extent at the browser’s address bar. SOAP is used for transferring the confidential data safely.

4. What is SoapUI Pro?

SoapUI Pro is a commercial version of SoapUI, which promises extra functions that is useful for companies looking to work with critical Web Services.

5. How to use SoapUI?

The steps to use SoapUI are

  • Right-click on Projects, in the Navigator, and select New SOAP Project.

  • Specify a name in the Project Name edit box and click on OK.

  • Right-click on the name in the Navigator and click on Add WSDL.

  • In the WSDL Location edit box specify the path to the WSDL and click on OK. On successful addition, the web service operations appearin the Navigator.

  • Double-click on the project name to see a summary of the project, along with security configurations as well as basic requirements.

  • Double-click on the interface name to get a summary of the interface.

6. What are web services?

Web services are web components or software program that transfer data between client and server through the Internet. The client sends a web request to the server and the server then responds to the client. The response and request are related and different requests evoke the corresponding response. It is chiefly used to communicate with the web-based applications through XML messaging concepts.

7. What is an assertion in SoapUI?

In SoapUI an assertion affirms or validates a request that is sent to a web server.

8.What are the major types of assertions available in SoapUI?

The major types of assertions in SoapUI are-

  • Property Content

  • Compliance Status Standard

  • Script

  • SLA

  • JMS

  • Security

9.What is WSDL in SoapUI?

Web Service Description Language or WSDL is a definition language based on XML that describes the functions of any SOAP-based web service. It also generates test requests, assertions as well as mock services, besides defining the several aspects of a SOAP message.

10. What would be the message format of SOAP protocol?

SOAP-based web services are written by using XML language which uses standard message format that is welcomed across the universe. In this method, it is easy to read, identify the errors, avoids the ability software to exchange and make use of information problems etc.
Here’s the sample SOAP message format.

11.How to consume soap webservice in Java?

The steps to consume Soap webservices using Java are-

  • Write a basic build script with Gradle or Maven.

  • Run the webservice on a local server.

  • Create the domain objects on the basis of a WSDL.

  • Generate a country service client

  • Configure the components of the webservices.

  • Execute the application.

12.How to automate test cases in SoapUI?

The steps to automate test cases in SoapUI are-

  • Click on New Soap Project in the File menu.

  • Enter Project Name and initial WSDL URL and click on OK.

  • Load the script by double clicking on Request1.

  • Add the Request value to see the response and trigger it.

13. What does a soap document contain?

Soap document contain envelope element is the topmost tag which recognize the XML document as a SOAP message then, you see the header element that has header information. The Body element specifies the call and response information. Finally, you have a Fault element which contains errors and status information.

14.How to do load testing in SoapUI?

To steps to perform load testing in SoapUI are-

  • Right-click on TestCase in the Navigator panel and click on New LoadTest.

  • Insert the name of the test and click on OK.

  • Adjust the test properties to suit your criteria.

  • Click on Run in the editor toolbar.

  • Click on the LoadTestAssertion tab in LoadTest editor,

  • Click on Add Assertion and select the assertion type. Click on OK.

  • In the Max Time, insert the maximum response time.

  • Run your LoadTest in LoadUI Pro

15.What is an endpoint in SoapUI?

The endpoint in SoapUI signifies an end of any communication channel when one API interacts with another. It can involve an URL of service or server. It is the location that gives access to resources to the API.

SOURCES :

stechies.com

traininginbangalore.com

2,500 points
9 2