stress-testing

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

Running testng suite on selenium grid and docker

怎甘沉沦 提交于 2019-12-12 04:23:52
问题 I created a Selenium hub and 3 chrome nodes using docker. i can see the 3 chrome instances are up and running in the docker Now how do i stress test a web application. please suggest the steps to run test on selenium grid inside the docker. 回答1: You may start with this simple Python test #!/usr/bin/env python2.7 SELENIUM_HUB = 'http://localhost:4444/wd/hub' from selenium import webdriver from selenium.webdriver.common.desired_capabilities import DesiredCapabilities driver = webdriver.Remote(

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

Load testing in Visual Studio. How number of simultaneous users is implemented in Visual Studio?

北慕城南 提交于 2019-12-11 18:11:36
问题 Could you please explain, how load or stress test is released inside Visual Studio when the test is oriented on the number of simultaneous users? Example: Step user count: 0 Initial user count: 2. Run duration and step duration: does not important really because user count is always the same (2), let it be 30 seconds for run duration and 30 seconds for step duration. It is a kind bit weird configuration for the test but it helps to show the main idea of my question. Web serivce is able to

Maintaining http request in jmeter for certain amount of time

。_饼干妹妹 提交于 2019-12-11 18:06:23
问题 I want to stimulate say 1000+ users logging in/do stuff/etc and staying in the system, for say 5 minute before logging out/doing something else. While these 1000+ are staying, I will loop it through so additional 1000+ users are sent in and so on - sort of like trying to cram as many users onto the server as possible and keeping them there while cramming more. Is it possible to do something like this? I did some looking around, and there is a keepalive option in jmeter, but how long does this

How to test Android Application;s UI using Monkey

醉酒当歌 提交于 2019-12-11 15:47:18
问题 I am trying to test my Android app using Monkey. There they say use this command, $ adb shell monkey -p your.package.name -v 500 In my app, I have package name as travelceylon\client so if I give the command as: adb -e shell monkey -p travelceylon\client -v 1000 ...it will show errors like this: :Monkey: seed=0 count=1000 :AllowPackage: travelceylonclient :IncludeCategory: android.intent.category.LAUNCHER :IncludeCategory: android.intent.category.MONKEY ** No activities found to run, monkey

Efficient way to generate 2 billion rows in SQL Server 2014 Developer

匆匆过客 提交于 2019-12-11 09:53:13
问题 Long story short; I am testing a system to purge entries from a table over a network connection, and the functionality is predicted to handle over 2 billion entries at most. I need to stress test this to be certain. Here's my test script (At best it's able to generate 9.8 million in ten minutes.) DECLARE @I INT=0 WHILE @I <2000000001 BEGIN INSERT INTO "Table here" VALUES(@I) SET @I=@I+1 END Can anyone suggest anything, or give me an idea what the upper limits of my test environment might be

Siege tool not working with HTTPS sites

青春壹個敷衍的年華 提交于 2019-12-11 07:46:25
问题 I am using Siege 3.0.3 from CentOS 6.4. My question is : how does 'Siege' supports HTTPS protocol? So far using this tool the HTTP sites testing is OK. But, I am facing certain issues (all described below) while dealing with the HTTPS sites. As suggested by someone, to make HTTPS work I have compiled siege with openssl. For doing this, I followed the procedure as mentioned in the below site. http://drewsymo.com/how-to/installing-siege-stress-tester-on-centos-6-3/ In brief, I ran the following

DequeueBuffer exception

落花浮王杯 提交于 2019-12-11 06:50:02
问题 I am stress testing my MonoDroid app. Each loop through the test involves giving the app a simple input, then updating the UI. I am consistently seeing the following after 97 loops through the stress test. Afterwards, the UI no longer updates: [Surface] dequeueBuffer failed (Invalid argument) [ViewRootImpl] Could not lock surface [ViewRootImpl] java.lang.IllegalArgumentException [ViewRootImpl] at android.view.Surface.nativeLockCanvas(Native Method) [ViewRootImpl] at android.view.Surface