Hot answers tagged

2

I would recommend sticking to "reality" approach if it is possible, so ideally it will be scenario 1. Also consider using appropriate pauses to simulate real users think times as they don't hammer the application non-stop, they require some time before doing the next operation. So I would rather go for "virtual users" as the approach and "throughput" as a ...


2

I use HP LoadRunner(fyi) so I have 90th percentile, but the question does not change. I explain to managers consuming these reports: The Std. Deviation number should be low. If your test is fairly consistent in load you want to see this number low because it means most response times are close in number. The Mean is great but only accounts for what 50% ...


1

Load Testing and Stress testing are very different scenarios. Load testing is more likely the upper limit of your system and checked how the system will handle under a heavy load. Stress testing is more on how system behaves under extreme heavy load and how it will recover in case there will be a failure. Or shall we say that this is done with unexpected ...


1

There are lots of unknowns in your question to give an answer and thus to define a proper experiment. Instability point. You said you want to find maximum throughput until the application becomes unstable. How do you define instability of your application? When error rate increases to 20%, 40%, 50%? What makes an error? HTTP 500 response? Connection drop ...


1

message queue performance can depend a lot on how you design the structures of your queues. you should only really do a comparison when you have a representative schema that models the system you want to use. You wont learn much from trying to saturate queue. you will also find that the queue client you use will effect performance as well as there a few ...


1

All of them can be run in clustered mode so theoretically any will fit. Looking into Open Source Load Testing Tools: Which One Should You Use? article: JMeter and Tsung seem to perform better given the same hardware so you can stick to one of them. Be aware that Tsung can be installed on limited number of operating systems, as per documentation ...


1

This kind of test is impossible to do locally or using only one machine. You can use JMeter Distributed features to achieve this scale. It is not an easy task, but it is doable. An introduction to this feature can be found here: http://jmeter.apache.org/usermanual/remote-test.html


1

Use saveAs ans session. Something like this (maybe needs some changes): .exec(http("request_11") .post("/notifications/statusUpdate") .headers(headers_11) .formParam("notif_id", "152") .formParam("conditions", "") .resources(http("request_11 Redirect") .get("/employee/selfservice/grievance") .check(jsonPath("$") .saveAs("myresponse")) ).exec(session =...


1

The simplest way to find out how many concurrent users your app can take is to change the number of concurrent users (atOnceUsers()) the test runs. Ten concurrent users is atOnceUsers(10) Just keep increasing the number of concurrent users until something fails. You do not need to allocate memory for your server: you need to note that the app fails with x ...


1

I think this link should be a nice start. It has a step by step description of how to use Gatling and also pictorial representation helps a lot in understanding. This link also would help you in getting acquainted with Gatling.


1

It isn't something you can actually record, if your application uses Google credentials for authentication, most probably you need to implement OAuth flow in your Gatling test i.e. Provide OAuth credentials as a part of your request Extract dynamic response parts like redirect URL or using Checks Once you get Access Token add the relevant Header to your ...


1

This is how I did it, by adding methods in gatling: package simulations.syncservice import io.gatling.core.Predef._ import io.gatling.http.Predef._ import scala.concurrent.duration._ import scala.concurrent.forkjoin.ThreadLocalRandom import scala.language.postfixOps import scala.math._ class PostActivitySimulation extends Simulation { var startEpoch = ...


Only top voted, non community-wiki answers of a minimum length are eligible