title,body,link,tags,view_count,is_answered,score,answer_count
Performance Testing ReactJS components using Performance Testing tool,"<p>I am testing ReactJS application for performance perspective with Jmeter tool</p>

<p>After executing Login feature, Response data in ""View Results in Tree"" shows following:</p>

<blockquote>
  <p>JavaScript seems to be disabled in your browser. You must have JavaScript enabled in your browser to utilize the functionality of this website.</p>
</blockquote>
",https://stackoverflow.com/questions/46426674/performance-testing-reactjs-components-using-performance-testing-tool,"['apache', 'performance', 'reactjs', 'jmeter', 'performance-testing']",1014,FALSE,0,0
Docker Performance Testing,"<p>We have an Artifactory endpoint which we want to performance test. </p>

<p>For that we want to inject load of multiple Docker image files to the Artifactory server. </p>

<p>What is the best way to create such multiple image file load? </p>

<p>Ideally we would like to tie this in to JMeter so that JMeter itself can upload Docker image files to Artifactory. </p>
",https://stackoverflow.com/questions/42290538/docker-performance-testing,"['java', 'performance', 'docker', 'jmeter', 'artifactory']",1025,FALSE,0,2
Jmeter performance testing :,"<p>I have a requested in jmeter that request created new one request, so I need that new one request url in a variable because new one request having a user I'd. </p>
",https://stackoverflow.com/questions/45686010/jmeter-performance-testing,['jmeter'],35,FALSE,-2,1
PostgreSQL performance testing - precautions?,"<p>I have some performance tests for an index structure on some data. I will be comparing 2 indexes side-by-side (still not decided if I will be using 2 VMs). I require results to be as neutral as possible of course, so I have these kinds of questions which I would appreciate any input about... How can I ensure/control what is influencing the test? For example, caching effects/order of arrival from one test to another will influence the result. How can I measure these influences? How do I create a suitable warm-up? Or what kind of statistical techniques can I use to nullify such influences (I don't think just averages is enough)?</p>
",https://stackoverflow.com/questions/41926567/postgresql-performance-testing-precautions,"['database', 'postgresql', 'testing', 'performance-testing']",708,TRUE,2,2
cppUnitTests for performance testing,"<p>We are evaluating CPPUnitTest framework to do some performance evaluation of a particular production by consuming its API. The test is expected to login into the application and then perform some activities and then logout. While I am aware of how to achieve this using cppUnit suite, the part that I am not aware completely is to know how to set up the suite so that 100 different logins happen in parallel. Do you suggest anything suitable for this.</p>

<p>We want to use cppUnitTest framework and pull off performance testing by letting around 100 users login into the application and do some activity and log out.</p>

<p>Thanks,
Pavan.</p>
",https://stackoverflow.com/questions/43987350/cppunittests-for-performance-testing,"['c++', 'unit-testing', 'performance-testing', 'cppunit']",132,FALSE,0,0
Web page performance testing,"<p>I'm not new in load testing. My job is to create a load testing with jmeter. I did not bother with tread number, clients, memory consumption ,etc. For jmeter load testing i used 3 client , each of them run 1000 threads (30% CPU was used), results were expected all the time. No problems were detected on SUT or clients.</p>

<p>I'm put before new challenge. Now i have to execute web performance testing on browsers.I don't know if i create a correct picture about performance testing.
I want to measure, first byte, load time on web page, java script, Ajax, etc,... </p>

<p>Web automation tests are written in selenium. Selenium is not mentioned for web load testing.</p>

<p>Lets say to simulate 1.000 users clicking ob browser, this means a lot of VM, collecting results from browsers(DOM counters), SUT is managed by PS script to take data from perf. counters. I see a problem a lot of VM means also financial budget which i do not have.</p>

<p>I'm in doubt if the upper approach is correct or should change my approach.
One of these tools is Visual Studio Ultimate edition. But i still need a lot of VM to simulate 1,000 users - browsers. </p>

<p>On the internet i read a documents, descriptions, top tools.</p>

<p>How do you do changeling web page performance testing on you company.</p>

<p>Any help about web page performance will be appreciated.</p>

<p>Thanks,</p>

<p>Dani</p>
",https://stackoverflow.com/questions/47415503/web-page-performance-testing,"['javascript', 'java', 'visual-studio', 'selenium', 'performance-testing']",370,TRUE,0,1
Xcode performance testing failure percentage,"<p>I am performance testing a function using <code>XCTestCase</code> <a href=""https://developer.apple.com/reference/xctest/xctestcase/1496290-measure"" rel=""noreferrer"">measure(_:)</a>.</p>

<p>If the percentage increase in time (from the set baseline) is 62% worse, the test still passes:
<a href=""https://i.stack.imgur.com/gHn2Z.png"" rel=""noreferrer""><img src=""https://i.stack.imgur.com/gHn2Z.png"" alt=""enter image description here""></a></p>

<p>However, if the percentage increase in time is 65% worse, the test fails:
<a href=""https://i.stack.imgur.com/wrLFj.png"" rel=""noreferrer""><img src=""https://i.stack.imgur.com/wrLFj.png"" alt=""enter image description here""></a></p>

<p>and the failure message says ""<strong>(max allowed: 10%)</strong>""</p>

<p><strong>My questions</strong>:</p>

<ol>
<li>Does the ""max allowed: 10%"" message imply the test should have failed in the first case when the time increased by 62%?</li>
<li>Is the max allowed increase officially documented anywhere because I can't find it in any official documentation.</li>
<li>Is there a way to customize the max allowed percent increase? I see there is a way to adjust the max STDEV, but that's not what I mean.</li>
</ol>

<p><strong>Note</strong>: In all my testing it appears that if <code>(%increase - STDEV) &gt;= 60%</code> the test will fail, otherwise the test will pass.</p>
",https://stackoverflow.com/questions/42672974/xcode-performance-testing-failure-percentage,"['ios', 'swift', 'xcode', 'xcode8']",145,FALSE,7,0
Performance Testing Kafka using loadrunner,"<p>I have been searching on google for a while whether is their any plugin in loadrunner to test Kafka cluster but found nothing. I realized lately that we can a send message through a java program with help of packages like apache.kafka.clients  </p>

<p>I have created a new Java Virtual user. </p>

<p>This is the simple code that i have used producing messaging:</p>

<pre><code>import lrapi.lr;
import java.util.*;
import org.apache.kafka.clients.producer.*;

public class Actions
{

    public int init() throws Throwable {
        return 0;
    }//end of init


    public int action() throws Throwable {
        String topicName = ""loadrunnertest"";
      String key = ""Key1"";
      String value = ""hello Vishal"";


      Properties props = new Properties();
      props.put(""bootstrap.servers"", ""localhost:9092"");
      props.put(""key.serializer"",""org.apache.kafka.common.serialization.StringSerializer"");         
      props.put(""value.serializer"", ""org.apache.kafka.common.serialization.StringSerializer"");

      Producer&lt;String, String&gt; producer = new KafkaProducer &lt;String,String&gt;(props);

      ProducerRecord&lt;String, String&gt; record = new ProducerRecord&lt;String,String&gt;(topicName,key,value);
      producer.send(record);           
      producer.close();

      System.out.println(""SimpleProducer Completed."");
      return 0;
    }//end of action


    public int end() throws Throwable {
        return 0;
    }//end of end
}
</code></pre>

<p>Add all required jars in classpath under runtime settings.<br>
By this i am able to connect to Kafka cluster.<br>
As i have used java to send request will it impact on end results?</p>
",https://stackoverflow.com/questions/46035332/performance-testing-kafka-using-loadrunner,"['apache-kafka', 'performance-testing', 'loadrunner']",5085,TRUE,2,1
Performance Testing of cloud applications,"<p>So we have systems/applications moving to cloud. As per my research all the basic principles still apply while testing performance. My Question is;</p>

<p>Does it matter where my performance tool is located while testing a cloud application?</p>

<p>For example: If I use LoadRunner for testing application on cloud then should my LoadRunner tool also be installed on cloud? or if I use it the on-site LoadRunner for performance test then then chances of traffic bottle-necks increase?</p>
",https://stackoverflow.com/questions/45863730/performance-testing-of-cloud-applications,"['performance', 'cloud', 'performance-testing', 'loadrunner']",111,TRUE,1,1
Performance testing of dotnet core WebAPI,"<p>I was wondering if there are any tools worth of trying to test dotnet core WebAPI performance during high load.</p>

<p>In the past I used <code>jMeter</code> of Apache, but configuring that alongside with TeamCity and dotnet core builds is a bit of pain.</p>

<p>I am looking for something that could deliver statistics, so automated run of tests can give me information if recent changes have or haven't decreased performance etc.</p>

<p>I also did a quick google, VisualStudio has something on board, but first of all it requires Enterprise edition of software, and I am not convinced if that tool is good enough.</p>

<p>Thank you</p>
",https://stackoverflow.com/questions/46372505/performance-testing-of-dotnet-core-webapi,"['performance-testing', 'asp.net-core-webapi']",786,TRUE,8,1
Performance Testing using HP ALM,"<p>I am new to testing and HP ALM (have worked with HP Quality Center though). As part of the process, I am required to do performance testing of interfaces belonging to several work streams like HR, Finance, etc. 
There is already a functional testing carried out and test scripts available as part of them. How do I create test scripts as part of the performance testing?</p>
",https://stackoverflow.com/questions/44135397/performance-testing-using-hp-alm,"['performance', 'performance-testing', 'hp-alm']",105,FALSE,1,0
Office Online Server performance testing,"<p>We are testing an application that uses Office Online Server for Word document editing and we would like to ensure that our Office Online machines will be able to handle whatever load we are going to have.</p>

<p>But there is a problem. When we inspect the requests that are going through to Office Online server we can't figure out how are they constructed. We can run the same requests with changed revision Id and it adds a symbol to the document but it stops working the next day (all the cookies are refreshed on every test run).</p>

<p>I'm looking for an advice on how to construct the request that will add a symbol to the start or end of the document.</p>
",https://stackoverflow.com/questions/44151646/office-online-server-performance-testing,"['office365', 'performance-testing']",274,FALSE,1,0
Jmeter Performance testing: Thread leakage,"<p>Can JMeter detect thread leakage also in a java application. That is one can observe a thread leakage by JVisualvm but is there not any plugin etc. for JMeter that can detect thread leakage in a Java application. If not then is there any other performance testing tool that can detect thread leakage in a java application and why Jmeter can not do it?</p>
",https://stackoverflow.com/questions/41469956/jmeter-performance-testing-thread-leakage,"['java', 'multithreading', 'jmeter', 'performance-testing']",367,FALSE,0,1
Performance Testing for Hybird App,"<p>I am supposed to do a performance test for a Hybrid App. </p>

<p>First, from my adroid device i have modified the proxy settings by choosing Manual option and entered my system IP address as proxy server 192.168.1.10 and entered Port as 8080. </p>

<p>And then from Jmeter 3 i took Recording Controller Template from HTTPS Script Recorder I entered the port as 8080. </p>

<p>After Starting HTTPS Script Recorder when i opened my hybrid app it was not working. ""Unfortunately we cannot find your account information"". This means that Hybrid apps is not connecting internet through Proxy mode.</p>

<p>But i am able to get response from other apps installed in my android device.</p>

<p>I tried Neoload, Blazemeter as well <a href=""https://guide.blazemeter.com/hc/en-us/articles/207420545-BlazeMeter-Proxy-Recorder-Mobile-and-web-"" rel=""nofollow noreferrer"">https://guide.blazemeter.com/hc/en-us/articles/207420545-BlazeMeter-Proxy-Recorder-Mobile-and-web-</a>. </p>

<p>But the same issue i faced every where.</p>

<p>Please provide me a solution to make the Hybird App work even after connecting internet through Proxy Mode.</p>

<p>Thanks</p>

<p>N Ali</p>
",https://stackoverflow.com/questions/44612357/performance-testing-for-hybird-app,['jmeter'],176,FALSE,0,2
Neo4j: Cypher Performance testing/Benchmarking,"<p>I created a Neo4j 3 database that includes some test data and also a small application that will send http cypher requests to Neo4j. These requests are always of the same time. Acutally its a query template that just differs by some attributes. I am interested in the performance of these statements.
I know that I can use the <code>PROFILE</code> to get some information in the browser. But I want to execute a set of statements, e. g. 10 example queries, several times and calculate the average performance. Is there an easy way or a tool to do this or do I have to write e. g. a Python script that collects these values? It does not have to be a big application, I just want to see some general performance metrics.</p>
",https://stackoverflow.com/questions/41639156/neo4j-cypher-performance-testing-benchmarking,"['neo4j', 'cypher']",1578,TRUE,0,1
Performance Testing for Solace Systems,"<p>Could you please share an approach or any strategy to do performance testing for Solace middle-ware systems and Oracle forms</p>
",https://stackoverflow.com/questions/45819850/performance-testing-for-solace-systems,"['oracleforms', 'solace-mq']",432,FALSE,0,1
CPU utilization in performance testing,"<p>I am doing performance testing on an app. I found when the number of virtual users increases, the response time increases linearly(should be natural, right?), but the CPU utilization stops increasing when reaches around 60%. Does it mean the CPU is the bottleneck? If not, what could be the bottleneck?</p>
",https://stackoverflow.com/questions/44774947/cpu-utilization-in-performance-testing,['performance-testing'],5203,FALSE,0,1
performance testing on google maps,"<p>Our client has implemented google maps on which user can select particular location from the map which can be added by the user and perform the next action of it. How should i test the dynamic value appearing from the google maps for a particular search criteria .. </p>

<p>for example here is the scenario</p>

<p>you search a location--> get the desired result go to google map--> click on the add button of that location and proceed futhur.</p>

<p>How should i design my testplan/scripts for the same.</p>

<p>I cannot go for correlation also because the value of data is not define in the previous sample using regular expression.I want to change the data dynamically in the same sampler.</p>

<p>Thanks :) :) :) </p>
",https://stackoverflow.com/questions/45055693/performance-testing-on-google-maps,"['performance', 'jmeter']",300,FALSE,0,0
Performance testing on big data,"<p>I'm new in performance testing and I have to test the performances of some processes on big data (basically Spark streaming/batch).</p>

<p>I'd like to know which are the best tools (easy to use, performant, robust, ...) to do it and, if possible, if they can be integrated in Robot Framework (e.g. I already saw in another question that there is a plugin for Jmeter but personally the tool seems too much web oriented).</p>

<p>Thank you in advance</p>
",https://stackoverflow.com/questions/44502825/performance-testing-on-big-data,"['performance-testing', 'robotframework', 'bigdata']",1278,TRUE,0,1
Performance Testing Between JMeter and LoadRunner,"<p>Some URL response in LoadRunner is not included in JMeter Performance Tool.</p>

<p>Is there a way to add to missing URL responses in JMeter to simulate the same scenario for both tools?</p>
",https://stackoverflow.com/questions/42066881/performance-testing-between-jmeter-and-loadrunner,"['performance', 'jmeter', 'loadrunner']",451,TRUE,1,1
API performance testing connection time out,"<p>Currently working on the performance of my RESTFul api implemented using node js and mysql. For load testing of my APIs I'm using jmeter. So When I call my one of url for testing load with configuration</p>

<p>Virtual Users : 100,
Total Duration : 60s,
Time delay : 0s,
Ramup-Period : 1s</p>

<p>Jmeter show status OK for around 300-400 results and after that It timeouts for rest of request. Then after this I'm not able to ssh login or ping my server from my system till restart my system. Why this is happening?. Is it problem of my APIs design or server load problems.</p>
",https://stackoverflow.com/questions/43558493/api-performance-testing-connection-time-out,"['mysql', 'node.js', 'jmeter', 'performance-testing', 'restful-architecture']",574,FALSE,0,1
XCTest performance testing of POST API,"<p>I am implementing Unit Test for my iOS swift project. I want to implement performance test for the POST API which I had in my project, but I don't know how to implement that POST API. I have tested GET APIs and that give me desired results. </p>

<p>Here's the code what I am trying to implement </p>

<pre><code>func testPerfromancePOSTAPI() {
        let session = URLSession.shared
        var request = URLRequest(url: MY_URL)
        request.httpMethod = ""POST""
        request.addValue(""application/json"", forHTTPHeaderField: ""Content-Type"")
        request.addValue(""application/json"", forHTTPHeaderField: ""Accept"")
        do {
            request.httpBody = try JSONSerialization.data(withJSONObject: MY_SERVICE_PARA, options: .prettyPrinted)
        } catch let error {
            print(error.localizedDescription)
        }
        self.measure {
            let task = session.dataTask(with: request as URLRequest, completionHandler: { data, response, error in
                guard error == nil else {
                    return
                }
                guard let data = data else {
                    return
                }
                do {
                    if let json = try JSONSerialization.jsonObject(with: data, options: .mutableContainers) as? [String: Any] {
                        print(""response JSON = \(json)"")
                    }
                } catch let error {
                    XCTFail(""Expectation Failed with error: %@"", file: error as! StaticString);
                }
            })
            task.resume()
        }
    }
</code></pre>

<p>When I run this test it passes successfully but doesn't print the response JSON and neither gives an error and shows that ""Time 0.0000 sec (161% STDEV)"", while running the same API in postman it takes few sec.
Please check and help me out this.</p>
",https://stackoverflow.com/questions/45004953/xctest-performance-testing-of-post-api,"['ios', 'swift', 'performance-testing', 'xctest', 'xctestcase']",1085,FALSE,0,2
Mass upload pictures for performance testing,"<p>To test performance with many and large binary objects, I need 1.000 or more document attachments to be available within Exact Online.</p>

<p>Loading them through the user interface is quite cumbersome: many clicks per document and there is no easy drag &amp; drop. Email might be an option, but still with 1.000 documents it is a hassle.</p>

<p>How can I fast load a large volume of document attachments into Exact Online?</p>
",https://stackoverflow.com/questions/45017034/mass-upload-pictures-for-performance-testing,"['exact-online', 'invantive-sql']",32,TRUE,0,1
Load balancing issue during performance testing,"<p>A strange observation from a recent test. Any direction would really help. 2 load balanced presentation servers are showing cpu usage moving in opposite direction i.e. 1 node reaches 100% gradually while the other node cpu usage decreases after test is started. The next day test, same pattern was seen but node 2 was reaching 100% but node 1 usage decreased.  From F5 we can see connections are nearly equal in both nodes. F5 rule is round robin.</p>
",https://stackoverflow.com/questions/42750608/load-balancing-issue-during-performance-testing,"['performance-testing', 'internal-load-balancer']",337,FALSE,0,0
Performance testing in a specific browser,"<p>I need to test the performance of a website in a specific browser (IE). Is it possible to do in Jmeter? Or is there any other tool that can do this?</p>
",https://stackoverflow.com/questions/44286957/performance-testing-in-a-specific-browser,"['jmeter', 'performance-testing']",795,TRUE,-1,2
Performance testing result analysis using jmeter,"<p>I need to undergo performance testing for my project and I have learned how to Handle the Jmeter for Performance testing through online, but still, i was unable to find the solution how to analyze the result? from the report.I do know how to analyze the result so that I can't able to find the Performance Issue I n m application, where the error had been occurring, so from that how I can improve that performance.Is there is any article or video tutorial to learn how to analyze the result?</p>
",https://stackoverflow.com/questions/45977420/performance-testing-result-analysis-using-jmeter,"['jmeter', 'performance-testing', 'jmeter-plugins']",380,FALSE,-1,1
Load performance testing with Gatling and Content-Type,"<p>I am using gatling for load performance testing on a brand new API. It seems fairly easy and well documented but I am facing an issue as simple as POST a request with Content-Type set to 'application/vnd.api+json' on the Header. All works well when doing the GET stuff but when launching a POST test I get a </p>

<pre><code>HTTP response:
status=
415 Unsupported Media Type
headers= 
cache-control: [no-cache]
Content-Type: [application/vnd.api+json; charset=utf-8]
Date: [Fri, 08 Sep 2017 12:57:10 GMT]
Server: [nginx]
Vary: [Origin]
x-content-type-options: [nosniff]
x-frame-options: [SAMEORIGIN]
X-Request-Id: [ff993645-8e01-4689-82a8-2f0920e4f2a9]
x-runtime: [0.040662]
x-xss-protection: [1; mode=block]
Content-Length: [218]
Connection: [keep-alive]

body=
{""errors"":[{""title"":""Unsupported media type"",""detail"":""All requests that create or update must use the 'application/vnd.api+json' Content-Type. This request specified 'application/json'."",""code"":""415"",""status"":""415""}]}
</code></pre>

<p>Here is the scala code I am using for the http request:</p>

<pre><code>object PostTokenGcm {
 val token = exec {
  http(""TestAPI POST /tokens"")
    .post(""/tokens"")
    .headers(Map(""Authorization"" -&gt; testApiToken,
       ""Content-Type"" -&gt; ""application/vnd.api+json"",
        ""Accept"" -&gt; ""application/vnd.api+json"" ))
    .body(StringBody(gcmTokenRequestBody)).asJSON
    .check(status.is(201))
    .check(bodyString.exists)
}}
</code></pre>

<p>It seems that it is not setting the Content-Type?</p>

<p>Thank you for any lead!</p>
",https://stackoverflow.com/questions/46118560/load-performance-testing-with-gatling-and-content-type,"['scala', 'gatling', 'scala-gatling']",1873,TRUE,7,1
MongoDB Performance Testing Using Jmeter (Connection Issue),"<p>We are trying do performance testing using Jmeter. Database is MongoDB.</p>

<p>Using JSR223 Sampler with Groovy 2.4.10.</p>

<pre><code>import com.mongodb.DB;
import org.apache.jmeter.protocol.mongodb.config.MongoDBHolder;
import com.mongodb.BasicDBObject;
import com.mongodb.DBObject;
import com.mongodb.DBCollection;
import com.mongodb.WriteConcern;
import com.mongodb.WriteResult;

DB db = MongoDBHolder.getDBFromSource(""admin"", ""databasename"", ""username"", ""password"");
DBCollection collection = db.getCollection(""test""); 
long count = collection.getCount();
String result = String.valueOf(count);             
SampleResult.setResponseData(result.getBytes())
</code></pre>

<p>Getting below error.</p>

<pre><code>Response code: 500
Response message: javax.script.ScriptException: com.mongodb.CommandFailureException: { ""serverUsed"" : ""l4abcddb1232/11.20.132.301:27017"" , ""ok"" : 0.0 , ""errmsg"" : ""not authorized on databasename to execute command { count: \""test\"", query: {} }"" , ""code"" : 13 , ""codeName"" : ""Unauthorized""}
</code></pre>

<p>Above issue in Dev database.</p>

<p>Also, how to connect SSL to connect mongodb database (QC)?</p>

<p>Thank you in advance!
Bharathi</p>
",https://stackoverflow.com/questions/45086935/mongodb-performance-testing-using-jmeter-connection-issue,"['mongodb', 'groovy', 'jmeter', 'database-performance']",870,FALSE,0,1
Jmeter record and play scripts for performance testing,"<p>I want to do a performance test of a website so i am creating a script that mimics user behaviour. I am using blazemeter to record those scripts and upload it in jmeter. I have two questions:
1) Do the results of a record and play script vary when run on another machine or a different time ?
2) I am getting a 400 bad request error in one of the steps of the recorded script. </p>

<p>What should i do ?
Is there any other way to test the web pages other than record and play ?</p>
",https://stackoverflow.com/questions/45173860/jmeter-record-and-play-scripts-for-performance-testing,['jmeter'],214,FALSE,0,1
How to create Performance testing framework in jmeter?,"<p>For functional automation we use to create a framework which is reusable for automating application. Is there any way to create Performance testing framework in jmeter. So that we can use same framework for Performance testing of different applications.</p>

<p>Please help if any one knows and provide more information regarding it.</p>
",https://stackoverflow.com/questions/47660941/how-to-create-performance-testing-framework-in-jmeter,['jmeter'],5164,TRUE,0,2
Why should we use IP spoofing when performance testing?,"<p>Could anyone please tell me what is the use of IP spoofing in terms of Performance Testing?</p>
",https://stackoverflow.com/questions/47009224/why-should-we-use-ip-spoofing-when-performance-testing,"['performance', 'jmeter', 'ip', 'performance-testing', 'loadrunner']",1904,TRUE,2,2
Reliability of algorithm performance testing based on unit framework,"<p>For my PhD I am writing a DEM (Discrete Element Method) simulation in c++ describing particle flow which is computational intensive. I have a lot of different algorithms in place for the calculation of different parameters. The run time per algorithm can vary significantly based on the configuration of points (where the number of points stay the same). For testing, a good amount of unit tests are in place with different configurations and number of points.</p>

<p>For optimization and performance testing it seems easiest to run the specific unit tests multiple times, under the assumption that the time required by the unit testing framework is constant I can compare different algorithm performances against each other. So in pseudo code I want to do this, where algorithm1 and algorithm2 are different implementations of a single algorithm and the different unitTests are different input configurations:</p>

<pre><code>//Preformance test algorithm1
timer = 0;
startTimer();
for(n = 1000) {
     unitTest1(algorithm1);
     unitTest2(algorithm1);
     .....
 }
 print(timer);

//Performance test algorithm2
timer = 0;
startTimer();
for(n = 1000) {
     unitTest1(algorithm2);
     unitTest2(algorithm2);
     .....
 }
 print(timer);
</code></pre>

<p><strong>Question:</strong> Is this a valid way to do performance testing that will yield reliable and comparable results or can the unit testing framework invalidate my results in some way? Also can this method be extended to test performance when the code is written for parallel processing.</p>

<p>Additional information: The unit framework I am using is the Boost Test Library and due to long run times I cannot efficiently performance test the code as a whole with different configurations.</p>
",https://stackoverflow.com/questions/44676535/reliability-of-algorithm-performance-testing-based-on-unit-framework,"['c++', 'algorithm', 'performance', 'unit-testing', 'time']",172,TRUE,1,1
Best Performance testing tool for AX Retail POS R3,"<p>i am looking for a best performance testing tool that can be used for AX-Retail R3 POS application. also, currently application is very slow and it runs in 32 bit mode in x64 architecture.</p>

<p>Thanks in advance</p>
",https://stackoverflow.com/questions/47114635/best-performance-testing-tool-for-ax-retail-pos-r3,"['axapta', 'dynamics-ax-2012']",161,FALSE,0,1
Determine concurrent users for a mobile app performance testing,"<p>I am designing a mobile app which is assumed to have 10000 users registered. Inorder to plan for a performance testing on the application. How can i determine what percent of users from this 10000 will be concurrent users ?</p>

<p>is there any formula to calculate this ?</p>
",https://stackoverflow.com/questions/47887417/determine-concurrent-users-for-a-mobile-app-performance-testing,"['jmeter', 'performance-testing', 'stress-testing']",1314,TRUE,0,1
How to do a performance Testing with MS Botframework,"<p>We have created a bot which uses Luis to address user queries. Would like to understand how can we perform a performance testing to my bot which can be like a VSTS testing. Yes tried with VSTS also but of no use, since my bot api is always sending a request and response couldn't capture the exact one. Please help.</p>
",https://stackoverflow.com/questions/42835206/how-to-do-a-performance-testing-with-ms-botframework,['botframework'],582,TRUE,0,1
Performance testing in Dynamics 365 for Operations - no endpoint listening,"<p><strong>Short error description:</strong></p>

<p><code>Ms.Dynamics.Performance.CreateUsers.exe</code> from PerfSDK throws <strong>error</strong></p>

<blockquote>
  <p>There was no endpoint listening at <a href=""https://mytest.sandbox.operations.dynamics.com/Services/AxUserManagement/Service.svc/ws2007FedHttp"" rel=""nofollow noreferrer"">https://mytest.sandbox.operations.dynamics.com/Services/AxUserManagement/Service.svc/ws2007FedHttp</a> that could accept the message.</p>
</blockquote>

<p><strong>Long error description:</strong></p>

<p>I have created a single user C# test from an XML recording and run it with PerfSDK successfully as described in the first part of the <strong><a href=""https://learn.microsoft.com/en-us/dynamics365/operations/dev-itpro/perf-test/perfsdk-tutorial"" rel=""nofollow noreferrer"">PerfSDK and multiuser testing with Visual Studio Online</a></strong> guide.</p>

<p>I am having trouble running multiuser load tests as described in the second part of the lab. The link above seems to be the only resource online describing how a multiuser test can be created from a singleuser test and how Visual Studio Online can be used to run it in a sandbox environment. I've also watched a few videos such as <a href=""https://mbspartner.microsoft.com/AX/Videos/967"" rel=""nofollow noreferrer"">Tools to Measure and Improve Microsoft Dynamics AX Performance</a>, <a href=""https://mbspartner.microsoft.com/AX/Videos/845"" rel=""nofollow noreferrer"">Performance Tools</a> and the like, but none of them explains all the steps that need to be taken in as much detail as the above article.</p>

<p>I've done the following:</p>

<ol>
<li>Created a recording of a scenario with Task Recorder in <strong>Dynamics 365
for Operations</strong>.</li>
<li>Created C# perf test from recording in Visual Studio using the
<code>PerfSDKSample</code> project from the <code>PerfSDK</code> folder.</li>
<li>Followed all 'Steps to run single user performance test with Perf
SDK' from the <a href=""https://learn.microsoft.com/en-us/dynamics365/operations/dev-itpro/perf-test/perfsdk-tutorial#steps-to-run-single-user-performance-test-with-perf-sdk"" rel=""nofollow noreferrer"">article</a>;</li>
<li>Built the solution and successfully ran my test from Test Explorer:
Internet Explorer opened starting and replaying the scenario that I
had recorded.</li>
</ol>

<p>Note: I used DEV environment <a href=""https://usnconeboxax1aos.cloud.onebox.dynamics.com"" rel=""nofollow noreferrer"">usnconeboxax1aos.cloud.onebox.dynamics.com</a> for testing. When I tried using another hostname in <code>CloudEnvironment.Config</code> (a sandbox, e.g. <a href=""https://mysandbox.sandbox.operations.dynamics.com"" rel=""nofollow noreferrer"">mysandbox.sandbox.operations.dynamics.com</a>), the singleuser test failed with the following <strong>error message</strong>:</p>

<blockquote>
  <p>System.TypeInitializationException: The type initializer for 'MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement' threw an exception. ---> System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at <a href=""https://mysandbox.sandbox.operations.dynamics.com/Services/AxUserManagement/Service.svc/ws2007FedHttp"" rel=""nofollow noreferrer"">https://mysandbox.sandbox.operations.dynamics.com/Services/AxUserManagement/Service.svc/ws2007FedHttp</a> that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: The remote server returned an error: (404) Not Found..</p>
</blockquote>

<ol start=""5"">
<li>For multiuser testing, I launched Visual Studio from Visual Studio
Online portal <a href=""https://app.vssps.visualstudio.com/profile/view"" rel=""nofollow noreferrer"">https://app.vssps.visualstudio.com/profile/view</a></li>
<li>I modified the TestSetup method as follows:</li>
</ol>

<p><em>Single-user TestSetup:</em></p>

<pre><code>public void TestSetup()
{
    SetupData();
    _userContext = new UserContext(UserManagement.AdminUser);
    Client = DispatchedClient.DefaultInstance;
    Client.ForceEditMode = false;
    Client.Company = ""GB01"";
    Client.Open();
}
</code></pre>

<p><em>Multi-user TestSetup:</em></p>

<pre><code>public void TestSetup()
{
    var testroot = System.Environment.GetEnvironmentVariable(""DeploymentDir"");
    if (string.IsNullOrEmpty(testroot))
    {
        testroot = System.IO.Directory.GetCurrentDirectory();
    }
    Environment.SetEnvironmentVariable(""testroot"", testroot);
    if (this.TestContext != null)
    {
        timerProvider = new TimerProvider(this.TestContext);
    }
    SetupData();
    _userContext = new UserContext(UserManagement.AdminUser);
    Client = new DispatchedClientHelper().GetClient();
    Client.ForceEditMode = false;
    Client.Company = ""GB01"";
    Client.Open();
}
</code></pre>

<ol start=""7"">
<li>I set the HostName in <code>CloudEnvironment.Config</code> to the sandbox URL e.g. <a href=""https://mysandbox.sandbox.operations.dynamics.com"" rel=""nofollow noreferrer"">mysandbox.sandbox.operations.dynamics.com</a>.</li>
<li>Logged in to the sandbox machine and installed the certificate I had generated earlier for the single-user testing.</li>
<li>Updated wif.config on the sandbox machine in the same way it had been updated in DEV earlier, and restarted IIS.</li>
<li>Double-clicked <code>vsonline.testsettings</code> in Solution Explorer and used the settings recommended in the above <a href=""https://learn.microsoft.com/en-us/dynamics365/operations/dev-itpro/perf-test/perfsdk-tutorial#setup-visual-studio-online-for-multiuser-testing"" rel=""nofollow noreferrer"">article</a> (accordingly modified for my certificate and test scenario).</li>
<li>Opened <code>SampleLoadTest.loadtest</code> from Solution Explorer and tweaked it to use only my test in the Test Mix node, reduced test duration and user count.</li>
<li>Run the load test.</li>
</ol>

<p>The load test ended with a few errors. The first <strong>TestError</strong> is the same as mentioned above:</p>

<blockquote>
  <p>Initialization method MS.Dynamics.Performance.Application.TaskRecorder.GenJnlBase.TestSetup threw exception. System.TypeInitializationException: System.TypeInitializationException: The type initializer for 'MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement' threw an exception. ---> System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at <a href=""https://mysandbox.sandbox.operations.dynamics.com/Services/AxUserManagement/Service.svc/ws2007FedHttp"" rel=""nofollow noreferrer"">https://mysandbox.sandbox.operations.dynamics.com/Services/AxUserManagement/Service.svc/ws2007FedHttp</a> that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: The remote server returned an error: (404) Not Found..</p>
</blockquote>

<ol start=""13"">
<li>Finally, even though I was able to run <code>Ms.Dynamics.Performance.CreateUsers.exe</code> on my DEV machine successfully (a number of test AX users were created in <a href=""https://usnconeboxax1aos.cloud.onebox.dynamics.com"" rel=""nofollow noreferrer"">usnconeboxax1aos.cloud.onebox.dynamics.com</a>), when the sandbox environment URL was set in <code>CloudEnvironment.Config</code>, <code>Ms.Dynamics.Performance.CreateUsers.exe</code> failed with same <strong>error</strong>:</li>
</ol>

<blockquote>
  <p>C:\PerfSDK>Ms.Dynamics.Performance.CreateUsers.exe 3 GB01
  Failed with the following error:
  System.TypeInitializationException: The type initializer for 'MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement' threw an exception. ---> System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at <a href=""https://mytest.sandbox.operations.dynamics.com/Services/AxUserManagement/Service.svc/ws2007FedHttp"" rel=""nofollow noreferrer"">https://mytest.sandbox.operations.dynamics.com/Services/AxUserManagement/Service.svc/ws2007FedHttp</a> that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
  ...
  Exception rethrown at [0]:
     at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
     at MS.Dynamics.TestTools.CloudCommonTestUtilities.AxUserManagementServiceReference.IAxUserManagement.EnumUsers()
     at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement.PopulateAxUsers()
     at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement..cctor()
     --- End of inner exception stack trace ---
     at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement.get_AdminUser()
     at MS.Dynamics.Performance.CreateUsers.Program.Main(String[] args)</p>
</blockquote>
",https://stackoverflow.com/questions/44682186/performance-testing-in-dynamics-365-for-operations-no-endpoint-listening,"['performance-testing', 'load-testing', 'dynamics-365-operations']",1942,TRUE,1,1
Difference between baseline and benchmark when performance testing REST endpoint?,"<p>What is the Difference between baseline and benchmark when performance testing REST endpoint?
Let say I have SLA's given upfront and I am trying to test endpoints for what load that it can live with withing my SLA's.  What do I call those metrics?</p>
",https://stackoverflow.com/questions/47209029/difference-between-baseline-and-benchmark-when-performance-testing-rest-endpoint,"['performance-testing', 'load-testing']",590,FALSE,0,1
Performance testing- Distributing user load across test scenarios in JMeter,"<p>How can I distribute user load across test scenarios in JMeter?  For instance, if I am testing an email system for 400 concurrent users, I would like to apportion the total peak user load as follows:</p>

<ol>
<li>100 concurrent users checking emails</li>
<li>100 concurrent users replying to emails</li>
<li>100 concurrent users composing new emails</li>
<li>50 concurrent users sending emails with attachments</li>
<li>25 concurrent users making changes to their settings</li>
<li>25 concurrent users doing folder operations</li>
</ol>

<p>I tried to create one thread group per scenario.  But, when I add a scenario to one of the thread groups, other thread groups vanish.  It looks like I can't have multiple thread groups and add one scenario per thread group.</p>
",https://stackoverflow.com/questions/45058209/performance-testing-distributing-user-load-across-test-scenarios-in-jmeter,"['jmeter', 'performance-testing']",401,TRUE,0,2
Regular Expression for URL in C Sharp for Performance Testing,"<p>Im using Visual Studio 2012 - Web Performance Testing tool. </p>

<p>In here i have an Referer URL Like this. (This is about 30 lines long, but i have kept it short) </p>

<p><a href=""https://first"" rel=""nofollow noreferrer"">https://first</a> URL/Second/Third/Fourth/five/SearchResults?json=%7B%22SalesInventoryID%22%3Anull%2C%22BundleInventoryID%22%3Anull%2C%22InventorySalesPriceID%22%3Anull%2C%22SiteType%22%3A8%2C%22SiteName%22%3A%22Desert%20Club%22%2C%22PointsMin%22%3A1%2C%22PointsMax%22%3A999999%2C%22RoomType%22%3Anull%2C%22PriceMin%22%3A1%2C%22PriceMax%22%3A999999%2C%22SeasonType%22%3Anull%2C%22FrequencyType%22%3Anull%2C%22CheckInType%22%3Anull%2C%22WeekMin%22%3A1%2C%22WeekMax%22%3A52%2C%22RoomMin%22%3A%221%22%2C%22RoomMax%22%3A%22999999%22%2C%22TourID%22%3A2022154%2C%22TourLocationID%22%3A54%2C%22ListResults%22%3Anull%2C%22BundledResults%22%3Anull%2C%22TourParticipantInfo%22%3A%7B%22TourID%22%3A2022154%2C%22SiteID%22%3A1%2C%22SiteName%22%3Anull%2C%22PersonID%22%3A364182%2C%22FirstName%22%3A%22Lynn%20A.%22%2C%22LastName%22%3A%22McDougald%22%2C%22City%22%3A%22Charlotte%22%2C%22State%22%3A%22-%22%2C%22ShortState%22%3A%22-%22%2C%22Country%22%3Anull%2C%22CountryID%22%3A840%2C%22OwnerNumber%22%3A%226017104%22%2C%22OwnerStatus%22%3Anull%2C</p>

<p>After Search Results , everything keeps changing . </p>

<p>Can someone please tell me , ho do i do it if i need anything after ""/fourth"" </p>

<p>like i just need it like this - <a href=""https://first"" rel=""nofollow noreferrer"">https://first</a> URL/Second/Third/Fourth/ </p>

<p>I tried:</p>

<pre><code>https://first URL/Second/Third/Fourth/.*
</code></pre>

<p>and </p>

<pre><code>https://first URL/Second/Third/Fourth/(.*)
</code></pre>

<p>it did not work .</p>
",https://stackoverflow.com/questions/44024526/regular-expression-for-url-in-c-sharp-for-performance-testing,"['c#', 'regex', 'visual-studio-2012', 'performance-testing', 'webtest']",46,TRUE,0,2
"Performing load/performance testing in VDI, does it provides proper results","<p>Till now I was doing load/performance testing (load runner &amp; jMeter) on my local instance(connected to LAN not over wifi) and I was sure about the results. But now I have to do it <code>Virtual desktop infrastructure (VDI)</code>. Does it provide the same result as the local instance? Or is it good practice to perform the tests over the <code>VDI</code>?</p>
",https://stackoverflow.com/questions/42967424/performing-load-performance-testing-in-vdi-does-it-provides-proper-results,"['jmeter', 'performance-testing', 'loadrunner', 'stress-testing']",1072,FALSE,1,3
How does load and performance testing tools work behind the scenes?,"<p>I recently used gatling.io for load testing my api server. During testing there were options to set for example, number of concurrent users per second. </p>

<p>What I do not understand is how these tools are able to generate that load. How are they able to create lets say 200 concurrent connection to my server and hit it?</p>

<p>I am looking for an answer describing how it is implemented, whether they use thread, socket programming etc.
Thanks.</p>
",https://stackoverflow.com/questions/44541719/how-does-load-and-performance-testing-tools-work-behind-the-scenes,"['performance', 'load', 'gatling']",47,TRUE,0,1
How to conduct performance testing where The service uses meteor js,"<p>How to conduct performance testing of my web service? The service displays a page, then the login form in the user's Personal account. It is necessary to enter and display the user's personal account. The service uses meteorjs. To display the personal account is necessary to emulate a browser. jmeter as I understand it is not suitable for this test. He(jmeter) is not able to emulate the browser can't request the js script on the client. Can you recommend tools for such testing? And how conduct ?
Thks</p>
",https://stackoverflow.com/questions/47054631/how-to-conduct-performance-testing-where-the-service-uses-meteor-js,"['performance', 'meteor', 'load', 'performance-testing', 'load-testing']",72,FALSE,-1,1
Performance testing using JMeter script on an OAuth 2.0 Secure Web Application,"<p>I used BlazeMeter's chrome extension to build a .jmx file for testing our login page in JMeter. Most of our application is written in node js. We are using Auth0 for our login and the /login/callback is giving me a 400. I am not sure why. My goal is to test our applications with about 200 users. Any help would be great! </p>

<p><a href=""https://i.stack.imgur.com/2TN2n.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/2TN2n.png"" alt=""Results for /login/callback""></a></p>

<p><a href=""https://i.stack.imgur.com/JBH63.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/JBH63.png"" alt=""What I have included""></a></p>
",https://stackoverflow.com/questions/46717387/performance-testing-using-jmeter-script-on-an-oauth-2-0-secure-web-application,"['java', 'node.js', 'authentication', 'jmeter', 'auth0']",3002,TRUE,3,1
Why am I getting Postgresql Deadlock when performance testing with apache benchmarking?,"<p>I'm using the following.</p>

<blockquote>
  <ol>
  <li>Postgresql - version 9.5</li>
  <li>Flask web framework </li>
  <li>Pgbouncer - lightweight connection pooler for PostgreSQL.</li>
  <li>psycopg2 - version 2.7</li>
  </ol>
</blockquote>

<p>My API's were working fine, until I tested the performance using apache bench marking using psycog2 cursors.</p>

<p>The transactions are:</p>

<pre><code>cursor.execute(""select id from table where product_name='xyz' limit 1 for update"");
</code></pre>

<p>using the <code>id</code> from above I do the following:</p>

<pre><code>cursor.execute('update table set locked_time=&lt;time&gt; where id=&lt;id_from_above&gt;')
</code></pre>

<p>and finally I'm doing commit using:</p>

<p>conn.commit()</p>

<p>where <code>conn</code> is pyscopg2 connection object  </p>

<p>The schema for  the table looks like this:</p>

<pre class=""lang-none prettyprint-override""><code>    Column   |           Type           | Modifiers 
-------------+--------------------------+----------- 
 id          | interger                 | not null default nextval('table_id_seq'::regclass) 
 locked_time | timestamp with time zone | not null
 cust_id     | integer                  | 
Indexes:
    ""table_pkey"" PRIMARY KEY, btree (id)
Foreign-key constraints:
    ""table_cust_id_fkey"" FOREIGN KEY (cust_id) REFERENCES customer(id)
</code></pre>

<p>I am testing the performace using apache benchmarking <code>ab</code> as:</p>

<pre><code>ab -n500 -c40 &lt;API&gt;
</code></pre>

<p>What could be the possible reason for getting deadlock.
Also, if I decrease the concurrency while testing with <code>ab</code> like:</p>

<pre><code>ab -n500 -c10.
</code></pre>

<p>Deadlock:</p>

<pre class=""lang-none prettyprint-override""><code>TransactionRollbackError: deadlock detected
DETAIL:  Process 18938 waits for ShareLock on transaction 107698; blocked by process 18950.
Process 18950 waits for ShareLock on transaction 107701; blocked by process 18938.
HINT:  See server log for query details.
CONTEXT:  while locking tuple (19671,40) in relation ""table""
</code></pre>
",https://stackoverflow.com/questions/42746105/why-am-i-getting-postgresql-deadlock-when-performance-testing-with-apache-benchm,"['python', 'apache', 'postgresql', 'psycopg2', 'database-deadlocks']",336,FALSE,1,0
Jmeter Performance testing for SSRS reports retures Error in the Response page,"<p>I have a aspx webpage which is integrated with SSRS reports.I want to perform a performance test using Jmeter,I used the Jmeter HTTP(S) script recorder for the same.
It was seen that the response data captured by Jmeter returns error message stating as below </p>

<p>Report Viewer Configuration Error
The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add  to the system.web/httpHandlers section of the web.config file, or add  to the system.webServer/handlers section for Internet Information Services 7 or later.</p>

<p>and will not the show the report data as the response though the POST was successfull.</p>

<p>In the above context the jmeter test is intended to test the response time of reports.</p>

<p>Could anyone please help me on this. </p>

<p>Thanks in Advance,
Theju </p>
",https://stackoverflow.com/questions/41762227/jmeter-performance-testing-for-ssrs-reports-retures-error-in-the-response-page,['jmeter'],428,FALSE,1,1
How to perform performance testing against a web application that using Cloud Server,"<p>I am researching a performance testing tools for testing a web application that using Cloud Server(Amazon LINUX OS if not mistaken). I used Jmeter to test web with physical server before. However, I am not familiar with Cloud server. Hereby my concern : </p>

<ol>
<li><p>On physical server, I have Support Team to help to restart IIS instance before I use Jmeter to put a group of thread/user. Does Cloud Server able to do that?</p></li>
<li><p>Does Jmeter able to test a cloud server? how? any difference way to generate script compare to cloud server?</p></li>
<li><p>If Jmeter is not a better choice? what other FREE tools can do so?</p></li>
<li><p>Do cloud server offer a performance monitor to keep track the CPU and memory usage?</p></li>
</ol>
",https://stackoverflow.com/questions/41689784/how-to-perform-performance-testing-against-a-web-application-that-using-cloud-se,"['jmeter', 'cloud', 'performance-testing', 'load-testing']",471,FALSE,0,2
"Can I do performance testing with Espresso, or should I use something else?","<p>I'm new to the performance world, and am trying to figure out how to write some performance tests. A friend suggested Espresso to me, but i'm having trouble figuring out if it can actually do the things I need. Here's what i'm looking to do:</p>

<ul>
<li>Time how long it takes for app A to start</li>
<li>Launch app A. Launch app B. Time how long it takes to launch app A.</li>
<li>Run some ADB commands</li>
<li>Read logcat files</li>
</ul>

<p>Does Espresso help/prevent any of that from being possible, or is all that done with just Java and Espresso doesn't have anything to do with it?</p>
",https://stackoverflow.com/questions/43927788/can-i-do-performance-testing-with-espresso-or-should-i-use-something-else,"['java', 'android', 'performance', 'android-espresso']",304,FALSE,0,1
Can we access firebase during performance testing of mobile apps using Apache jMeter?,"<p>I was planning to perform a load testing on an ios application which uses firebase for data storage.I have successfully recorded the test plan using Apache jMeter. But when I run the test plan in jMeter, it fails to access the firebase. Is there any way to access firebase during the process of load testing?</p>

<p>I have one field in firebase ""last_logged_in_time"". When I login with the ios app in iphone, the time gets automatically updated in the firebase . But when i run the test script using jMeter it is not updating.</p>
",https://stackoverflow.com/questions/46598468/can-we-access-firebase-during-performance-testing-of-mobile-apps-using-apache-jm,"['firebase', 'jmeter', 'performance-testing']",899,TRUE,0,2
What is the need of uploading CSV file for performance testing in blazemeter?,"<p>I am new in Testing world and just started working on performance and load testing, I just want to know that while we record script in Blazemeter and upload a jmx file for test then why we upload a CSV file with it and What data we need to enter in that CSV file. pls help.
Thank you</p>
",https://stackoverflow.com/questions/45902968/what-is-the-need-of-uploading-csv-file-for-performance-testing-in-blazemeter,['testing'],28,FALSE,0,1
How to do performance testing of RabbitMQ Cluster to do further fine tuning?,"<p>I have created a RabbitMQ Cluster which is successfully queuing messages being generated by application. I need to do performance testing of the cluster to find out overall efficiency of the cluster and take decisions to do further fine tuning to enhance performance. We tried with <code>PerfTest</code> java tool. But could not achieve much.</p>
",https://stackoverflow.com/questions/47865898/how-to-do-performance-testing-of-rabbitmq-cluster-to-do-further-fine-tuning,"['rabbitmq', 'performance-testing']",297,FALSE,0,1
"Functional and Performance testing on applications built on kafka, elastic search and kibana","<p>I am working on a system where stream of data(real time data) is pushed to kafka cluster and then to elastic search and displayed through kibana.</p>

<p>Do i need to testing on the kafka cluster, testing on elastic search cluster separately?. I am confused how to go with exact testing approach for this.</p>

<p>Could someone help me to do testing approach for functional and performance testing on the applications built on this stack and are there are any tools that helps to do.</p>

<p>Thanks in Advance.</p>
",https://stackoverflow.com/questions/44573894/functional-and-performance-testing-on-applications-built-on-kafka-elastic-searc,"['testing', 'elasticsearch', 'automation', 'apache-kafka', 'kibana-4']",380,FALSE,0,1
Is using ThreadMXBean the right way to go when performance testing a database insert,"<p>What would be the best method for comparing insertions when performance testing multiple db's?</p>

<p>I'm currently using ThreadMXBean to check how long the CPU is spending on a certain method. <a href=""https://stackoverflow.com/questions/755899/monitor-cpu-usage-per-thread-in-java"">(source)</a></p>

<pre><code>public static void main(String[] args) throws FileNotFoundException, IOException, ParseException, InterruptedException {
    conn = r.connection().hostname(""localhost"").port(28015).connect();

    r.db(""test"").table(""users"").delete();
    JSONParser parser = new JSONParser();
    Object obj = parser.parse(new FileReader(""C:/Documents/SmallUsersFile.json""));
    JSONArray jsonObject = (JSONArray) obj;

    start();
        insertSmallFile(jsonObject);
    stop();
    System.out.println(""Duration: "" + getCpuTimeInMillis());

    conn.close();
}

public static void insertSmallFile(JSONArray jsonObject) throws FileNotFoundException, IOException, ParseException {
    r.db(""test"").table(""users"").insert(jsonObject).run(conn);
}

public static void start() {
    _startTime = getCpuTimeInMillis();
}

public static long stop() {
    long result = (getCpuTimeInMillis() - _startTime);
    _startTime = 0l;
    return result;
}

public static boolean isRunning() {
    return _startTime != 0l;
}

private static long getCpuTimeInMillis() {
    ThreadMXBean bean = ManagementFactory.getThreadMXBean();
    return bean.isCurrentThreadCpuTimeSupported() ? bean.getCurrentThreadCpuTime() / 1000000 : 0L;
}
</code></pre>

<p>But I'm unsure if the actual insertion into the database is being measured or simply how long it took to execute the method. Does the thread wait until it gets an OK back?</p>
",https://stackoverflow.com/questions/43963007/is-using-threadmxbean-the-right-way-to-go-when-performance-testing-a-database-in,"['java', 'database', 'performance-testing', 'rethinkdb']",171,FALSE,1,0
Hadoop Cluster setup in a server or hadoop cluster setup using pcs for performance testing,"<p>Which of the following hadoop cluster setup would be best suitable for performance testing?</p>

<p>Setup 1 : Server based cluster</p>

<p>Setup 2 : Common PCs are used as data nodes.</p>

<p>Cluster size is upto 100 Nodes</p>

<p>Also what would be the pros and cons of both cluster setups mentioned above?</p>
",https://stackoverflow.com/questions/45925267/hadoop-cluster-setup-in-a-server-or-hadoop-cluster-setup-using-pcs-for-performan,"['hadoop', 'cluster-computing', 'performance-testing']",49,FALSE,1,0
Steps to configure jMeter with Android and ios devices in Windows to do performance testing,"<p>I am trying to do performance testing on Android and ios devices. But some how device is not getting connect to jmeter and steps are not getting recorded. Please suggest any best tool for performance testing on Mobile application.Also provide the steps to configure.</p>

<p>Regards,
AA.</p>
",https://stackoverflow.com/questions/43251517/steps-to-configure-jmeter-with-android-and-ios-devices-in-windows-to-do-performa,['jmeter'],184,FALSE,0,1
AWS cloud watch &quot;Latency&quot; metric and jmeter &quot;Average&quot; metric in summary report for api performance testing,"<p>While load/performance testing of API on ELB in AWS using JMeter, I see<br>
AWS cloud watch <code>Latency metric = 10 ms</code> (seems good) and in JMeter's Summary Report <code>Average metric = 3000 ms</code> (seems bad).</p>

<p>The API returns 1MB of JSON data, but I don't understand why there is so much difference in numbers  and is this api performance acceptable? 
If the SLA said to have 100 ms API response time.</p>
",https://stackoverflow.com/questions/46346553/aws-cloud-watch-latency-metric-and-jmeter-average-metric-in-summary-report-f,"['api', 'amazon-web-services', 'testing', 'jmeter', 'load']",665,TRUE,0,1
Best way to check values from a list that are not contained in another list. (Performance Testing),"<p>I was performing some performance tests between various ways of checking which objects are in one list, but not in the other.
And I came up with a result I did not expect, the average time for executing the same action using lambda was the highest between while, for, foreach, and lambda.</p>

<p>Code used:</p>

<pre><code>// Object
public class ComplexObject
{
    public int Number { get; set; }
    public char Character { get; set; }
}

// Lists
private readonly List&lt;ComplexObject&gt; _complexList1 = new List&lt;ComplexObject&gt;();
private readonly List&lt;ComplexObject&gt; _complexList2 = new List&lt;ComplexObject&gt;();

/* Fills in lists with numbers from 0 to 100000 and characters from 0 to 50.
 * The first list contains 10000 records and a second list contains 1000 records. */
private void FillLists()
{
    var rnd = new Random();
    for (int i = 0; i &lt; 100000; i++)
    {
        _complexList1.Add(new ComplexObject
        {
            Number = rnd.Next(5000),
            Character = (char)rnd.Next(50)
        });
    }
    for (int i = 0; i &lt; 1000; i++)
    {
        _complexList2.Add(new ComplexObject
        {
            Number = rnd.Next(5000),
            Character = (char)rnd.Next(50)
        });
    }
}

// For
public void ExecuteFor()
{
    var result = new List&lt;ComplexObject&gt;();
    for (int countList2 = 0; countList2 &lt; _complexList2.Count; countList2++)
    {
        bool found = false;
        for (int countList1 = 0; countList1 &lt; _complexList1.Count; countList1++)
        {
            if (_complexList2[countList2].Number == _complexList1[countList1].Number &amp;&amp;
                _complexList2[countList2].Character == _complexList1[countList1].Character)
            {
                found = true;
                break;
            }
        }

        if (!found)
            result.Add(_complexList2[countList2]);
    }
}

// Foreach
public void ExecuteForeach()
{
    var result = new List&lt;ComplexObject&gt;();
    foreach (ComplexObject object2 in _complexList2)
    {
        bool found = false;
        foreach (ComplexObject object1 in _complexList1)
        {
            if (object2.Number == object1.Number &amp;&amp;
                object2.Character == object1.Character)
            {
                found = true;
                break;
            }
        }

        if (!found)
            result.Add(object2);
    }
}

// Lambda
public void ExecuteLambda()
{
    var result =
        _complexList2.Count(
            l2 =&gt; _complexList1.All(l1 =&gt; l2.Number != l1.Number || l2.Character != l1.Character));
}
</code></pre>

<p>Using StopWatch to measure the time and running each loop type 10 times and taking the average execution time, the results were as follows:<br></p>

<p>For:<strong>10.163.836</strong> ticks in avarage<br>
Foreach:<strong>8.747.627</strong> ticks in avarage<br>
Lambda:<strong>14.326.094</strong> ticks in avarage</p>

<p><strong>The question is:</strong><br>
Are there other ways to solve my problem?<br>
Does Lambda really spend more time than ordinary loops like foreach?</p>
",https://stackoverflow.com/questions/44683335/best-way-to-check-values-from-a-list-that-are-not-contained-in-another-list-pe,"['c#', 'performance', 'loops', 'lambda', 'foreach']",65,TRUE,0,2
How to do performance testing for multiple user using Chrome Dev Tool for angular JS Web Site,"<p>I have developed an Angular JS Web Console. Web Console is basically creating, deleting, retrieving and deleting Users.
I want to do its performance testing using <strong>Chrome Dev Tool</strong> or <strong>Jmeter</strong> </p>

<p>If I use <strong>Jmeter</strong> how can I actually monitor the behavior of web console itself because from Jmeter I can only check the response time of API. </p>

<p>If I use <strong>chrome dev tool</strong> then how can I test it for multiple users against post and get operations.</p>

<p>For Example I have a Scenario that 10 Users are <strong>registering</strong> or <strong>signing in</strong>  at a time. How can I test this behaviour.</p>

<pre><code>                                      OR
</code></pre>

<p>50 Persons are creating or deleting or retrieving a <strong>user</strong> using a form at a time.</p>

<pre><code>                                      OR
</code></pre>

<p>What will be the behavior of web console if 50 users are using web console at a time.</p>

<p><strong>NOTE:</strong> Web Console is deployed on server. I want to test it locally and on server as well. </p>

<p>Need help. Thanks in advance!</p>
",https://stackoverflow.com/questions/42001856/how-to-do-performance-testing-for-multiple-user-using-chrome-dev-tool-for-angula,"['angularjs', 'jmeter', 'google-chrome-devtools', 'performance-testing']",2579,TRUE,0,1
Performance testing - Jmeter hanged when multiple scenarios added to thread group while performing Load test in Jmeter,"<p>I added the following listed scenarios in the thread group</p>

<p>20 concurrent users checking emails</p>

<p>20 concurrent users replying to emails</p>

<p>20 concurrent users composing new emails</p>

<p>20 concurrent users sending emails with attachments</p>

<p>20 concurrent users making changes to their settings</p>

<p>20 concurrent users doing folder operations</p>

<p>Then I am running these scenarios in the Jmeter but unfortunately the Jmeter gets stuck and remains constant for long time. </p>

<p>How to overcome this, please help this out </p>
",https://stackoverflow.com/questions/45082385/performance-testing-jmeter-hanged-when-multiple-scenarios-added-to-thread-grou,"['jmeter', 'performance-testing']",57,FALSE,0,1
Performance Testing - Send requests to multiple clients (as many as 2000 unique IP address(s)) from a Server,"<p>Performance Testing - Send requests to multiple(as many as 2000 unique) IP address(s) from a Server.</p>

<p>I had this requirement to simulate thousands of client(each listening on a unique IP Address) receiving data(FileUpload) from a Server. Each client instance(hosted on an IP) was expected to provide multiple endpoints(RequestMapping) that the Server could send http requests to. </p>

<p>In order to achieve it, I developed a simple web-application with one Servlet(to map web request) for each endpoint and used embedded light weight jetty server to receive file transfer from Enterprise Application. The Servlet just reads the file name (form-Field) without really persisting the file stream in order to improve response time.</p>

<p>Used IP spoofing on multiple machines where each machine would be having 100s of different IP-Alias created using netsh.
Launched the jetty instance on each system and thus simulated thousands of clients receiving files from one Server.</p>

<p>With this, just a few systems could easily simulate around 2000 clients(where each client having unique IP addresses) receiving files from Server.</p>
",https://stackoverflow.com/questions/42551775/performance-testing-send-requests-to-multiple-clients-as-many-as-2000-unique,"['jmeter', 'performance-testing', 'load-testing', 'spoofing']",1207,TRUE,1,3
Multiple session ids are getting created for multiple requests when one thread is executed using Jmeter(Performance Testing),"<p>Our application is based on asp.net, i have taken a scenario 
for which i got 15 requests when one thread being used and was trying for correlation
(dynamic values), correlated Viewstate,
Viewstategenarator,Event Validation using regular 
expression extractor(i did not correlated session id 
because it is with the path but not avaliable in parameters tab) and also added debug sampler. </p>

<p>I used 1 thread and 10secs rampup for running the script.
i verified request and response in view result tree.
I found that a new sessionid is getting created for every request and response.</p>

<p>How to get all the requests with same session id when one thread is executed?</p>
",https://stackoverflow.com/questions/46991143/multiple-session-ids-are-getting-created-for-multiple-requests-when-one-thread-i,"['jmeter', 'jmeter-plugins']",919,FALSE,0,2
"Performance Testing, Inserting batch of records, many insert queries, 20 insert/update in all, Is cursor, while loop, or transaction better","<p>I'm synchronizing our crm and erp. I'll have a batch hundreds of records from our crm to insert every 15 minutes, into our erp about 20 tables each. I want to insert one record at at time and log any errors if a insert fails on any of the 20 tables and reverse the insert for that record. I can see how to insert one record at a time with a cursor, or while loop. How would I insert one record at a time and log errors using transactions?</p>

<p>--Transaction method
--BEGIN TRANS</p>

<p>--partial code list of cursor method, that is working</p>

<pre><code>declare @cur cursor;
declare @x nvarchar(9);
begin
    set @cur = cursor for
    select people_id from powercampustest.dbo.PeopleChanges where (processed is null)

    open @cur
    fetch next from @cur
    into @x

    while @@FETCH_STATUS = 0
    begin
        /* add the rest here */
        begin try
        --20 insert queries


        end try

        begin catch
            --transaction method
            --ROLLBACK

            print 'Error on people id ' + @x

            --cursor method
            --if one insert fails delete all inserted
            --do we want error out on first fail, or try all and report if each failed or not
            --TableListForDelete, list of tables for delete
            --write error in log table
        end catch
        fetch next from @cur
        into @x
    end;

    close @cur;
    deallocate @cur;
end;


===========================================================
--partial code list of while method

select @loop = @@rowcount
if @loop &lt;= 0 Return

Set @PersonId = 0
Select @PersonId =
        (Select Min([PersonId]) From inserted Where [PersonId] &gt; @PersonId)

While @PersonId Is Not Null
    begin
        SELECT ...

    --Get Next Id
    Select @PersonId = 
            (Select Min( [PersonId] ) From inserted Where [PersonId] &gt; @PersonId)

END


    if @@error &lt;&gt; 0
    begin
        raiserror( 1944115471, 16, 65, @MessageType ) with nowait;
        rollback tran;
    end
end
</code></pre>
",https://stackoverflow.com/questions/44248300/performance-testing-inserting-batch-of-records-many-insert-queries-20-insert,['sql'],55,TRUE,0,1
i have a .ps1 file which fetch folder content from the folder.how to run that .ps1 file from jmeter so i can do performance testing?,"<p>I have a <code>.ps1</code> file which fetch folder content from the folder. How to run that <code>.ps1</code> file from <code>jmeter</code> so I can do performance testing?</p>

<pre><code>PS C:\Users\######&gt; D:\KANHA_####\niii1.ps1
</code></pre>
",https://stackoverflow.com/questions/45800989/i-have-a-ps1-file-which-fetch-folder-content-from-the-folder-how-to-run-that-p,"['powershell', 'jmeter', 'performance-testing']",124,FALSE,0,1
Performance test for graphQL API,"<p>Today I'm doing my API automation testing and performance testing with Jmeter when the server is a REST API.</p>

<p>Now the development changed to graphQL API, and I have two questions about it:</p>

<ol>
<li>What is the best way to perform the automation API and performance testing?</li>
<li>Does Jmeter support graphQL API?</li>
</ol>
",https://stackoverflow.com/questions/47009672/performance-test-for-graphql-api,"['jmeter', 'performance-testing', 'graphql']",14311,TRUE,6,7
Performance test for salesforce,"<p>I am working on salesforce UI’s.</p>

<p>How can I ensure that whatever UI’s created are able to handle a load.</p>

<p>Do I need to do performance testing?</p>

<p>Please suggest tools , process so that 500 user load / performance testing if any?</p>
",https://stackoverflow.com/questions/47665885/performance-test-for-salesforce,"['java', 'testing', 'jmeter', 'salesforce']",133,FALSE,0,1
I want to achieve different workflow for same issue type in Jira,"<p>In my project i have 2 kinds of task, one is normal task which has different workflow and the other task is performance testing task. I am trying to introduce this new performance testing task and also workflow needs to be different for this task. So what should be type of this new task so that it has different workflow. How can this be achieved.</p>
",https://stackoverflow.com/questions/44114537/i-want-to-achieve-different-workflow-for-same-issue-type-in-jira,['jira'],32,FALSE,0,0
how to configure multiples logging in jMeter,"<p>I need to do performance testing where my scenario is 100 different user logging per day </p>
",https://stackoverflow.com/questions/47158605/how-to-configure-multiples-logging-in-jmeter,"['jmeter', 'performance-testing', 'load-testing']",47,FALSE,-4,1
Performance monitoring of E-commerce Website,"<p>What are the important parameters need to monitor while doing performance testing of e-commerce website.</p>
",https://stackoverflow.com/questions/46158414/performance-monitoring-of-e-commerce-website,"['html', 'sql-server']",62,FALSE,-1,1
Can we do ESB testing through Apache Jmeter?,"<p>i want to do Oracle ESB Performance testing through Jmeter. Can this be done through Apache Jmeter?</p>
",https://stackoverflow.com/questions/43338830/can-we-do-esb-testing-through-apache-jmeter,"['oracle', 'jmeter', 'esb']",215,TRUE,-2,1
logstash parse with offline logs will give better performance or online?,"<p>I have ELK stack installed and about to do performance testing.
Getting below doubt which am not able to resolve myself, expertise suggestions/opinions would be helpful.</p>

<p>I am doubtful on,</p>

<p><strong>1.</strong>  whether to do logstash on LIVE - meaning, install logstash and run ELK in parallel with my performance testing on application.  </p>

<p><strong>2.</strong> Or First do the performance testing collect logs and feed logs to logstash offline. (this option is very much possible, as am running this test for about 30minutes only)</p>

<p>Which will b better performant ? </p>

<p>My application is on Java and since logstash also uses JVM for its parsing, am afraid it will have impact on my application performance.
Considering this, I prefer to go with option 2 , but would like to know are there any benefits/advantages going with option 1 that am missing ??</p>

<p>Help/suggestions much appreciated </p>
",https://stackoverflow.com/questions/42629104/logstash-parse-with-offline-logs-will-give-better-performance-or-online,"['logstash', 'kibana', 'elastic-stack', 'kibana-4', 'logstash-configuration']",224,FALSE,0,1
Jmeter Variables Random in User and Email,"<p>I need to do some performance testing and simulate <strong>100 different users</strong>, but how do I make random variables for the user and e-mail?</p>

<p><a href=""https://i.stack.imgur.com/9ZYGv.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/9ZYGv.png"" alt=""enter image description here""></a></p>
",https://stackoverflow.com/questions/44254011/jmeter-variables-random-in-user-and-email,"['performance', 'testing', 'jmeter', 'automated-tests']",1412,TRUE,0,1
Visual Studio Cloud how to view errors and warnings that happen when my load test is running in the cloud?,"<p>using Visual Studio cloud for performance testing application against SQL Server Database. How do I view errors and warnings that happen when my load test is running in the cloud?</p>
",https://stackoverflow.com/questions/42899576/visual-studio-cloud-how-to-view-errors-and-warnings-that-happen-when-my-load-tes,"['visual-studio', 'testing', 'web-applications', 'performance-testing', 'load-testing']",26,TRUE,0,1
Hive Partition Performance,"<p>I would like to ask about Hive partitioning performance.
How many records (in term of rows) would I need in order to see the partitioning performance?</p>

<p>Currently, I have 2 million+ records and I have split the table into 2 partitions.
My partitioning condition is as follow:</p>

<ul>
<li><code>ADD PARTITION (year_month=’2017_07’)</code></li>
<li><code>ADD PARTITION (year_month=’2017_08’)</code></li>
<li><code>INSERT OVERWRITE TABLE T PARTITION (year_month='2017_07')
SELECT * FROM T WHERE st_time &lt; '2017_08_01 00:00:00.0';</code></li>
<li><code>INSERT OVERWRITE TABLE T PARTITION (year_month='2017_08')
SELECT * FROM T WHERE st_time &gt;= '2017_08_01 00:00:00.0';</code></li>
</ul>

<p>When I tried to do some performance testing between the partitioned table and non-partitioned table, the performance of both tables is relatively the same.
My performance testing query is as follows:</p>

<ul>
<li><code>SELECT * FROM T WHERE st_time &lt; '2017_08_01 00:00:00.0';</code></li>
<li><code>SELECT * FROM non_part_table WHERE st_time &lt; '2017_08_01 00:00:00.0';</code></li>
</ul>

<p>Am I missing out on some important points? </p>

<p>Also, does partition work on derived column/function? E.g. date_format(st_time, yyyy-MM)</p>

<p>Any help or advice is greatly appreciated.</p>
",https://stackoverflow.com/questions/47310092/hive-partition-performance,"['sql', 'hadoop', 'hive', 'hiveql']",619,TRUE,2,1
Why server CPU usage reaches to 100% with only 25 concurrent users?,"<p>I have simple html page with two input fields no css, design nothing. Page size is 134KB. In my performance testing test case I am only trying to load page with 25 concurrent users all hitting at once. I have performed test with both Jmeter and Junit(multithread). The server CPU usage reaches to 100% when all threads are up. Is this a normal behavior? or is it an issue? Why does it happen? I have replicated same scenario with another page on same server and CPU usage is same. With 10 concurrent user CPU usage is 30 to 75%. I am new to performance testing.</p>
",https://stackoverflow.com/questions/46783564/why-server-cpu-usage-reaches-to-100-with-only-25-concurrent-users,"['performance-testing', 'cpu-usage']",1473,FALSE,1,1
Cosmos DB vs DynamoDB comparison,"<p>I want to have performance testing on Cosmodb against dynamodb.Currently I am designing a sloution in cloud where we need to have sub second response time Need to have apple to apple comparison. </p>
",https://stackoverflow.com/questions/46554736/cosmos-db-vs-dynamodb-comparison,['azure-cosmosdb'],1252,FALSE,0,1
How do I install a evaluation edition of SQL 2016 SP1 Standard Edition?,"<p>Is there a way to install an evaluation edition of SQL 2016 SP1 Standard Edition?  I need to run some performance testing on a Standard Edition install as part of the purchase justification process.</p>
",https://stackoverflow.com/questions/44825458/how-do-i-install-a-evaluation-edition-of-sql-2016-sp1-standard-edition,"['sql-server', 'sql-server-2016', 'trial']",693,TRUE,-2,1
How to post XML string to MVC controller having parameter type HttpPostedFileBase using HttpWeRequest,"<p>I want to do performance testing of my API which is use to upload XML file using HttpWebRequest.</p>

<p><strong>MVC Controller</strong></p>

<pre><code>[HttpPost]
     public bool UploadFile(HttpPostedFileBase file) {
        if(file!=null){
         ///do something
         }
        }
</code></pre>

<p><strong>Web Request Code</strong></p>

<pre><code>    string XMLstring = &lt;Details&gt;&lt;Name&gt;ABC&lt;/Name&gt;&lt;City&gt;Mumbai&lt;/City&gt;&lt;/Details&gt;;
string URL = ""localhost:1010/ControllerName/UploadFile""   
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL);
    request.ContentType = ""application/x-www-form-urlencoded"";
    request.Method = ""POST"";
    StringBuilder stringBuilder = new StringBuilder();
                try
                {
                    byte[] postData = Encoding.UTF8.GetBytes(XMLstring);

                    request.ContentLength = postData.Length;
                    using (Stream requestStream = request.GetRequestStream())
                    {
                        requestStream.Write(postData, 0, postData.Length);
                    }
                    using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
                    {

                    }
                }
                catch (Exception ex)
                {
                }
</code></pre>

<p>So Above API is called but it shows null value in parameter. </p>
",https://stackoverflow.com/questions/42969128/how-to-post-xml-string-to-mvc-controller-having-parameter-type-httppostedfilebas,"['c#', 'xml', 'asp.net-mvc-4', 'file-upload', 'xmlhttprequest']",413,FALSE,0,0
Flush Aurora page cache for testing,"<p>Aurora has a Survivable Page Cache which means cached DB pages stay cached in RAM after a restart.<br>
How would I flush the cache for performance testing on a cold query?  What is the equivalent of <code>DBCC DROPCLEANBUFFERS</code> etc.?  </p>
",https://stackoverflow.com/questions/43001371/flush-aurora-page-cache-for-testing,"['amazon-web-services', 'rds', 'amazon-aurora']",428,FALSE,0,0
Best way to find the correct load time of a webpage with Jmeter,"<p>I am doing performance testing of a website.</p>

<p>I see two options, but I'm confused about which one is right:</p>

<ol>
<li>Simply hit website Url and under <code>HTTP Request Defaults</code> check <code>Retrieve all Embedded resources</code>.</li>
<li>Use Jmeter Http recorder, and under <code>Url patterns to exclude</code>, check <code>Add suggested excludes</code>.</li>
</ol>

<p>Any suggestions would be helpful.</p>
",https://stackoverflow.com/questions/44436567/best-way-to-find-the-correct-load-time-of-a-webpage-with-jmeter,"['jmeter', 'jmeter-plugins']",788,FALSE,0,1
JMeter Network Testing,"<p>Is it possible to carry out a performance testing such as testing network bandwidths or different networks like some place in Africa does not have the same bandwidth as in NYC , testing their speed without any sort of HTTP requests ? </p>
",https://stackoverflow.com/questions/44184985/jmeter-network-testing,"['networking', 'jmeter', 'bandwidth']",743,TRUE,0,1
How to generate a random string in Rational Performance tester?,"<p>I want to do performance testing using rational performance tester where most input fields in the test are unique, so I have to generate random values to use it during run time. I don't want to use excel.
Can any one help.</p>
",https://stackoverflow.com/questions/44074090/how-to-generate-a-random-string-in-rational-performance-tester,"['performance-testing', 'rational-performance-test']",326,FALSE,1,1
Export Java Mission Control recording (jfr) in html report,"<p>Is it possible to export JFR recording in html report format ? scenario - I have to start jfr recording on the JVM for the duration of my performance testing. Once the testing is finished, I want to publish the JFR recording in HTML format.</p>
",https://stackoverflow.com/questions/41464272/export-java-mission-control-recording-jfr-in-html-report,"['html', 'report', 'jmc', 'jfr']",1295,TRUE,1,1
Performance test of JAVA RMI based application using Jmeter,"<p>Could you please suggest if it is possible to use Jmeter for performance testing of JAVA RMI based application. This application is a external product hence we do not have source code or classes available.</p>

<p>can you suggest a way to test this application.</p>

<p>Thanks</p>
",https://stackoverflow.com/questions/41805978/performance-test-of-java-rmi-based-application-using-jmeter,['jmeter'],1507,TRUE,2,1
how to compile cucumber-jvm project into .jar file(s),"<p>how to compile cucumber-jvm project in to jar file for self executable</p>

<p>I am using cucumber-jvm with maven, 
below is my pom.xml</p>

<pre><code>&lt;project xmlns=""http://maven.apache.org/POM/4.0.0"" xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:schemaLocation=""http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd""&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;com.test&lt;/groupId&gt;
  &lt;artifactId&gt;test&lt;/artifactId&gt;
  &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  &lt;dependencies&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;info.cukes&lt;/groupId&gt;
        &lt;artifactId&gt;cucumber-junit&lt;/artifactId&gt;
        &lt;version&gt;1.2.3&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;org.apache.pdfbox&lt;/groupId&gt;
        &lt;artifactId&gt;pdfbox&lt;/artifactId&gt;
        &lt;version&gt;2.0.3&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;info.cukes&lt;/groupId&gt;
        &lt;artifactId&gt;cucumber-java&lt;/artifactId&gt;
        &lt;version&gt;1.2.3&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
        &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
        &lt;version&gt;3.0.1&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;commons-configuration&lt;/groupId&gt;
        &lt;artifactId&gt;commons-configuration&lt;/artifactId&gt;
        &lt;version&gt;1.10&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
        &lt;artifactId&gt;poi&lt;/artifactId&gt;
        &lt;version&gt;3.15&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;version&gt;4.12&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;commons-dbutils&lt;/groupId&gt;
        &lt;artifactId&gt;commons-dbutils&lt;/artifactId&gt;
        &lt;version&gt;1.5&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;info.cukes&lt;/groupId&gt;
        &lt;artifactId&gt;cucumber-core&lt;/artifactId&gt;
        &lt;version&gt;1.2.4&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
        &lt;artifactId&gt;httpclient&lt;/artifactId&gt;
        &lt;version&gt;4.3.3&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;net.sourceforge.htmlunit&lt;/groupId&gt;
        &lt;artifactId&gt;htmlunit&lt;/artifactId&gt;
        &lt;version&gt;2.15&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;mysql&lt;/groupId&gt;
        &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
        &lt;version&gt;5.1.35&lt;/version&gt;
    &lt;/dependency&gt;
  &lt;/dependencies&gt;
    &lt;build&gt;
    &lt;finalName&gt;test&lt;/finalName&gt;
    &lt;plugins&gt;
       &lt;plugin&gt;
           &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
           &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
           &lt;version&gt;2.3.1&lt;/version&gt;
           &lt;configuration&gt;
               &lt;source&gt;1.7&lt;/source&gt;
               &lt;target&gt;1.7&lt;/target&gt;
           &lt;/configuration&gt;
       &lt;/plugin&gt;
    &lt;/plugins&gt;
  &lt;/build&gt;
    &lt;/project&gt;
</code></pre>

<p>I wanted to compile my project to executable jar file and use the jar file in Jmeter for performance testing</p>
",https://stackoverflow.com/questions/42869733/how-to-compile-cucumber-jvm-project-into-jar-files,"['jmeter', 'bdd', 'executable-jar', 'cucumber-jvm']",248,FALSE,0,1
Executing Jmeter with Idle Users/threads,"<p>I am new to Jmeter and performance testing , I have below requirement to verify on the tool:</p>

<p>Need to have 300 transaction per second with 400 concurrent users for Rest API service.</p>

<p>Can guidance and approach will help me a lot .</p>

<p>Thanks in advance</p>
",https://stackoverflow.com/questions/44164568/executing-jmeter-with-idle-users-threads,['jmeter'],280,TRUE,0,1
Using Gatling for functional testing,"<p>I want to get into test automation, and I have already seen selenium that allows to do the functional test. I also saw gatling for performance testing and load/stress tests. I want to know if it is possible to do the functional tests with gatling?</p>
",https://stackoverflow.com/questions/47815055/using-gatling-for-functional-testing,"['selenium', 'testing', 'gatling']",825,TRUE,1,1
org.apache.http.TruncatedChunkException,"<p>I am getting this issue when trying performance testing with jmeter.
the application built on spring and ui with bootstrap with angularjs. this application working fine with 500 concurrent user with 0 error, for 750 users I am getting this error. This page don't have any database related things.</p>

<pre><code>org.apache.http.TruncatedChunkException: Truncated chunk ( expected size: 8192; actual size: 7692)
at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:198)
at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:135)
at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:148)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.readResponse(HTTPSamplerBase.java:1814)
at org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.readResponse(HTTPAbstractImpl.java:440)
at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:433)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.followRedirects(HTTPSamplerBase.java:1542)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTPSamplerBase.java:1636)
at org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.resultProcessing(HTTPAbstractImpl.java:519)
at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:493)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1189)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1178)
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:491)
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:425)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:254)
at java.lang.Thread.run(Thread.java:745)
</code></pre>
",https://stackoverflow.com/questions/45950805/org-apache-http-truncatedchunkexception,"['java', 'spring-mvc', 'jmeter']",11532,FALSE,1,1
how to send results in graph in jmeter?,"<p>I want To send The Results of Performance Testing in form of Graph in mail
I am Using ""Response Time Graph"" Listener to Generate Graph
I am Using ""SMTP Sampler"" Sampler To Send Mail</p>

<p>The Results Are Send In Csv File
I Want The Results In Graphical Format</p>
",https://stackoverflow.com/questions/47389849/how-to-send-results-in-graph-in-jmeter,"['jmeter-plugins', 'jmeter-3.2']",538,FALSE,0,1
Jmeter CSV data set config run script correct even after providing incorrect username and password,"<p>I want to run performance testing using 100 users by using JMeter CSV data set config, I have added 100 different users in CSV file which are incorrect.
when i run the script in run properly, i was expecting it should show me the error than username and password is incorrect</p>
",https://stackoverflow.com/questions/44517721/jmeter-csv-data-set-config-run-script-correct-even-after-providing-incorrect-use,"['jmeter', 'performance-testing', 'load-testing', 'jmeter-plugins', 'jmeter-maven-plugin']",210,TRUE,1,1
Send Authorization Token | Gatling,"<p>I am performance testing our Enterprise API using Gatling. While testing with ""Postman"" I used to pass following Headers:</p>

<ul>
<li>API Key</li>
<li>Authorization Bearer Token</li>
</ul>

<p>It would be great if someone could help me: How can I pass ""API-KEY"" and ""Authorization Bearer"" token as a header in a Gatling request? </p>

<p>Please see my code below:</p>

<pre><code>val headers_10 = Map(""Content-Type"" -&gt; """"""application/json"""""")

    val httpConf = http
        .baseURL(perfProdURL)
        .acceptHeader(""application/json, */*"")
        .acceptCharsetHeader(""UTF-8"")

    val scn = scenario(""Vertex API Test01"")
        .exec(
            http(""request_1"")
            .post(""/details/orders"")
            .headers(headers_10)
            .check(status.is(200))
            .body(RawFileBody(""/Users/z063011/Sunil/test.json"")).asJSON)
</code></pre>
",https://stackoverflow.com/questions/46772501/send-authorization-token-gatling,"['scala', 'performance-testing', 'gatling', 'scala-gatling']",9599,TRUE,4,2
iOS log file generated in test builds,"<p>I have created test build and performance testing team has found log file named like  <strong>bundleid date.log</strong> in the application folder. It contains App transport security exception in it. I noticed the CFNETWORK_DIAGNOSTICS is disabled in xcode. Will this log file get generated on release build for app store submission?  </p>
",https://stackoverflow.com/questions/42677224/ios-log-file-generated-in-test-builds,"['ios', 'xcode8', 'cfnetwork', 'app-transport-security']",69,FALSE,0,1
Microsoft.VisualStudio.TestTools.LoadTesting cannot be found after upgrading to Visual Studio 2017,"<p>Having recently updated from Visual Studio 2015 to 2017, I ran into a referencing issue where performance testing namespaces and dll references seem to have disappeared. </p>

<p>I finally figured out what had caused it, but figured a few people may run into this, so I will also be including the solution.</p>
",https://stackoverflow.com/questions/44303968/microsoft-visualstudio-testtools-loadtesting-cannot-be-found-after-upgrading-to,"['c#', 'dll', 'performance-testing', 'visual-studio-2017', 'load-testing']",1022,TRUE,0,1
"I already have my web application script at place using selenium webDriver ,how can i integrate that with jmeter","<p>I have my web Application automation script using Selenium WebDriver,i want to use it with jmeter for Performance testing of my application </p>

<p>*I have tried using Webdriver sampler(as i cannot use my code with this ) and Junit Request sampler</p>

<p>Kindly Suggest some better way to integrate and monitor it </p>
",https://stackoverflow.com/questions/43121174/i-already-have-my-web-application-script-at-place-using-selenium-webdriver-how,"['java', 'selenium', 'jmeter', 'jmeter-plugins']",162,FALSE,-1,1
Load Test option disappeared,"<p>In a Visual Studio Enterprise 2015 <em>Web Performance and Load Test Project</em>, I have lost the ability to add a <em>Load Test</em>. The option is usually right below <em>Unit Test...</em></p>

<p><a href=""https://i.stack.imgur.com/Vl6Nx.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/Vl6Nx.png"" alt=""Missing Load Test""></a></p>

<hr>

<p>Instructions to create a <em>Load Test</em>:</p>

<p><a href=""https://www.visualstudio.com/en-us/docs/test/performance-testing/run-performance-tests-app-before-release#create-a-load-test"" rel=""nofollow noreferrer"">https://www.visualstudio.com/en-us/docs/test/performance-testing/run-performance-tests-app-before-release#create-a-load-test</a></p>

<p><a href=""https://i.stack.imgur.com/eaKs8.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/eaKs8.png"" alt=""enter image description here""></a></p>
",https://stackoverflow.com/questions/42494553/load-test-option-disappeared,"['visual-studio', 'visual-studio-2015', 'load-testing']",1464,TRUE,2,2
jMeter returns 401 Unauthorized error for search request,"<p>I need to do performance testing of search in jMeter but I get 401 Unauthorized error.
Cookies are sent in request, and login seems to be successful. I ran out of ideas how to fix this.
Below I attach screenshots of my test plan and of recording from Burp.
Hope you'll help me find out the problem</p>

<p><a href=""https://i.stack.imgur.com/KKuFw.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/KKuFw.png"" alt=""Login request""></a></p>

<p><a href=""https://i.stack.imgur.com/5wYgq.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/5wYgq.png"" alt=""Login Response""></a></p>

<p><a href=""https://i.stack.imgur.com/nuNiy.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/nuNiy.png"" alt=""Search request""></a></p>

<p><a href=""https://i.stack.imgur.com/4jhHI.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/4jhHI.png"" alt=""Search response""></a></p>

<p><a href=""https://i.stack.imgur.com/yblag.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/yblag.png"" alt=""Burp""></a></p>
",https://stackoverflow.com/questions/42615673/jmeter-returns-401-unauthorized-error-for-search-request,"['jmeter', 'authorization']",2677,TRUE,3,1
output a rest API specific data using jmeter,"<p>During Performance testing, I want to output a rest API request and the specific data, if the response time for the request takes over a certain amount of time. For example, say you run 100 worker searches, and 10 had response times over, say,  2 seconds. I want JMeter to output a file that lists those long worker IDs.</p>
",https://stackoverflow.com/questions/46295144/output-a-rest-api-specific-data-using-jmeter,"['jmeter', 'performance-testing', 'jmeter-3.2']",255,TRUE,1,2
Is there any way to generate JMeter script on the fly for the existing Test automation script,"<p>I am just wondering is there any way or possible to generate JMeter script on the fly for the existing test automation script.
Basically the idea is to use the same Test automation script let's say Test automation script was created using selenium for the performance testing too using JMeter.</p>

<p>Any ideas or thoughts?  </p>

<p>-Raj</p>

<p>Thanks,
Rajani</p>
",https://stackoverflow.com/questions/42635205/is-there-any-way-to-generate-jmeter-script-on-the-fly-for-the-existing-test-auto,['jmeter'],1220,TRUE,0,3
JMeter - Getting Exception while running JMeter via GUI,"<p>I am trying to set up an aws server for performance testing of APIs where the logs will come. I installed Java and Jmeter on that server.
The application server is different i.e. test.server.com:8080
The aws server is different with different ip address.
The Jmeter GUI is installed on my laptop.</p>

<p>In my system in the apache Jmeter --> bin folder --> jmeter.properties, I have defined remote_hosts as ip address of the aws server where the logs should appear.
And server.rmi.localport=50000</p>

<p>I have not made any changes in the  jmeter.properties file that is installed on aws server where the logs of performance testing should come.</p>

<p>When I run the Jmeter UI from my system and run --> remote start -> select the ip address of the aws server, it gives me connection time out exception.</p>

<pre><code>In Logs am getting :

java.net.ConnectException: Connection timed out: connect
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
    at sun.rmi.server.UnicastRef.newCall(Unknown Source)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Unknown Source)
    at org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:54)
    at org.apache.jmeter.engine.ClientJMeterEngine.&lt;init&gt;(ClientJMeterEngine.java:67)
    at org.apache.jmeter.engine.DistributedRunner.createEngine(DistributedRunner.java:237)
    at org.apache.jmeter.engine.DistributedRunner.getClientEngine(DistributedRunner.java:213)
    at org.apache.jmeter.engine.DistributedRunner.init(DistributedRunner.java:93)
    at org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:77)
    at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
    at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
    at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection timed out: connect
    at java.net.DualStackPlainSocketImpl.connect0(Native Method)
    at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.&lt;init&gt;(Unknown Source)
    at java.net.Socket.&lt;init&gt;(Unknown Source)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
</code></pre>

<p>There is some configuration which has not been correctly done I believe. How can I check and what all changes should I make to run the test scripts.</p>
",https://stackoverflow.com/questions/41827904/jmeter-getting-exception-while-running-jmeter-via-gui,['jmeter'],1060,FALSE,0,1
How to send an email with snapshot of New Relic chart data,"<p>We use New Relic and I was tasked with figuring out a way to send an email every morning with the results of our overnight load and performance testing. I need to be able to just send a snapshot of a certain time frame that the test(s) is/are ran, showing things like the throughput, web transaction time, top DB calls, etc.</p>
",https://stackoverflow.com/questions/45508747/how-to-send-an-email-with-snapshot-of-new-relic-chart-data,"['performance-testing', 'newrelic', 'newrelic-platform']",163,FALSE,0,1
Jmeter cookie manager gives only partial data,"<p>I am a little bit new to performance testing.</p>

<p>When I execute the request in jmeter it gives below cookie data:</p>

<p><a href=""https://i.stack.imgur.com/S0Q7i.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/S0Q7i.png"" alt=""jMeter""></a></p>

<blockquote>
  <p>Cookie Data: 
  connect.sid=s%3AfPrGL1_53rGjjHbTFTjUYdEjmQgb4NT4.fDW1TeCFzzlNOs2eVWGAzu7zmHXfoi5Mr5EAGJ7b5U8**</p>
</blockquote>

<p>But in browser post request it requires more.</p>

<p><a href=""https://i.stack.imgur.com/uWkAf.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/uWkAf.png"" alt=""Browser""></a></p>

<blockquote>
  <p>Cookie:
  _gat=1; _ga=GA1.2.1134157642.1501677880;
  _gid=GA1.2.1756641378.1501677880;
  connect.sid=s%3AOL8HjrZzfe3N9wWNPJcAd3gVMh6VKTRQ.8pHyh2A34mZ3cR3SmM5Scfbs0s2iMxJnB1hMfbZ0rag**</p>
</blockquote>

<p>Here is my test script structure.</p>

<pre><code>Test Plan
  Thread Group
    Cookie Manager
    Login To application
    And do some submit action
  Summary report
</code></pre>

<p>Note: I've changed configuration in <code>jmeter.properties</code> and getting same result.</p>

<pre><code>CookieManager.save.cookies=true
</code></pre>
",https://stackoverflow.com/questions/45462542/jmeter-cookie-manager-gives-only-partial-data,"['java', 'performance', 'jmeter', 'session-cookies', 'performance-testing']",276,FALSE,0,1
How to increase or configure maxThreads in apache came -restlet,"<p>I am working on performance testing of apache camel restlet . Now I came to know it has limit of 10 threads.</p>

<p>I found that we have <strong>maxThreads</strong> on Component level of Restlet .</p>

<p>I also tried <a href=""https://stackoverflow.com/questions/13358460/camel-restlet-maxthreads-component-option"">camel-restlet-maxthreads-component-option</a>, but didn't work for me.</p>

<p>I am using </p>

<pre><code>    &lt;bean id=""restlet"" class=""org.apache.camel.component.restlet.RestletComponent""&gt;
        &lt;property name=""maxThreads"" value=""50""/&gt;
    &lt;/bean&gt;

    &lt;restConfiguration bindingMode=""off"" component=""restlet"" scheme=""http"" port=""8080"" enableCORS=""true"" &gt;

            &lt;endpointProperty key=""sslContextParameters"" value=""#restSSLContext""/&gt;
            &lt;corsHeaders key=""Access-Control-Allow-Origin"" value=""*""/&gt;
            &lt;corsHeaders key=""Access-Control-Allow-Headers"" value=""Origin, Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers""/&gt;
            &lt;corsHeaders key=""Access-Control-Allow-Methods"" value=""GET,PUT,POST,DELETE,OPTIONS""/&gt;

        &lt;/restConfiguration&gt;
</code></pre>

<p>Using :
Camel Version: 2.18.2</p>

<p>Please help me on how to configure maxThreads,minThreads..etc</p>
",https://stackoverflow.com/questions/43918252/how-to-increase-or-configure-maxthreads-in-apache-came-restlet,"['java', 'rest', 'apache-camel', 'restlet']",651,TRUE,0,1
How to measure mobile browser rendering time using real device,"<p>I am doing a performance testing on a web application.</p>

<p>I want to record the Load Time or Response Time of the browser.</p>

<p>In desktop browser, I will use developer tools > Network to get the data I want.</p>

<p><strong>But how I able to get the REAL DEVICE's browser response time?</strong></p>

<p>**Remark : I have eliminated using browser emulator since it doesn't represent the actual real device's spec.</p>
",https://stackoverflow.com/questions/42413986/how-to-measure-mobile-browser-rendering-time-using-real-device,"['android', 'ios', 'mobile', 'performance-testing', 'response-time']",274,TRUE,1,1
Mass loading GL transactions into Exact Online,"<p>For performance testing reasons I want to load many General Ledger transactions into Exact Online. I am using the REST API for Transactions and their lines by posting transactions after authenticating using OAuth.</p>

<p>However, this is quite slow and it involves a lot of network round trips. I need to load 180.000 transaction lines. Is there an alternative way to mass load data in Exact Online?</p>
",https://stackoverflow.com/questions/42671949/mass-loading-gl-transactions-into-exact-online,"['exact-online', 'invantive-sql']",307,TRUE,1,1
How can I performance/ping test an Azure application relying on Oauth2 authentication flow?,"<p>I have an Azure-hosted web application with Azure AD Oauth2 authentication flow. The Oauth2 flow exists as a manual implementation but it will soon rely on Passport Azure AD.</p>

<p>Because of the authentication process, I cannot quickly use Azure's built-in performance testing capabilities or set up ping tests.</p>

<p>What solutions exist to do cloud-based performance and availability testing for such an application?</p>
",https://stackoverflow.com/questions/42472676/how-can-i-performance-ping-test-an-azure-application-relying-on-oauth2-authentic,"['node.js', 'azure', 'oauth-2.0', 'performance-testing', 'azure-application-insights']",293,FALSE,1,1
How to stop the jmeter server from command line,"<p>We are implementing CI for performance testing, As a part of this we have to run scripts from 3 different machines,  I am facing an issue while stoping the Jmeter server in slave machines after the execution.</p>

<p>I am executing the shutdown.bat, stoptest.bat but no luck.</p>

<p>Please help me, How to stop the Jmeter server from the command prompt which is currently running.</p>

<p>Thanks in Advance.</p>
",https://stackoverflow.com/questions/42830036/how-to-stop-the-jmeter-server-from-command-line,"['performance', 'jmeter', 'jmeter-plugins']",3687,TRUE,0,1
How can JMeter identify what to optimize in a website?,"<p>I'm new with website performance testing field and will be using JMeter. After playing with it, I am still having troubles with identifying what to optimize in a website load time?</p>

<p>I'm currently still learning about the load testing - who should I give the performance report to? Developers/Programmers? or Network department? Example of an error I usually get is 502 error or timeouts.</p>

<p>Thanks in advance.</p>
",https://stackoverflow.com/questions/42103735/how-can-jmeter-identify-what-to-optimize-in-a-website,"['testing', 'jmeter', 'automated-tests', 'performance-testing', 'load-testing']",186,TRUE,0,2
Jmeter View Results tree displaying Multiple urls in single Http Request,"<p>I'm working on web application performance testing to Create the Customers,i've recorded the script using Recording Controller.Once i execute the same i'm getting failure in View Results Tree because one HTTP Sample loading Multiple URL's under one HTTP Samples as below.</p>

<p>View Results Tree</p>

<pre><code>Login
  -http://ipaddress:port/login
  -http://ipaddress:port/registration
Home
  -http://ipaddress:port/login
  -http://ipaddress:port/registration-home
</code></pre>

<p>In Login sample it got fail because giving error in <code>registration</code> page,Please help how to resolve this type issues.</p>
",https://stackoverflow.com/questions/47695552/jmeter-view-results-tree-displaying-multiple-urls-in-single-http-request,"['jmeter', 'performance-testing']",521,FALSE,0,0
generate swagger spec from servicestack api,"<p>I am using servicestack as REST framework. 
The swagger UI plugin is very help full for manual testing and debugging.</p>

<p>Now I want to do more automatic testing, performance testing, with a tool like SoapUI.</p>

<p>My question is, is there a way to generate the swagger spec from within service stack? So i can import it into SoapUI.</p>

<p>I don't want to create all the requests in SoapUI manually.</p>

<p>Thank you!</p>
",https://stackoverflow.com/questions/44797636/generate-swagger-spec-from-servicestack-api,"['servicestack', 'swagger', 'soapui']",622,TRUE,1,1
getting error tput: No value for $TERM and no -T specified when trying to connect from jenkins to jmeter servers,"<p>i am using distributed framework for performance testing where i have 1 controller jmeter machine and 2 jmeter machines are working as load generators.I am trying to connect all the machines from jenkins server and executing shell script on controller machine to execute the test.Setup was working fine but from last couple of days i start getting following error</p>

<pre><code>tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
</code></pre>

<p>Below are the shell scripts, i am executing from jenkins server</p>

<pre><code>#!/bin/bash
USERNAME=jmeter
HOSTS=""jmeter01.com jmeter02.com""

#SCRIPT=""source .bash_profile; alias ; pwd""

for HOSTNAME in ${HOSTS} ; do
  echo ""Connecting with host name : ${HOSTNAME}""
  ssh -T -o StrictHostKeyChecking=no ${USERNAME}@${HOSTNAME}  ""${SCRIPT}"" 
  echo ""ssh connection successful with ${HOSTNAME} ""
done
</code></pre>
",https://stackoverflow.com/questions/41704007/getting-error-tput-no-value-for-term-and-no-t-specified-when-trying-to-connec,"['linux', 'jenkins', 'jmeter']",591,TRUE,0,1
How to use Jmeter for Thrift client?,"<p>I am working on a thrift Java Project.<br>
I have thrift IDL , client and server. <br>
My Thrift server is running. <br>
For load and performance testing , I am using Jmeter.
I am Jmeter newbie.<br>Not able to understand how to use Jmeter with Thrift client. <br>
<strong>On web , Not a single article have good explanation for using Jmeter with Thrift Client.
<br>
Have anyone used Jmeter with Thrift Client then please help me.</strong></p>
",https://stackoverflow.com/questions/48013755/how-to-use-jmeter-for-thrift-client,"['java', 'jmeter', 'performance-testing', 'load-testing', 'thrift']",803,TRUE,-2,1
JMeter uses 3 connections in distributed setup? What data is sent?,"<p>JMeter can be used to generate distributed tests using master-slave pattern.
According to this page <a href=""https://www.artofsoftwaredevelopment.com/performance/performance-testing-in-the-cloud-with-jmeter-aws"" rel=""nofollow noreferrer"">Performance Testing in the Cloud with JMeter &amp; AWS</a>, a connection between a master and a slave uses 3 connections: two for RMI(remote method invocation) and one is reserved for JMeter.</p>

<p><a href=""https://i.stack.imgur.com/T44r0.jpg"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/T44r0.jpg"" alt=""enter image description here""></a></p>

<p>Question: Do you know what data is sent over those connections? I want to understand the scope better of those 3 connections.</p>

<p>Thank you guys</p>
",https://stackoverflow.com/questions/46178545/jmeter-uses-3-connections-in-distributed-setup-what-data-is-sent,"['jmeter', 'distributed-testing']",35,FALSE,1,0
cannot pass data from @DataProvider to JSON,"<p>All my requests are failing due and seems to be I am unable to pass the data from dataprovider to the json field. Any thoughts and ideas ?</p>

<p>I am using @dataprovider to pass multiple values for my performance testing. I am getting status code 200 for each value in the dataprovider but cannot pass the dataprovider values into Json field ""values"". Values field takes each dataprovider values and requests the api to get the info. </p>

<pre><code>package com.company.testing;
import static io.restassured.RestAssured.given;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import io.restassured.response.Response;

public class test1 {

    Response myResponse;
    String baseURL = ""http://test.com/1.0/api"";

    @DataProvider(name = ""data"")
    public Object[][] createTestData() {
        return new Object[][]{
            {""some1.com""},
            {""some2.net""},
            {""some3.com""},
            {""some4.com""}};
    }



  @Test(dataProvider = ""data"")
    public void potTest(String values){
        Response myResponse;
        String baseURL = ""http://test.com/1.0/api"";
        System.out.println(values);
        String Json = buildJson(values);
        myResponse = given().contentType(""application/json"").body(Json).when().post(baseURL);
        //Print Response
        //System.out.println(""Request :"" + Json);
        System.out.println(""Response Body : ""+myResponse.getBody().asString());
        System.out.println(""Response Code : ""+myResponse.getStatusCode());
        System.out.println(""Response Time : ""+myResponse.getTime());
    }

    String buildJson(String values){
        return ""{\n"" +
               "" \""oemid\"":\""company1\"",\n"" +
               "" \""deviceid\"":\""DeviceId\"",\n"" +
               "" \""uid\"":\""system1\"", \n"" +
               "" \""values\"":\n"" +
               ""    [\""values\""], \n"" +
               "" \""queries\"":\n"" +
               ""    [\""gethistory\""], \n"" +
               "" \""starttime\"" : \""2017-06-10T00:00:00\"", \n"" +
               "" \""endtime\"" : \""2017-08-25T00:00:00\"", \n"" +
               "" \""xml\"":0, \n"" +
               "" \""nocache\"":1 \n"" +
               ""  }\n"";
    }




}
</code></pre>
",https://stackoverflow.com/questions/45950585/cannot-pass-data-from-dataprovider-to-json,"['java', 'json', 'testng', 'dataprovider']",416,TRUE,1,1
Monitoring on CloudFoundry instance and pull metrics like CPU usage and Memory utilization,"<p>As a part of performance Testing on cloud Foundry applications, i am now focusing more on server side (i.e containers where applications are stored) and interested in pulling out metrics which are useful to find bottlenecks such as
1) CPU consumption, 
2) disk usage, 
3) memory usage<br>
4) Logs
Searched around internet but instead got a lot of confusions.Anyone can please suggest framework or tool that can be used to achieve the same using a windows OS.</p>
",https://stackoverflow.com/questions/44313845/monitoring-on-cloudfoundry-instance-and-pull-metrics-like-cpu-usage-and-memory-u,"['performance', 'cloud', 'monitoring', 'performance-testing', 'cloud-foundry']",905,TRUE,1,1
Jmeter and identityserver,"<p>I would like to use jmeter for performance testing on an ASP.NET MVC application.
Authentication is based on Identitityserver, i can not configure jmeter, (authentification failed). 
I try to use  windows and password login (via an http authorization manager) without sucess.
In debug, i know that </p>

<pre class=""lang-html prettyprint-override""><code>HttpContext.Current.User
</code></pre>



<p>is alway empty.</p>

<p>I tried to capture the frames of an authentication with firefox but without result.</p>

<p>If someone has already done this type of tests an help would be appreciated.</p>
",https://stackoverflow.com/questions/41796315/jmeter-and-identityserver,"['asp.net', 'identityserver3', 'asp.net-mvc-5']",1800,TRUE,0,2
Need to improve performance query a table with millions of rows - SQL Server,"<p>This query on an audit trail table starts slowing down once the load increases in performance testing (reads and inserts) and I've done what I can with indexing. With this query and these tables and indexes, what more can I do?</p>

<pre><code>CREATE TABLE [dbo].[mod2] (
  [id] [int] IDENTITY,
  [userId] [int] NOT NULL,
  [epochTime] [bigint] NOT NULL,
  [forecastId] [int] NOT NULL,
  [description] [char](12) NOT NULL,
  [auxText] [text] NULL,
  [auxDate] [date] NULL
);


ALTER TABLE [dbo].[mod2] ADD CONSTRAINT PK_mod2 PRIMARY KEY(ID);

ALTER TABLE [dbo].[mod2]  WITH CHECK
    ADD CONSTRAINT [FK_mod2_forecastId] FOREIGN KEY([forecastId])
    REFERENCES [dbo].[forecast] ([id]);

ALTER TABLE [dbo].[mod2] CHECK CONSTRAINT [FK_mod2_forecastId];

ALTER TABLE [dbo].[mod2]  WITH CHECK
    ADD CONSTRAINT [FK_mod2_userId] FOREIGN KEY([userId])
    REFERENCES [dbo].[user] ([id]);

ALTER TABLE [dbo].[mod2] CHECK CONSTRAINT [FK_mod2_userId];

CREATE NONCLUSTERED INDEX IX_modification_auxDate ON [dbo].[mod2] (auxDate ASC);

CREATE NONCLUSTERED INDEX IX_modification_epochTime ON [dbo].[mod2] (epochTime ASC);

CREATE NONCLUSTERED INDEX IX_modification_description ON [dbo].[mod2] (description ASC);

CREATE NONCLUSTERED INDEX IX_modification_forecastId ON [dbo].[mod2] (forecastId ASC);

CREATE NONCLUSTERED INDEX IX_modification_userId ON [dbo].[mod2] (userId ASC);
</code></pre>

<p>and this is my query:</p>

<pre><code>SELECT name, epochTime, auxDate 
    FROM mod2 WITH (NOLOCK)
    JOIN [user] ON [user].id = mod2.userId 
    WHERE forecastId = ? AND description = ? AND auxDate = ?
</code></pre>

<p>This is a legacy system and it was crawling before I put these indexes on it and changed the <code>description</code> field from <code>VARCHAR</code> to <code>CHAR</code></p>

<p>The forecast and user <code>id</code> fields are <code>INT</code> and indexed similarly.</p>
",https://stackoverflow.com/questions/43762135/need-to-improve-performance-query-a-table-with-millions-of-rows-sql-server,"['java', 'sql-server', 'jdbc', 'hikaricp']",306,TRUE,0,2
Issue while attaching app-agent javaagent.jar with existing(and running jvm),"<p>My organization asked our team to use this new tool AppDynamics for better performance testing results and reports.</p>

<p>For that I have to attach javaagent with running jvm,  on their community this step</p>

<pre><code>java -Xbootclasspath/a:&lt;path_to_jdk&gt;/lib/tools.jar -jar 
/&lt;agent_home&gt;/javaagent.jar &lt;jvm_process_id&gt;
is given to attach the javaagent with running jvm. 
</code></pre>

<p>However when I run the same I get following result on cmd (Using windows-8 64 bit)</p>

<pre><code>&gt;Attaching to VM [6616]    
</code></pre>

<p>java.lang.reflect.InvocationTargetException
Caused by: java.io.IOException: no such process 
Exception in thread ""main"" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.io.IOException: no such process</p>

<p>This is <a href=""https://docs.appdynamics.com/display/PRO43/Install+the+Java+Agent"" rel=""nofollow noreferrer"">the link</a> of their documentation.</p>
",https://stackoverflow.com/questions/44038577/issue-while-attaching-app-agent-javaagent-jar-with-existingand-running-jvm,"['javaagents', 'appdynamics']",759,FALSE,0,1
LoadRunner should be with in AWS or OutSide of AWS?,"<p>I was trying to setup test environment for Performance testing using Load Runner, of a Multi tenant application hosted on AWS.</p>

<p>My question is, Can I run the LR tests from AWS and test an application which is also hosted on AWS. (Same data center but different servers?).</p>

<p>Or, should I run the LR tests from outside of the AWS environment with Application under test on AWS?</p>

<p>The goal is to perform Load testing and create the sizing document.</p>
",https://stackoverflow.com/questions/45982247/loadrunner-should-be-with-in-aws-or-outside-of-aws,"['testing', 'load', 'runner']",60,FALSE,0,1
Why does Firefox execute Javascript incredibly faster than other browsers,"<p>I'm performance testing the below Javascript code snippet under Firefox, Chrome, and Safari</p>

<p><div class=""snippet"" data-lang=""js"" data-hide=""false"" data-console=""true"" data-babel=""false"">
<div class=""snippet-code"">
<pre class=""snippet-code-js lang-js prettyprint-override""><code>var f = function(x) {
	return Math.sin(x);
}

function testSpeed() {
	console.log(""test started, please hold on..."");
	var time = Date.now();
	for(var i = 0; i &lt; 1000; i ++) {
		for(var x = 1; x &lt; 200000; x ++) {
			f(x);//replace by Math.sin(x) here
		}
	}
	console.log(""total time = "" + ((Date.now() - time) / 1000.0));
}

testSpeed();</code></pre>
</div>
</div>
</p>

<p>The results are:

<li><b>0.12s under Firefox</b>, same when I replace the <code>f(x)</code> call by <code>Math.sin(x)</code>. </li>
<li><b>5.2s under chrome</b>, same when I replace the <code>f(x)</code> call by <code>Math.sin(x)</code>.</li>
<li><b>7.12s under Safari</b> but surprisingly only <b>0.56s</b> when I replace the <code>f(x)</code> call by <code>Math.sin(x)</code>.</li></p>

<p>This makes Firefox ~50x faster than Chrome and ~70x faster than Safari, is there any known reason for that?</p>

<p>Also under Safari why does the direct call to <code>Math.sin(x)</code> make a huge difference (~13x faster) compared to the <code>f(x)</code> call?</p>
",https://stackoverflow.com/questions/41419724/why-does-firefox-execute-javascript-incredibly-faster-than-other-browsers,"['javascript', 'google-chrome', 'firefox', 'safari', 'performance-testing']",513,TRUE,4,1
How to choose jmh configuration parameters,"<p>I want to write performance tests using jmh to measure some parts of code of my application. I've read <a href=""http://hg.openjdk.java.net/code-tools/jmh/file/tip/jmh-samples/src/main/java/org/openjdk/jmh/samples/"" rel=""nofollow noreferrer"">jmh samples</a> on how to write tests and watched some talks on youtube about jmh and performance testing.</p>

<p>What I don't understand is how to choose correct values for <code>@Warmup</code>, <code>@Measurement</code> and <code>@Fork</code> values. In most samples it's 1 Fork, 10 iterations with 1 second duration. </p>

<p>I understand, that there's no silver bullet for configuration, but what should be my thought process when choosing what values I should put?</p>
",https://stackoverflow.com/questions/43763530/how-to-choose-jmh-configuration-parameters,"['java', 'jmh']",1083,TRUE,4,2
Extension vs. Class to use as a ViewModel,"<p>What the advantages &amp; disadvantages to each of these approaches pertaining to creating file that takes care of the view configuration to reduce a controllers file size.</p>

<p>Main Focuses Are:</p>

<ul>
<li>Memory</li>
<li>Performance</li>
<li>Testing</li>
<li>Usability</li>
</ul>

<p>This is the simplest, capable of working, example to demonstrate the question, but when many views are present using many methods do any of the above concerns alter when comparing the Extension &amp; ViewModel Class?</p>

<p>Reminder: The ViewModel Class or Extension would be placed in a separate file.</p>

<p>ViewModel Approach</p>

<pre><code>    class VC: UIViewController {
        lazy var viewModel: ViewModel {
            return (main: self)
        }()

        ovverride viewDidLoad() {
            super.viewDidLoad()

            initializeUI()
        }


        func initializeUI() {
            viewModel.configureView()
        }
    }



    class ViewModel {
        private let main: UIViewController

        init(main: UIViewController) {
            self.main = main
        }

        func configureView() {
            main.view.backgroundColor = UIColor.blue
        }
    }
</code></pre>

<p>Extension Approach</p>

<pre><code>    class VC: UIViewController {
        lazy var viewModel: ViewModel(main: self)

        ovverride viewDidLoad() {
            super.viewDidLoad()

            initializeUI()
        }


        func initializeUI() {
            configureView()
        }
    }

    extension VC {
        func configureView() {
            main.view.backgroundColor = UIColor.blue
        }
    }
</code></pre>
",https://stackoverflow.com/questions/45269432/extension-vs-class-to-use-as-a-viewmodel,"['ios', 'swift', 'model-view-controller', 'mvvm', 'architecture']",366,FALSE,3,0
Apache Jmeter response time too high for web pages,"<p>We are using Apache JMeter for the performance testing of web application. Apparently response time is too high in comparison to loading page in browser during load. When we open the page during load it opens in 2 seconds however JMeter reports 70 seconds. I understand  browser memory cache and disk cache are used in browser however isn't JMeter cache manager does same. How to assert it, comparing response header is one option. Any thoughts on this will be appreciated.</p>
",https://stackoverflow.com/questions/41535422/apache-jmeter-response-time-too-high-for-web-pages,['jmeter'],1604,FALSE,0,2
WebLogic stuck on internal logging,"<p>After executing performance testing, several nodes in Web Logic cluster were stuck with same reason:</p>

<pre><code>""[ACTIVE] ExecuteThread: '201' for queue: 'weblogic.kernel.Default (self-tuning)'"" waiting for lock java.util.WeakHashMap@8632059 BLOCKED

            weblogic.logging.WLLogger.normalizeLogRecord(WLLogger.java:60)

            weblogic.logging.WLLogger.log(WLLogger.java:37)

            weblogic.diagnostics.debug.DebugLogger.log(DebugLogger.java:231)

            weblogic.diagnostics.debug.DebugLogger.debug(DebugLogger.java:204)

            weblogic.jdbc.wrapper.JDBCWrapperImpl.trace(JDBCWrapperImpl.java:169)

            weblogic.jdbc.wrapper.ResultSet.preInvocationHandler(ResultSet.java:83)

            weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.getLong(Unknown Source)
</code></pre>

<p>There is total 126 threads blocked on the same </p>

<pre><code>waiting for lock java.util.WeakHashMap@8632059
</code></pre>

<p>I really wonder, what could cause this strange behaviour, I was expecting troubles in database performance or lack of jdbc connections, but not logging issues. If so, is it possible to disable this logging somehow?</p>

<p>Other node also had </p>

<pre><code>""[STUCK] ExecuteThread: '206' for queue: 'weblogic.kernel.Default (self-tuning)'"" waiting for lock weblogic.logging.FileStreamHandler@153405fb BLOCKED

            com.bea.logging.RotatingFileStreamHandler.publish(RotatingFileStreamHandler.java:75)

            java.util.logging.Logger.log(Logger.java:610)

            com.bea.logging.BaseLogger.log(BaseLogger.java:51)

            weblogic.logging.WLLogger.log(WLLogger.java:42)
</code></pre>

<p>with 15 blocked threads.
The underlying method in all cases does small jpa query, selecting user by login from db due to invalidated cache. </p>
",https://stackoverflow.com/questions/42087825/weblogic-stuck-on-internal-logging,"['jakarta-ee', 'weblogic']",1180,TRUE,1,1
How do you calculate calls per minute in performance test?,"<p>In some performance testing reports I see the 'calls per minute' for a certain of API calls. I am not sure if this is an important KPI for measuring a system's resilience. </p>

<p>I am also interested in how to calculate it. I have a small Java web application running on local tomcat. The web application has a controller listening to some http calls. I can fire the calls with RestClient and get some dummy response.</p>

<p>How can I do such calculation with my application? </p>
",https://stackoverflow.com/questions/43676688/how-do-you-calculate-calls-per-minute-in-performance-test,"['java', 'performance', 'performance-testing']",503,TRUE,0,1
Oracle - Getting proc response quickly even after flushing the buffer,"<p>I ran a procedure <code>proc1</code> and the response time was 300 secs</p>

<pre><code>exec proc1; -- 1st run -took 300 secs
</code></pre>

<p>then I ran </p>

<pre><code>ALTER SYSTEM FLUSH BUFFER_CACHE;
ALTER SYSTEM FLUSH SHARED_POOL;

exec proc1; -- 2nd run -took 20 secs
</code></pre>

<p>then again I ran flushed buffer cache and shared pool multiple times but got the result in just 20 secs.</p>

<p><strong>Question</strong> Why flushing of <code>buffer_cache</code> (and <code>shred_pool</code>) not able to increase the response? I have checked <code>v$bh</code> and it is showing the status as 'free' for all objects. How can I achieve the 1st run's response time ie 300 sec?</p>

<p><strong>Note</strong> This is being done in development environment for some performance testing and requirement. </p>
",https://stackoverflow.com/questions/47937633/oracle-getting-proc-response-quickly-even-after-flushing-the-buffer,"['oracle', 'oracle11g', 'oracle10g', 'database-performance', 'sqlperformance']",38,FALSE,0,0
Jmeter -session id capturing issue,"<p>I am currently doing a performance testing using Jmeter</p>

<p>Session id is generated correctly and get captured in the cookie data but the same session id is not displayed along with the url</p>

<p>For example it displays as mentioned</p>

<blockquote>
  <p><a href=""https://qa-mtp.xxxxxx.com:8443/RA/search?param_1=1&amp;param_2=S_TREE&amp;param_3=LNA0&amp;_=1485153087241&amp;JSESSIONID="" rel=""nofollow noreferrer"">https://qa-mtp.xxxxxx.com:8443/RA/search?param_1=1&amp;param_2=S_TREE&amp;param_3=LNA0&amp;_=1485153087241&amp;JSESSIONID=</a>
  GET data:</p>
  
  <p>Cookie Data: $Version=0; JSESSIONID=A0C47D6F8D5EE2C982A27A986ED08CD8;
  $Path=/RA</p>
</blockquote>

<p>I have added HTP URL Rewriting modifier,JSON path extractor also but could not resolve the issue.</p>

<p>Please help me out to resolve the same.</p>
",https://stackoverflow.com/questions/42084823/jmeter-session-id-capturing-issue,['jmeter'],879,FALSE,0,1
AWS Instance with Best Network Performance,"<p>I have a spring boot REST service which uses Tomcat container in AWS ( instance type m4.xlarge, same region, non public facing, nothing on-prem, using private IPs). Our performance testing showed network latency, and scaling out hasn't shown any improvement and so I am also thinking of scaling up. In order to get maximum network benefit and throughput, which instance type will benefit me the most? </p>

<p><a href=""https://aws.amazon.com/ec2/instance-types/"" rel=""nofollow noreferrer"">https://aws.amazon.com/ec2/instance-types/</a></p>

<p>Will using a placement group help to boost TPS of my Rest API.</p>
",https://stackoverflow.com/questions/42629475/aws-instance-with-best-network-performance,"['amazon-web-services', 'amazon-ec2']",1876,FALSE,0,1
How to simulate one time login and logout actions in Jmeter,"<p>I am new to Jmeter - performance testing. I want to have and run the scenario in Jmeter when users will login to application once at the start of the run, navigate the steps, screens multiple times throughout the run and then all the users will logout (again once) at the end of the run.</p>

<p>I have used Loadrunner the case mentioned above is implemented easily after placing login action in 'vuser_init', the steps which would be iterated during the run are placed in 'Action' and logout in 'vuser_end' section.</p>

<p>I appreciate your reply.</p>

<p>Regards,
ARAI</p>
",https://stackoverflow.com/questions/45725347/how-to-simulate-one-time-login-and-logout-actions-in-jmeter,['jmeter'],6675,TRUE,2,3
&quot;Rails generate performance_test&quot; not available?,"<p>I am currently trying to follow performance testing tutorial given in <a href=""http://guides.rubyonrails.org/v3.2.13/performance_testing.html"" rel=""nofollow noreferrer"">Ruby on Rails docs</a>. But I got stuck in the first step itself!</p>

<p>When I try to run the command given below i get an error,</p>

<p>Command:</p>

<pre><code>$ rails generate performance_test homepage
</code></pre>

<p>Error I get:</p>

<pre><code>Could not find generator 'performance_test'. Maybe you meant 'integration_test', 'resource_route' or 'coffee:assets'
</code></pre>

<p>I ran <code>""rails generator --help""</code> to see the possible files that can be generated and below is the output I got for that,</p>

<pre><code>Running via Spring preloader in process 9465
Expected string default value for '--jbuilder'; got true (boolean)
Usage: rails generate GENERATOR [args] [options]

General options:
  -h, [--help]     # Print generator's options and usage
  -p, [--pretend]  # Run but do not make any changes
  -f, [--force]    # Overwrite files that already exist
  -s, [--skip]     # Skip files that already exist
  -q, [--quiet]    # Suppress status output

Please choose a generator below.

Expected string default value for '--helper'; got true (boolean)
Expected string default value for '--assets'; got true (boolean)
Rails:
  assets
  channel
  controller
  generator
  helper
  integration_test
  jbuilder
  job
  mailer
  migration
  model
  resource
  responders_controller
  scaffold
  scaffold_controller
  task

Coffee:
  coffee:assets

Js:
  js:assets

RailsScript:
  rails_script:class
  rails_script:controller
  rails_script:element
  rails_script:install
  rails_script:utility

Responders:
  responders:install

Rspec:
  rspec:controller
  rspec:feature
  rspec:helper
  rspec:install
  rspec:integration
  rspec:job
  rspec:mailer
  rspec:model
  rspec:observer
  rspec:request
  rspec:scaffold
  rspec:view

SimpleCalendar:
  simple_calendar:views

TestUnit:
  test_unit:controller
  test_unit:generator
  test_unit:helper
  test_unit:integration
  test_unit:job
  test_unit:mailer
  test_unit:model
  test_unit:plugin
  test_unit:scaffold
</code></pre>

<p>As seen above, a performance test unit is not defined there. Is this the case in RoR 5, or have I messed up the project and thereby not able to generate performance_test files?</p>
",https://stackoverflow.com/questions/43911358/rails-generate-performance-test-not-available,"['ruby-on-rails', 'ruby', 'performance-testing']",772,TRUE,2,1
Connecting Java Mision Control to AWS EC2 instance,"<p>I have a java application running on AWS EC2 instance(Amazon Linux AMI:Fedora). I am doing performance testing for my application and I have tested it using JMC with my local and remote servers, where I would log in using basic authentication; but I do not see any options in JMC console to connect to a remote server using certificates.</p>

<p>I was wondering if there was a way I could connect to EC2 from my local JMC console. I am new to AWS environment. Any help would be appreciated.
Thanks</p>
",https://stackoverflow.com/questions/47212262/connecting-java-mision-control-to-aws-ec2-instance,"['java', 'amazon-web-services', 'amazon-ec2', 'jmc']",225,FALSE,1,0
"Performance, load and stress testing in Django","<p>I am studying the different types of testing for a Django application. I know how to do functional and unit testing in Django and how to apply different methodologies, but now I am facing a new challenge, I need to know how to do:</p>

<ul>
<li>Performance testing</li>
<li>Load testing</li>
<li>Stress testing</li>
</ul>

<p>I <strong>know the difference between them</strong> but I dont know which is the best methodology to follow,which are the best packages for do it or simply where I can get some <strong>documentation</strong> about it. </p>

<p>So my question is, how can I start to do these types of tests in a Django app or where can I get some good documentation about it?</p>

<p>Thanks </p>
",https://stackoverflow.com/questions/46893226/performance-load-and-stress-testing-in-django,"['python', 'django', 'testing', 'performance-testing']",12373,TRUE,16,1
How can I be sure that wrk is targeting different profile ids?,"<p>I'm doing performance testing and using wrk for the first time. My goal is to send requests to different profile ids because I suspect the platform being tested caches same request so that response times improve. URL looks something like this:</p>

<p><a href=""http://some_url:some_port/cxs/profiles/"" rel=""nofollow noreferrer"">http://some_url:some_port/cxs/profiles/</a>...</p>

<p>Made a LUA script to randomize profile ids that looks like this: </p>

<pre><code>request = function()   
return wrk.format(nil, string.format(""/cxs/profiles/%012d"", math.random(100000000)))
end
</code></pre>

<p>and my wrk request looks like this: </p>

<pre><code> wrk -t3 -c8 -d15m -H ""Authorization: Basic a2FyYWY6a2FyYWY="" -s myScript.lua ""http://some_url:some_port"" --latency 
</code></pre>

<p>Is there a way to be sure that wrk is really targeting different profile ids? Because the response time doesn't change a lot without the script  </p>
",https://stackoverflow.com/questions/45051999/how-can-i-be-sure-that-wrk-is-targeting-different-profile-ids,"['testing', 'lua', 'performance-testing', 'wrk']",533,TRUE,0,1
Invoke every HttpRequest after login in JMeter,"<p>Increasing User Threads in my JMeter performance testing, found some of the requests called before login. So those requests were failed.</p>

<h2>My Test plan is below</h2>

<p><a href=""https://i.stack.imgur.com/tRujy.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/tRujy.png"" alt=""enter image description here""></a></p>

<p>In .csv file, added 1000 users with <code>{email, password}</code> and given to <code>Login Http Request -&gt; CSV Data Set Config</code>. I'm extracting <code>{uid}</code> from login response and stored in <code>uid</code></p>

<p>Second Random Controller, have multiple HttpRequest's, every request needs <code>{uid}</code>. </p>

<p>This works on below 50 user threads. But when i increased threads, some Random Controller ==> Http Request sends without <code>uid</code></p>

<p>See, this one is with <code>uid</code>
<a href=""https://i.stack.imgur.com/p2Ksz.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/p2Ksz.png"" alt=""enter image description here""></a></p>

<p>But this one is with out <code>uid</code></p>

<p><a href=""https://i.stack.imgur.com/iQVJ7.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/iQVJ7.png"" alt=""enter image description here""></a></p>

<p>Can any one help me, how we can achieve this?</p>
",https://stackoverflow.com/questions/45029005/invoke-every-httprequest-after-login-in-jmeter,['jmeter'],301,FALSE,0,1
How to parametrize a hostname in Jenkins Publish over SSH?,"<p>I'm going to have a new hostname each time, but all of them will belong to the same security group, so I can use the same .pem
. I would like to set the hostname as a build parameter and have something like this:
<a href=""https://i.stack.imgur.com/q2m4L.png"" rel=""nofollow noreferrer"">Publish over SSH configuration</a>
.        For now I'm getting the error: <em>""ERROR: Exception when publishing, exception message [Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [Redis Performance Testing]. Message [java.net.UnknownHostException: <strong>$EC2_INSTANCE</strong>]]]""</em></p>

<p>Is there any idea how I can achieve this?
Thanks!</p>
",https://stackoverflow.com/questions/45123143/how-to-parametrize-a-hostname-in-jenkins-publish-over-ssh,['jenkins'],1350,FALSE,0,1
Proxy server for Gatling,"<p>Recently I installed <strong>Gatling</strong> for performance testing on Ubuntu 14.04. And to run the recorder I needed to configure a proxy server in my browser. I tried to change proxy settings in Google chrome, but I don`t have rights. So I tried to do it using network settings in Ubuntu (Network -> Network proxy). But when I open a website which I need to test, nothing happens in the recorder. 
So I do not really know is there a problem with the proxy server or <strong>Gatling</strong> itself? And how to check if the proxy server is configured correctly?
I would appreciate any help!</p>
",https://stackoverflow.com/questions/43437334/proxy-server-for-gatling,"['google-chrome', 'ubuntu-14.04', 'performance-testing', 'http-proxy', 'gatling']",2072,TRUE,2,1
Kafka compression type version -0.10.0.1,"<p>I have been testing the kafka compression type using performance testing tool.
Basically I use the built-in tool to send 1000000 messages to kafka cluster with different compression mode. What i can see the compression is working with gzip, and lz4, but data seems not getting compression for snappy type.</p>

<p>Furthermore, I also checked network traffic for snappy, it is compressed at client side, but seems having problem at brokers.</p>

<p>storage before sending:</p>

<pre><code>5.0K    ./test_none-0
1.0K    ./test_gzip-0
3.0K    ./test_snappy-0
1.0K    ./test_lz4-0
</code></pre>

<p>run following command to publish 1M messages to server</p>

<pre><code>/home/sysgenu/kafka/kafka_2.10-0.10.0.1/bin/kafka-producer-perf-test.sh --num-records 1000000 --throughput 100000 --record-size 1000 --topic test_none --producer-props bootstrap.servers=ldnpsr000001131:9092,gbrcsr000000096:9092
/home/sysgenu/kafka/kafka_2.10-0.10.0.1/bin/kafka-producer-perf-test.sh --num-records 1000000 --throughput 100000 --record-size 1000 --topic test_snappy --producer-props bootstrap.servers=ldnpsr000001131:9092,gbrcsr000000096:9092 compression.type=snappy
/home/sysgenu/kafka/kafka_2.10-0.10.0.1/bin/kafka-producer-perf-test.sh --num-records 1000000 --throughput 100000 --record-size 1000 --topic test_gzip --producer-props bootstrap.servers=ldnpsr000001131:9092,gbrcsr000000096:9092 compression.type=gzip
/home/sysgenu/kafka/kafka_2.10-0.10.0.1/bin/kafka-producer-perf-test.sh --num-records 1000000 --throughput 100000 --record-size 1000 --topic test_lz4 --producer-props bootstrap.servers=ldnpsr000001131:9092,gbrcsr000000096:9092 compression.type=lz4
</code></pre>

<p>Check storage after publishing</p>

<pre><code>494M    ./test_none-0
96M     ./test_gzip-0
500M    ./test_snappy-0
25M     ./test_lz4-0
</code></pre>

<p>I dont why nothing happy for snappy?</p>

<p>Appreciate for any help?</p>
",https://stackoverflow.com/questions/42240277/kafka-compression-type-version-0-10-0-1,"['apache-kafka', 'snappy']",1000,FALSE,1,0
How to use a list of objects in razor with click handlers,"<p>I am using Razor to render a list of items, and I have a <strong>delete</strong> button for each item. This is a simplified version of my code:</p>

<pre><code>//razor
@for (var item in Model.myList) {
  &lt;div&gt;@item.Name &lt;button onclick='deleteItem(@item.Id)' class='delete-button' value='Delete' /&gt;&lt;/div&gt;
}

//javascript
&lt;script&gt;
  function deleteItem(id) {
    //ajax stuff to delete here...
    alert('Item has been deleted');
  }
&lt;/script&gt;
</code></pre>

<p>The code works great. But in a code review I was recently told I should </p>

<ol>
<li>Use a de-coupled click handler</li>
<li>Use the <code>data</code> attribute </li>
</ol>

<p>like this:</p>

<pre><code>//razor
@for (var item in Model.myList) {
  &lt;div&gt;@item.Name &lt;button data-id='@item.Id' class='delete-button' value='Delete' /&gt;&lt;/div&gt;
}

//javascript
&lt;script&gt;
  $( ""div button.delete-button"" ).click(function() {
    var id = $(this).data('id');
    //do ajax stuff here to delete
    alert('Item has been deleted');
  });
&lt;/script&gt;
</code></pre>

<p>This also works, and does essentially the same thing. But I wanted to know <strong>if there is any tangible benefit (performance, testing, code-readability, etc) to using a de-coupled click handler</strong>? Or is it more of a personal preference? We have around 100 items in the list on average. </p>
",https://stackoverflow.com/questions/41946769/how-to-use-a-list-of-objects-in-razor-with-click-handlers,"['javascript', 'c#', 'jquery', 'html', 'razor']",60,FALSE,0,0
How to handle dynamic JSP pages in Jmeter,"<p>We're trying to perform performance testing on one of our web application based on jsp using Jmeter. Now when I open a link in that application, the URL that is visible in browser remains same and does not change, for example if URL of the application is <code>www.johndoe.com/abc</code> and there is a link on the webpage that says click here to contact, now on clicking that page if contact form opens but the URL of the webpage visible in browser is still <code>www.johndoe.com/abc</code>. </p>

<p>I recorded these steps using Jmeter recording controller so that I can do performance tests on it, when I see the http samples, it shows path something like <code>/abc/rest/a/task/latest/3067/form</code> and when I execute the script it throws <code>401 Unauthorized</code> error in Jmeter. </p>

<p>What I assume is behind the scenes this is the actual link of that contact form page and that number 3067 is the ID of the page which is dynamic and changes every time when you refresh the page. </p>

<p>Can someone please suggest how should I capture this auto task ID before hitting the URL and be able to access that page in Jmeter so that I can do performance testing? </p>

<p>To add onto above I also select some radio buttons on that form and select some dropdown fields on form and I want Jmeter to do the same when its executing, please let me know how should I be able to achieve that.</p>
",https://stackoverflow.com/questions/46473137/how-to-handle-dynamic-jsp-pages-in-jmeter,"['jsp', 'jmeter', 'performance-testing', 'stress-testing', 'jmeter-3.2']",1478,TRUE,0,1
Best practices for Spring Boot connection pool configuration,"<p>I am configuring JDBC connection pool for Spring Boot app and Postgres DB to use HikariCP connection pool and trying to find best practices for configuration setup, unfortunately there is not much info on this theme in the web.</p>

<p>I am preparing my own performance testing for different setups but would appreciate any help. The average throughput is around <em>20 req/sec</em> for application node </p>

<p>I am the most interested in the most optimal values for such properties as: </p>

<pre><code>    minimumIdle: ?
    maximumPoolSize: ?
    idleTimeout: ?
    maxLifetime: ?
    connectionTimeout: ?
</code></pre>

<p>Especially would be great to know the most optimal value for the <code>maximumPoolSize</code>
There are plenty of other options available for connection pool setup would appreciate any advice about their impact on application performance. </p>
",https://stackoverflow.com/questions/47633875/best-practices-for-spring-boot-connection-pool-configuration,"['java', 'spring', 'spring-boot', 'connection-pooling', 'hikaricp']",15637,TRUE,9,1
