Web Service Testing Interview Questions & Answers

  1. Question 1. What Is Web Services Testing?

    Answer :

    You can test Web services by calling Web methods from unit tests. The following list describes two ways to test Web services with unit tests:

    • The Web service runs on an active Web server. There are no special requirements for testing a Web service that runs on a local or a remote Web server, such as IIS. To do this, add a Web reference and then call the Web methods of the Web service from your unit tests just as they would call the methods of a program that is not a Web service.
    • The Web service is not hosted in an active Web server. you can test a Web service that runs on your local computer and not in a Web server, such as IIS. To do this, you use an attribute provided by the Team System testing tools to start ASP.NET Development Server. This creates a temporary server at localhost that hosts the Web service that you are testing.
  2. Question 2. What Is Web Service Locally Testing?

    Answer :

    This is the process for testing a Web service that runs on your local computer but not in IIS:

    1. Create the Web service on the local file system.
    2. Generate unit tests against the Web service in the standard way for generating unit tests.
    3. Add the AspNetDevelopmentServerAttribute attribute to the unit test. The arguments for this attribute class point to the site of the Web service and name the server.
    4. Within the unit test, add a call to the TryUrlRedirection method to point the Web service object to the correct server. Verify that it returns true, and use and Assert statement to fail the test if the redirection fails.
    5. Call the Web service or exercise it in any other way that you feel is necessary to test it thoroughly.
  3. LoadRunner Interview Questions

  4. Question 3. Example Of Web Service Test Method?

    Answer :

    This is a simple test method that tests the HelloWorld() Web method of a Web service:

    using Microsoft.VisualStudio.TestTools.UnitTesting;
    using Microsoft.VisualStudio.TestTools.UnitTesting.Web;
    using TestProject1.localhost;
    @"C:Documents and SettingsuserMy DocumentsVisual Studio 2005
    public void HelloWorldTest()
         HelloWorldService target = new HelloWorldService();
         Assert.IsTrue( WebServiceHelper.TryUrlRedirection
                       "Web service redirection failed."
         string expected = "Hello World";
         string actual;
         actual = target.HelloWorld();
                           did not return the expected value."
  5. Question 4. Difference Between Web Application And Web Service?

    Answer :

    Web application:

    • A web application is a database disc.
    • Any application which resides on a server, but meant for use by humans, which uses web pages as the presentation layer. All user interactivity (the GUI) is done through web pages, but all data is stored and (mostly) manipulated on the server.

    Web service:

    • A web service is a online service, as in Verizon online service.
    • server-based application (as above) which may be accessed over the web via HTTP, but is meant primarily for interaction with other programs. Thus, it will have a clearly-defined API which consists of providing responses to HTTP GET and POST requests made by a remote application.
  6. LoadRunner Tutorial

  7. Question 5. How To Check Whether Your Website Is Secure Or Not?

    Answer :

    Microsoft Internet Explorer displays the lock icon in the lower-right of the browser window Many SSL Certificate vendors (Verisign, GeoTrust, etc.) also provide a “site seal” to the owners of these web sites.

  8. ETL Testing Interview Questions

  9. Question 6. What Are The Typical Problems In Web Testing?

    Answer :

    In the web testing the main problems with SERVER security the security testing plays important role.

  10. Question 7. In N Tier Architecture What Are The Factors Should Be Considered For Testing?

    Answer :

    In N tier architecture, load testing, browser testing, compatible testing and functional testing are mandatory factor.

  11. Web Service Testing Tutorial
    Testing Tools Interview Questions

  12. Question 8. Where Can You Find The Log Files After Qtp Script Execution?

    Answer :

    Start ->Run ->type Regedit then goto ->HKLocalMachine->Software->Mercury Interactive-> QTP->Logger->Media->Log.

  13. Question 9. Which Server Stats Are Essentially Monitored During A Performance Test Of A Web Application?

    Answer :

    Web server monitors, database server monitors, network monitors are used to test the performance of the web application.

  14. QTP Interview Questions

  15. Question 10. What Are The Problems In Web Testing?

    Answer :

    1. server problems(ie server down or under maintenance).
    2. HardWare problem.
    3. DataBase problem.
  16. ETL Testing Tutorial

  17. Question 11. In N Tier Architecture What Factors Should Be Considered For Testing?

    Answer :

    • Basically 3-tier architecture is for windows based application. Whereas n-tier architecture is for web-based applications. So, We should do the testing related to web-testing.
    • In 3 tier architecture there are 3 layers in the architecture. They are 1) Application(Presentation) layer 2)Business Logic Layer and 3)Data layer.
    • In n tier architecture, Data layer is divided into 2 layers i.e Data access and Database.
    • In n tier architecture, Data access layer and Database layer may or may not reside on the same location. Keeping that into consideration we have to prepare Test strategy and Test Approach.
  18. Manual Testing Interview Questions

  19. Question 12. What Types Of Web Testing Security Problem?

    Answer :

    • Denial of Service (DoS) attack, buffer overflow.
    • Pasting internal url directly into browser address bar without login.
    • Check reactions for invalid inputs for login id and password.
    • User should not view the other stats.
  20. LoadRunner Interview Questions

  21. Question 13. What Bugs Are Mainly Come In Webtesting What Severity And Priority We Are Giving?

    Answer :

    • The bug that mainly comes in web testing are cosmetic bugs on web pages , field validation related bugs and also the bugs related to scalability ,throughput and response time for web pages.
    • During the website application testing, bug related to the link broken also comes.
  22. Testing Tools Tutorial

  23. Question 14. What Are The Important Test Scenarios For Testing A Web Site?

    Answer :

    • As a Tester you should test GUI of the website, test whether the page layout and design elements are consistent throughout the site, Whether all the links provided in the website are working properly, What are the expected loads on the server performance of the website (check for webserver response time and database query time)under heavy loads.
    • As a Test Engineer you should also test the functionality of each and every object existing in the web page while testing a web application.
  24. Question 15. What Is Glyphs?

    Answer :

    Glyph is the picture of the character.

  25. Selenium Interview Questions

  26. Question 16. What Is The Difference Of Approach For Testing Client/server And Web Applications?

    Answer :

    • In case of web based testing we have test web browser and pages but in case of client server testing we test icon of application that is main difference.
    • Web based Application follows the client Server Architecture. Since in web based, we have a client i.e. Browser itself and the server is at some remote location.There is no such difference between client server and web based but it can be said that applications that are based on the client server architecture are different.Eg. Window based application – in them we need to install the application at each of the client user interface server being common for all the clients. but in web based application for user interface there is no need for any installation. The browser is the client itself.
  27. QTP Tutorial

  28. Question 17. What Are Possible Configurations That Could Affect The Testing Strategy Of Any Web Site?

    Answer :

    Hardware platform (PC, Mac), Browser software and version, Browser Plug-Ins, Browser settings options, Video resolution and Color Depth, text size.

  29. Oracle SOA suit 11g Interview Questions

  30. Question 18. What Is The Difference Between Testing In Client-server Applications And Web Based Applications?

    Answer :

    Client Server Testing:
    In client server testing test engineer are conduct the following testing’s:-

    1. Behaviour testing(GUI TESTING)
    2. Input domain testing
    3. Error Handling testing
    4. Backend testing.

    Web Testing:
    In Web testing test engineer are conduct the following testings:-

    1. Behaviour Testing
    2. Static web testing
    3. Input domain testing
    4. Backend testing.
  31. ETL Testing Interview Questions

  32. Question 19. What Type Of Testing Is Carried Out To Find Memory- Leakages? Give Me A Sample Example?

    Answer :

    Through Volume testing it is possible. i.e., An application tries to retrieve large amount of data that require large temporary buffer area. If the data exceed the buffer area the situation of memory leakage will occur and query will fail without returning any result as sorting didn’t got finished as buffer exceeds the limit.
    We need to know the memory size before the test execution and after test execution by using memory related API functions or MFC functions.

  33. Selenium Tutorial

  34. Question 20. What Is Your Approach Or How Do You Start Testing An Web Application?

    Answer :

    The first thing you need is to go through the specification and without using the specification you are just playing with the application. So specification is the main interface to the for any software to be tested.
    First Do The GUI testing after finishing that we can go for Functionality Testing.

  35. Automation Testing Interview Questions

  36. Question 21. How To Test Browser Compatibility Testing?

    Answer :

    Testing the application with multiple browsers (ie IE,Netscape navigator, Mozilla Firefox etc)is called browser compatibility testing.

  37. Question 22. What Command Is Used To Launch A Application In Winrunner?

    Answer :

    • invoke_application command used to launch application in WR.
    • Invoke command we will use to invoke a application in winrunner. invoke_aplication(path)
  38. Question 23. Name A Few Website Mistakes That Could Cause Configuration And Compatibility Bugs?

    Answer :

    Non standard colors, frames, tables etc.

  39. Soap UI Interview Questions

  40. Question 24. Without Using Guimap Editor ?we Can Recognize The Application In Winrunner ?

    Answer :

    • Without Using GUI map Editor, We can Recognize the Application in WinRunner by Rapid Test Script Wizard, but it is also recognize only Client server application, not Web based application.
    • This can be achieved by using Descriptive programming but not with rapid script wizard.
  41. Testing Tools Interview Questions

  42. Question 25. From The Testability Point Of View What Is The Difference Between Client/server Testing And Web Testing?

    Answer :

    Client Server testing is three tier architecture and when testing has to be done on this we need to consider all types of testing like the stress testing, data – volume testing, load testing and performance testing.
    When you are doing a normal web testing then you will be testing navigation testing, frame testing, broken links or missing URL’s and static text testing.

  43. Question 26. Is There Any Validation? Are We Using In Web Testing?

    Answer :

    No, there is no changes on web pages. no chance of validation.

  44. API testing Interview Questions

  45. Question 27. What Are The Common Problems Encountered In Web Testing?

    Answer :

    The most common problem encountered during testing network is the server problem. The server may be down or may be subject to maintenance. The next problem, which is often found in testing site is a database problem, where the connection with the broken base. In some cases there may be hardware compatibility issues when you are testing a Web application.

  46. QTP Interview Questions

  47. Question 28. What Are The Different Static Websites To Dynamic Websites?

    Answer :

    Static web pages only give information to the user and the user does not have any interaction with the website. On the other hand, dynamic Web sites are those where the user communicates with the system and they are required information. In providing the required information, you may be able to retrieve the information you are looking for.

  48. Question 29. What Are The Most Common Browsers, Which Must Be A Web Application To Test?

    Answer :

    The commonly used browsers are Mozilla Firefox, Google Chrome, Internet Explorer and Opera. Therefore, a Web application must be tested in these browsers as well.

  49. Test Cases Interview Questions

  50. Question 30. While Testing A Web Site, Which Are Different Configurations That Have To Be Aware Of? These Settings Can Demand Change In The Strategy Of The Website.

    Answer :

    The most important factor to consider is the hardware platform, while some may use the Mac platform, some may use Linux, while others can use the Microsoft. The next is the browsers and their versions in the box. Along with the browser versions, different plug-ins must also be considered. The resolution also monitor color depth and size of the text are some of the other configurations.

  51. Question 31. Is It Possible, While Usability Testing A Website?

    Answer :

    Usability testing is in fact an important part of the test site. In usability testing, it checks if the website is easy to use. Is it possible that the user can move easily within the website. Is there any ambiguity in the website, which can make the user experience.

  52. Question 32. What Is A Proxy Server?

    Answer :

    A proxy server is a server, which acts as an intermediary between the client and the server. Therefore, applications on the primary server is first sent to the proxy server on the client system, which is then sent to the server. The response from the principal server sends the client through the proxy server. The application and / or response can be modified by the proxy server based on filter rules from the server.

  53. Selenium WebDriver Interview Questions

  54. Question 33. What Are The Http Response Object?

    Answer :

    Some of the HTTP response objects are writing, cleaning, counting, etc. HTTP response subclasses are HttpResponseRedirect, HttpResponsePermanentRedirect, HttpResponseBadRequest, HttpResponseNotFound, etc.

  55. Manual Testing Interview Questions

  56. Question 34. What Are The Different Test Formats For Cases, Which Are Part Of The Test Site?

    Answer :

    The test case format may vary depending on whether the site is a static website or dynamic website. The static website will have the front of the test cases, navigation. On the other hand, if the site is a dynamic web site, then test cases are divided into front end test cases, again the final test cases, the field validation test cases, case base test data, test cases, security, etc.

  57. Question 35. Explain The Difference Between Authentication And Authorization For Web Testing?

    Answer :

    Authentication is the process by which the system identifies the user. The aim is to ensure that the user is actually a user who claims to be. There are different types of authentication, which can be used as password-based authentication, authentication based devices, etc. On the other hand, the authorization is the process after the authentication process. In this process the system to decide whether a particular task can be performed by the user, does the necessary permissions, etc.

  58. Question 36. Which Different Test Scenarios Will You Consider, When You Are Testing A Website?

    Answer :

    The first scenario to be tested is the GUI. The page layout and the design elements used on the website have to be uniform throughout the website. The next part to be tested are the different links provided inside the website. Along with the links, it will also have to be tested, whether internal navigation is smooth and also check if it is complex. The next important aspect to be checked, is the response time of the website. This will also have to checked, when there is heavy load on the system.

  59. Selenium Interview Questions

  60. Question 37. What Is The Difference In Testing A Clent-server Application And A Web Application ?

    Answer :

    client/server application is a 2-tier application where as web application is an n-tier application.

  61. Question 38. What Bugs Are Mainly Come In Web Testing What Severity And Priority We Are Giving?

    Answer :

    The bug that mainly comes in web testing are cosmetic bugs on web pages , field validation related bugs and also the bugs related to scalability ,throughput and response time for web pages. During the website application testing, bug related to the link broken also comes.