LoadRunner does not have a protocol for direct testing of SAP HANA. Since HANA is the technology used at the data storage level, we suggest testing HANA-based applications at a higher level, using one of our standard protocols. For instance, if your application is HTTP-based (with HANA deployed on the server side), youmay use the Web HTTP protocol.
Re: SAP-HANA Protocol?
Re: SAP-HANA Protocol?
Thanks for the suggesion.
Getting error while replaying silverlight calls in silverlight based script
Hi ,
I am working on a silverlight based application based using Silverlight protocol on LR12.5 and recorded the script succesfully. I can see the silverlight calls in the script like below,
Silverlight calls (request)
================================================
silverlight_service_call("StepName=GetAreas",
"SOAPMethod=FundoxService|BasicHttpBinding_IFundoxService|GetAreas",
"Service=FundoxService",
"Snapshot=t33.inf",
"ResponseParam=response",
BEGIN_ARGUMENTS,
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);
========================
During replay of the script, i am getting the above request to be failed and getting the below response (fault string):
response:
============
<s:Envelope xmlns:s = "http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode xmlns:a = "http://schemas.microsoft.com/ws/2005/05/addressing/none">a:ActionNotSupported</faultcode>
<faultstring xml:lang = "en-US" >The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).</faultstring>
</s:Fault>
</s:Body>
</s:Envelope>
============================
As you can see, there is nothing in request on which i need to work on (e.g, correlations etc.) Any one has idea why this error has come and what could be the reasons?
Thanks,
Ajit
Re: How to setup this Load Test scenario
Just a quick note.
In the Run-logic I put the login in the INIT block and the logout in the END block.
This represents that the vusers login only once and perform the actions in the RUN block for the duration of the test.
(Vusers iterate in the RUN block during the time of the test)
If the test is over, all the vusers logout.
You can also choose a different approach: put the login and logout in the RUN block.
Then during one iteration the vuser logs in, performs a business process and logs out.
In the next iteration this will be repeated.
So in the first approach you will only (theoratically) measure 100 logins and 100 logouts.
You would like to run the test for one hour.
Suppose the duration of the second approach is 5 min for 1 vuser (login, business process logout).
So one vuser can perform this action 12 times in a hour.
In the second approach you will probably (theoratically) measeure 1200 logins and 1200 logouts. (12 times/hour/vu x 100 VU)
The way you choose approach 1 or 2 depends on the use of the application by your customer.
Re: .NET mediator: Launch exception "Exception has been thrown by the target of an invocation&q
Hi,
You could try the alternative .NET recording mode first:
Turn on Recording Options->Microsoft .NET->Recording->Application launch->Modify .NET 'AnyCPU' type... option before recording your application.
Regards,
Sergey
NV Analytics Report - HTTP Analysis sometimes does not include web service requests
Hi All,
I'm trying LoadRunner 12.5 and I love NV Analytics Report. I'm running into a trouble, please help me resolve it.
Sometimes HTTP Analysis section under NV Analytics Report/HTTP only lists out .html and static file (.js) requests. I'm not sure what I did change in settings but it used to log all requests including web services/API requests in the script.
How to make HTTP Analysis show all requests executed?
Thanks so much.
Re: How to setup Web Load Test using Think time and Pacing
Hi
You use ThinkTime during the execution of a scenario, within an iteration.
You use pacing between iterations.
The use of ThinkTime and pacing depends on how the application is used by your customer.
You put ThinkTime usualy on these spots where the end-user or real physical user is taking time to fill-out a web form and/or looking in documentation to fill-out that form.
For instance: it takes time to provide username and password through the keyboard and click with the mouse on the login button.
The total time this takes, the webserver is waiting and doing nothing for this user.
This you may call ThinkTime.
It is possible to record the ThinkTime or insert fixed ThinkTime.
You can control this from VuGen: Menu -> Record -> Recording options or press Ctrl + F7
Under General -> Script there are two options regarding ThinkTime:
- Generate fixed think time after end transaction, default 3 sec, you can customize this
- Generate think time greater then threshold, default 3 sec, you can customize this
Answers to your questions:
Q1: Using pacing is ok.
Best way to look at think time is to look how is the application used by your customer.
If the user needs 10 sec after each action than the think time of 10 sec is ok.
Q2: correct
Q3: if you do not use random then every time you run the test, the test is executed more like the previous one.
When you use random then the result may vary from run to run.
Random probably simulates more the real use of the application.
Re: Getting error while replaying silverlight calls in silverlight based script
Can you try in other tool and see the response. Also, please check the SOAP method syntax. Please add the relevant headers to the request. Else, there will be a issue in the services.
Re: Problems with WCF Windows Web Services over nettcp bindings with callbacks in LR 12.02 and 12.50
Hi Thien,
I'm able to see only the following file "HP.Utt.StandaloneDebugger.exe.config"
<?xml version="1.0"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"
sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
Where should I add the Client Configuration and what specific parameters are to be added?
Please reply ASAP.
Thanks in advance.
Murali
Re: How to setup Web Load Test using Think time and Pacing
Thanks so much for your advice. :)
Re: How to setup this Load Test scenario
- Total 100 concurrent users
- Ramp up 20 users per min
- From 5min onwards, all concurrent users are running, then load test 1 hour duration
- At 1hour 1hour 5min, ramp down 20 users per min
Set-Cookie Session Expired
Hi
i recorded the script for bus ticket booking when i replay it the page is redirecting and the getting the below errors
HTTP/1.1 302 Moved Temporarily Cache-Control: private Content-Length: 343 Content-Type: text/html; charset=utf-8 Expires: 608000 Location: /SeatsNotAvailableRedirect.htm?redirectUrl=http://www.my domain.in/Booking/SelectBus.aspx?fromCityId=124&fromCityName=Hyderabad&toCityId=122&toCityName=Bangalore&doj=17-Nov-2015&busType=Any Server: Microsoft-IIS/8.0
X-Powered-By: ARR/2.5
X-Powered-By: ASP.NET
Access-Control-Allow-Headers: Content-Type
Access-Control-Allow-Methods: POST,GET,OPTIONS
Access-Control-Expose-Headers: AUTH_TOKEN
Date: Tue, 27 Oct 2015 15:01:18 GMT
Connection: keep-alive
Set-Cookie: ADRUM_BTa=R:80|g:9e7a57a0-e844-4e61-8174-dc1df36c06ed; expires=Tue, 27-Oct-2015 15:01:49 GMT; path=/; HttpOnly
Set-Cookie: ADRUM_BT1=R:80|i:58063|e:1284; expires=Tue, 27-Oct-2015 15:01:49 GMT; path=/; HttpOnly
<html><head><title>Object moved</title></head><body> <h2>Object moved to <a href="%2fSeatsNotAvailableRedirect.htm%3fredirectUrl%3dhttp%3a%2f%2fwww.redbus.in%2fBooking%2fSelectBus.aspx%3ffromCityId%3d124%26fromCityName%3dHyderabad%26toCityId%3d122%26toCityName%3dBangalore%26doj%3d17-Nov-2015%26busType%3dAny">here</a>.</h2> </body></html>
Re: Password Expiry Notification required
Re: Password Expiry Notification required
Check in the response whether there is a check for password expiry or not. If it is present, it is easy to script. Else, you need to contact developer.
Re: Set-Cookie Session Expired
You can ignore Object Moved message. Also check the correlation is done properly.
Re: How to setup this Load Test scenario
Hi
Response time, throughput, hits per second etc. are all measured through the whole test execution. So including rampup and ramp down.
After the test has run, analyse the results file with the HP Loadrunner Analysis tool.
With this tool you can choose a time period for which you would like to analyse the data.
So here you choose your time frame from one hour after rampup.
With HP Loadrunner Analysis you can change the granularity of graphs. You can filter out transactions, compare results of two tests, import external data from logiles or system resource monitoring.
Look for failed transactions in time, export RAW data to MS Excel etc.
You can even create reports HTML or word. You can use templates for analysis.
The tool can even help you when you see a spike in the response time.
This tool is a great advantage in performance testing. Especially when you integrated the system resource monitoring from the controller or via HP SiteScope for Loadrunner.
Vugen Recording Protocol for SharePoint App. and Oracle Primavera P6 Client.
I want to record SharePoint application and Oracle Primavera p6. I don't know what protocol would be good.
Help me with it please. Share your experience.
Re: Unable to record script in load runner 11
hi Chau,
I have installed vugen on my local machine and I am not able to record script .
Even Vugen is able to open Web-Browser for URL field mention in Start Recording Page.
Regards ,
Rajat Jain
Re: Vugen Recording Protocol for SharePoint App. and Oracle Primavera P6 Client.
Please use Protocol advisor utilty which is available in LoadRunner package.
Re: How to setup this Load Test scenario
Hi @dsr_Dennis,
Thanks for above response. As I need to setup Load Test in Controller for below Internet Web scenario, appreciate if you could advise me for below questions. Thanks a lot. Leanne.
Requirement as per below:
- 1200 users visit the Web in 1 hour, average user visit time is 5min, Total 100 concurrent users (20user/min x 5min visiting time), Total transaction: 2800+960=3760 txns
- 80% user trigger Business Process 1 Block: Login action, Browse Product action, Logout action, i.e. 2880 txns.
- 20% user trigger Business Process 2 Block: Login action, Browse Product action, Submit Order action, Logout action. i.e. 960 txns.
- Each action triggers 1 HTTP request with target server response time 6 secs, and think time of 10 secs.
- User iteration pacing time is 5min
Question 1) Can I determine the number of user to ramp up and down by dividing 100 concurrent users with 5 min user visiting time, i.e. start run 20users every min in Controller ?
Question 2) As I need to measure the performance for above requirements 1200users in 1hour generate 3760txns, could you advise which of below option 1 or 2 can meet the requirement and why select the option. If both not suitable, appreciate you to suggest the option.
Option 1: ramp up 5min -> Run Duration 50min -> ramp down 5min
Option 2: ramp up 5min -> Run Duration 1hour -> ramp down 5min
Question 3) If choose above option 1, will the test able to generate enough transaction volume (3760txns) because the users will be ramp down during last 5min, i.e. before 1hour, which the Transaction actions will be stopped right, or LoadRunner will wait for vuser to trigger the all vuser blocks in the iteration before stop the vusers ?
Question 4) Understand that Controller's Duration section will trigger the Run action block in script, how about Controller's Start vuser section, is that Run action block in script will be triggered by Controller Start Vuser section as well, when we ramp up vuser ?
Question 5) In addtional to verify the performance for entire test duration, I have another requirement that need to verify the transaction response time and transaction per seconds from the period when all concurrenct users are running and before ramp down user (i.e. exclude ramp up and down period), so can we specify the time interval in LoadRunner (graph or any component) to verify the performance ? Or I need to extract the data to generate the statistics manually ?
Thanks again,