25 TOP Web Services Testing Interview Questions and Answers
1. Difference between Web application and web service?
A web application is a database disc.
A web service is a online service, as in Verizon online service,
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.
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.
2. What are the typical problems in web testing?
1:server problems(ie server down or under maintenance)
3. In n tier Architecture What are the factors should be considered for testing?
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.
4. What types of web testing security problem?
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.
5. What bugs are mainly come in webtesting what severity and priority we are giving.
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.
6. What are the important test scenarios for testing a web site?
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
7. What is Glyphs?
Glyph is the picture of the character.
8. What is the difference of approach for Testing Client/server and web applications?
In case of web based testing we have test web browser and pages<br><br>but in case of client server testing we test icon of application <br><br>that is main difference<br>
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.<br>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.<br>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.
9. What are possible configurations that could affect the testing strategy of any web site?
Hardware platform (PC, Mac), Browser software and version, Browser Plug-Ins, Browser settings options,
Video resolution and Color Depth, text size.
10. What is the difference between testing in client-server applications and web based applications?
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
In Web testing test engineer are conduct the following testings:-
2.Static web testing
3.Input domain testing
5.Error handling testing
6.Frame Level testing
11. What type of testing is carried out to find memory- leakages? give me a sample example?
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.
12. What is the difference between web application And Client server Application Testing?
While Testing the Web Browser we need to take care of Security, Usability, Performance and URL links.
Web application is internationally so security is very important here.
Where as Client server we don’t need security at high level, It is two tier and it is used only by defined users.
13. What is your approach or how do you start Testing an Web application?
The first thing u need is to go through the specification and without using the specification u 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.
14. How to Check whether your website is secure or not?
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.
15. What are the typical problems in web testing?
In the web testing the main problems with SERVER security the security testing plays imp role.
16. In n tier Architecture what are the factors should be considered for testing?
In N tier architecture, load testing, browser testing, compatible testing and functional testing are mandatory factor.
17. What are the common problems encountered in web testing?
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.
18. What are the different static websites to dynamic websites?
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.
19. What are the most common browsers, which must be a Web application to test?
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.
20.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.
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.
21. Is it possible, while usability testing a website?
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.
22. What is a proxy server?
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.
23. What are the HTTP response object?
Some of the HTTP response objects are writing, cleaning, counting, etc. HTTP response subclasses are HttpResponseRedirect, HttpResponsePermanentRedirect, HttpResponseBadRequest, HttpResponseNotFound, etc.
24. What are the different test formats for cases, which are part of the test site?
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, 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.
25. Explain the difference between authentication and authorization for web testing?
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.
26. Different test scenarios do you consider when you are testing a Web site?
The first hypothesis to check is the graphical user interface. Page layout and design elements used on the website must be uniform throughout the website. The next part of the test are always different links within the website. Along with links, but they also have to be tested, if the navigation is soft and also to check if there is complex. The next important aspect to control is the response time of the website. This will also have to check when there is heavy load on the system.