Soap Tool Interview Questions & Answers

  1. Question 1. Explain About Soap?

    Answer :

    SOAP acts as a medium to provide basic messaging framework. On these basic messaging frameworks abstract layers are built. It transfers messages across the board in different protocols; it also acts as a medium to transmit XML based messages over the network.

  2. Question 2. What Is Simple Object Access Protocol (soap)?

    Answer :

    SOAP acts as a medium to provide basic messaging framework. On these basic messaging frameworks abstract layers are built. It transfers messages across the board in different protocols; it also acts as a medium to transmit XML based messages over the network.

  3. LoadRunner Interview Questions

  4. Question 3. Give An Example About The Functioning Of Soap?

    Answer :

    Consider a real estate database with huge data ranges. If a user wants to search about a particular term, the message with all the required features such as price, availability, place, etc will be returned to the user in an XML formatted document which the user can integrate into third party site for additional performance.

  5. Question 4. Explain About Remote Call Procedure?

    Answer :

    Remote call procedure is considered as a very important function in SOAP. In RCP a user (node) sends a request to another node (server) where the information is processes and sent to the user. It immediately sends message across the network.

  6. LoadRunner Tutorial

  7. Question 5. Explain About Transport Methods In Soap?

    Answer :

    Internet application layer is used to transfer messages from one end to another end. Various products have been transported successfully from one end to another end using SOAP. Both SMTP and HTTP are two successful transport protocols used in transmitting information, but HTTP has gained good ground than HTTP.

  8. QTP Interview Questions

  9. Question 6. Explain About Https In Soap?

    Answer :

    HTTPS is similar to HTTP but it has an additional layer underneath the internet application layer which makes the data encrypted. This protocol is widely used than IOP or DCOM because those protocols are filtered by firewalls. HTTPS protocol advocates WS-I method to provide security for transmission of secured data.

  10. Question 7. Explain About The Role Of Xml In Soap?

    Answer :

    XML is chosen as a standard format because it was already in use by many large companies and immensely due to its open source nature. A wide variety of tools are available on shelves which ease the process of transition to SOAP. XML can significantly reduce the speed and efficiency but binary XML is being considered as a format for future.

  11. QTP Tutorial
    Manual Testing Interview Questions

  12. Question 8. Explain The Difference Between Rpc And Local Calls?

    Answer :

    An important difference between Remote call procedure and local call is that remote call can fail often and this occurs without the knowledge of the user. Local calls are easily handled. Another main difficulty lies with the code writing capability because it is written in a low level language.

  13. Question 9. What Are The Elements Which Should Be Contained In Soap Message?

    Answer :

    Following elements are contained in the SOAP message.

    1. An envelope element which identifies and translates the XML document into a SOAP message.
    2.  A header element is a must as it should contain header message.
    3.  A body is required which should contain call and response message.
    4.  Fault element is required which can communicate about the errors occurred during the process.
  14. Selenium Interview Questions

  15. Question 10. Explain About The Soap Envelope Element?

    Answer :

    A SOAP message will have the SOAP element as the root element. SOAP element name space should always have the value as that defines the Envelope.

  16. Selenium Tutorial

  17. Question 11. Explain About The Actor Element?

    Answer :

    A SOAP message has to travel a very long distance between its client and server but during the process a part of the message may be intended to be deployed to another destination which is made possible by the SOAP elements actor attribute which address the header element to a particular location.

  18. JMeter Interview Questions

  19. Question 12. Explain About The Soap Body Element?

    Answer :

    This part of the element will contain the message which is intended for the ultimate delivery point. An element can be described inside the body element as a default namespace which indicates about the error message during the process. SOAP element acts just like a code to be processed during the execution of a certain application.

  20. LoadRunner Interview Questions

  21. Question 13. Explain About The Mustunderstand Attribute?

    Answer :

    This attribute indicates whether the header is optional or mandatory for the recipient to process. If you add mustUnderstand =”1” to the child element of the header element then it states that the header element must be processed otherwise it leads to failure.

  22. JMeter Tutorial

  23. Question 14. Explain About The Syntax Rules In Soap?

    Answer :

    Some of the important syntax rules are as follows:

    1. SOAP should be coded in XML.
    2.  SOAP envelope should be used for SOAP message.
    3. A SOAP encoding namespace must be used by SOAP.
    4. A DTD reference and a XML processing instruction should not be contained.
  24. Question 15. Explain About The Encoding Style Attribute?

    Answer :

    This is used to define the data types in the document. Any SOAP element may use this format and it gets implemented on the child and contents of the SOAP. SOAP element will never have a default encoding.

  25. Maven Interview Questions

  26. Question 16. State Some Disadvantages Due To The Usage Of Soap?

    Answer :

    1. SOAP is much slower than middleware technologies.
    2. Due to the usage of HTTP for transporting messages and not the defined ESB or WS-Addressing interaction of parties over a message is fixed.
    3.  Information regarding the usability of HTTP for different purposes is not present which makes the application protocol level problematic.
  27. Maven Tutorial

  28. Question 17. What Are The Advantages Which A User Can Get When He Uses Soap?

    Answer :

    •  SOAP by passes all firewalls thus making the process easier.
    •  It has huge collection of protocols.
    •  It is platform and language independent.
    •  Simplicity and extensible nature makes it the most wanted.
  29. Soap UI Interview Questions

  30. Question 18. What Do You Mean By Soap Encoding?

    Answer :

    SOAP uses an XML format to encode data. There are two ways in which it maps high level datatypes like integers, arrays to a serialized XML format- Section 5 encoding and Literal encoding. Section 5 encoding, also called SOAP encoding, is named after the section in the SOAP 1.1 specification that defines it. Literal encoding on the other hand uses a XML.

  31. QTP Interview Questions

  32. Question 19. What Is Soap Version 1.2?

    Answer :

    SOAP version 1.2 is a lightweight protocol for exchange of information in a decentralized, distributed environment. It is an XML based protocol that consists of four parts:

    An envelope that defines a framework for describing what is in a message and how to process it, a set of encoding rules for expressing instances of application-defined data types, a convention for representing remote procedure calls and responses and a binding convention for exchanging messages using an underlying protocol. SOAP can potentially be used in combination with a variety of other protocols; however, the only bindings defined in this document describe how to use SOAP in combination with HTTP and the experimental HTTP Extension Framework.

  33. Cucumber Tutorial

  34. Question 20. How Is Soap Different From Traditional Rpc?

    Answer :

    In SOAP, procedures take named parameters and order is irrelevant. In XML-RPC order is relevant and parameters do not have names.

  35. API testing Interview Questions

  36. Question 21. About How Soap Messages Are Sent And Received In Web Service ?

    Answer :

    we can sent and receive soap msg with the help of HTTP, FTP or SMTP protocols. we need to bind the soap envelope in protocol and then we can send and receive our message over the netwok.

  37. Question 22. What Would Be The Message Format Of Soap Protocol?

    Answer :

    Generally, all the SOAP based web services are written by using XML language which uses standard message format that is accepted across the universe. In this format, it is easy to read, identify the errors, avoids interoperability problems etc. Here’s the sample SOAP message format.
    POST /InStock HTTP/1.1
    Host: localhost
    Content-Type: application/soap+xml; charset=utf-8
    Content-Length: 399
    SOAPAction: “http://www.example.com/soap-envelope”





    SoapUI

  38. Service Oriented Architecture (SOA) Tutorial

  39. Question 23. What Are The Advantages Of Soap?

    Answer :

    Since its XML based, it is platform and programming language independent. RPC (Remote procedure calls) are sometimes blocked by firewalls and proxy servers- Soap overcomes that.

  40. Cucumber Interview Questions

  41. Question 24. What Does A Soap Document Contain?

    Answer :

    Envelope element is the top most tag which identifies the XML document as a SOAP message. Followed by Envelope element, 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.

  42. Manual Testing Interview Questions

  43. Question 25. What Is Meant By Protocols And What Are The Major Types Are Used In Web Services?

    Answer :

    A protocol is a set of standard rules that helps to communicate the hardware devices through the software applications. There are different types of protocols used in the Internet and Intranet applications. They are TCP which stands for Transmission Control Protocol. It has the rules to exchange the messages between two different Internet applications. Internet Protocol uses the rules for sending and receiving the information between two different Internet addresses.Similarly, HTTP, FTP and DHCP protocols are used the set of rules to transfer the data other than Internet applications.

  44. Question 26. What We Can Do With The Help Of Soapui?

    Answer :

    •SoapUI offers us to perform automation testing which includes functional testing, load testing and data driven testing.
    •It also provides in build reporting tool and export test results log provision
    •We assert our services using various types of assertions

  45. Selenium WebDriver Interview Questions

  46. Question 27. What Hierarchy Soapui Follows To Build A Proper Testing Project?

    Answer :

    In a SoapUI project, the following order should be maintained.
    •TestSuite – This is combination of functional tests and logical blocks
    •Testcase – Its a group that contains several test steps for the specific aspects of the service.
    •Teststep – it contains the set of functional tests

  47. Selenium Interview Questions

  48. Question 28. Explain About Xpath Assertion In Soapui?

    Answer :

    In SoapUI, XPath assertion is used for asserting the web service response value by specifying the absolute path. If the absolute path is matched with the response value, then the test case or test suite will be considered as PASS otherwise it will be notified as FAILED. We can see the results of assertion at bottom of the screen where the Assertion tab will have resultant information.

  49. Question 29. What Is Groovy Script And Where Can It Be Used?

    Answer :

    Groovy is a scripting language which internally includes all the java libraries – it helps us to customize and add custom validations to SoapUI tests

  50. Web testing Interview Questions

  51. Question 30. What Are The Major Places That Groovy Script Teststep Used?

    Answer :

    In SoapUI, we can use Groovy Script in the following two places.
    •Groovy Script Teststep under the test case
    •Script Assertion Test Step