Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is meant by web service testing and what is the use of
web service testing ?



what is meant by web service testing and what is the use of web service testing ?..

Answer / vishal

You can test Web services by calling Web methods from unit
tests. Testing Web services is much like testing other code
by using unit tests in that you can use Assert statements,
and the tests produce the same range of results. However,
the Microsoft.VisualStudio.TestTools.UnitTesting.Web
namespace of Team Edition for Testers provides attributes
and methods specifically for testing Web services; they are
described in Testing a Web Service Locally.

Example :
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting.Web;
using TestProject1.localhost;

[TestMethod]
[AspNetDevelopmentServer("HelloWorldServer", @"C:\Documents
and Settings\user\My Documents\Visual Studio
2005\WebSites\WebSite1")]
public void HelloWorldTest()
{
HelloWorldService target = new HelloWorldService();

Assert.IsTrue( WebServiceHelper.TryUrlRedirection
(
target,
testContextInstance,
"HelloWorldServer"
),
"Web service redirection failed."
);

string expected = "Hello World";
string actual;

actual = target.HelloWorld();

Assert.AreEqual(
expected,
actual,

"TestProject1.localhost.HelloWorldService.HelloWorld did not
return the expected value."
);
}


I am not getting exact answer for ues of web services testing.
Please correct me if i am wrong

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Manual Testing Interview Questions

Hi Friends..Can anybody tell me how much Salary u'll be getting for Manual Tester(1+ years of Experience)Position in the Companies like Wipro & Infosys????

6 Answers   Google, Wipro,


If any of ur friends come across any openings for Manula Testing - 1+ years Experiance Plz let me know... I can't upload my CV in any of the job sites...Bcoz in my current company HR vl trace out...So only.... Plz help..........u can contact me at rajalakshmi_ar_cse@yahoo.co.in

1 Answers  


As a tester what type of document req. on tester's banch to design the test cases and for executon.what will be the practical approch If we are using excel-sheet.through excel- sheet how tester communicat with developrs about the test cases and resut and what will be the cycle of testing betwen tester and developers.what type of MANGEMNT TOOL (like VSS) should be used (PLEASE IN DETAIL)by tester if he is workink in small company.

3 Answers   Kirti Soft,


Difference between integration and regression testing?

2 Answers  


Is dekstop testing and client-server testing same ?

1 Answers  


What is Test Approach?

4 Answers   ASD Lab, Business One, CybAge, Mango Media, Wipro,


What is Resprint and Patch?

1 Answers  


Hi, i want any refernce in the YODLEE. i heard that there is opening for the manual testing. Please reply soon at nidhi.pal24@hotmail.com

1 Answers  


what responsility of the network administrator?

1 Answers   Religare,


what is the difference between sanity testing and smoke testing.

5 Answers   ESS,


What is the main use of preparing traceability matrix and explain the real time usage?

0 Answers  


If you are not able to reproduce one defect then what will be the status of that defect in your defect tracking tool?

5 Answers  


Categories