load-testing

Setting up HTTP Request Sampler for POST Method in JMeter Test Plan

微笑、不失礼 提交于 2019-12-12 21:25:39
问题 I have a web application where all the pages/services are secured using Central Authentication Service (CAS) based security. I need to perform a load testing on a page using HTTP POST request but have no idea how to configure HTTP Request Sampler for this POST method having access through security of CAS. I can get the Ticket to get access to the page manually from the browser which is as follows: https://<server>:<portX>/testweb-cas/oauth2.0/callbackAuthorize?ticket=ST-17

Rest server (Play Framework) gets “Read Timed out” exception during load test

我是研究僧i 提交于 2019-12-12 18:19:54
问题 We are running a heavy load test (jmeter: 350 threads, 35M total requests) on a rest server using Play Framework and run into the following error after ~2 hour. We remove other components so that request simply take requests and do nothing. Anyone has any idea or simply Play Framework cannot handle heavy load like this? 2014/07/05 11:59:38 WARN - com.company.test.RestTest2: Run TestSQL throw error java.lang.Exception: com.sun.jersey.api.client.ClientHandlerException: java.net

Can I use Amazon ELB for my RDS instance for load balancing?

孤者浪人 提交于 2019-12-12 11:12:02
问题 I have two questions: Can I use ELB on my RDS instance for load balancing? Can I install multiple servers on EC2 instance and run single ELB instance for all servers? 回答1: 1-If you mean having only one RDS instance, there is no point in load balancing requests in front of it. If you mean having more than one RDS instance, it does not make much sense as well to load balance requests, because your database servers will most likely have different data in a given point of time. The only exception

How do I use the --header option to send cookies with Siege?

不打扰是莪最后的温柔 提交于 2019-12-12 08:38:27
问题 I have just started to use Siege to do load/stressing test on a new web server. I am trying to test on my most resource/performance heavy script, but the script requires cookies. What is the proper format for using the --header option in siege? I have tried this with no luck: siege --header="Set-Cookie: PHPSESSID=--COOKIE--; iptoken=--COOKIE--" http://www.myurl.com/script.php, There is no documentation on this that I could find, so any ideas/suggestions would be appreciated. 回答1: The answer

How can I pass a list of values as a parameter to a Visual Studio web performance test or load test plugin?

浪子不回头ぞ 提交于 2019-12-12 06:24:25
问题 Want to pass a list of values as a parameter to a Visual Studio web performance test or load test plugin? Pages such as http://msdn.microsoft.com/en-us/library/ms243191(v=vs.110).aspx explain the basics of how to create a plugin and I have several simple plugins. But there is very little details on how to specify the properties (ie parameters) for the plugin. From examples I have found C# code such as public class MyPlugin : WebTestPlugin { [System.ComponentModel.DisplayName("Simple string

Load testing a Java/Mysql application, where to begin?

折月煮酒 提交于 2019-12-12 05:48:49
问题 I am working on a Java app running in Tomcat with Mysql. I am wondering about what strategy to take for this task. So far the only tools I know of for the job are JMeter and Siege. I also don't know what strategy to take with these tools. Do I just test every request I can make or is there a general practice for identifying pain points? 回答1: We perform a lot of load testing services on behalf of our clients - and we always recommend an agile, iterative approach to load testing. This is

JMeter load-testing : ClassNotFoundException: com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup

一曲冷凌霜 提交于 2019-12-12 03:53:59
问题 I'm trying non-GUI and distributed JMeter load-testing. Before I go distributed, I tested it locally. I installed JMeter on my laptop and setup a testplan targeting the system under test. I installed the plugin manager and install the concurrent thread plugin. I found my JMX file to be correct and working, so I decided to rollout the distributed setting. I setup three machines for load generation : load-1, load-2 and load-3. I installed JMeter as follow : apt update ; apt upgrade on all of

Passing multiple values between ThreadGroups - Jmeter

本秂侑毒 提交于 2019-12-12 03:44:06
问题 I have ThreadGroup1 which performs login operation where it is getting Credentials from CSV file using CSV Dataset Config and saves username and password in two different variables like: ${__setProperty(USERNAMEGlobal, ${USERNAME})} ${__setProperty(PASSWORDGlobal, ${PASSWORD})} Now in ThreadGroup2 I use these credentials using: ${__property()} it works fine for a single user, but if I try multiple users (requests) last value overrides the previous all values and ThreadGroup2 receives only the

JMeter Load test

两盒软妹~` 提交于 2019-12-12 03:27:38
问题 I want to load test a URL by hitting it few hundred times at same millisecond . I tried JMeter but I could hit 2 request at same millisecond. This seems to be problem that my machine cant create threads fast enough . Is there any solution to the issue ? 回答1: In JMeter you can use synchronizing timer setting it to 100, this way all threads will wait until there are 100 available and hit the server: http://jmeter.apache.org/usermanual/component_reference.html#Synchronizing_Timer Another

How to use curl request in JMeter?

末鹿安然 提交于 2019-12-12 02:27:35
问题 I have such curl command: curl -X POST -T "{sample_data.csv}" -H "Content-Type: text/csv" https://api.mysite.com/v1/jobs/upload.json?key={api_key} The problem is I don't understand in which component in JMeter I should pass "{sample_data.csv}" file to upload to the endpoint. Now I have such configuration: When I run test it shows me: "error":{"message":"Un-Acceptable format, Content-Type must be one of those listed in \"formats\" but you sent \"multipart/form-data; boundary=E-VEr1