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 |
What is your Expected CTC? Should I tell my expected salary or say as per company norms? Tell me proper answer for it?
10 Answers Accenture, Dream Careers, Flextronics, Havells, Royal Public Health,
Define the bug life cycle?
Hello, I am interested to make a career in software testing. I am searching for a recommended book in manual Testing tools Please advise recommended books which is a good text book for learning software testing.
Who will do the Effort Estimation and Scheduling ?
What is difference between system and functional testing?
What are the bugs we cannot find in black box?
is there any test cases for sanity testingPlease tell me any consultancies or companies both in chennai, bangalore( not in hyderabad), who can provide mail id with an Id( official ID). Iam planning to keep exp. in 3 small companies( not MNCs) iam trying on 3.5 yrs manual testing in chennai,bangalore my mail id pranu_soft@yahoo.co.in
1.What kind of i/p we require from end user to start proper esting? 2.what's confirmation testing ? 3.Whats pilot testing ? 4. what's Defect cascading ? 5.Concept of work bench ?
You have been given 2 projects to test, what are the key factors you consider when prioritizing you work load?
What is the difference between use case and test case? give example.
What is the Difference Between Manual and Automation Testing.Give Some Example Both of them
What are the different types of models?