load-testing

How to make jmeter do log replay based on time stamps present in access log lines

拜拜、爱过 提交于 2021-02-19 02:10:53
问题 I recently started load testing my webapp. I used apache access log sampler. I followed this tutorial. https://jmeter.apache.org/usermanual/jmeter_accesslog_sampler_step_by_step.pdf I am able to make it work. But now the problem i replayed all the get requests in less than 10 mins. I want jmeter to run the get requests based on the time stamp at which the get request is posted. I am not able to find any such configuration online. I can write script to curl the get request at that particular

How to make jmeter do log replay based on time stamps present in access log lines

送分小仙女□ 提交于 2021-02-19 02:09:34
问题 I recently started load testing my webapp. I used apache access log sampler. I followed this tutorial. https://jmeter.apache.org/usermanual/jmeter_accesslog_sampler_step_by_step.pdf I am able to make it work. But now the problem i replayed all the get requests in less than 10 mins. I want jmeter to run the get requests based on the time stamp at which the get request is posted. I am not able to find any such configuration online. I can write script to curl the get request at that particular

How to make jmeter do log replay based on time stamps present in access log lines

对着背影说爱祢 提交于 2021-02-19 02:09:02
问题 I recently started load testing my webapp. I used apache access log sampler. I followed this tutorial. https://jmeter.apache.org/usermanual/jmeter_accesslog_sampler_step_by_step.pdf I am able to make it work. But now the problem i replayed all the get requests in less than 10 mins. I want jmeter to run the get requests based on the time stamp at which the get request is posted. I am not able to find any such configuration online. I can write script to curl the get request at that particular

How to bind user defined extraction rule dynamically in WebTest?

拈花ヽ惹草 提交于 2021-02-08 12:11:54
问题 Apart from "Promote Dynamic parameter to webtest parameter"(which binds session key only), Can we able to bind fetchgriddata=>grid name,execute grid action,etc? for which extraction rules are user defined. 回答1: Immediately after a test is recorded, Visual Studio asks whether it should "Promote dynamic parameters to webtest parameters" . If you are not sure then answering "Yes" is normally best. After recording and promoting dynamic parameters the test can be further customized (i.e. made to

How to get the response time of calls made within an API with Jmeter

元气小坏坏 提交于 2021-01-29 18:32:51
问题 I'm using J-meter to get response time for an API via HTTP request but this API internally few more api services. Now, i need the response time taken by these internal calls too. Pls could anyone assist to get this one sorted via J-meter 回答1: Below is what I can think of:- Check on "Follow Redirect" and then use listener like "View Result tree" or "Simple Data Writer" to write the output in an XML format instead of CSV. There you can find the redirected URLs and response time. But, XML

Testcafe concurrent load test performance

折月煮酒 提交于 2021-01-29 14:17:08
问题 I am trying to run a load test on my web application with Testcafe, by concurrently running a single test for each "user" in the system. I need to run 1000 instances of the test but ran into a resource problem on the test side - running multiple Testcafe instances is very resource heavy and I was wondering if anyone knows a way to run a batch of Testcafe tests concurrently without the performance overhead? 回答1: As an alternative, you can run TestCafe in an AWS lambda with a headless browser.

How to get the response time of calls made within an API with Jmeter

岁酱吖の 提交于 2021-01-29 08:57:19
问题 I'm using J-meter to get response time for an API via HTTP request but this API internally few more api services. Now, i need the response time taken by these internal calls too. Pls could anyone assist to get this one sorted via J-meter 回答1: Below is what I can think of:- Check on "Follow Redirect" and then use listener like "View Result tree" or "Simple Data Writer" to write the output in an XML format instead of CSV. There you can find the redirected URLs and response time. But, XML

Downloading whole websites with k6

血红的双手。 提交于 2021-01-28 05:26:41
问题 I'm currently evaluating whether k6 fits our load testing needs. We have a fairly traditional website architecture that uses Apache webservers with PHP und a MySQL database. Sending simple HTTP requests with k6 looks simple enough and I think we will be able to test all major functionality with it, as we don't rely on JavaScript that much and most pages are static. However, I'm unsure how to deal with resources (stylesheets, images, etc.) that are referenced in the HTML that is returned in

Team test: Failing load. Request failed: The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF

杀马特。学长 韩版系。学妹 提交于 2021-01-28 00:36:10
问题 The folk in the QA department use visual studio team test (2008 IIRC) to run load tests against our web application. The latest set of tests have failed on several pages. The error reported is Request failed: The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF Searching for this using google yields quite a few results. it would appear that this error message is generated from the .Net framework WebRequest class (i.e. it is not a visual studio

Jmeter multiple executions for each record from CSV

拜拜、爱过 提交于 2021-01-27 21:42:51
问题 I have a CSV of 100 records/rows, that I wish to execute (through a service) using JMeter. Now, I want to execute each record 3 times (each after a delay of say, 5 secs), and do the same for all 100 records in the CSV. How can I do so using JMeter? 回答1: This doesn't look to be hard implemented using jmeter's standard components. Use properly configured CSV Data Set Config under While Controller to read all the entries from your csv-file. In the same cycle use Loop Controller set to required