FAQ Database Discussion Community


Jmeter doesn't save response data or headers

save,load,jmeter,performance-testing
I'm building some simple load testing for my API, and to make sure everything is on the up and up I'd like to also review the response headers and data. But when I run my test using the command line and then re-open the GUI to add a View Results...

Why jMeter show transaction controller data in its summary report?

jmeter,performance-testing,load-testing,jmeter-plugins
Here i have A recording controller and test script recorder. I recorded the user activities using template. This automatically creates a Recording controller and then transaction controller. Each transaction controller has child HTTP request wrapped inside it. Now when I run the test after creating a test script, I see...

Execution time testing for c# method [closed]

c#,asp.net,performance-testing
I have a cs page with a few methods. When I try to load that page it takes a long time. Is there any way to identify how long each method is taking to fetch data? Instead of debugging is there any way of capturing the time spans? Any tool...

Jmeter - How to parameterize XML request body using a file in Jmeter?

xml,jmeter,httprequest,performance-testing
I have a XML request as follows: <Request> <Header><Log><Level>None</Level></Log></Header> <Body> <Action> <GetService> <Code>ABC</Code> <CodeValue>XYZ</CodeValue> </GetService> </Action> </Body> </Request> I would like to have a file which has data for two columns - Code and CodeValue. For example, Code|CodeValue -------------- ABC|XYZ DEF|MNO How should I parameterize my XML request body so...

Which is the best performance testing tool when i dont know the client application behaviour. As i am going to have number of web based clients

web-applications,jmeter,performance-testing,load-testing,loadrunner
My organization is looking to perform a performance testing externally. The performance testing is going to be only for web based applications. Can you guide me which tool is best to choose as performance testing tool. Right now there is no idea about the client web application behaviour. Beacuse there...

How do I ensure accurate results of stress tests?

linux,bash,ubuntu-12.04,performance-testing,stress-testing
I have written a script for a project that stress tests the cpu, the vm and the i/o whilst running vmstat, iostat and sar. The scripts all run for 30 seconds. My tutor has asked me however to ensure that the results are accurate? How can I ever be sure?...

jmeter -How to set max value in Aggregate report

jmeter,performance-testing,load-testing
I have a test plan for Rest API with one thread group with 2 samplers within. While running load test for no of threads(users):80 Ramp up period: 1 I get "Response code: 504 Response message: GATEWAY_TIMEOUT" in jmeter. I observed that when Max value in Aggregate graph reaches 60000ms all...

Web test fails with “404 Not Found” errors when it is run

angularjs,visual-studio-2013,performance-testing,load-testing
We are doing Performance and Load Testing for Web application which is developed in Angular Java using Visual Studio 2013 ultimate. Our approach : Record the Web test Play back the web test Do correlate and parameterize etc The problem now which we are facing is When we record the...

Is MATLAB faster than Python (little simple experiment)

python,matlab,performance-testing
I have read this ( Is MATLAB faster than Python? ) and I find it has lots of ifs. I have tried this little experiment on an old computer that still runs on Windows XP. In MATLAB R2010b I have copied and pasted the following code in the Command Window:...

C++ - strange time mesurements with and without if statement

c++,if-statement,increment,performance-testing
I stumbled upon a strange duration difference between two equivalent increment syntax. if(seed != state) ++i; this notation measures 2.25 ms per 1048576 iterations i += (seed != state); and this 2.80 ms per 1048576 iterations. Shouldn't the second notation be a bit faster than the first? It is to...

Visual Studio web performance test does not download images

visual-studio-2013,performance-testing,load-testing
Test tool: Visual Studio web performance test. I am creating load test for an ecommerce website, which contains lots of product images. While recording the web test it just records the page reqeust/response time and not the image download time. So on testing page load time always shows lower than...

Increase users in Jmeter

jmeter,performance-testing
I need in Jmeter increase a group of user. For example, increase 10 users every 20 seconds. Somebody knows how to do that ? Thanks in advance....

Load test raw ssl/tls

performance,ssl,jmeter,performance-testing,load-testing
I need to load-test my raw tls server. I try jmeter, but it seems no ssl/tls sampler available(only bundled with http). How can i load - test raw ssl with jmeter? Or maybe there is a better solution?

How to run JMeter server as a service in windows

windows,jmeter,performance-testing,load-testing,jmeter-plugins
Is it possible to run JMeter server as a service in windows? Currently I'm just logging in and running it manually, but from time to time I have to restart this machine and I would like to make JMeter server run automatically after each restart (even no user logs in...

How to use existing Java API tests inside Jmeter

java,api,jmeter,performance-testing,jsr223
We have existing Java tests that singularly tests our back end. These tests are pretty elaborate, and also run as a single users. I would like to know if I can simply take these existing tests/classes/libraries/jars etc and just wrap JMeter around them to execute them as JMeter tests from...

Is Array.pop() in a loop really 50x faster than Array.length =

javascript,arrays,performance,performance-testing
My question is spawned by the Jsperf here: http://jsperf.com/the-fastest-way-to-truncate-an-array/7 The setup code: Benchmark.prototype.setup = function() { var test_array = []; for (var j=0; j< 10000; j++){ test_array[j] = 'AAAAAAAAAA'; } }; And the tests: // Array.slice() method result = test_array.slice(0,100); // Array.splice() method test_array.splice(100); // Modifying Array.length test_array.length = 100;...

Declaring variables for intermediate calculations and performance [closed]

c#,performance-testing,variable-declaration
Sorry this is such a dumb question, but I just have to ask this. I have a program that runs billions of calculations and I'm trying to get it to run faster. In my program, I declare a lot of variables for intermediate calculations. For example, in pseudo code: public...

Perfomance testing for XMPP Chat application with Jmeter & Blazemeter [closed]

xmpp,jmeter,performance-testing,blazemeter
We are trying to do a performance testing for a XMPP-based mobile chat application using Jmeter and Blazemeter. As we are new to XMPP web-services. Can anyone brief us how to use Jmeter or Blazemeter for XMPP and how to record the scripts using XMPP plugin?...

3hrs deployment window and Need to Migrate 190k Telecom subscriber from one Telco to other

sql,plsql,performance-testing,query-performance,telecommunication
I need to write PL/SQL script which need to migrate 190 k subscriber from one Telco to other. With this script , I need to update different tables of subscriber and Account and do service agreement changes which has complex logic. Once each subscriber is migrated then I need to...

Multiple MySQL DB connections in PHP good or bad practise?

php,mysql,performance,performance-testing,database-performance
I want to add a new discussion area to my website in which users will be able to add topics and receive comments. I thought I will add a new DB just for the topics and comments to avoid my main DB becoming very large. But, I will need to...

Performance Testing for Native Mobile Applications

android,performance,mobile,apk,performance-testing
I have to do a POC on Performance Testing for a Native Mobile Application. Need some help on how to go ahead. Many tools in the market work on a browser based on the Mobile. What if, I have developed an app (eg: like Facebook app on Android phone) and...

In Performance Testing, is this a valid test. need expert opinion.

performance,performance-testing,loadrunner,workload
I am running a 1000 user test. and some of the flows have 25 users with the expected throughput as 0.000011574 per second. The client is suggesting that I run it with about 1800 second think time. Using Little's law I am getting the Think Time value to be 2160000....

Loop Count 'forever' does not run test indefinitely

jmeter,performance-testing
JMeter version - 2.12 I am using JMeter with following thread group configuration - Number of Threads - 2 Ramp-Up period - 0 Loop Count - Forever checkbox checked I was expecting tests to run indefinitely since I checked Loop Count 'Forever' checkbox but it stops after 2 thread. Did...

LoadRunner/PC 11.52 and IE11

performance-testing,internet-explorer-11,loadrunner
Our current production version is PC 11.52 patch1 and our company is going to start IE11 roll out soon. We don't have many issues with our current production version so we would like to use it. But 11.52 doesn't support IE11. Because full migration needs lots of work (we have...

load test with varying number of threads in JMeter

jmeter,performance-testing,load-testing
I am have been exploring JMeter for the last couple of days. And I am try to achieve the following: I am trying to create a load test for a service such that, in the first loop 'n' threads are created and in the second loop 'n+m' threads are created...

Ubuntu performance monitor tools like PerfMon

performance,ubuntu,performance-testing,ubuntu-14.04,performancecounter
I am looking for a tool in Ubuntu like PerfMon.exe, what I need to have a report that report the CPU Usage , memory Usage per PID, and the output would be minimum, maximum and average between a period of time like I click start and stop testing. edit1: I...

Difference between Think time and Pacing Time in Performace testing

performance-testing
Pacing is used to achieve X number of iterations in X minutes, But I'm able to achieve x number of iterations in X minutes or x hours or x seconds by specifying only think time without using pacing time. I want to know the actual difference between think time and...

How to decide the ideal hold time in Ultimate Thread Group in Jmeter

jmeter,performance-testing,jmeter-plugins,threadgroup
How can we decide the ideal hold time in Ultimate Thrad Group in Jmeter

Why incremental load and ramping up the threads is considered a best practice?

load,jmeter,performance-testing,loadrunner,grinder
I was looking into performance testing and wanted to ask why ramping up slowly and then running under max load and then slowly ramping down is considered a better paradigm .And test team spends a lot of time achieving a perfect graph for the same. Though its completly subjective but...

Unable to fail the test by timeout using the mocha with protractor

javascript,testing,mocha,protractor,performance-testing
I found on mocha web site then we can set the timeout fot it blocks, but looks like it doesn't work for me. describe('something', function () { this.timeout(500); it('should take less than 500', function (done) { setTimeout(done, 500); browser.get('#/dashboard'); }); }) Run result: something √ should take less than 500...

Should I bundle a javascript framework with my application or use a public CDN?

javascript,caching,browser-cache,performance-testing,cdn
About two or three years ago, I would have summarised the answer to this as. compile all js to one file and minify. complie all css to one file and minify. load external scripts async. set cache control headers to the far future. fingerprint asset urls for invalidation. use your...

Performance Testing Tool for a REST Web API

json,rest,jenkins,scalability,performance-testing
I'm looking for an OpenSource performance testing tool for our REST API. The server (writen in CakePHP) provides functions which deliveres xml / json (both is possible) for a mobile application. Here are some information: REST API Session is saved in Cookies MySQL Jenkin Integration is necessary XML (JSON) validation...

Measure java service performance during machine startup?

java,scalability,startup,performance-testing,java-service-wrapper
We have several java applications which run as Windows services using Tankui's java service wrapper. Our customer is encountering a scalability problem when the machine is starting up (first 30 seconds). Traditionally, we've used jconsole/visualvm to monitor Java Virtual Machine health. But these tools aren't very good for capturing java.exe...

Programmatically execute Gatling tests

testing,performance-testing,cucumber-jvm,gatling
I want to use something like Cucumber JVM to drive performance tests written for Gatling. Ideally the Cucumber features would somehow build a scenario dynamically - probably reusing predefined chain objects similar to the method described in the "Advanced Tutorial", e.g. val scn = scenario("Scenario Name").exec(Search.search("foo"), Browse.browse, Edit.edit("foo", "bar") I've...

How to performance test an AngularJS Web Application?

angularjs,jmeter,performance-testing
I used to do performance testing on websites mostly with JMeter scripts. However, more and more projects are build with frontend MVC's, such as AngularJS and a current project is loading all of it's content via angular view files, REST calls etc. Unfortunately, JMeter doesn't execute any javascript thus my...

Need help in adapting the performance testing tool to do some basic performance checks

performance,performance-testing
Could anyone please suggest the tool that is best suitable to check the performance of the application/website to do the following: Login and Log out of the website( This is to check, how long the site takes to load the page after login) Perform Search Operation ( This is to...

Why is `if` so much faster when checked before a statement than after a statement?

python,performance,python-3.x,performance-testing
Here's an example of what I mean: s = """ if x > 10: x -= 10 else: x = 0 """ import timeit print(timeit.timeit(s, setup="x=5", number=99999999)) Outputs approximately 3 seconds on my computer, regardless of the setup (x=5 vs x=15, no difference) If I were to use much shorter...