Top 38 Web Service Testing Interview Questions
Q1. What Is A Proxy Server?
A proxy server is a server, which acts as an intermediary among the customer and the server. Therefore, programs at the number one server is first despatched to the proxy server on the client device, that is then sent to the server. The reaction from the fundamental server sends the consumer through the proxy server. The utility and / or response may be changed via the proxy server based on clear out regulations from the server.
Q2. In N Tier Architecture What Factors Should Be Considered For Testing?
Basically 3-tier structure is for windows primarily based utility. Whereas n-tier architecture is for internet-based packages. So, We have to do the testing related to internet-trying out.
In three tier structure there are 3 layers in the structure. They are 1) Application(Presentation) layer 2)Business Logic Layer and 3)Data layer.
In n tier structure, Data layer is split into 2 layers i.E Data access and Database.
In n tier architecture, Data get entry to layer and Database layer may also or may not live at the identical place. Keeping that into attention we need to prepare Test approach and Test Approach.
Q3. What Is Your Approach Or How Do You Start Testing An Web Application?
The first component you want is to undergo the specification and with out the use of the specification you're simply gambling with the utility. So specification is the principle interface to the for any software program to be examined.
First Do The GUI checking out after finishing that we can pass for Functionality Testing.
Q4. What Is The Difference Of Approach For Testing Client/server And Web Applications?
In case of internet based testing we've got check web browser and pages however in case of client server trying out we take a look at icon of software this is major distinction.
Web primarily based Application follows the purchaser Server Architecture. Since in web based totally, we have a patron i.E. Browser itself and the server is at some far off region.There isn't any such difference among consumer server and web primarily based however it can be stated that applications that are based totally at the consumer server structure are one-of-a-kind.Eg. Window primarily based application - in them we want to put in the utility at every of the customer person interface server being common for all of the customers. But in internet based totally software for user interface there may be no need for any installation. The browser is the customer itself.
Q5. What Are The Common Problems Encountered In Web Testing?
The maximum not unusual problem encountered during trying out network is the server trouble. The server can be down or may be problem to renovation. The subsequent hassle, that is often found in testing website online is a database hassle, wherein the reference to the broken base. In some instances there may be hardware compatibility issues when you are checking out a Web software.
Q6. What Is The Difference In Testing A Clent-server Application And A Web Application ?
Patron/server application is a 2-tier software in which as web utility is an n-tier software.
Q7. What Type Of Testing Is Carried Out To Find Memory- Leakages? Give Me A Sample Example?
Through Volume checking out it's far feasible. I.E., An application tries to retrieve large quantity of records that require big brief buffer area. If the information exceed the buffer region the state of affairs of reminiscence leakage will arise and question will fail without returning any result as sorting didn’t got finished as buffer exceeds the restrict.
We need to know the memory size earlier than the check execution and after test execution with the aid of the use of memory associated API functions or MFC features.
Q8. What Are The Important Test Scenarios For Testing A Web Site?
As a Tester you have to take a look at GUI of the internet site, test whether or not the web page format and design elements are regular at some point of the web page, Whether all the links supplied inside the internet site are working well, What are the predicted hundreds at the server performance of the website (take a look at for webserver response time and database query time)below heavy loads.
As a Test Engineer you need to also check the functionality of each and every object present within the internet page at the same time as testing a web software.
Q9. What Bugs Are Mainly Come In Webtesting What Severity And Priority We Are Giving?
The computer virus that mainly is available in web testing are cosmetic insects on internet pages , subject validation related bugs and additionally the bugs related to scalability ,throughput and reaction time for web pages.
During the internet site utility trying out, bug associated with the link broken also comes.
Q10. How To Check Whether Your Website Is Secure Or Not?
Microsoft Internet Explorer displays the lock icon inside the lower-proper of the browser window Many SSL Certificate carriers (Verisign, GeoTrust, etc.) additionally offer a "website online seal" to the proprietors of these internet web sites.
Q11. 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 alternatives, Video decision and Color Depth, textual content length.
Q12. What Are The Different Static Websites To Dynamic Websites?
Static internet pages only give information to the user and the consumer does not have any interplay with the internet site. On the alternative hand, dynamic Web web sites are the ones in which the person communicates with the device and they're required information. In offering the specified data, you'll be able to retrieve the statistics you're searching out.
Q13. What Are The Typical Problems In Web Testing?
In the web testing the primary issues with SERVER security the safety checking out plays vital position.
Q14. What Are The Problems In Web Testing?
Server issues(ie server down or under upkeep).
HardWare problem.
DataBase trouble.
Q15. What Is Web Service Locally Testing?
This is the procedure for checking out a Web carrier that runs to your local computer however now not in IIS:
Create the Web service at the nearby document device.
Generate unit tests in opposition to the Web service in the fashionable manner for producing unit checks.
Add the AspNetDevelopmentServerAttribute attribute to the unit take a look at. The arguments for this characteristic magnificence point to the website online of the Web carrier and call the server.
Within the unit take a look at, upload a call to the TryUrlRedirection technique to point the Web service object to the proper server. Verify that it returns authentic, and use and Assert announcement to fail the check if the redirection fails.
Call the Web service or exercise it in another way that you feel is vital to check it thoroughly.
Q16. Explain The Difference Between Authentication And Authorization For Web Testing?
Authentication is the procedure through which the system identifies the consumer. The purpose is to make certain that the consumer is definitely a user who claims to be. There are one-of-a-kind sorts of authentication, which can be used as password-primarily based authentication, authentication based gadgets, and many others. On the alternative hand, the authorization is the procedure after the authentication manner. In this procedure the device to determine whether or not a selected venture may be accomplished by using the consumer, does the important permissions, and so forth.
Q17. What Is The Difference Between Testing In Client-server Applications And Web Based Applications?
Client Server Testing:
In consumer server testing take a look at engineer are conduct the following testing’s:-
Behaviour testing(GUI TESTING)
Input domain checking out
Error Handling trying out
Backend checking out.
Web Testing:
In Web trying out check engineer are behavior the following testings:-
Behaviour Testing
Static web testing
Input domain trying out
Backend checking out.
Q18. What Is Glyphs?
Glyph is the picture of the person.
Q19. In N Tier Architecture What Are The Factors Should Be Considered For Testing?
In N tier structure, load trying out, browser testing, well suited checking out and practical checking out are obligatory factor.
Q20. How To Test Browser Compatibility Testing?
Testing the application with more than one browsers (ie IE,Netscape navigator, Mozilla Firefox etc)is referred to as browser compatibility trying out.
Q21. Example Of Web Service Test Method?
This is a simple take a look at technique that tests the HelloWorld() Web method of a Web service:
the use of Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.VisualStudio.TestTools.UnitTesting.Web; using TestProject1.Localhost; [TestMethod] [AspNetDevelopmentServer("HelloWorldServer", @"C:Documents and SettingsuserMy DocumentsVisual Studio 2005 WebSitesWebSite1")] public void HelloWorldTest() HelloWorldService goal = new HelloWorldService(); Assert.IsTrue( WebServiceHelper.TryUrlRedirection ( target, testContextInstance, "HelloWorldServer" ), "Web carrier redirection failed." ); string predicted = "Hello World"; string actual; actual = goal.HelloWorld(); Assert.AreEqual( expected, real, "TestProject1.Localhost.HelloWorldService.HelloWorld did not return the predicted price." );
Q22. Which Server Stats Are Essentially Monitored During A Performance Test Of A Web Application?
Web server video display units, database server monitors, community video display units are used to test the performance of the internet utility.
Q23. What Are The Different Test Formats For Cases, Which Are Part Of The Test Site?
The test case format can also vary depending on whether the site is a static internet site or dynamic website. The static internet site will have the the front of the test instances, navigation. On the alternative hand, if the site is a dynamic net web page, then check cases are divided into the front stop take a look at cases, again the very last take a look at instances, the sphere validation take a look at cases, case base check statistics, take a look at instances, security, and many others.
Q24. What Are The Most Common Browsers, Which Must Be A Web Application To Test?
The generally used browsers are Mozilla Firefox, Google Chrome, Internet Explorer and Opera. Therefore, a Web software need to be tested in those browsers as nicely.
Q25. What Command Is Used To Launch A Application In Winrunner?
Invoke_application command used to release application in WR.
Invoke command we will use to invoke a application in winrunner. Invoke_aplication(route)
Q26. What Are The Http Response Object?
Some of the HTTP response gadgets are writing, cleansing, counting, etc. HTTP response subclasses are HttpResponseRedirect, HttpResponsePermanentRedirect, HttpResponseBadRequest, HttpResponseNotFound, and so on.
Q27. Name A Few Website Mistakes That Could Cause Configuration And Compatibility Bugs?
Non trendy shades, frames, tables and so forth.
Q28. 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 maximum critical factor to recollect is the hardware platform, whilst a few may use the Mac platform, some can also use Linux, at the same time as others can use the Microsoft. The next is the browsers and their versions in the field. Along with the browser variations, special plug-ins need to also be taken into consideration. The decision also reveal color depth and length of the text are some of the alternative configurations.
Q29. Is It Possible, While Usability Testing A Website?
Usability testing is in reality an critical part of the test website online. In usability testing, it exams if the website is straightforward to apply. Is it viable that the consumer can flow effortlessly in the website. Is there any ambiguity within the website, that can make the user revel in.
Q30. Which Different Test Scenarios Will You Consider, When You Are Testing A Website?
The first scenario to be tested is the GUI. The page layout and the layout elements used at the internet site have to be uniform for the duration of the website. The next part to be examined are the extraordinary links supplied inside the website. Along with the links, it will also should be examined, whether inner navigation is clean and additionally take a look at if it's miles complex. The next crucial aspect to be checked, is the response time of the internet site. This may also ought to checked, whilst there may be heavy load at the device.
Q31. What Types Of Web Testing Security Problem?
Denial of Service (DoS) attack, buffer overflow.
Pasting inner url at once into browser cope with bar without login.
Check reactions for invalid inputs for login identity and password.
User ought to no longer view the opposite stats.
Q32. Difference Between Web Application And Web Service?
Web software:
A web software is a database disc.
Any software which resides on a server, but intended to be used by means of humans, which makes use of internet pages as the presentation layer. All user interactivity (the GUI) is carried out via internet pages, but all data is saved and (mainly) manipulated at the server.
Web provider:
A web provider is a on-line provider, as in Verizon on-line service.
Server-based totally utility (as above) which may be accessed over the net thru HTTP, but is supposed in the main for interplay with different programs. Thus, it's going to have a virtually-described API which consists of imparting responses to HTTP GET and POST requests made by means of a faraway utility.
Q33. Is There Any Validation? Are We Using In Web Testing?
No, there may be no changes on web pages. No threat of validation.
Q34. What Is Web Services Testing?
You can check Web offerings with the aid of calling Web strategies from unit checks. The following list describes two ways to test Web services with unit assessments:
The Web carrier runs on an active Web server. There aren't any special necessities for trying out a Web carrier that runs on a neighborhood or a far flung Web server, together with IIS. To do this, upload a Web reference after which name the Web strategies of the Web carrier out of your unit checks simply as they would call the strategies of a application that isn't always a Web service.
The Web carrier is not hosted in an energetic Web server. You can check a Web service that runs on your local pc and now not in a Web server, inclusive of IIS. To do this, you operate an characteristic supplied by the Team System trying out tools to start ASP.NET Development Server. This creates a transient server at localhost that hosts the Web service that you are testing.
Q35. Where Can You Find The Log Files After Qtp Script Execution?
Start ->Run ->kind Regedit then goto ->HKLocalMachine->Software->Mercury Interactive-> QTP->Logger->Media->Log.
Q36. Without Using Guimap Editor ?We Can Recognize The Application In Winrunner ?
Without Using GUI map Editor, We can Recognize the Application in WinRunner by Rapid Test Script Wizard, however it is also apprehend only Client server utility, not Web primarily based application.
This may be accomplished by means of the usage of Descriptive programming however now not with fast script wizard.
Q37. From The Testability Point Of View What Is The Difference Between Client/server Testing And Web Testing?
Client Server trying out is three tier structure and while trying out needs to be achieved in this we want to keep in mind all varieties of checking out like the strain checking out, information - volume testing, load trying out and performance testing.
When you're doing a everyday internet testing then you may be checking out navigation testing, frame trying out, broken links or lacking URL's and static text testing.
Q38. What Bugs Are Mainly Come In Web Testing What Severity And Priority We Are Giving?
The computer virus that particularly comes in web testing are beauty bugs on web pages , discipline validation related bugs and also the insects associated with scalability ,throughput and response time for net pages. During the internet site utility checking out, bug associated with the link broken also comes.
