Print Page | Close Window

WebService - LR 8.1

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: LoadRunner @ OneStopTesting
Forum Discription: LoadRunner is a performance and load testing product by HP / Mercury Interactive for examining system behavior and performance, while generating actual load.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=951
Printed Date: 31May2024 at 2:08pm


Topic: WebService - LR 8.1
Posted By: Ansha
Subject: WebService - LR 8.1
Date Posted: 25Apr2007 at 9:58pm

Details
========
1. What version of LoadRunner (LR) or PerformanceCenter (PC) are you using? (specify which LR or PC)
LR 8.1
2. What is the protocol you are recording?
Web Service
3. If HTML - are you using HTML-Advanced with URLs or,
(substitute your answer here)
4. URL mode with Concurrent groups, or
(substitute your answer here)
5. URL mode without Concurrent groups?
(substitute your answer here)
6. Which LoadRunner/PerformanceCenter feature or service packs are you using?
FP 4
7. What kind of LoadRunner license do you have - Subscription, Perpetual, Virtual User days, or Evaluation? (choose the one that fits your license model - (substitute your answer here))
Permanent
8. If subscription, is subscription current or expired?
(substitute your answer here)
9. What platform(s) and Operating Systems? Include version and service packs.
Windows XP
10. If you have filed a service request with Mercury, what have they told you at this point with respect to your issue?
(substitute your answer here)

I have given xml files with soap request. I dont have wsdl or url.
I dont know where to start?

Please provide some input or template to plug the xmls,
with webservice protocol selected.

I know i can use Web_custom_request() if i choose http protocol.
So if choose i hve to use Soap request function?
What is the format of that function i cant find that in help.



Replies:
Posted By: avik
Date Posted: 26Apr2007 at 1:41am
You can use soap_request or web_custom_request.
If you decide to create your own WSDLs, you could use web_service_call.

A couple of times I had to build webservice scripts from the xml with soap requests. It's

not that difficult.
I decided not to build my own wsdls and used soap_request method.

Just use any of the soap_request examples available with loadrunner help as a template.
Don't forget to add web_add_header("SOAPAction ....
Also, be very careful with XML data in your script --it could get tricky. XML is not very

forgiving if you don't format it correctly. Load runner has some built in tools to help you

import xml data, try using them if you can.



Print Page | Close Window