New answers tagged

1

To change the title add the following line to user.properties file: jmeter.reportgenerator.report_title=Your desired title You cannot change the content as it is being generated from result files. You can tune the representation of the existing content again by manipulating JMeter Properties which names start with jmeter.reportgenerator. References: ...


1

Question 1: Is it useful to do separate load testing on a mobile App? So, can we say load testing of a mobile App is actually load testing of the web API...? Answer 1: Depending on the nature of testing it is always advised to run at least a subset of tests on real devices. The resources available on mobile devices are hugely different in comparison to ...


0

To answer your first question, Is it useful to do separate load testing on a mobile App? It is very useful to do a separate load testing for a mobile application because, the raise of several mobile network technologies, such as 2G, 3G, 4G, etc. has led to variations in response times with increasing load on the server. The application owner needs to ...


1

Kind of a late response but still, in addition to what Venky has suggested from an Android Perspective, there are several tools available for iOS as well. These tools come along with XCode Instruments. 1. CPU: A) Time Profiler B) Activity Monitor 2. RAM: A) Activity Monitor B) Allocations C) VM Tracker D)Leaks 3. Battery: A) Energy Diagnostics B) Batter ...


2

The command used is c:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE>MSTest.exe/TestContainer:"C:\Path\TC.webtest" /testsettings:"C:\Path2\Local.testsettings" This means that the current directory is c:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE and the command being executed is MSTest.exe/TestContainer:"C:\Path\TC.webtest" ...


0

If you already have a .jtl result file you can do it like: jmeter -g /path/to/jtl/file -o /where/you/want/to/store/dashboard If you would like the dashboard to be generated after the test run, you can run JMeter in command-line non-GUI mode like: jmeter -n -t /path/to/testplan -l /path/to/result.jtl -e -o /path/to/dashboard/folder See Full list of ...


1

It simplifies to knowing what you want to measure and knowing how to determine when you have measured it. Entry criteria include: Knowing what sort of performance you are looking at. Eg maximum load, use of system resources at various loads, affect on response times as load increases, long term stability (eg memory loss), and several others. Stability of ...


1

Ask clarification questions, and lead the other side to give you an answer. It's always a good advice, but especially true for interview questions. Let's use your question as an example- How do you define performance testing ? what is our goal- do we want to verify the product can achieve X or do we want to investigate and find out what X is ? What are ...


1

Here are the answers: In order to add a JMeter Variable to .jtl log file define sample_variables property like: Permanent way: add the next line to user.properties file (lives in JMeter's "bin" folder) sample_variables=yourVar JMeter restart will be required to pick the property up. On next execution you will see ${yourVar} value added as a separate ...


0

Normally performance testing of mobile application is not required as mobile applications have only one user and if you're happy with application load time, responsiveness, rendering times, etc. - you should be good to go. If your application is being updated frequently and it is relatively big and complex you might want to automate the steps and set some ...


11

Well I don't think JMeter will help you do performance or load testing of the click action/event of a button. If the click of a button makes an HTTP request to the server, then you can most definitely do performance or load testing for that. How JMeter works is, it takes an HTTP request and throws the specified number of instances (threads/users) on the ...


0

I feel your question is a bit contradictory/too broad of a scope. You will first need to decide what exactly you want to test.. Manual testing is usually only good for functional testing (seeing if it works the way it should). If you want to do performance testing there are multiple tooling options to consider: do you want to test the app itself (GUI) on ...


0

You can try to turn on the screen rotation and rotate the screen and instantly click on some functionalities and check if they behave they way it is expected or not.In my workplace we had issue that when the screen is rotated the functionalities wouldn't work or would take time to respond. To test it on different network, you can configure the router to ...


1

Performance testing doesn't only mean many users hitting the same thing at the same time. There are various aspects of performance testing which you can opt to do manually. As you said you have to test a mobile application, you can test, Whether it works in the same seamless manner on a phone with low hardware, OS and memory configurations as it does on ...


1

The Throughput: is the number of requests per unit of time (seconds, minutes, hours) that are sent to your server during the test. The Response time: is the elapsed time from the moment when a given request is sent to the server until the moment when the last bit of information has returned to the client. The throughput is the real load processed by your ...


0

First of all you won't be able to create such a load from a single machine, go for Distributed Testing when one JMeter server orchestrates multiple slave machines (load generators) executing the same script at the same time. Given your site lives at Azure it's better to test it from Azure and preferably the same region to avoid traffic charges. You can ...


0

The general rule of thumb is that one jmeter (loadrunner/etc) user is worth at least 10 "real" users insomuch as they're pounding relentlessly and far faster than an actual human. Assuming this, it reduces your needed users from 200,000 to 20,000. Still a very, very large number. I've used amazon web services to scale load tests far beyond what a single ...


1

If you want to simulate 200000 Users you need to set the number of threads as 200000. If there are input parameters for a User you need to prepare a data sheet in a CSV and Use that CSV in Jmeter via CSV Data Set Config. You can give the variable names in the CSV Data Set Config and the use the same in your sampler (http) requests. In-essence, number of ...


0

When you are doing a load test on an application, there is a lot that you have to take into consideration, CPU utilization over time with consistent load. RAM utilization over time with consistent load. Disk I/O utilization over time with consistent load. Network I/O utilization over time with consistent load. Not just the server's CPU and RAM but its ...


0

When testing a desktop application if you stumble upon the idea/request to do performance testing, ask a few questions (to yourself if not others), Why do you want to do performance testing of a desktop application? Does the application make HTTP requests to a remote system/server? and there may be more questions. If your application makes HTTP requests ...


4

Usually it isn't required to do performance testing of desktop applications as they're being used by 1 user only hence visual experience is quite enough. However if desktop application relies on backend server, i.e. it does network communication over HTTP protocol using an API or displays data from RDBMS you might want to test what will be the behaviour of ...


1

Although I haven't tried Desktop application performance testing on my own, but like you, I too had same question (long back) and I ended up with an answer like this. It depends how your desktop application will generate load? Is there any Network connection involved or any database connectivity involved, if yes then you can put load over the network or ...


2

Actually that's all JMeter does - run a request and record response time (and some other metrics like start time, response code, whether request successful or not, etc.) Basically what any web-browser does is sending HTTP requests and displaying the response. JMeter can do the same as real browser do (apart from rendering and displaying responses) but all ...


2

Welcome to performance testing!! First, you have to be clear about that a specific action (like a button click) is a POST request. So, if you want to measure the Response time of that request, just add a HTTP sampler in your test script in which you will use Method: POST. You can send some parameters manually!!! You can make your script manually or either ...



Top 50 recent answers are included