How to test a web service manually?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is quality center?

857


Hi friends, Im an MBA Finance, 2 yrs of exp workng in Investment com, + around 2 yrs of exp in Manual testing in Finane domain. Im looking for manual testing jobs but not getting any calls, Im worried is manual tesing in finance domain do have any good scopes in future or not. Plz provide me ur valuable suggestion,so tht I can best decision to retain in this platform(manual testing). or not

2087


Hi , Please send me the interview questions which were asked in manual testing mainly the test cases asked to write in interview.

1726


need testing projects where can i find them

1874


What is a maturity level?

953


What are joins and subjoins in the data bases what is data driven testing what is verification and validation What is Quality Assurance (QA) and Quality Control (QC) Is Verification is related to QA and Validation is related to QC ? which type of model you follow basically in your project what is a use case How to test a Bike how to test a Lift (Elevator). which configuration Management tool do you use which Bug tracking tool do you use explain Bug life cycle what is Regression testing what is ALPHA testing ans BETA testing What types of testings comes under Non functional testing what is TEST DIRECTOR what is CMM and CMM i whar are Expressions in Winrunner What is a Compile module Is it Necessary to open the tool first or the application first after getting a bug what will you do if you add a new object or a new module for the existing application then how will you test the application which Defect tracking tool do you use what is change management What is smoke Testing what is sanity testing A application is given to you but the requirements and functionalities are missing what will you do to start the testing which testing documents will be received by the client

2225


Explain branch coverage and decision coverage.

878


Password is having 6 digit alphanumeric then what are the possible input conditions?

884


hai friends can u expalin about real time process of testing at the company, like flow diagram

1817


1.How to maintain the Bug status Report? 2.What is project based Company and product based company?

7494


What will be the QA roles and responsibilities in Health care stream like BCBS,can someone please explain me any example project regarding health care services in web-based application?

1938


what are your thoughts on SPRINT duration

1778


what types of testing have u done in ur project?and expalin it detail?

1718


Does anyone have any good examples of some acceptance criteria for non-functional requirements?

1757


What types of documentation are used in qa?

866