performance-testing

What is the SQL used to create the Running Vusers graph in LoadRunner Analysis?

 ̄綄美尐妖づ 提交于 2020-01-06 08:42:25
问题 In HP LoadRunner Analysis, there is a running vusers graph that shows the current number of virtual users that are running throughout the test. An example graph is shown below. Does anyone know what is the SQL used to create the data for this graph? I know the data is stored in the LoadRunner analysis MDB database directly? ie An_Session1.mdb, though I am unable to determine the SQL Query. Thanks 回答1: I've refined the query a bit so I post a new answer instead of editing the previous one.

Correlation issue in jmeter:The required anti-forgery form field “__RequestVerificationToken” is not present

China☆狼群 提交于 2020-01-06 08:09:05
问题 Am trying to generate performance test script in jmeter. Here one of the page requires __RequestVerificationToken as one field which need to be generated from previous page. We have used regular expression extractor to capture the token and passed the same in subsequent request. In the view result tree, I can see the request verification token in appropriate but we are getting an error The required anti-forgery form field "__RequestVerificationToken" is not present. Here is the regular

How to create a script using jmeter for scenario based

雨燕双飞 提交于 2020-01-06 06:34:19
问题 I want to perform performance testing using JMeter, I have the following scenario which i want to record and run 5 min 300 users(Login) -> 20 min 150 users(assessment save) -> 5 min 40 users (Submit assessment) when users login simultaneously 20 min 50 users (Browsing). Please refer screenshot for reference. I want to create a script on the basis of the scenario. 回答1: Record all your use cases separately using JMeter's HTTP(S) Test Script Recorder. After recording make sure to correlate any

Error: Failed to send data by channels - post message failed in Loadrunner

空扰寡人 提交于 2020-01-05 07:24:36
问题 I used LR for performance testing and encountered the below error: Error: Failed to send data by channels - post message failed. Does such error indicate agents number bottleneck? If so, I just need to add agents, right? Thanks for the tips. 回答1: The error occurs on the Load Generator machine(s) when one of the threads under lr_bridge.exe that updates the eve files is not getting enough CPU time slice to be able to send events to the Controller. Enabling an additional flag in the mdrv.dat

Measure Java Program Performance

人盡茶涼 提交于 2020-01-04 17:52:30
问题 I had an old application, a JAR file, that went through some enhancements. Basically some parts of the code had to be modified along with modifying some of the logic. Comparing the OLD version against the NEW version, the NEW version is about 2X slower than the old one. I'm trying to narrow down whats causing the slow down, but I'm finding myself measuring the time for certain for-loops using System.println with System.currentTimeMillis(). This is really getting very tedious. Is there a Java

Azure Long Response Time bottleneck?

那年仲夏 提交于 2020-01-04 09:04:21
问题 How does one diagnose performance (response time) bottlenecks in Azure? I've got a .NET Core website on Azure that consists of a web app service and one SQL database. I've set up load test and deployed it via the cloud to hit the website. Configuration properties for the load test agents are 4 cores start at 10 simultaneous users, + 10 every 20 seconds, up to 150 users 5 second think time between requests Web app resource allocation is as follows 2 instances of 4 Core, 7GB RAM (S3 Standard)

Cas Ticket Issue in Jmeter

回眸只為那壹抹淺笑 提交于 2020-01-04 07:59:48
问题 I have a web application which uses CAS Ticket for user authentication purpose which is different for every login. I recorded the script in JMeter. Also I correlated the pages by filling up the Regular Expression Extractor as follows: Recorded script has url: https://foo.com/j_spring_cas_security_check?ticket=ST-3101-QDTyjbbHoOHvgPMdRBIg-cas . After applying all above I ran the script but got status fail displaying https://foo.com/j_spring_cas_security_check?ticket=Ticket_Not_Found . It would

Publishing messages to ActiveMQ using Gatling

和自甴很熟 提交于 2020-01-03 18:58:21
问题 I have been using Gatling to publish messages to ActiveMq server. I get "java.lang.SecurityException: Invalid username: null or empty" tho I use valid username and password. Here is my test code and the exception were thrown. Any inputs on how to fix this will be of help. import io.gatling.core.Predef.Simulation import io.gatling.core.Predef._ import io.gatling.jms.Predef._ import io.gatling.core.config.Credentials import org.apache.activemq.ActiveMQConnectionFactory import org.apache

Getting reliable performance measurements for short bits of code

非 Y 不嫁゛ 提交于 2020-01-03 04:53:07
问题 I'm trying to profile a few set of functions which implement different versions of the same algorithm in different ways. I've increased the number of times each function is run so that the total time spent in a single function is roughly 1 minute (to reveal performance differences). Now, running several times the test produces baffling results. There is a huge variability (+- 50 %) between several executions of the same function, and determining which function is the fastest (which is the

VS Web Load test returning 415 Unsupported Media Type though Content-Type is specified as application/json

孤街浪徒 提交于 2020-01-02 08:54:19
问题 I am creating a Web Load test using VS. I am testing a service that I created using WebAPI. The WebAPI works well, I am now trying to do performance/load testing on it. Here is a picture that shows how I have set up the test: When I run the test, I get a 415 Unsupported Media Type response back. Also, you can see that it states in the request that the Content-Type is there: When inserting headers, I don't see Content-Type listed as one of the options so I just typed it in. How do I correctly