Thursday, March 26, 2015

Web Services - This Document explains a simple way to create Performance testing script with Web Services


We have received a request to work on Web Services for Interfaces Project

To work with Web services it’s always good to have WSDL File or URL from Development team with expected SOAP requests to be executed

The following is the URL and expected results shared by dev team




Recording:

Open Web Services
Click on ADD Web Service Call






 Below window will open, Under Service open drop down and select Import Services






If the Import is successful then the all SOAP requests will get added as shown below
Input arguments will contain the Input paramater Names and we should enter the values for those names
For below Request the input argument is Account number








See below we have enterd account number value as 1234 (These values we can get from Dev team, they can be one or more, we can parametize them in loadrunner as we do for normal Web appliactions)
Once the filling Inputs is done, Clik on OK button to generate the Web Service Script








Below you can see the Auto generated Web Services Script and the Account number we have provided above
First time always run your script by selecting data written by server log to verify the request results are matching with SOAP resposne or we can sit with dev team and cross check the result





LR Resposne:



SOAP Resposne:



No comments:

Post a Comment