I have recently started using JMeter and I'm still trying to get to grips with it. I am trying to use JMeter to performance test Dynamics CRM. I have created a test plan and included a thread group with the HTTP authorization manager. I have added an HTTP Request and set the path to the 'homepage'. This appears to be working, but when I try some other requests I am getting the following response body :
'Important: Microsoft Dynamics CRM makes extensive use of your Web browser's client-side abilities. You either have one of these features turned off or your security settings are set so high that they prevent these features from being used. To enable these features, change your browser settings to allow the Microsoft Dynamics CRM site to run JavaScript. '
My question is how can I configure JMeter to avoid this error? As far as I understand, JMeter it does not make use of a browser unless you're recording a test script so I'm unsure how I can change settings.
It seems that Dynamics uses a lot of browser-side JavaScript. JMeter has a plugin which can execute this JavaScript.
However...you will need to be fairly sophisticated in what you measure. The performance of the JavaScript will depend on your test hardware, and won't represent what "normal" users see - you're testing the performance of JavaScript in a browser, rather than the Dynamics server.
An alternative would be to look at the calls the JavaScript makes to server-side resources, and capture those as JMeter calls. This does mean reverse-engineering the application logic to understand how the Dynamics client-side application interacts with the server.
Related
I want to perform load testing of Single Page Application. So i have created JMeter script for that and it is working fine from my single machine for concurrent users. But i want to create actual concurrent users scenario from different machine or location. For that reason i am trying to use Azure Load Testing service and there want to use JMeter script which i have created on my local machine.
Please let me know if Azure Load testing service support below points : -
Is it possible to test performance of API call which are going to other servers (non Azure).
Is it possible to track performance report like JMeter for each API call individually.
Please let me know if any clue on above problems.
Thanks
As per documentation
Enable developers and testers to generate high-scale load and run simulations that reveal actionable insights into app performance, scalability, and capacity with a fully managed load-testing service. Create tests quickly without prior knowledge of load testing tools, or upload your existing Apache JMeter scripts. Gain specialized recommendations backed by comprehensive metrics and analytics, and support continuous improvement through automated continuous integration and continuous delivery (CI/CD) workflows—all with a testing service built for Azure.
So it should be possible to run your JMeter scripts from Azure. If your system under test is reachable from the Internet you it doesn't matter where it's deployed.
If not and your application is only accessible from your local Intranet - you will have to go for JMeter Distributed Testing
I have created script using Blazemeter.
But it is getting error related to authenticate, Can you please guys help me how to authenticate Ms. Crm Login. Thanks in advance
It's not sufficient to just "record" the test as modern web applications heavily rely on dynamic parameters, for Microsoft technologies based web apps the most common are ViewState and EventValidation
When you're recording the test it just captures the "current" values while the server expects the values to be dynamic so you need to:
Extract the dynamic values from the previous responses using suitable JMeter Post-Processors
Save them into JMeter Variables
Replace recorded values with the variables from step 2
See ASP.NET Login Testing with JMeter for example implementation.
In addition in certain cases application might use external subsystems for authenticating the users, in that case you need to add properly configured HTTP Authorization Manager to your test plan
I am looking at few Performance testing features Azure Web Application has. I a following a tutorial given below. I tested a small application. My question is on how I can test an application where I have to login. My application users have to login to get to the home page. How will I do it? Can somone please help me on this
https://learn.microsoft.com/en-us/vsts/test/load-test/app-service-web-app-performance-test?view=vsts
The load test you refer to is very limited. It supports only GET requests, so presumably it is meant for public pages. For more realistic scenarios you need to record (or build) test cases with navigation between multiple pages, where the login page is one and where state such as the login cookie/token is propagated between them.
Personally I work mostly with JMeter, see http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.html on how to record a test. The recorded steps need to be edited before they can be used (hard-coded data replaced with variables). There is probably a similar tool from Microsoft, but the function in Azure portal seems overly simplistic.
In summary use another tool for more complex load testing, as the specified one handles only GET requests and can't do the job.
How can I perform Load testing on Oracle Portal Application Using Jmeter?
I recorded the activity using jmeter proxy and run the recorded request but I got unrealistic results.
Oracle portal is nothing but an ADF application, so it can be testes as any other ADF application.
You basically need an approach as Pino uses here:
http://soadev.blogspot.co.uk/2014/04/jmeter-load-test-oracle-adf-applications.html
Registering tests with JMeter is a tricky business, you need to validate your scenario once recorded by running it with only one thread and check the server logs (in case you use your custom logger) to make sure the functionality on the server is being executed.
I am trying to make a performance testing by using the JMeter for the User registration process in Chat application,which is developed by using openfire and XMPP. I am providing the different user details through CSV Data set.The issue i am facing is, The newly provided user details are not getting to save in the XMPP. As per discussion with the developers, They are using SMACK plugin(.jar files inside the programs) for the registration and other process.(i.e) The Jmeter is recording only for the API calls,Not recording the smack plugin activities due to this i am struggling to make the performance testing for the new user registration process in the chat application.
Thanks in advance.
JMeter Test Script Recorder can only record HTTP traffic through proxy so if you configured proxy for smack plugin then recording cannot happen due to protocol not being understood.
Otherwise it's proxy misconfiguration.