How to test a web service manually?



How to test a web service manually?..

Answer / murari kumar jha

You can create a Web service test without recording by
simply adding the test elements as required and manually
editing the test element details in the test editor.
Before we start, verify that the Agent Controller is
running on the local computer.

Tests are stored in performance test projects, which are
Java projects that include a source folder. You must create
a performance test project before creating a test.

Ensure that you have a valid WSDL file in your workspace.
Ensure that the WSDL files use the proper syntax for the
test environment.

If you are using Secure Sockets Layer (SSL) security
protocols, ensure that you have valid key files in your
workspace.

If you are using SOAP security, ensure that you have
configured the environment with the proper libraries and
configuration files.

To create a test:
1.In the Test perspective, click File > New > Other > Test
> Test Assets > New Web Service Test.
2.Select a project and then, in Test file name, type a name
for the test. The name that you type is the base name for
the recording, test, and other required files. You see
these files in standard Navigator or the Java Package
Explorer with their distinguishing suffixes, but you see
only the simple (test) name in the Test Navigator.
3.Click on Finish.
4.To add a Web service call, select the test element in the
test editor, click Add, and then select Web Service Call.
5.Select the WSDL file that corresponds to the call and
click Finish.
6.Edit the Web service call element and add all the
required information to make a valid call.
7.Select the Protocol tab to configure the transport
protocol for this call. If necessary, click Change to
configure the transport protocol for the entire test,
including proxy and HTTPS parameters.
8.On the Web service call, click Update Return. This opens
the Return Preview window, displaying the data that will be
used to perform the call.
9.Click Update Test. This performs the Web service call and
creates a message return element with the return data. If a
message return element already exists, then it is updated
with latest return data. The message return test element
enables you to implement data correlation and content-based
verification points.
10. Now validate the backend database system with the data
updated.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Manual Testing Interview Questions

Can you please let me know the negative test cases for telephone and notepad?

2 Answers  


what is the differance between debugging and testing?

6 Answers  


WHAT IS SDLC? WHAT IS STLC? WHAT IS THE DIFFERENCE BETWEEN SDLC AND STLC?

2 Answers   Wipro,


how cookie and session testing is done ?????

2 Answers   CMC, TCS,


What if an organization is growing so fast that fixed testing processes are impossible? What to do in such situations?

0 Answers  






How to perform Regression testing manually?

4 Answers  


what is X-SS(Cross Site Scripting)?

1 Answers  


Do you think tools are required for managing change. Explain and please list some tools/practices which can help you managing change.

0 Answers   Ordain Solutions,


what is test coverage matrix? what its use? and its format?

5 Answers   IBM, SAS,


What techniques will cause double-byte problems to show up?

0 Answers  


What are the points to be considered while testing an application on different browsers like firefox, opera, mozilla, ie etc. on both windows & linux ??

2 Answers   IBM,


write 3 test cases on MSWORD

8 Answers   Zycus Infotech,


Categories