.Net web service performance test approach
1. What version of LoadRunner (LR) or PerformanceCenter (PC) are you using? (specify which LR or PC)
2. What is the protocol you are recording?
HTTP or web service
3. If HTML - are you using HTML-Advanced with URLs or,
4. If URL mode:
- Concurrent groups, or
- Without Concurrent groups?
5. Which LoadRunner/PerformanceCenter feature or service packs are you using?
6. VuGen Recording - are you using Old or New Recording Engine?
I think it is old. Can someone explain here what's the difference?
7. What kind of LoadRunner license do you have -
- Virtual User days, or
8. If subscription, is subscription current or expired?
9. What platform(s) (PCs) and Operating Systems? Include version and service packs.
windows server 2000
10. If you have filed a service request with HP/Mercury, what have they told you at this point with respect to your issue?
not yet. Since this is an approach question, I don't think they will answer.
We are facing two different approaches for a .Net web service performance test. There is a .Net rich client software, login in to this .Net application, and call different web services to complete one or more transactions. The wsdl file I got have 96 (yes 96) services available.
first approach: using web service protocol, load wsdl, start .Net client software, record script, do correlation and parametrization.
haven't tried that before, don't know if LR support this kind of recording and can correctly play back.
During play back, is the .Net client going to be involved or not? We don't want this .Net program to be involved because we want to test web service and don't want to start 100 of this .Net program in the later performance test.
There are 96 services in wsdl and in this way, some services will not be recorded, and change the script later will be very time-consuming.
second approach: using Http protocol, buiding soap request manually, I have done that before, not a problem for me. Plan to include all 96 services in one LR script.
cosume more time to create the initial script.
In the soap header, there is a message like this:
I think I have to corelate this sessionID in my script. I havn't done that before. And don't know how those developers define soap header authentication.
Any suggestion is highly appreciated!
Re: .Net web service performance test approach
Regarding the second approach well you said it right it is a time consuming process due to that xml file need to be incorporate with the web_custom_request function
here is one approach so that you can some time
In VU GEN >Go to insert >>CLCIK NEW STEP >> THEN SELECT web_custom_request function from the list >> then copy your xml input in the body and select appropriate methods in that
hope this cuold reduce some time, please let me know for clarification
thanks and regards,