load-testing

Performance testing using JMeter

爷,独闯天下 提交于 2019-12-11 12:55:45
问题 I am writing a test in JMeter for our web app, but there is one page that loads and then makes an Ajax call using extjs libraries to load an additional piece, and I need to know when that piece loads. How should I go about doing this? can JMeter support extjs libraries? What else do I need to know? Searching the internet I've found some ajax and JMeter resources and a few extjs and JMeter sources, but I have yet to find all three in one place. Thanks in advance! 回答1: JMeter's HTTP request

Unable to capture alpha numeric data using regular expression extractor in JMeter

*爱你&永不变心* 提交于 2019-12-11 12:27:16
问题 I am using regular expression extractor in JMeter to extract the response data which contains something like the following: Set-Cookie: X-Tr-Auth=b1eada98-ffa1-45a3-522e-591a84dd48f2; Path=/msf; Expires=Fri, 05 Dec 2064 09:25:44 UTC; HttpOnly The above data is sent from the server after user logs in, I need to use the above authcode to post a JSON body. I have set the regular expression extractor to the following values: Reference Name: authcode Regular Expression: Set-Cookie: "(.+?)"

Value extraction by REGEX - JMeter

强颜欢笑 提交于 2019-12-11 11:43:32
问题 I want to extract each part of the following serial code delimitered by dash '-' in separated Regular Expression Extractors in JMeter. Serial code: cdaf57ce-1a50-42fc-b548-2c84ad7911a8 The expected result is: Regular Expression Extractor 1: cdaf57ce Regular Expression Extractor 2: 1a50 Regular Expression Extractor 3: 42fc Regular Expression Extractor 4: b548 Regular Expression Extractor 5: 2c84ad7911a8 I tried the following regexes for each: Regular Expression Extractor 1: (\w{8})- Regular

JMeter and simulating the real users

对着背影说爱祢 提交于 2019-12-11 10:45:42
问题 I am wondering if there is something I could use to create a simulator using JMeter that would pick the users from my "user list" based on some kind of pattern. In fact, even simpler: imagine I have the users from 0 to N. Some of them are active, some of them are not. I would like to have some simulated users that are active during certain period (say, hour), then they go dormant, others become active etc. So, out of total N users I would have something like X unique active users per hour, Y

How to load test a web page using Windows authentication

跟風遠走 提交于 2019-12-11 10:45:26
问题 I'm in the process of developing some load tests for an internal web application. The problem appears to be related to our use of Windows authentication. I can access the web application if I launch the browser and nevigate to our app. I can't, however, access the application via webrequest in my load test. It throws a 401 exception, Unauthorized. I'm using Visual Studio 2010 Ultimate. How do I use my Windows credentials in my load test? Any other ideas? 回答1: Select The Test Main node, and

Jenkins+Yandex-tank+Jmeter and hanged jobs

大城市里の小女人 提交于 2019-12-11 10:24:00
问题 I am using CI Jenkins for automation of load-testing with yandex-tank + jmeter. I am using distributed testing and starting summary 10k threads. So, I have a problem when the test should be finished but it`s not happening because (I think so) some threads on remote machines are stuck. Also, I tried to use these settings in jmeter.properties file: jmeterengine.threadstop.wait=1000 jmeterengine.remote.system.exit=true jmeterengine.stopfail.system.exit=true jmeterengine.force.system.exit=true

How to extract All of reg expression matches from html page via JMeter

孤街醉人 提交于 2019-12-11 10:02:52
问题 I have a html page containing userIds of students. I need to extract all the userId values from this html page and use them in a parameter of JMeter HTTP request.. For example i have following data on htm page. <input type="checkbox" StudentID="1503" <input type="checkbox" StudentID="1504" <input type="checkbox" StudentID="1505" so on.. The value I need to send in parameter is like this selectedIds= 1503,1504,1505 and so on.. Now I am not sure how I can get the result that i need to send in

Run Load Tests during build within Visual Studio Online

徘徊边缘 提交于 2019-12-11 09:32:15
问题 I've created a Web Performance and Load Test Project which, for the moment, performs a couple of simple tests on our Dynamics CRM 2013 solution using Visual Studio Online. (Tests will be expanded at a later time) (The Load Test solution itself resides in a on-premises TFS along with all our other projects) When I run my Load Tests on my local machine it all works like a charm. My goal now is to run these Load Tests during the build of the solution. It seems I have to use MSTest as Visual

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

Visual Studio Load Test - Using Data Source with Multiple Agents

牧云@^-^@ 提交于 2019-12-11 06:38:26
问题 I'm using Visual Studio 2015 Load Test and running a Web Performance test that has a data source connected. The data source contains user login information for 250 users. Running this in sequential order on a single agent works fine. However, I'm attempting to add in 10 test agents to share out the load. By design the Load Test copies the data source to each agent and it runs the test. What ends up happening is that all 10 agents start the test using the row 1 user from the data source. I'm