InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Is The Basic Method To Automate Web Services In Soapui? |
| Answer» | |
| 2. |
What Are The Major Types Of Assertions Available In Soapui? |
|
Answer» Assertions are the one of the major feature in SoapUI. It offers the following TYPES of assertions:
Assertions are the one of the major feature in SoapUI. It offers the following types of assertions: |
|
| 3. |
What Are The Different Types Of Assertions Used In Soapui? |
|
Answer» The following are the different TYPES of ASSERTIONS:
The following are the different types of assertions: |
|
| 4. |
Explain Soapui And Soapui Pro? |
|
Answer» SoapUI is a webservices testing tool and SoapUI Pro is its COMMERCIAL version. SoapUI can help create FUNCTIONAL, security and load testing test suites. SoapUI Pro does all that with ADVANCED drag and DROP, data driven testing, advanced REPORTING and coverage analysis. SoapUI is a webservices testing tool and SoapUI Pro is its commercial version. SoapUI can help create functional, security and load testing test suites. SoapUI Pro does all that with advanced drag and drop, data driven testing, advanced reporting and coverage analysis. |
|
| 5. |
What Exactly Wsdl Document Contains? |
| Answer» | |
| 6. |
How To Add An Assertion To The Test? |
Answer»
|
|
| 7. |
How To Start And Stop Mock Services? |
|
Answer» This can come in HANDY both from the Project onLoad script (if you want to start your MockServices when the project is opened) or from a TestCase/TestSuite setup script (if you need the MockService running for your functional tests). Here from a TestCase setup script:
The returned runner OBJECT is required to stop the MockService... so save it to the context and USE it in the tearDown script: context.mockRunner.stop() Have a look at the WsdlMockService and the WsdlMockRunner CLASSES for more methods and properties that might come in handy. This can come in handy both from the Project onLoad script (if you want to start your MockServices when the project is opened) or from a TestCase/TestSuite setup script (if you need the MockService running for your functional tests). Here from a TestCase setup script: The returned runner object is required to stop the MockService... so save it to the context and use it in the tearDown script: context.mockRunner.stop() Have a look at the WsdlMockService and the WsdlMockRunner classes for more methods and properties that might come in handy. |
|
| 8. |
What Languages Are Supported In Soapui? |
|
Answer» GROOVY and JAVASCRIPT Groovy and JavaScript |
|
| 9. |
Name A Few Http Status Codes/messages? |
Answer»
|
|
| 10. |
How To Create A Mock Service? |
Answer»
|
|
| 11. |
How To Access The Project Name From A Groovy Script Test Step? |
|
Answer» testRunner.testCase.testSuite.project.NAME (ALMOST all ITEMS have a name PROPERTY) testRunner.testCase.testSuite.project.name (Almost all items have a name property) |
|
| 12. |
How Do I Save The Changes I Make To My Projects, Requests, Test Cases, Etc? |
|
Answer» Soap UI automatically SAVES EVERYTHING on exit. If you WANT to save your PROJECTS without exiting (for example if you want to commit your project file to CVS) USE the “Save All” option in the main File menu Soap UI automatically saves everything on exit. If you want to save your projects without exiting (for example if you want to commit your project file to CVS) use the “Save All” option in the main File menu |
|
| 13. |
What Is Data-driven Testing? How Can You Do This Using Soap Ui? |
|
Answer» Data-driven testing is when you store test data (input, expected output, etc) in some external STORAGE (database, spreadsheet, xml-files, etc) and then use that data iteratively in your tests when running them. For example to test your phone-lookup SERVICE, you might have a LIST of names and expected phone-numbers in a database which you would use to “drive” your test, CHECKING that each name gets the RIGHT phone-number back. It’s really quite simple. Data-driven testing is when you store test data (input, expected output, etc) in some external storage (database, spreadsheet, xml-files, etc) and then use that data iteratively in your tests when running them. For example to test your phone-lookup service, you might have a list of names and expected phone-numbers in a database which you would use to “drive” your test, checking that each name gets the right phone-number back. It’s really quite simple. |
|
| 14. |
What Is The Role Of Wsdl Document In Web Service Testing? |
|
Answer» Validating WEBSERVICES in only possible with WSDL document because to configure web services in SoapUI, WSDL document is mandatory. If the WSDL document is not valid, SoapUI will THROW an EXCEPTION immediately. Validating webservices in only possible with WSDL document because to configure web services in SoapUI, WSDL document is mandatory. If the WSDL document is not valid, SoapUI will throw an exception immediately. |
|
| 15. |
Explain Where You Use Properties In Soapui? |
|
Answer» We can READ the PROPERTY values into test STEP endpoint, username, header values, password, domain, POST, PUT, GET and DELETE METHOD PROPERTIES. We can read the property values into test step endpoint, username, header values, password, domain, POST, PUT, GET and DELETE method properties. |
|
| 16. |
Explain What Is The Properties In Soapui? |
|
Answer» PROPERTIES in SOAPUI is USED to RETRIEVE and store data. The data is STORED as key, value or FORMAT. Properties in SOAPUI is used to retrieve and store data. The data is stored as key, value or format. |
|
| 17. |
What Are The Tools Used For Testing Web Services? |
|
Answer» To PERFORM functional testing for web SERVICES, we can use the following tools.
To perform functional testing for web services, we can use the following tools. |
|
| 18. |
Explain How You Can Parametrize The Endpoints In Soap Ui? |
|
Answer» To parameterize the endpoints in SOAP UI is most important as it is the first step in AUTOMATION testing. It is more time consuming for CHANGING endpoints manually. In order to do that
To parameterize the endpoints in SOAP UI is most important as it is the first step in automation testing. It is more time consuming for changing endpoints manually. In order to do that |
|
| 19. |
What Are Soapui Assertions? |
|
Answer» ASSERTIONS compare the parts/all of the RESPONSE MESSAGE to the EXPECTED outcome. Assertions compare the parts/all of the response message to the expected outcome. |
|
| 20. |
Mention How Soapui Is Used To Structure Functional Tests? |
|
Answer» SOAP UI uses three levels to structure functional tests:
SOAP UI uses three levels to structure functional tests: |
|
| 21. |
What Are The Different Components Can Be Used In The Web Services? |
|
Answer» There are five COMPONENTS are used in web services. They are:
There are five components are used in web services. They are: |
|
| 22. |
Mention What Is The General Format For Reading The Custom Or Default Property Value? |
|
Answer» The general FORMAT for READING the custom or default PROPERTY VALUE is ${#levelname#KEY} The general format for reading the custom or default property value is ${#levelname#key} |
|
| 23. |
Mention What Soapui Can Do? |
|
Answer» SOAPUI can:
SoapUI can: |
|
| 24. |
What Are The Communication Channels Available For A Web Service? |
|
Answer» In general, web service is combined with the following PROTOCOLS:
While exposing the web services, these channels will be used for communication with the clients. Here HTTP / POST protocol transfers the information between the clients with secure mode. HTTP / GET protocol allows the clients to VIEW transferred data partially at the BROWSER’s ADDRESS bar. SOAP is used for transferring the CONFIDENTIAL data safely. In general, web service is combined with the following protocols: While exposing the web services, these channels will be used for communication with the clients. Here HTTP / POST protocol transfers the information between the clients with secure mode. HTTP / GET protocol allows the clients to view transferred data partially at the browser’s address bar. SOAP is used for transferring the confidential data safely. |
|
| 25. |
Inside The Soapui Where Groovy Script Can Be Used? |
|
Answer» Inside the SOAPUI GROOVY SCRIPT can be used in TWO places
Inside the SOAPUI groovy script can be used in two places |
|
| 26. |
Explain What Is The Role Of Xml, Soap, Wsdl And Uddi In Web Services? |
|
Answer» Web services are a medium through which web based application can be integrated or communicated over an internet protocol backbone. Web based application can be integrated USING XML, SOAP, UDDI and WSDL. SOAP is USED for transmitting the data; WSDL is used for describing or RELATING the services, UDDI is used for listing what services are accessible, XML is used to tag the data. Web services are a medium through which web based application can be integrated or communicated over an internet protocol backbone. Web based application can be integrated using XML, SOAP, UDDI and WSDL. SOAP is used for transmitting the data; WSDL is used for describing or relating the services, UDDI is used for listing what services are accessible, XML is used to tag the data. |
|
| 27. |
What Is The Primary Challenge When Testing Web Services? |
|
Answer» Majority of the FUNCTIONAL testing is carried out via the GUI; the biggest CHALLENGE of webservices is that they do not have a UI. Majority of the functional testing is carried out via the GUI; the biggest challenge of webservices is that they do not have a UI. |
|
| 28. |
Does Soapui Support Ssl Authentication? |
|
Answer» Yes. Yes. |
|
| 29. |
Explain What Is Soap Ui? |
|
Answer» SOAP UI is a free, open source cross-platform functional testing SOLUTION. It enables you to RAPIDLY and easily create and execute automated regression, compliance, functional and LOAD TESTS. SOAP UI is a free, open source cross-platform functional testing solution. It enables you to rapidly and easily create and execute automated regression, compliance, functional and load tests. |
|