title,body,link,tags,view_count,is_answered,score,answer_count
Athena Performance Testing,"<p>Performing queries on csv data. (To test athena performance)
Query: select * from csvdata limit 10;
Here i'm testing how much data is scanned and the amount of time taken. When i ran same query again and again the time difference and data scanned is so volatile. Couldn't figure out what is the best time athena is taking to scan the data. Is it network latency? or anything wrong in my approach?
Looking forward to test joins, groupby, partitions and bucketing later. is there any usecase i can refer?</p>
",https://stackoverflow.com/questions/54470046/athena-performance-testing,['amazon-athena'],807,True,0,1
JS SDK Performance testing,"<p>We have complex JS SDK, that provides rich set of client-side functionality for adding and processing Consumer data. Basically, is our main integration point for the web sites and the Data management layer. Functional testing is already covered, but now we face the need to continuously performance test the SDK.</p>

<p>How we can do that, so we address JS SDK's:</p>

<ul>
<li>Speed - Determines whether the SDK responds quickly</li>
<li>Scalability - Determines maximum user load the SDK can handle (maybe multiple tabs in same session, submitting/fetching heavy data from the backend?)</li>
<li>Stability - Determines if the SDK is stable under varying loads (multiple requests under same session)</li>
</ul>

<p><strong>Note</strong>, that this is not a typical Performance testing of a Web application. I'm not looking for how quickly basic page features load, like layout or when the functional elements become responsive to carry out user requests.</p>

<p>Thanks in advance.</p>
",https://stackoverflow.com/questions/59169492/js-sdk-performance-testing,"['javascript', 'performance-testing', 'web-frontend']",174,False,0,1
Performance testing with external dependencies,"<p>When performance testing in the microservices world (talking mainly load testing), what is your approach regarding external dependencies (APIs) your application relies on, but not owned/controlled by your team. In my case the external dependencies are owned by teams within the same company.So would you point to the corresponding ""real"" integration non-prod endpoints OR you would create stubs and mimic their response times in order to match production as much as possible?</p>

<ul>
<li>First approach example: A back-end api owned by your team and calling an external api to verify a customer. Your team doesn't have control over the customer api, but you still point to their integration testing endpoint when running the load test.</li>
<li>Second approach example: A back-end api owned by your team calls a stub that sends a static response and mimics the response time of the external customer api.</li>
</ul>

<p>I realise there are pros and cons of the two approaches, and one would favour over the other depending on the goals of the testing. But what is your preferred one? Shouldn't be necessarily a choice between the two mentioned above. Can be a completely different one.</p>
",https://stackoverflow.com/questions/59341411/performance-testing-with-external-dependencies,"['performance-testing', 'stub', 'external-dependencies']",1202,True,8,1
Performance testing with Katalon Studio,"<p>I am using Katalon Studio for Web and API testing. For performance testing, I use JMeter as Katalon Studio does not have support for performance tests. </p>

<p>I want to know if it is possible to do the following. Every test case is written in Katalon Studio for Web testing. I somehow must make so that, when test cases will run on Katalon Studio, it also should make performance/load testing. It is hard to rewrite everything in JMeter. </p>

<p>Is there any tool that looks at the running test cases and also makes performance tests? I mean, for example, one test case is for Login page, the user will log in into page and then it will log out. And for that, I want to get information about the time it took to log in and log out. </p>
",https://stackoverflow.com/questions/56063663/performance-testing-with-katalon-studio,"['jmeter', 'performance-testing', 'load-testing', 'katalon-studio']",4926,True,2,1
Orion Context Broker Performance Testing,"<p>I've been doing some performance testing on Orion Context Broker sending many POST requests to update an attribute inside an entitiy and then check that the subscriptors receive the message correctly. The environment that I built is shown in the next image <a href=""https://i.stack.imgur.com/JMO8R.png"" rel=""nofollow noreferrer"">Environment</a></p>

<p>To deploy all the components in my server I'm using docker and they comunicate to each other as in an internal network(docker network). A sensor is simulated with a script that send data to Orion. If I want to send 800 post requests per minute, I send a request each 0.075s(60/800).
With the default configuration of Orion(using the docker image from <a href=""https://hub.docker.com/r/fiware/orion/"" rel=""nofollow noreferrer"">https://hub.docker.com/r/fiware/orion/</a>) when the number of request is around 800, Orion fails and then I receive an <em>""Empty reply from server"".</em>  I understand that this happens because the default mode for notifications is <strong>trasient</strong> and this is not suitable for high load scenarios.
I've tried changing the default parameters building another orion image using <strong>threadpool mode</strong> and test diferent numbers for <em>n</em>(number of workers) and <em>q</em>(queue limit), for example n=8 and q=80, and changed the <strong>reqPoolSize</strong> to 8(I am working on a machine with 8 cores and 8GB RAM). But now, with around 500 alerts Orion hungs for a few minutes and then works well. I checked the other components in the environment and they seem to be working right. Are there another parameter that I should be looking at, or shoud I keep testing more numbers for the ones that I'm using?</p>
",https://stackoverflow.com/questions/58885583/orion-context-broker-performance-testing,['fiware-orion'],73,False,1,0
HL7 performance testing with jmeter,"<p>I'm new to JMeter and trying to send HL7 messages to test performance of application. Unfortunately i didn't find much information over the internet.<br>
My first query is — is JMeter support HL7 messages to be send. If yes then do I need any plugin for it?<br>
I am using <code>TCP sampler</code> for sending messages, is this a correct way?</p>
",https://stackoverflow.com/questions/54849265/hl7-performance-testing-with-jmeter,"['jmeter', 'hl7']",1521,True,1,2
cURL vs ab performance testing,"<p>I am troubleshooting a speed problem with an application running on Apache + PHP + MariaDB.  To start with, I test a static HTML page using this bash script:</p>

<pre><code> for i in {1..1000}; do
      curl -s $url &gt; /dev/null
 done
</code></pre>

<p>This takes 14 seconds:</p>

<pre><code>$ time ./curltest.sh 

real    0m14.647s
user    0m4.238s
sys     0m4.234s
</code></pre>

<p>When I test with <code>ab -n 1000 $url</code> it completes in less than one second.  What's the difference in these two tools and what should I learn from this test?</p>
",https://stackoverflow.com/questions/57300241/curl-vs-ab-performance-testing,['apache'],1026,True,0,1
ConcurrentModificationException in CXF during performance testing,"<p>Exception below was found during performance testing.</p>

<p>CXF v3.0.0</p>

<p>JDK v1.8.92</p>

<p>PolicyInInterceptor.java:74 is the following code:</p>

<pre><code>Policy p = (Policy)msg.getContextualProperty(PolicyConstants.POLICY_OVERRIDE);
</code></pre>

<p>So looks like interceptor tried to manipulate Hashmap data (with Exchanges?).</p>

<p>We already using this option:</p>

<pre><code> getRequestContext().put(""thread.local.request.context"", ""true"");
</code></pre>

<p>from this <a href=""http://cxf.apache.org/faq.html#FAQ-AreJAX-WSclientproxiesthreadsafe?"" rel=""nofollow noreferrer"">CXF FAQ</a> but with no any changes in stacktrace.</p>

<p>Checked list of issue in <a href=""https://jira.apache.org/jira/browse/CXF-4407?jql=project%20%3D%20CXF%20AND%20resolution%20in%20(Unresolved%2C%20Fixed%2C%20Duplicate%2C%20Later%2C%20Implemented%2C%20Done%2C%20%22Auto%20Closed%22%2C%20%22Pending%20Closed%22%2C%20Resolved%2C%20Workaround)%20AND%20text%20~%20%22ConcurrentModificationException%22"" rel=""nofollow noreferrer"">CFX jira</a>. Found nothing similar.</p>

<p>Any advice?</p>

<pre><code>javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault code, not set 
   at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:159)
   at com.sun.proxy.$Proxy281.reqVirtualAcct(Unknown Source) 
   at com.mycompanyname.vc.vpp.VService.requestCFP(VService.java:240)
   at com.mycompanyname.vc.vpp.VService.requestC(VService.java:216)
   at com.mycompanyname.vc.vpp.VService.requestC(VService.java:105) 
   at com.mycompanyname.payment.PaymentSI.requestAndPopulateVC(PaymentSI.java:959) 
   at com.mycompanyname.payment.PaymentSI.createPayment(PaymentSI.java:669)
   at com.mycompanyname.payment.PaymentSI.createPayment(PaymentSI.java:2099)
   at sun.reflect.GeneratedMethodAccessor641.invoke(Unknown Source) 
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498) 
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) 
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) 
   at com.sun.proxy.$Proxy228.createPayment(Unknown Source)
   at com.mycompanyname.paymentws.PSaaSOrderPortTypeV3Impl.createP(PSaaSOrderPortTypeV3Impl.java:148)
   at sun.reflect.GeneratedMethodAccessor880.invoke(Unknown Source) 
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
   at java.lang.reflect.Method.invoke(Method.java:498)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) 
   at com.sun.proxy.$Proxy260.createPayable(Unknown Source) 
   at sun.reflect.GeneratedMethodAccessor880.invoke(Unknown Source) 
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
   at java.lang.reflect.Method.invoke(Method.java:498)
   at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:181) 
   at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:97) 
   at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:237) 
   at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:69)
   at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75) 
   at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
   at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
   at org.apache.cxf.interceptor.ServiceInvokerInterceptor$2.run(ServiceInvokerInterceptor.java:126) 
   at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37) 
   at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:131)
   at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) 
   at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
   at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:243)
   at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223) 
   at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:197)
   at org.apache.cxf.transport.servlet.ServletController.filter(ServletController.java:146) 
   at org.apache.cxf.transport.servlet.CXFNonSpringServlet.doFilter(CXFNonSpringServlet.java:144) 
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) 
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) 
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 
   at org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:220) 
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) 
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) 
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) 
   at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190) 
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
   at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.ConcurrentModificationException
   at java.util.HashMap$HashIterator.nextNode(HashMap.java:1442)
   at java.util.HashMap$EntryIterator.next(HashMap.java:1476) 
   at java.util.HashMap$EntryIterator.next(HashMap.java:1474) 
   at java.util.HashMap.putMapEntries(HashMap.java:512) 
   at java.util.HashMap.putAll(HashMap.java:785) 
   at org.apache.cxf.message.MessageImpl$1.putAll(MessageImpl.java:188)
   at org.apache.cxf.message.MessageImpl.calcContextCache(MessageImpl.java:212) 
   at org.apache.cxf.message.MessageImpl.getContextualProperty(MessageImpl.java:174)
   at org.apache.cxf.ws.policy.PolicyInInterceptor.handle(PolicyInInterceptor.java:74)
   at org.apache.cxf.ws.policy.AbstractPolicyInterceptor.handleMessage(AbstractPolicyInterceptor.java:44)
   at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
   at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798) 
   at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1636)
   at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1525)
   at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1330) 
   at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:56) 
   at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:215) 
   at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) 
   at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:638)
   at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
   at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
   at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514) 
   at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
   at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326) 
   at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279)
   at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
   at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:137) 
 ... 59 more
</code></pre>

<hr>

<p><strong>Update</strong></p>

<p>This question was moved to ""on hold"":</p>

<blockquote>
  <p>""Questions seeking debugging help (""why isn't this code working?"")
  must include the desired behavior, a specific problem or error and the
  shortest code necessary to reproduce it in the question itself.
  Questions without a clear problem statement are not useful to other
  readers. See: How to create a Minimal, Reproducible Example.""</p>
</blockquote>

<p>This question is not ""why isn't this code working?"". This question is ""why isn't this code working in very specific case with exception somewhere in dependency?"" Specific case is performance testing. In all other cases this code is working fine. </p>

<p>""shortest code necessary to reproduce"" is a problem, because performance testing is test on real system so there are no any code for reproduce. Anyway I tried to reproduce it with no luck. </p>

<p>So Im still thinking original question has enough context and description. 
Btw despite that question was asked during weekend I got two up vote on it. </p>
",https://stackoverflow.com/questions/57237390/concurrentmodificationexception-in-cxf-during-performance-testing,"['java', 'cxf']",488,False,2,0
Database performance testing using Java client,"<p>I have a school project that requires me to do some Java clients that connect to diverse SQL databases and one NoSQL (MongoDB). <br>
For the SQL DB I've used JPA to make it easy on myself.</p>

<p>This is how I insert into the database using JPA.</p>

<pre><code>EntityManager entityManager= ENTITY_MANAGER_FACTORY.createEntityManager();
EntityTransaction et = entityManager.getTransaction();
et.begin();
int index_flush = 1;
for(Iterator&lt;Book&gt; it = bookList.iterator(); it.hasNext();) {
    book = it.next();
    entityManager.persist(book);

    if((flush_index % 20) == 0) {
        entityManager.flush();
        entityManager.clear();
    }
    flush_index++;
}           
et.commit();
</code></pre>

<p><strong>My question is : Where do I measure the execution time?</strong> <br>
  What I know is that <code>entityManager.persist</code> and <code>entityManager.flush</code> does not actually communicate with the Database. The changes on DB can be only seen when entity transaction commit is called. <br>
  Do I only need to measure the time it takes to do that commit ?
<br><br></p>

<p>Thanks in advance! If I'm not clear in my explanation please tell me.</p>
",https://stackoverflow.com/questions/56180982/database-performance-testing-using-java-client,"['java', 'database', 'jpa']",83,False,1,2
Performance testing with JMeter JSR223 sampler,"<p>I'm doing performance testing with <code>JMeter Python</code> using <code>JSR223</code> sampler. I want to know the following. </p>

<blockquote>
  <ol>
  <li>How to connect to existing browser window?</li>
  <li>How to calculate performance timing?
  Suppose I have 10 steps in <code>Python</code> code. I want to calculate timing from step 3 to step 5.</li>
  <li>How to call methods from one <code>JSR223</code> sampler to another?</li>
  </ol>
</blockquote>

<p>Kindly help me with it.</p>

<p>Thanks.</p>
",https://stackoverflow.com/questions/55177766/performance-testing-with-jmeter-jsr223-sampler,"['python', 'jmeter', 'performance-testing', 'jython', 'jsr223']",354,False,0,1
performance testing uwsgi application in microservice,"<p>I have my uwsgi application deployed as a container pod in kubernetes which uses cherrypy to expose APIs. I need to evaluate the performance of the container and to set the limits such as CPU and memory.</p>

<p>I am using Grafana to check the CPU and Memory usage.</p>

<p>Container resources requirements as configured below,</p>

<p><strong>deployment.yaml</strong></p>

<pre><code>resources:
   requests:
     memory: 256Mi
     cpu: 100m
   limits:
     memory: 512Mi
     cpu: 200m
</code></pre>

<p>I am using locust to post requests parallely to check the limit of requests and other metrics but i am observing some thing very different.</p>

<pre><code>import invokust
url = ""http://&lt;node_ipaddress&gt;:&lt;node_port&gt;/config/""
settings = invokust.create_settings(
    locustfile='locust_file.py',
    host=url,
    num_clients=500,
    hatch_rate=500,
    run_time='1m'
)
load_test = invokust.LocustLoadTest(settings)
load_test.run()
load_test.stats()
</code></pre>

<p><strong>locust_file.py</strong></p>

<pre><code>users = {'name': 'abc'}

class UserTasks(TaskSet):
    def __init__(self, *args, **kwargs):
        super(UserTasks, self).__init__(*args, **kwargs)
        self.payload = users 

    def on_start(self):
        pass

    @task
    def index(self):
        response = self.client.post(""/SRVCC/Global"",data=self.payload)
        print(response.status_code)
        assert_that(200).is_equal_to(response.status_code)
        print(""Successfully added user"")

class User(HttpLocust):
    task_set = UserTasks
    min_wait = 100000
    max_wait = 200000
</code></pre>

<p>I ran with 100 users, it works fine without error. Later i increased to 500 users and some of the requests are failed with status code 0.</p>

<p>When i checked the CPU and memory usage in Grafana i dont see any problem in CPU and memory which is well within the limit configured. </p>

<p>I could not understand the why the some of the requests are failing even when resources requirements are fine.</p>
",https://stackoverflow.com/questions/57660665/performance-testing-uwsgi-application-in-microservice,"['performance', 'containers', 'microservices', 'uwsgi', 'grafana']",118,False,0,1
Performance testing on Edge using JavaScript,"<p>I am trying to automate my performance testing scenario on two different browser Edge and Chrome, since both scripts supports the JavaScript API's for performance. </p>

<p>The problem I am facing is my scenarios are different from one another, but this happen on the same session of web Browser.</p>

<p>For example, I need to measure the response time on opening a form which is first scenario, the second scenario would be response time taken for a form to save, both are two different scenarios but use same session of browser.</p>

<p>I am trying to use the following code once my first scenario is done </p>

<pre><code>window.performance.timing.responseStart - window.performance.timing.responseEnd 
</code></pre>

<p>here I get proper time 8 ms, post this I try to fill and save form which is my second scenario, and verify the response time like the above, I still get 8 ms  which is not validate as the actual time took to save and reload the new form is more than 8 ms. When I check the individual response start and end time, they remain same for the entire session.</p>

<p>I want to calculate different response time for the form on save and reload. Is this feasible in First place? If so what is the better approach?</p>
",https://stackoverflow.com/questions/54343479/performance-testing-on-edge-using-javascript,"['javascript', 'performance', 'microsoft-edge']",127,False,-1,1
Performance Testing in Mirth Connect Using JMeter,"<p>Mirth Connect is a software that is designed to handle a message flow and it has built-in support to handle HL7 messages in particular and therefore this software is widely used for interfacing in Healthcare applications. Over the years I have seen the Mirth software experiencing performance issues primarily due to the message build up over time and in scenarios where it receives a heavy message load in quick succession.</p>
<p>Mirth has a channel-based architecture and it's ideal if there is some way we can performance test the Mirth channel and get JMeter statistics for its performance. Whereby we can gather the necessary information to optimize the channel transformers and also to set the purge routines accordingly.</p>
<p>However in the Internet there was little to no information on this area, that is how one can use JMeter to test a Mirth channel. A team in Sri Lanka did some research on this area back in 2013 and I found their findings and achievements below
<a href=""http://pragmatictestlabs.com/2016/10/09/performance-testing-healthcare-application-hl7-jmeter/"" rel=""nofollow noreferrer"">http://pragmatictestlabs.com/2016/10/09/performance-testing-healthcare-application-hl7-jmeter/</a></p>
<p>However this is very specific the output here was a JSon object which they extracted, in Mirth however we can have outputs in various forms and there need to be a better way to do this. An important takeaway from this is the input that is the input is general we can use JMeter to generate HL7 messages and pass them to Mirth that's great but how to capture the response generally, it would be ideal if there is a way to read the Mirth Dashboard through JMeter, all the output statistics are there it's just a matter of reading them.</p>
<p>I have an application where Mirth reads HL7 messages both ADT and RDE and creates a text file accordingly with appropriate content and drops it to a shared location. Then the application reads the files and shows the information to the user.</p>
<p>I wish to do two performance tests here</p>
<ol>
<li>Measure how much time the complete system takes and how it varies with load from the arrival of a message to its information being available to the user</li>
<li>Measure how much time the channel takes and how it does it as the load increases</li>
</ol>
<p>I can do the first one because I can generate HL7 messages using JMeter and I can get JMeter to read the output in the application or the database. The problem is with the second, can I do this in a general way.</p>
",https://stackoverflow.com/questions/59236334/performance-testing-in-mirth-connect-using-jmeter,"['jmeter', 'performance-testing', 'mirth']",961,True,3,1
Restructure summery.csv file in jmeter performance testing,"<p>I'm executing Jmeter performance test which contain two threads. One Thread group is for data creation and the other one for test. At the end summery.csv file gives both results. (test creation and Test results). </p>

<p>Is there a way I can have only the Test result (result in Test thread group) in the summery.csv file</p>

<p>I'm using jmeter 3.3</p>

<p>I have use Setup thread group and tear down thread group for data creation and data clean parts. And remove summery report from those threads.This didn't help.</p>
",https://stackoverflow.com/questions/58336665/restructure-summery-csv-file-in-jmeter-performance-testing,"['csv', 'jmeter', 'report', 'performance-testing']",34,False,0,2
Performance testing of an app - Cloud foundry,"<p>Pivotal cloud foundry abstracts VM, containers, OS process </p>

<hr>

<p>In cloud foundry, deployment unit is an application</p>

<hr>

<p>But in production, application may give memory leaks, high CPU core usage, high number of I/O(file descriptors), virtual memory size of an application process in runtime, huge number of database connections which is easy to track with an application running directly on a Linux VM.</p>

<p>Application can be a multi process application or it can be a multithreading application. So, it becomes important to track(test) the number of threads or child process launched in runtime.</p>

<hr>

<p>How to do such performance testing of an app in Cloud foundry?</p>
",https://stackoverflow.com/questions/54618189/performance-testing-of-an-app-cloud-foundry,"['linux', 'memory-leaks', 'performance-testing', 'cloud-foundry']",822,True,0,1
Performance testing in production environment using Jmeter,"<p>Hi stack Overflow community,</p>

<p>i need your valuable help
 I developed a script for our web application using Jmeter and Blazemeter chrome plugin
Scenario as<br>
login >> walkthrough some pages >>logoout
Script working successfully in our local environment. I am using summary report as a Listener and non Gui mode for performing test </p>

<p>Now i need to do load testing for 250 usesr on client production environment.
measurement points are
1.Response time for each request
2.Data traffic Size
3.CPU and memory utilization</p>

<p>i have so many questions:
1.what all points i need to consider  when I run my script on production environment
2.Do i need to add ramp up time.
3. real environment have having proxies and load balancers.(our local doesn’t have)
4.Do I need to keep all .png,  css ,gif as recorded by tool  or I can disable them.is it effect my results?
what changes i need to do to make my script compatible to such environment.</p>

<p>Considering i a m new to Jmeter and automation testing and no help on this tool other than blogs, stack overflow community and google.
Very much tense about its real implementation.
Thanks in advance as u help someone to grow.</p>

<p><a href=""https://i.stack.imgur.com/r0AJ1.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/r0AJ1.png"" alt=""My script structure looks like this""></a></p>

<p>Do i need to change structure of my script also. if no Kudos to me ,if yes plz direct me, appreciate if someone provide screenshot for right type of structure .</p>
",https://stackoverflow.com/questions/55556639/performance-testing-in-production-environment-using-jmeter,"['jmeter', 'performance-testing', 'dev-to-production']",1092,True,-1,1
Performance testing Dynamics CRM using JMeter tool,"<p>I have recently started using JMeter and I'm still trying to get to grips with it. I am trying to use JMeter to performance test Dynamics CRM. I have created a test plan and included a thread group with the HTTP authorization manager. I have added an HTTP Request and set the path to the 'homepage'. This appears to be working, but when I try some other requests I am getting the following response body :</p>

<p>'Important: Microsoft Dynamics CRM makes extensive use of your Web browser's client-side abilities. You either have one of these features turned off or your security settings are set so high that they prevent these features from being used. To enable these features, change your browser settings to allow the Microsoft Dynamics CRM site to run JavaScript. '</p>

<p>My question is how can I configure JMeter to avoid this error? As far as I understand, JMeter it does not make use of a browser unless you're recording a test script so I'm unsure how I can change settings.</p>
",https://stackoverflow.com/questions/56272063/performance-testing-dynamics-crm-using-jmeter-tool,"['jmeter', 'dynamics-crm', 'performance-testing', 'jmeter-5.0']",1849,False,-1,1
How to use Locust for UI performance testing?,"<p>I would like to use Locust for UI performance testing. How to use Locust for UI performance testing? How can I get the loading time of the HTML elements(img, lists, etc..)?</p>

<p>Thanks</p>
",https://stackoverflow.com/questions/59190841/how-to-use-locust-for-ui-performance-testing,"['performance-testing', 'locust']",958,False,0,2
How to use Jmeter for UI performance testing?,"<p>I would like to use Jmeter for UI performance testing.
How to use Jmeter for UI performance testing?
How can I get the loading time of the HTML elements?</p>

<p>Thanks</p>
",https://stackoverflow.com/questions/59171218/how-to-use-jmeter-for-ui-performance-testing,"['jmeter', 'performance-testing', 'jmeter-plugins']",13352,True,0,3
Performance testing Web Application (WS-Federation) using JMeter,"<p>I am trying to load test a web site that has an implementation of ADFS(RequestSecurityTokenResponse)</p>

<p>The problem is that every time I record a web test, it works in the first few minutes. But this same web test will fail after about an hour and by the time we need it for load test, the test is failing because it could no longer login to the web site. It looks like it is failing because the security token is not the same anymore. I am though passing all the dynamic parameters. Also i can see the token in the recorded script but i dont see the token when i actually run the test.</p>
",https://stackoverflow.com/questions/58342383/performance-testing-web-application-ws-federation-using-jmeter,"['jmeter', 'performance-testing', 'adfs2.0']",493,True,0,1
Performance testing for Desktop application who uses UDP,"<p>Looking for tool to do performance testing for desktop application.</p>

<p>I was trying to use Jmeter for performance testing but since my application uses UDP protocol so i think i cannot use jmeter record and replay functionality.</p>

<p>How can i record and replay desktop application which uses UDP using JMeter?</p>
",https://stackoverflow.com/questions/58453020/performance-testing-for-desktop-application-who-uses-udp,"['jmeter', 'udp', 'performance-testing', 'desktop-application']",267,False,0,2
Performance testing of Dockerized application hosted on Kubernetes,"<p>Our project involves containerisation of services / application and later they will be deployed on Kuberentes. My job is to do performance testing using Jmeter after the services are hosted on Kubernetes.</p>

<p>I am relatively new to Performance testing and have basic experience on Jmeter that I gained from working on it. I have understood how the app is load / perf tested using basic URLs or APIs but I want to know how I should go about handling performance testing for Docker containers hosted on Kubernetes.</p>

<p>How could I handle the above scenario?</p>
",https://stackoverflow.com/questions/59162005/performance-testing-of-dockerized-application-hosted-on-kubernetes,"['docker', 'kubernetes', 'containers', 'performance-testing']",116,True,0,1
Load and Performance testing on android and ios app,"<p>I need to perform a load test with <strong>200+</strong> concurrent devices on the android and ios apps. Is there any tool that can do that?</p>
",https://stackoverflow.com/questions/59317903/load-and-performance-testing-on-android-and-ios-app,"['performance-testing', 'load-testing']",271,True,2,4
Angular application Performance testing HP LoadRunner TruClient with XPATH,"<p>We have an application that built on Angular. Our Performance team using HP LoadRunner TruClient with XPATH. This is fast developing application, and new features keep being adding, requiring changes to the testing XPaths.</p>

<p>Since we know that Angular doesn't need of element ID and they have asked us to add XPATH specifically for the performance script. </p>

<p>The current team is using XPATH like below,</p>

<pre><code>//*[@id=""addressAddBtn""]
</code></pre>

<p>This approach is so fragile since we are using Angular with PrimeNG. And if there is any upgrade and change in the application. They are facing lot of XPATH change and Their scripts completely breaks. </p>

<p>What would be best approach for this scenario instead of XPath?</p>

<p>I have seen those link they have mentioned about XPATH with Selenium and not sure on the HP LoadRunner TruClient. </p>

<p><a href=""https://stackoverflow.com/questions/16788310/what-is-the-difference-between-cssselector-xpath-and-which-is-better-with-resp"">What is the difference between cssSelector &amp; Xpath and which is better with respect to performance for cross browser testing?</a></p>

<p><a href=""https://stackoverflow.com/questions/30100658/which-is-the-best-way-to-locate-an-element-in-selenium-webdriver-other-than-xpat"">Which is the best way to locate an element in selenium webdriver other than XPath?</a></p>
",https://stackoverflow.com/questions/57629956/angular-application-performance-testing-hp-loadrunner-truclient-with-xpath,"['angular', 'xpath', 'performance-testing', 'loadrunner']",789,True,0,2
How to run RocksDB service on Ubuntu for performance testing?,"<p>I'm trying to test the performance of RocksDB. I installed both DB-Bench for performance testing and also RocksDB. I have no idea how I can start RocksDB service on Ubuntu and run the performance benchmark using db-bench. Any help/advice is greatly appreciated</p>
",https://stackoverflow.com/questions/57014265/how-to-run-rocksdb-service-on-ubuntu-for-performance-testing,"['ubuntu-16.04', 'performance-testing', 'rocksdb']",344,True,1,1
"Jmeter script development : IBM cloudant Performance testing , Maximum Request /second","<p><a href=""https://i.stack.imgur.com/9BID0.jpg"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/9BID0.jpg"" alt=""Please find Jmeter configuration""></a>  I am working on IBM cloudant performance testing. ( No SQL DB hosted in IBM cloud).
  I am trying to identify the breaking point ( max input/sec).
  I am triggering this request (POST) with JSON data.
  I am unable to determine to design this test plan and thread group.
  I need to determine the breaking point ( maximum allowed request/second).
   Please find my Jmeter configuration above</p>
",https://stackoverflow.com/questions/59137937/jmeter-script-development-ibm-cloudant-performance-testing-maximum-request,"['database', 'jmeter', 'ibm-cloud', 'cloudant', 'jmeter-4.0']",95,True,0,1
Login/Logout is required in each scenario for performance testing?,"<p>I have 10 scenarios. Each scenario needs to be run with different-different threads. Login/logout is required for functional testing but in performance testing . Is it required ?.If yes. Is there any way to do this ?</p>
",https://stackoverflow.com/questions/57195579/login-logout-is-required-in-each-scenario-for-performance-testing,['jmeter-5.0'],226,False,0,1
Kafka performance testing MB.sec seems too low to make sense?,"<p>Running some performance testing to compare two separate Kafka clusters. I have used a performance tool to produce in messages the same way to a topic which is named the same on both clusters.</p>

<p>When I run a consumer performance test I consistently get .0001 for MB.sec in one of the clusters(middle row in the image below). Whereas I will get a different value, usually higher when i run in the cluster i am comparing it with.</p>

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

<p>Can anyone shed any light on what might be causing this, my understanding is that this is mb per second consumed, why would it be consistently that number and be so low? </p>

<p>Thanks</p>
",https://stackoverflow.com/questions/59358977/kafka-performance-testing-mb-sec-seems-too-low-to-make-sense,"['performance', 'apache-kafka', 'performance-testing', 'metrics']",62,False,0,1
Invalid URL GoError: invalid URL value in K6 Performance Testing,"<p>I am running the API via K6 <code>http.url</code> and getting the below exception but not sure what is being missed in the URL;</p>

<pre><code>export default function() {
    let url = http.get(""http://test.loadimpact.com"");
    let res = http.get(url);
    check(res, {
        ""status was 200"": (r) =&gt; r.status == 200,
        ""transaction time OK"": (r) =&gt; r.timings.duration &lt; 200
    });
    sleep(1);   
}
</code></pre>

<blockquote>
  <p>WARN[0063] Request Failed                                error=""Get <a href=""http://test.loadimpact.com"" rel=""nofollow noreferrer"">http://test.loadimpact.com</a>: dial tcp ""ip"":80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.""</p>
  
  <p>ERRO[0063] GoError: invalid URL value '&amp;http.Response{ctx:(*context.valueCtx)(0xc003dfbb00), RemoteIP:"""", RemotePort:0, URL:""<a href=""http://test.loadimpact.com"" rel=""nofollow noreferrer"">http://test.loadimpact.com</a>"", Status:0, Proto:"""", Headers:map[string]string(nil), Cookies:map[string][]*httpext.HTTPCookie(nil), Body:interface {}(nil), Timings:httpext.ResponseTimings{Duration:0, Blocked:0, LookingUp:0, Connecting:0, TLSHandshaking:0, Sending:0, Waiting:0, Receiving:0}, TLSVersion:"""", TLSCipherSuite:"""", OCSP:netext.OCSP{ProducedAt:0, ThisUpdate:0, NextUpdate:0, RevokedAt:0, RevocationReason:"""", Status:""""}, Error:""dial tcp ""ip"":80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."", ErrorCode:1210, Request:httpext.Request{Method:""GET"", URL:""<a href=""http://test.loadimpact.com"" rel=""nofollow noreferrer"">http://test.loadimpact.com</a>"", Headers:map[string][]string{""User-Agent"":[]string{""k6/0.24.0 (<a href=""https://k6.io/"" rel=""nofollow noreferrer"">https://k6.io/</a>)""}}, Body:"""", Cookies:map[string][]*httpext.HTTPRequestCookie{}}, cachedJSON:interface {}(nil), validatedJSON:false}'</p>
</blockquote>
",https://stackoverflow.com/questions/56379149/invalid-url-goerror-invalid-url-value-in-k6-performance-testing,['k6'],1144,True,0,1
"Unable to get the Bearer Token - Web Test, Performance Testing","<p>I'm creating a Web Test in Visual Studio 2017 for Performance Testing. Our web application is an Azure with an AAD authentication frontend. It is the authenticating as a test user that is failing. While recording with VS or fiddler, I'm failing to playback the test again. I believe it is a token issue.</p>

<p>I'm able to see the Authentication Bearer Token in <strong>Location</strong> parameter of Response Header in the Browser. Example-</p>

<p><strong>Request URL</strong>: <a href=""https://login.microsoftonline.com/login.srf"" rel=""nofollow noreferrer"">https://login.microsoftonline.com/login.srf</a></p>

<p><strong>Response Header</strong>: </p>

<blockquote>
  <p>Location: <a href=""https://domain.fake.URL/login#id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IkhCeGw5bUFlNmd4YXZDa2NvT1UyVEhzRE5hMCJ9.eyJhdWQiOiIxZDYwOGIxOC04YjI2LTQ0MDktODg3ZC1mZmIzY2MxYzEwNDQiLC"" rel=""nofollow noreferrer"">https://domain.fake.URL/login#id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IkhCeGw5bUFlNmd4YXZDa2NvT1UyVEhzRE5hMCJ9.eyJhdWQiOiIxZDYwOGIxOC04YjI2LTQ0MDktODg3ZC1mZmIzY2MxYzEwNDQiLC</a>.....</p>
</blockquote>

<p>However, I'm unable to get the Bearer Token in Visual Studio. I checked Visual Studio is making the same request with same parameter but in the response it's getting the below error not the token.</p>

<blockquote>
  <p>Location : <a href=""https://domain.fake.URL/login#error=invalid_grant&amp;error_description=AADSTS50008%3a+SAML+token+is+invalid.%0d%0aTrace+ID%3a+3c5c2728-f013-49e3-a91d-88a683210800%0d%0aCorrelation+ID%3a+f21fda63-6dc7-4b35-9b46-fc354cc4e8ea%0d%0aTimestamp%3a+2019-05-16+06%3a23%3a48Z&amp;state=29ee5c1a-f49a-4358-be60-8f722f1e6e80"" rel=""nofollow noreferrer"">https://domain.fake.URL/login#error=invalid_grant&amp;error_description=AADSTS50008%3a+SAML+token+is+invalid.%0d%0aTrace+ID%3a+3c5c2728-f013-49e3-a91d-88a683210800%0d%0aCorrelation+ID%3a+f21fda63-6dc7-4b35-9b46-fc354cc4e8ea%0d%0aTimestamp%3a+2019-05-16+06%3a23%3a48Z&amp;state=29ee5c1a-f49a-4358-be60-8f722f1e6e80</a></p>
</blockquote>

<p>Instead of the token.</p>

<p>Is anyone faced similar issue? Thanks, guys.</p>
",https://stackoverflow.com/questions/56181672/unable-to-get-the-bearer-token-web-test-performance-testing,"['visual-studio', 'azure-active-directory', 'performance-testing', 'bearer-token', 'webtest']",380,False,-1,1
How to enable JS on jmeter while doing performance testing,"<p>I need to do performance testing 
while i doing same thing on jmeter</p>

<p>i am doing performance testing on my website.
and error display ""Please turn JavaScript on and reload the page"". 
so can you please guide me how can i enable JS through jmeter ?</p>
",https://stackoverflow.com/questions/59261172/how-to-enable-js-on-jmeter-while-doing-performance-testing,"['testing', 'automation', 'jmeter', 'automated-tests', 'performance-testing']",1655,True,0,1
XCUITest/Appium load on the app on iOS during performance testing,"<p>We're currently testing the iOS (12.2 and greater) hybrid application with a WKWebView engine in Cordova using Webdriver, appium, and tests written in Python.</p>

<p>So here is a question:
does anybody know if XCUITest (which is used by appium to reach to iOS device and operate the app) or appium itself creates additional load on WebContent process (which is currently a part of the application due to WKWebView usage) during the test?</p>

<p>Here are some details on the issue:</p>

<ol>
<li><p>The WebContent process shows ~600mb on the app start during the manual testing. Memory consumption grows up to 850mb and 750mb on average during the test (about 3 hours spent on that).</p></li>
<li><p>In the meanwhile, the same Webcontent process shows ~600mb on the app start during the automation testing. Memory consumption grows up to 1Gb and 800mb on average during the test (about 1 hour spent on that) until finally, application crashes.</p></li>
</ol>

<p>This process is actually tracked with XCode.</p>

<p>I'm new to iOS testing but maybe someone else had something similar.</p>

<p>Here the capabilities used sent to appium:</p>

<pre><code>""autoWebview"": True,
""clearSystemFiles"": True,
""automationName"": ""Appium"",
""platformName"": iOS,
""platformVersion"": 12.2,
""nativeWebScreenshot"": True,
""newCommandTimeout"": 1814400,
""autoAcceptAlerts"": True,
""app"": *****,
""orientation"": ""LANDSCAPE"",
""fullReset"": config.full_reset,
""xcodeOrgId"": config.xcode_org_id, ""xcodeSigningId"": config.xcode_signing_id,
""automationName"": ""XCUITest"", 
""wdaStartupRetries"": 5, 
""startIWDP"": True,
""webkitResponseTimeout"": 90000, 
""shouldUseSingletonTestManager"": False,
""resetOnSessionStartOnly"": False, 
""devicePlatform"": ""iOS""
</code></pre>
",https://stackoverflow.com/questions/56706260/xcuitest-appium-load-on-the-app-on-ios-during-performance-testing,"['ios', 'webdriver', 'appium', 'xcuitest', 'web-content']",211,False,1,0
Bash script to generate lots of ssl/tls connections for performance testing,"<p>I'm currently trying to perf test my application running in production. Specifically, I'm trying to see how many ssl connections my jetty server can handle. Let's call this host <code>my.webserver.prod.com</code> and it expects secure traffic on port 443. I would like to write a bash script that I can run from another host and have it generate as many ssl connections as possible. How can I do this?</p>
",https://stackoverflow.com/questions/56523331/bash-script-to-generate-lots-of-ssl-tls-connections-for-performance-testing,"['bash', 'shell', 'ssl', 'concurrency', 'tls1.2']",219,False,0,1
How to pass dynamic JSON data in Jmeter while doing performance Testing?,"<p>I'm new to Jmeter, and working on load test, I did couple of samples and that are running fine, Now I'm facing a Issue at below point.</p>

<p>Issue: How do I pass the variable in JSON body part?for few request we've a body and the body should change as per the input data, Ex: username and email, etc,.</p>

<p>I used ${name} kind of variable in Jmeter, but it's not working. Could you please suggest us the better way to rid out this issue.</p>

<p>Note: Please, refer the screenshot, where I wants to put a variable and that should come from user defined variables.
<a href=""https://i.stack.imgur.com/dEyrm.png"" rel=""nofollow noreferrer"">click here to see image</a></p>

<p>Thanks in Advance,
Rajesh B</p>

<p>Jmeter version: 5.1
Windows 10</p>

<p>{
  ""unitNumber"": ""111"",
  ""bathRooms"": 1,
  ""price"": 50,
  ""basePrice"": 50,
  ""streetAddress"": ""${ADDRESS}"",
  ""city"": ""Washington"",
  ""state"": ""CO"",
  ""address"": ""${ADDRESS_2}"",
  ""addressId"": 2,
  ""contactPreferedValue"": ""Email"",
  ""weekSelected"": ""1"",
  ""cleaningWeekSelected"": ""1"",
  ""email"": ""${Email}"",
  ""mobile"": """",
  ""weekSelectedValue"": ""May 30 2019"",
  ""keypadPasscode"": false,
  ""contactValue"": ""I'll be at home"",
  ""contactPrefered"": 1,
  ""isPaymentDone"": false
}</p>

<p>Expected result: Jmeter Script (JSON Body) should allow to read dynamic data from user defined variables.</p>
",https://stackoverflow.com/questions/56253112/how-to-pass-dynamic-json-data-in-jmeter-while-doing-performance-testing,"['api', 'jmeter', 'performance-testing', 'load-testing', 'jmeter-5.0']",8305,True,0,2
how to perform performance testing of an application whose password is encrypted,"<p>The website uses a password Encryption algorithm that comes from amazon such as, 1. Client send a request 2. Server Authenticate the request and send a random key 3. The random key is interpreted by client &amp; it process it with password 4. Client send encrypted password to server 5. The sever Authenticate &amp; if validate it set user cookies in browser 6. The cookie is validated in all request send to sever after login for validation .</p>

<p>I am unable to eradicate the errors and I am unable to proceed ahead with the performance testing of the application </p>
",https://stackoverflow.com/questions/54803136/how-to-perform-performance-testing-of-an-application-whose-password-is-encrypted,['jmeter'],147,False,0,1
How shoud I do hyperledger fabric performance testing on GCP without suspending warning?,"<p>My project on GCP was suspended after I did hyperledger fabric performance testing with hyperledger caliper. I setup Hyperledger fabric on GCP paid account with 3 Orgs and 6 peers on 12 VMs. I try to do performance testing using hyperledger caliper by sending 10 transactions per sec to 1 peer instance. After 4 hours that I ran caliper, I got email from google that your project is being suspended. </p>

<p>How should I do if I want to test again on GCP without any warnings from google?</p>
",https://stackoverflow.com/questions/58518172/how-shoud-i-do-hyperledger-fabric-performance-testing-on-gcp-without-suspending,"['google-cloud-platform', 'google-compute-engine', 'hyperledger-fabric', 'hyperledger', 'hyperledger-caliper']",127,False,0,1
How to measure performance testing for Chat bots using jmeter or any tool?,"<p>I am setting up a performance testing using Jmeter for Chat bot application, How to start with it? </p>

<p>I have tried with JMeter WebSocket Samplers by Peter Doornbosch but not succeeded</p>
",https://stackoverflow.com/questions/56426571/how-to-measure-performance-testing-for-chat-bots-using-jmeter-or-any-tool,"['jmeter', 'chatbot']",1361,False,0,2
Is it possible to do MS Dynamics 365 performance testing using Visual Studio?,"<p>Trying to create Web Performance Test script in Visual Studio for a Dynamics 365 application. But, Getting Unauthorised error while trying to run the script. </p>

<p>Was managed to get successful Login responnse for Microsoftlogin page. </p>

<p>And, Request ""<a href=""https://..XXx/G/AuthRedirect/Index.aspx"" rel=""nofollow noreferrer"">https://..XXx/G/AuthRedirect/Index.aspx</a>"" is getting response 
as below,
Login successful, loading application...
Script is disabled. Click Submit to continue.</p>

<p>But, the next request to the actual CRM URL gets redirected back to login.microsoftonline.com/....</p>
",https://stackoverflow.com/questions/55459196/is-it-possible-to-do-ms-dynamics-365-performance-testing-using-visual-studio,"['visual-studio', 'performance-testing', 'microsoft-dynamics']",300,False,0,1
Can Karate-Gatling scripts be used to have distributed testing/clustering for performance testing,"<p>We are currently using <code>Jmeter</code> for API performance testing in distributed mode (1 master + 3 slaves) as need to generate 10k requests.</p>

<p>Now using <code>Karate</code> for API functional testing and could integrate with <code>Gatling</code> using <code>Maven</code> dependencies successfully. As documentation says I could inject users and duration in these scripts and run>generate report (tested for 10 users).</p>

<p>Kindly guide, having below queries:</p>

<ol>
<li><p>Is it possible to make these Karate-Gatling scripts to run as we do in Jmeter distributed mode.</p></li>
<li><p>How many users can be injected using Karate-Gatling scripts in a single machine (AWS/GCP mini instance/VM). 
I guess this might vary how fast the application responds/volume.</p></li>
</ol>

<p>I have gone through Jmeter Vs Gatling and looks like Clustering/distributed mode is supported only in Gatling paid version.</p>
",https://stackoverflow.com/questions/58111658/can-karate-gatling-scripts-be-used-to-have-distributed-testing-clustering-for-pe,['karate'],456,True,1,1
Am I performance testing correctly? Library &quot;Memored&quot; storage vs. normal RAM storage in Node.js,"<p>I am trying to compare the READ performance of a library called <a href=""https://github.com/PaquitoSoft/memored"" rel=""nofollow noreferrer"">Memored</a> to regular old RAM variables in Node.js.</p>
<p>I expected that the data stored with Memored to be at least slightly slower than RAM storage in terms of reading data, but the results show the opposite (read below for my outputs).</p>
<p>I am running this in the terminal of Visual Studio Code on Windows 10. It’s all being done in Typescript, which gets compiled down to JavaScript later and then run with the &quot;node&quot; command.</p>
<p>This is my RAM test:</p>
<pre><code>var normalRAM = {
    firstname: 'qwe',
    lastname: 'fsa'
}

var s = process.hrtime(); //start timer
console.log(normalRAM); // read from ram
var e = process.hrtime(s) //stop timer

console.log(&quot;end0&quot;, e[0]);  //results in seconds
console.log(&quot;end1&quot;, e[1]);  //results in nanoseconds
</code></pre>
<p>This is my Memored test:</p>
<pre><code>// Clustering needed to show Memored in action
if (cluster.isMaster)
{
    // Fork workers.
    for (let i = 0; i &lt; 1; i++)
    {
        cluster.fork();
    }
}
else
{
    var han = {
        firstname: 'Han',
        lastname: 'Solo'
    }

    // Store and read
    memored.store('character1', han, function ()
    {
        console.log('Value stored!');
        var hrstart = process.hrtime(); // start timer
        memored.read('character1', function (err: any, value: any)
        {
            var hrend = process.hrtime(hrstart) // stop timer
            console.log('Read value:', value);

            console.log(&quot;hrend0&quot;, hrend[0]); //results in seconds
            console.log(&quot;hrend1&quot;, hrend[1]); //results in nanoseconds

        });
    });
}
</code></pre>
<p>The results:</p>
<pre><code>The RAM read speeds are around 6500000 nanoseconds.

The Memored read speeds are around 1000000 nanoseconds
</code></pre>
<p>Am I testing the speeds incorrectly here? What are the flaws in my methodology? Perhaps my initial assumption is wrong?</p>
",https://stackoverflow.com/questions/56511073/am-i-performance-testing-correctly-library-memored-storage-vs-normal-ram-sto,"['node.js', 'performance-testing']",71,False,0,1
What are the good tools that can be use for performance testing on a website?,"<p>I am looking for an open-source tool or any tool that can be use for performance testing on a website. Any suggestion will do. </p>
",https://stackoverflow.com/questions/55020363/what-are-the-good-tools-that-can-be-use-for-performance-testing-on-a-website,"['testing', 'performance-testing']",36,False,-1,1
How to get the result csv file in between the test run during performance testing using Jmeter?,"<p>I am using Jmeter Version 4. For example I am running test for four hours, And during the test run, I want the result file for the test ran from 2nd to 3rd hour.Is it possible to get the result file like that?
I know that we can get the result file from starting to 3rd hour.But I want from 2nd to 3rd hour.
Can I get that.Please suggest?</p>
",https://stackoverflow.com/questions/54359216/how-to-get-the-result-csv-file-in-between-the-test-run-during-performance-testin,"['jmeter', 'performance-testing']",567,True,0,2
How dynamic parameters are getting generated and how to capture them in web test in Visual Studio for Performance Testing,"<p>How do I get new id token (authentication token) every time I ran a web test from Visual Studio. My web application is using <a href=""https://learn.microsoft.com/en-us/azure/active-directory/develop/v1-protocols-openid-connect-code"" rel=""nofollow noreferrer"">OpenID Connect and Azure Active Directory</a> to login into the web application.</p>

<p>After reading and investigation, I understood that I have to correlate the parameters. Can someone please suggest how do I capture these dynamic parameters?</p>

<pre><code>client-request-id 39371e73-5c40-4422-b3f1-e71127bb0484
state=01749f3e-e5bb-4444-8d1c-f08fd9e941fd
nonce=94da7cb8-03ec-4b0f-8534-352fa1b09dd1
response_mode=fragment
sso_nonce=AQABAAAAAADCoMpjJXrxTq9VG9te-7FX1_Wtyg82e5SVlfLq2mszMissCNULzM6ixkhP-o3PTq2nYFxexFyTsSs6Jkot4bBRchweYw3HSt_0YBNd8UmX5CAA
mscrid=39371e73-5c40-4422-b3f1-e71127bb0484
</code></pre>

<p>Basically, how these parameters are getting generated and how do I capture to get the new id token? Is it coming from JavaScript? Thanks guys for help me here. </p>

<p><a href=""https://i.stack.imgur.com/n8Upm.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/n8Upm.png"" alt=""enter image description here""></a></p>
",https://stackoverflow.com/questions/56269092/how-dynamic-parameters-are-getting-generated-and-how-to-capture-them-in-web-test,"['visual-studio', 'azure-active-directory', 'performance-testing', 'openid-connect', 'webtest']",318,False,0,1
How to do performance testing in Non-Prod when Non-Prod DB size is comparatively very small or different than Prod DB size?,"<p>I did performance testing using Jmeter in QA and the number of records in QA DB were 30-40 times less than number of records in Prod DB. </p>

<p>For above reason, the performance in QA was very good but when application released in Prod, the performance was very bad.</p>

<p>How should the perf testing be done in Non-Prod that can simulate Prod conditions (in terms of DB size here)? What is the strategy/process?</p>
",https://stackoverflow.com/questions/56995229/how-to-do-performance-testing-in-non-prod-when-non-prod-db-size-is-comparatively,"['performance', 'jmeter', 'mockito', 'performance-testing', 'database-testing']",338,True,1,2
"How can we make out that from which error, requests are getting failed during performance testing, as we are not logging request and response body?","<p>We are running performance test for long hours.If the transactions failed due to some issue, how to get the cause for that failure,If we log request and response body it is fine that we can make out.If we are not logging anything how can we get the cause of error.In result file we will get only reason code and description.</p>
",https://stackoverflow.com/questions/54400117/how-can-we-make-out-that-from-which-error-requests-are-getting-failed-during-pe,"['jmeter', 'performance-testing']",75,True,1,2
How to use Jmeter for UI performance testing?,"<p>I would like to use Jmeter for UI performance testing.
How to use Jmeter for UI performance testing?
How can I get the loading time of the HTML elements?</p>

<p>Thanks</p>
",https://stackoverflow.com/questions/59171218/how-to-use-jmeter-for-ui-performance-testing,"['jmeter', 'performance-testing', 'jmeter-plugins']",13352,True,0,3
How to use Locust for UI performance testing?,"<p>I would like to use Locust for UI performance testing. How to use Locust for UI performance testing? How can I get the loading time of the HTML elements(img, lists, etc..)?</p>

<p>Thanks</p>
",https://stackoverflow.com/questions/59190841/how-to-use-locust-for-ui-performance-testing,"['performance-testing', 'locust']",958,False,0,2
How to enable JS on jmeter while doing performance testing,"<p>I need to do performance testing 
while i doing same thing on jmeter</p>

<p>i am doing performance testing on my website.
and error display ""Please turn JavaScript on and reload the page"". 
so can you please guide me how can i enable JS through jmeter ?</p>
",https://stackoverflow.com/questions/59261172/how-to-enable-js-on-jmeter-while-doing-performance-testing,"['testing', 'automation', 'jmeter', 'automated-tests', 'performance-testing']",1655,True,0,1
Performance testing of Dockerized application hosted on Kubernetes,"<p>Our project involves containerisation of services / application and later they will be deployed on Kuberentes. My job is to do performance testing using Jmeter after the services are hosted on Kubernetes.</p>

<p>I am relatively new to Performance testing and have basic experience on Jmeter that I gained from working on it. I have understood how the app is load / perf tested using basic URLs or APIs but I want to know how I should go about handling performance testing for Docker containers hosted on Kubernetes.</p>

<p>How could I handle the above scenario?</p>
",https://stackoverflow.com/questions/59162005/performance-testing-of-dockerized-application-hosted-on-kubernetes,"['docker', 'kubernetes', 'containers', 'performance-testing']",116,True,0,1
Performance testing for Desktop application who uses UDP,"<p>Looking for tool to do performance testing for desktop application.</p>

<p>I was trying to use Jmeter for performance testing but since my application uses UDP protocol so i think i cannot use jmeter record and replay functionality.</p>

<p>How can i record and replay desktop application which uses UDP using JMeter?</p>
",https://stackoverflow.com/questions/58453020/performance-testing-for-desktop-application-who-uses-udp,"['jmeter', 'udp', 'performance-testing', 'desktop-application']",267,False,0,2
JMeter Performance bench mark criteria,"<p>Could any team assist me for sharing standard all J-Meter performance mark criteria while performing J-Meter Performance testing for min 1000 user .it means that how we can decide what parameter(or threshold) caused for deciding load /performance testing with route cause and proposed solution after generating html report with non-GUI with completed scenario.</p>

<p>Thanks 
Amit G</p>
",https://stackoverflow.com/questions/59116540/jmeter-performance-bench-mark-criteria,"['jmeter', 'jmeter-plugins', 'jmeter-4.0', 'jmeter-5.0', 'jmeter-3.2']",43,False,0,1
How shoud I do hyperledger fabric performance testing on GCP without suspending warning?,"<p>My project on GCP was suspended after I did hyperledger fabric performance testing with hyperledger caliper. I setup Hyperledger fabric on GCP paid account with 3 Orgs and 6 peers on 12 VMs. I try to do performance testing using hyperledger caliper by sending 10 transactions per sec to 1 peer instance. After 4 hours that I ran caliper, I got email from google that your project is being suspended. </p>

<p>How should I do if I want to test again on GCP without any warnings from google?</p>
",https://stackoverflow.com/questions/58518172/how-shoud-i-do-hyperledger-fabric-performance-testing-on-gcp-without-suspending,"['google-cloud-platform', 'google-compute-engine', 'hyperledger-fabric', 'hyperledger', 'hyperledger-caliper']",127,False,0,1
What are the good tools that can be use for performance testing on a website?,"<p>I am looking for an open-source tool or any tool that can be use for performance testing on a website. Any suggestion will do. </p>
",https://stackoverflow.com/questions/55020363/what-are-the-good-tools-that-can-be-use-for-performance-testing-on-a-website,"['testing', 'performance-testing']",36,False,-1,1
Want to execute TestPlan in JMeter having listener and also generate report as the same time,"<p>I am working on performance testing and I want to generate HTML report and also see the execute in listener as well at the same time.</p>
",https://stackoverflow.com/questions/57788188/want-to-execute-testplan-in-jmeter-having-listener-and-also-generate-report-as-t,['jmeter'],26,False,0,1
Can I access private api&#39;s via JMeter,"<p>I am almost finalizing JMeter for my performance testing on cloud software (salesforce).
we do have certain private api's. Will it be possible to access those via JMeter?</p>
",https://stackoverflow.com/questions/57417590/can-i-access-private-apis-via-jmeter,"['api', 'jmeter-4.0']",105,True,0,2
How to use Testng Selenium Scripts in Jmeter,"<p>I have Testng Selenium Framework for functional testing, i have a request to reuse that for JMeter performance testing. Since I am new to Jmeter please help me in solving the problem.</p>
",https://stackoverflow.com/questions/57182785/how-to-use-testng-selenium-scripts-in-jmeter,"['selenium', 'jmeter']",1391,False,2,3
Can we do Load testing for Video or Audio call in jmeter,"<p>Is there any way we can do performance testing for voice or video call ? Jmeter or any other open source tools provide anything ? Please reommend any tool if we can achieve this.</p>
",https://stackoverflow.com/questions/58293410/can-we-do-load-testing-for-video-or-audio-call-in-jmeter,"['performance', 'jmeter']",1498,True,1,2
How to measure performance testing for Chat bots using jmeter or any tool?,"<p>I am setting up a performance testing using Jmeter for Chat bot application, How to start with it? </p>

<p>I have tried with JMeter WebSocket Samplers by Peter Doornbosch but not succeeded</p>
",https://stackoverflow.com/questions/56426571/how-to-measure-performance-testing-for-chat-bots-using-jmeter-or-any-tool,"['jmeter', 'chatbot']",1361,False,0,2
JMeter - Response time has same value as latency,"<p>I'm executing performance testing using JMeter and Blazemeter report, but the response time value is the same as latency time value. 
can somebody explain?
I attach the graph results:</p>

<p>Latency Time Graph</p>

<p><img src=""https://i.stack.imgur.com/wqqwQ.png"" alt=""Latency Time Graph""></p>

<p>Response Time Graph</p>

<p><img src=""https://i.stack.imgur.com/vmYWP.png"" alt=""Response Time Graph""></p>
",https://stackoverflow.com/questions/56641019/jmeter-response-time-has-same-value-as-latency,"['performance', 'jmeter', 'performance-testing', 'latency', 'response-time']",1285,True,2,1
Tool to view previous jmeter results,"<p>We are using Jmeter and Ant for performance testing and Bamboo for Continuous Integration but due to incompatibility of Jmeter Aggregator Plugin we are unable to view previous results. What alternatives can we use?</p>
",https://stackoverflow.com/questions/57373452/tool-to-view-previous-jmeter-results,"['ant', 'jmeter', 'performance-testing', 'bamboo']",77,False,0,2
Challenge with jmeter for asp.net application?,"<p>Could someone please help me with the challenge that we can face for asp.net application using jmeter. I am preparing POC for Performance testing and i have to mention the challenges with jmeter for asp.net application.</p>
",https://stackoverflow.com/questions/58711933/challenge-with-jmeter-for-asp-net-application,"['jmeter', 'performance-testing']",22,False,-3,1
Reg: Jmeter Reporting and configuration,"<p>I am doing performance testing for E commerce site. I want to checkout with Credit card. I able to checkout using Jmeter but I am not getting different transaction ID for the orders which was placed while passing the step up users the performance testing using j meter because different transaction ID is generated once the order is placed.</p>

<p>Is there any other way to achieve this scenario?</p>

<p>I have another question related to the above.</p>

<p>I am doing performance testing for 250 users. I want report in following manner.</p>

<p>For 50 users what will be the average time to load the home page, category page, shopping cart?</p>

<p>For 100 users what will be the average time to load the home page, category page, shopping cart?</p>

<p>For 150 users what will be the average time to load the home page, category page, shopping cart?</p>

<p>For 200 users what will be the average time to load the home page, category page, shopping cart?</p>

<p>For 250 users what will be the average time to load the home page, category page, shopping cart?</p>

<p>and so on..............</p>

<p>Please help me on above queries. It will really helpful for me.</p>

<p>Thanks in advance.</p>
",https://stackoverflow.com/questions/57121844/reg-jmeter-reporting-and-configuration,"['performance', 'jmeter', 'performance-testing', 'jmeter-4.0', 'jmeter-5.0']",62,True,0,1
Login/Logout is required in each scenario for performance testing?,"<p>I have 10 scenarios. Each scenario needs to be run with different-different threads. Login/logout is required for functional testing but in performance testing . Is it required ?.If yes. Is there any way to do this ?</p>
",https://stackoverflow.com/questions/57195579/login-logout-is-required-in-each-scenario-for-performance-testing,['jmeter-5.0'],226,False,0,1
How can i use Jmeter as a normal browser?,"<p>I am using jmeter for performance testing 
but jmeter only accept JS call they can not pass request like URL.
so my question is that how can i user jmeter as a normal browser for 
load testing ?</p>
",https://stackoverflow.com/questions/59191546/how-can-i-use-jmeter-as-a-normal-browser,"['testing', 'jmeter', 'automated-tests', 'performance-testing', 'load-testing']",1083,False,0,1
How to use assertions for multiple scenario in gatling?,"<p>Right Now I am trying to do performance testing of all my api's.I already created one feature file having different scenarios(every scenario having different tag).Now I want to do use assertions on mean ResponseTime with different scenarios different assertions.</p>

<pre><code>val Performance1 = scenario(""Performance1"").exec(karateFeature(""classpath:mock/Testing1.feature@Performance""))
val Performance2 = scenario(""Performance2"").exec(karateFeature(""classpath:mock/Testing2.feature@v3ContentMeta""))

val v4SearchTest = scenario(""SearchTest"").
group(""SearchTesting"") { exec(karateFeature(""classpath:mock/Testing1.feature@Performance""))
}

setUp(
  (Performance1.inject(rampUsers(10) over (5 seconds)).protocols(protocol)),
    Performance2.inject(rampUsers(10) over (5 seconds)).protocols(protocol)
  ).assertions(details(""SearchTesting"").responseTime.mean.lte(680))```
</code></pre>
",https://stackoverflow.com/questions/55141630/how-to-use-assertions-for-multiple-scenario-in-gatling,['karate'],3569,True,2,1
JMeter: Get Post Request URL and Data,"<p>I""M practicing JMeter performance testing using this <a href=""https://www.phptravels.net/"" rel=""nofollow noreferrer"">website</a>. There is username, password field and login button. </p>

<p>How to know the username URL, password URL and login action URL which need to supply to POST method in JMeter?</p>
",https://stackoverflow.com/questions/58038268/jmeter-get-post-request-url-and-data,"['java', 'performance', 'jmeter']",520,False,0,3
ConcurrentModificationException in CXF during performance testing,"<p>Exception below was found during performance testing.</p>

<p>CXF v3.0.0</p>

<p>JDK v1.8.92</p>

<p>PolicyInInterceptor.java:74 is the following code:</p>

<pre><code>Policy p = (Policy)msg.getContextualProperty(PolicyConstants.POLICY_OVERRIDE);
</code></pre>

<p>So looks like interceptor tried to manipulate Hashmap data (with Exchanges?).</p>

<p>We already using this option:</p>

<pre><code> getRequestContext().put(""thread.local.request.context"", ""true"");
</code></pre>

<p>from this <a href=""http://cxf.apache.org/faq.html#FAQ-AreJAX-WSclientproxiesthreadsafe?"" rel=""nofollow noreferrer"">CXF FAQ</a> but with no any changes in stacktrace.</p>

<p>Checked list of issue in <a href=""https://jira.apache.org/jira/browse/CXF-4407?jql=project%20%3D%20CXF%20AND%20resolution%20in%20(Unresolved%2C%20Fixed%2C%20Duplicate%2C%20Later%2C%20Implemented%2C%20Done%2C%20%22Auto%20Closed%22%2C%20%22Pending%20Closed%22%2C%20Resolved%2C%20Workaround)%20AND%20text%20~%20%22ConcurrentModificationException%22"" rel=""nofollow noreferrer"">CFX jira</a>. Found nothing similar.</p>

<p>Any advice?</p>

<pre><code>javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault code, not set 
   at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:159)
   at com.sun.proxy.$Proxy281.reqVirtualAcct(Unknown Source) 
   at com.mycompanyname.vc.vpp.VService.requestCFP(VService.java:240)
   at com.mycompanyname.vc.vpp.VService.requestC(VService.java:216)
   at com.mycompanyname.vc.vpp.VService.requestC(VService.java:105) 
   at com.mycompanyname.payment.PaymentSI.requestAndPopulateVC(PaymentSI.java:959) 
   at com.mycompanyname.payment.PaymentSI.createPayment(PaymentSI.java:669)
   at com.mycompanyname.payment.PaymentSI.createPayment(PaymentSI.java:2099)
   at sun.reflect.GeneratedMethodAccessor641.invoke(Unknown Source) 
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498) 
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) 
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) 
   at com.sun.proxy.$Proxy228.createPayment(Unknown Source)
   at com.mycompanyname.paymentws.PSaaSOrderPortTypeV3Impl.createP(PSaaSOrderPortTypeV3Impl.java:148)
   at sun.reflect.GeneratedMethodAccessor880.invoke(Unknown Source) 
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
   at java.lang.reflect.Method.invoke(Method.java:498)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) 
   at com.sun.proxy.$Proxy260.createPayable(Unknown Source) 
   at sun.reflect.GeneratedMethodAccessor880.invoke(Unknown Source) 
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
   at java.lang.reflect.Method.invoke(Method.java:498)
   at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:181) 
   at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:97) 
   at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:237) 
   at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:69)
   at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75) 
   at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
   at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
   at org.apache.cxf.interceptor.ServiceInvokerInterceptor$2.run(ServiceInvokerInterceptor.java:126) 
   at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37) 
   at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:131)
   at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) 
   at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
   at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:243)
   at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223) 
   at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:197)
   at org.apache.cxf.transport.servlet.ServletController.filter(ServletController.java:146) 
   at org.apache.cxf.transport.servlet.CXFNonSpringServlet.doFilter(CXFNonSpringServlet.java:144) 
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) 
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) 
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 
   at org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:220) 
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) 
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) 
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) 
   at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190) 
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
   at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.ConcurrentModificationException
   at java.util.HashMap$HashIterator.nextNode(HashMap.java:1442)
   at java.util.HashMap$EntryIterator.next(HashMap.java:1476) 
   at java.util.HashMap$EntryIterator.next(HashMap.java:1474) 
   at java.util.HashMap.putMapEntries(HashMap.java:512) 
   at java.util.HashMap.putAll(HashMap.java:785) 
   at org.apache.cxf.message.MessageImpl$1.putAll(MessageImpl.java:188)
   at org.apache.cxf.message.MessageImpl.calcContextCache(MessageImpl.java:212) 
   at org.apache.cxf.message.MessageImpl.getContextualProperty(MessageImpl.java:174)
   at org.apache.cxf.ws.policy.PolicyInInterceptor.handle(PolicyInInterceptor.java:74)
   at org.apache.cxf.ws.policy.AbstractPolicyInterceptor.handleMessage(AbstractPolicyInterceptor.java:44)
   at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
   at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798) 
   at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1636)
   at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1525)
   at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1330) 
   at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:56) 
   at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:215) 
   at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) 
   at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:638)
   at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
   at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
   at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514) 
   at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
   at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326) 
   at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279)
   at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
   at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:137) 
 ... 59 more
</code></pre>

<hr>

<p><strong>Update</strong></p>

<p>This question was moved to ""on hold"":</p>

<blockquote>
  <p>""Questions seeking debugging help (""why isn't this code working?"")
  must include the desired behavior, a specific problem or error and the
  shortest code necessary to reproduce it in the question itself.
  Questions without a clear problem statement are not useful to other
  readers. See: How to create a Minimal, Reproducible Example.""</p>
</blockquote>

<p>This question is not ""why isn't this code working?"". This question is ""why isn't this code working in very specific case with exception somewhere in dependency?"" Specific case is performance testing. In all other cases this code is working fine. </p>

<p>""shortest code necessary to reproduce"" is a problem, because performance testing is test on real system so there are no any code for reproduce. Anyway I tried to reproduce it with no luck. </p>

<p>So Im still thinking original question has enough context and description. 
Btw despite that question was asked during weekend I got two up vote on it. </p>
",https://stackoverflow.com/questions/57237390/concurrentmodificationexception-in-cxf-during-performance-testing,"['java', 'cxf']",488,False,2,0
"${__P(thread,1) doesn&#39;t work in my JMX file","<p>${__P(thread,1)---- using this function in ""number of threads"" at JMX file, the following java code run incorrectly. While using correct numbers it worked. But I want this place can be changeable.</p>

<p>I'm developing a performance testing platform using Jmeter API. </p>

<pre><code>StandardJMeterEngine standardJMeterEngine=new StandardJMeterEngine();
System.setProperty(JMeter.JMETER_NON_GUI, ""true"");
JMeterUtils.loadJMeterProperties(""D:\software\java\apache-jmeter-5.1\bin\jmeter.properties"");
JMeterUtils.loadJMeterProperties(""D:\software\java\apache-jmeter-5.1\bin\system.properties"");
JMeterUtils.loadJMeterProperties(""D:\software\java\apache-jmeter-5.1\bin\user.properties"");
JMeterUtils.loadJMeterProperties(""D:\software\java\apache-jmeter-5.1\bin\saveservice.properties"");
JMeterUtils.setJMeterHome(""D:\software\java\apache-jmeter-5.1"");
JMeterUtils.initLocale();
JMeterUtils.initLogging();
SaveService.loadProperties();
Properties jmeterProps = JMeterUtils.getJMeterProperties();
jmeterProps.put(""thread"",""10"");// 
File file=new File(""F:\a.jmx"");
FileServer.getFileServer().setBase(file);
FileServer.getFileServer().setScriptName(file.getName());
Field baseField = FileServer.getFileServer().getClass().getDeclaredField(""base"");
baseField.setAccessible(true);//
baseField.set(FileServer.getFileServer(), file.getAbsoluteFile().getParentFile());
HashTree scripts=SaveService.loadTree(file);
Summariser summariser = new Summariser(JMeterUtils.getPropDefault(""summariser.name"", ""summary""));
ResultCollector logger = new ResultCollector(summariser);
logger.setFilename(""F:\a.jtl"");
scripts.add(scripts.getArray()[0],logger);
JMeter.convertSubTree(scripts);
standardJMeterEngine.configure(scripts);
standardJMeterEngine.runTest();
</code></pre>
",https://stackoverflow.com/questions/57138935/pthread-1-doesnt-work-in-my-jmx-file,"['jmeter', 'jmeter-5.0']",683,True,0,2
Browsermob Proxy + Selenium + Ruby setup giving 550 response,"<p>So I am looking at trying to integrate Browsermob into a Ruby project so i can edit http responses. 
I have been following the setup with Selenium instructions from the <a href=""https://github.com/jarib/browsermob-proxy-rb"" rel=""nofollow noreferrer"">Github</a> and another <a href=""http://elementalselenium.com/tips/49-performance-testing"" rel=""nofollow noreferrer"">article</a> I found about performance testing - which I also want to do.</p>

<p>For this, I have gone with the code from the performance testing article but the results I am getting are the same. 
The code is</p>

<pre><code>require 'selenium-webdriver'
require 'browsermob/proxy'
require 'rspec-expectations'
include RSpec::Matchers
require 'json'

def configure_proxy
  proxy_binary = BrowserMob::Proxy::Server.new('my/path/to/browsermob-proxy-2.1.4/bin/browsermob-proxy')
  proxy_binary.start
  proxy_binary.create_proxy
end

def browser_profile
  browser_profile = Selenium::WebDriver::Firefox::Profile.new
  browser_profile.proxy = @proxy.selenium_proxy
  browser_profile
end

def setup
  @proxy = configure_proxy
  @driver = Selenium::WebDriver.for :firefox, profile: browser_profile
end

def teardown
  @driver.quit
  @proxy.close
end

def capture_traffic
  @proxy.new_har
  yield
  @proxy.har
end

def run
  setup
  har = capture_traffic { yield }
  @har_file = ""./selenium_#{Time.now.strftime(""%m%d%y_%H%M%S"")}.har""
  har.save_to @har_file
  teardown
end

run do
  @driver.get 'http://the-internet.herokuapp.com/dynamic_loading/2'
  @driver.find_element(css: '#start button').click
  Selenium::WebDriver::Wait.new(timeout: 8).until do
    @driver.find_element(css: '#finish')
  end
end

performance_results = JSON.parse `yslow --info basic --format json #{@har_file}`
performance_grade = performance_results[""o""]
performance_grade.should be &gt; 90
</code></pre>

<p>Now, the problem I get is that as soon as I try to run this code (isolated away from my project or even within it) I get:</p>

<p><code>(.rvm/gems/ruby-2.5.3/gems/rest-client-2.0.2/lib/restclient/abstract_response.rb:220:in 'rescue in exception_with_response': HTTP status code 550 (RestClient::RequestFailed)</code></p>

<p>Does anyone know why I would be getting this? I understand that a 550 is an action not taken code but I'm confused as to why I would be getting this? </p>

<p>Any help would be VERY much appreciated!</p>
",https://stackoverflow.com/questions/54039859/browsermob-proxy-selenium-ruby-setup-giving-550-response,"['ruby-on-rails', 'ruby', 'selenium', 'browsermob-proxy']",476,False,2,0
How to run RocksDB service on Ubuntu for performance testing?,"<p>I'm trying to test the performance of RocksDB. I installed both DB-Bench for performance testing and also RocksDB. I have no idea how I can start RocksDB service on Ubuntu and run the performance benchmark using db-bench. Any help/advice is greatly appreciated</p>
",https://stackoverflow.com/questions/57014265/how-to-run-rocksdb-service-on-ubuntu-for-performance-testing,"['ubuntu-16.04', 'performance-testing', 'rocksdb']",344,True,1,1
Facing issue in authentication,"<p>I am doing performance testing  for restricted websites using jmeter, so I  made changes in Krb5.conf , jass.conf files and now I am able to record and replay the applications but for one application during replay 401 unauthorized error is coming. Need your suggestions please</p>
",https://stackoverflow.com/questions/58993353/facing-issue-in-authentication,"['authentication', 'jmeter']",26,False,-1,1
Gatling - Scala knowledge limitation,"<p>is Gatling good choice for performance testing newbie if I'm lacking some advanced Scala knowledge, especially functional paradigm? I managed to adopt some basics in a short time, nothing more than that.</p>

<p>Is there anything more appropriate for the one coming from Java development world?</p>
",https://stackoverflow.com/questions/56803048/gatling-scala-knowledge-limitation,"['performance-testing', 'gatling', 'scala-gatling']",131,True,0,1
How to reset the circuit breaker counters in istio v1.1.1?,"<p>Is there anyone know how to reset the circuit breaker counters in istio v1.1.1? During performance testing(3 weeks ago), circuit breaker was triggered, there's thunder icon shown up in Kiali graph. After that, there's no traffic, the 'thunder' icon should disappear to my understanding. 
<a href=""https://i.stack.imgur.com/Hniny.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/Hniny.png"" alt=""enter image description here""></a></p>
",https://stackoverflow.com/questions/57751067/how-to-reset-the-circuit-breaker-counters-in-istio-v1-1-1,"['istio', 'kiali']",242,False,0,1
How we can know the no of users/tests/samples taken maximum time in summery report or aggregate report?,"<p>with jmeter performance testing. How we can know the no of users taken maximum time in summery report.As we can just know one of the sample taken taken this maximum time but we can not find the no of users or samples faced this maximum time?</p>
",https://stackoverflow.com/questions/58221497/how-we-can-know-the-no-of-users-tests-samples-taken-maximum-time-in-summery-repo,"['performance', 'jmeter', 'performance-testing', 'jmeter-plugins']",31,False,0,2
Handling soap+msbin1 content type in Jmeter,"<p>I am trying to use Jmeter for performance testing of a WPF app that uses WCF Web Service. I see that the service is using msbin1 encoding format. Hence i am no able to make out what the request parameters are. How to handle this in Jmeter</p>
",https://stackoverflow.com/questions/55139946/handling-soapmsbin1-content-type-in-jmeter,"['web-services', 'wcf', 'jmeter', 'performance-testing']",301,False,0,1
Kafka HeartbeatThread BLOCKED,"<p>We are using spring kafka version(2.1.5.RELEASE).</p>

<p>After our performance testing while analysing 
thread dump we saw below stack trace which indicates
HeartbeatThread is being blocked by one of the 
Consumer thread</p>

<h1>LOG:</h1>

<h1>Consumer Thread Dump</h1>

<pre><code>org.springframework.kafka.KafkaListenerEndpointContainer#4-0-C-1 - priority:5 - threadId:0x00007fca72cf4800 - nativeId:0x5d - nativeId (decimal):93 - state:RUNNABLE
stackTrace:
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
- locked &lt;0x000000067e24e1c0&gt; (a sun.nio.ch.Util$3)
- locked &lt;0x000000067e24e1a8&gt; (a java.util.Collections$UnmodifiableSet)
- locked &lt;0x000000067e4415b0&gt; (a sun.nio.ch.EPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at org.apache.kafka.common.network.Selector.select(Selector.java:674)
at org.apache.kafka.common.network.Selector.poll(Selector.java:396)
at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:460)
at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:258)
at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:230)
at org.apache.kafka.clients.consumer.KafkaConsumer.pollOnce(KafkaConsumer.java:1164)
at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1111)
at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.run(KafkaMessageListenerContainer.java:699)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
Locked ownable synchronizers:
- &lt;0x000000067e3716b0&gt; (a java.util.concurrent.locks.ReentrantLock$FairSync)
</code></pre>

<h1>HeartbeatThread Dump</h1>

<pre><code>kafka-coordinator-heartbeat-thread | ccm.device.migration.event 
Stack Trace is: 
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for &lt;0x000000067e3716b0&gt; (a java.util.concurrent.locks.ReentrantLock$FairSync)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:870)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1199)
at java.util.concurrent.locks.ReentrantLock$FairSync.lock(ReentrantLock.java:224)
at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:285)
at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:243)
at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.pollNoWakeup(ConsumerNetworkClient.java:297)
at org.apache.kafka.clients.consumer.internals.AbstractCoordinator$HeartbeatThread.run(AbstractCoordinator.java:948)
- locked &lt;0x000000067e2e0440&gt; (a org.apache.kafka.clients.consumer.internals.ConsumerCoordinator)
Locked ownable synchronizers:
- None
</code></pre>

<p>What could be the probable cause for above observed behaviour?</p>
",https://stackoverflow.com/questions/55218547/kafka-heartbeatthread-blocked,"['apache-kafka', 'spring-kafka']",1428,False,1,0
Flink: java.lang.UnsupportedOperationException: Cannot override partitioning for KeyedStream,"<p>I'm getting the following exception running my small flink program. The app has two data streams coming from the same mocked source. It has a broadcast state. I have written this to do some performance testing but is giving me exceptions</p>

<pre class=""lang-java prettyprint-override""><code>Caused by: java.lang.UnsupportedOperationException: Cannot override partitioning for KeyedStream.
    at org.apache.flink.streaming.api.datastream.KeyedStream.setConnectionType(KeyedStream.java:251)
    at org.apache.flink.streaming.api.datastream.DataStream.broadcast(DataStream.java:429)
    at org.apache.flink.streaming.api.scala.DataStream.broadcast(DataStream.scala:495)
</code></pre>

<p>my code:</p>

<pre class=""lang-scala prettyprint-override""><code>val testStream: DataStream[Tuple2[String, String]] = env
    .addSource(
    new MockKafkaSource
    )
    .filter(x =&gt; !x._1.equals(""x""))
    .map(x =&gt; x)
    .uid(""test stream 1"")

val testStream2: DataStream[Tuple2[String, String]] = env
    .addSource(
    new MockKafkaSource
    )
    .map(x =&gt; x)
    .keyBy(x =&gt; x._1)
    .uid(""test stream 2"")

lazy val testStateDescriptor =
    new MapStateDescriptor(""testState"", classOf[String], classOf[Tuple2[String, String]])

val testBroadcastStream = testStream.broadcast(testStateDescriptor)

val broadcastOutStream: DataStream[Tuple2[String, String]] =
    testStream2
    .connect(testBroadcastStream)
    .process(new StateProcess)

broadcastOutStream.print()
</code></pre>

<p>The exception happening on this line: </p>

<pre class=""lang-scala prettyprint-override""><code>val testBroadcastStream = testStream.broadcast(testStateDescriptor)
</code></pre>
",https://stackoverflow.com/questions/58190884/flink-java-lang-unsupportedoperationexception-cannot-override-partitioning-for,"['scala', 'apache-flink', 'flink-streaming']",878,True,1,1
Slow performance using Nlog when compared to log4net,"<p>We recently updated the logging framework for our ASP.NET Core Web API project from log4net to NLog and when we do performance testing request/second rate served NLog is way less when compared it to NLog. Below is my NLog configuration file.</p>

<p>Please suggest any ideas on our performance issue using NLog.</p>

<pre class=""lang-xml prettyprint-override""><code>&lt;?xml version=""1.0"" encoding=""utf-8"" ?&gt;
&lt;nlog xmlns=""http://www.nlog-project.org/schemas/NLog.xsd""
      xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance""
      autoReload=""true""
      internalLogLevel=""info""
      internalLogFile=""C:\temp\internal-nlog.txt""&gt;

  &lt;!-- enable asp.net core layout renderers --&gt;
  &lt;extensions&gt;
    &lt;add assembly=""NLog.Web.AspNetCore""/&gt;
    &lt;add assembly=""SumoLogic.Logging.NLog""/&gt;
  &lt;/extensions&gt;

  &lt;!-- the targets to write to --&gt;
  &lt;targets&gt;
    &lt;!-- write logs to console --&gt;
    &lt;target xsi:type=""ColoredConsole"" name=""allConsole"" formatMessage=""false"" layout=""${longdate}|${level:uppercase=true}|${message}"" /&gt;

    &lt;target name=""sumoLogic"" type=""SumoLogicTarget"" formatMessage=""false"" layout=""${date:format=yyyy-MM-dd HH\:mm\:ss.fff} ${level}, ${message}${exception:format=tostring}${newline}""&gt;
      &lt;Url&gt;#{Logging__SumoLogic__EndpointUrl}&lt;/Url&gt;
      &lt;ConnectionTimeout&gt;30000&lt;/ConnectionTimeout&gt;
      &lt;SourceName&gt;#{Logging__SumoLogic__SourceName}&lt;/SourceName&gt;
      &lt;SourceCategory&gt;#{Logging__SumoLogic__SourceCategory}&lt;/SourceCategory&gt;
      &lt;UseConsoleLog&gt;true&lt;/UseConsoleLog&gt;
    &lt;/target&gt;

    &lt;target name=""bufferedSumoLogic"" type=""BufferedSumoLogicTarget"" formatMessage=""false"" layout=""${date:format=yyyy-MM-dd HH\:mm\:ss.fff} ${level}, ${message}${exception:format=tostring}${newline}""&gt;
      &lt;Url&gt;#{Logging__SumoLogic__EndpointUrl}&lt;/Url&gt;
      &lt;SourceName&gt;#{Logging__SumoLogic__SourceName}&lt;/SourceName&gt;
      &lt;SourceCategory&gt;#{Logging__SumoLogic__SourceCategory}&lt;/SourceCategory&gt;
      &lt;ConnectionTimeout&gt;30000&lt;/ConnectionTimeout&gt;
      &lt;RetryInterval&gt;5000&lt;/RetryInterval&gt;
      &lt;MessagesPerRequest&gt;10&lt;/MessagesPerRequest&gt;
      &lt;MaxFlushInterval&gt;10000&lt;/MaxFlushInterval&gt;
      &lt;FlushingAccuracy&gt;250&lt;/FlushingAccuracy&gt;
      &lt;MaxQueueSizeBytes&gt;500000&lt;/MaxQueueSizeBytes&gt;
      &lt;UseConsoleLog&gt;true&lt;/UseConsoleLog&gt;
    &lt;/target&gt;
  &lt;/targets&gt;

  &lt;!-- rules to map from logger name to target --&gt;
  &lt;rules&gt;
    &lt;!-- Skip non-critical Microsoft logs and so log only own logs --&gt;
    &lt;logger name=""Microsoft.*"" maxLevel=""Info"" final=""true"" /&gt;

    &lt;!-- Write all debug messages to console --&gt;
    &lt;logger name=""*"" minlevel=""#{Logging__ConsoleLog__LevelMin}"" writeTo=""allConsole"" /&gt;

    &lt;!-- Write to sumo buffered log --&gt;
    &lt;logger name=""*"" minlevel=""#{Logging__BufferedLog__LevelMin}"" maxlevel=""#{Logging__BufferedLog__LevelMax}"" writeTo=""bufferedSumoLogic"" /&gt;

    &lt;!-- Write to sumo instant log --&gt;
    &lt;logger name=""*"" minlevel=""#{Logging__InstantLog__LevelMin}"" maxlevel=""#{Logging__InstantLog__LevelMax}"" writeTo=""sumoLogic"" /&gt;
  &lt;/rules&gt;
&lt;/nlog&gt;
</code></pre>
",https://stackoverflow.com/questions/57316542/slow-performance-using-nlog-when-compared-to-log4net,"['.net-core', 'log4net', 'nlog', 'dotnet-core-pack']",3014,True,3,1
Performance Indicators for Load Testing?,"<p>Currently I am working my way into the topic of load and performance testing. In our planning, however, the customer now wants to have indicators for the load and performance test named. Here I am personally however over-questioned. What exactly are the performance indicators within a load and performance test?</p>
",https://stackoverflow.com/questions/58055821/performance-indicators-for-load-testing,"['testing', 'jmeter', 'automated-tests', 'performance-testing', 'load-testing']",163,True,1,1
fatal alert : certificate_unknown in jmeter while recording native mobile application,"<p>I am trying to record the native app performance testing by using jmeter HTTP(S) Test Script Recorder and after installing ApacheJMeterRootCA certificate in mobile device and also configuring Proxy settings, I am getting certificate_unknown error whenever I open the app and try to use it</p>

<p>Note : JDK8 and JMeter 4.0 is used</p>
",https://stackoverflow.com/questions/54721437/fatal-alert-certificate-unknown-in-jmeter-while-recording-native-mobile-applic,['jmeter'],1747,True,1,1
What is the best way to execute 100k insert statements?,"<p>I have created a set of 100k insert queries to generate data in multiple oracle tables for my performance testing. What is the best way to execute this ?</p>

<p>In the past, I've tried tools like Oracle SQL developer and Toad. However not sure if it can handle this large volume.</p>

<p>Simple insert statements like - </p>

<pre><code>INSERT INTO SELLING_CODE (SELC_ID, VALC_ID, PROD_ID, SELC_CODE, SELC_MASK, VALC_ID_STATUS) 
VALUES (5000001, 63, 1, '91111111', 'N/A', 107);
</code></pre>
",https://stackoverflow.com/questions/56110376/what-is-the-best-way-to-execute-100k-insert-statements,"['sql', 'oracle', 'performance', 'bulk-operations']",3891,True,2,1
Why is reading a JDBC ResultSet by position faster than by name and how much faster?,"<p><a href=""http://in.relation.to/2018/12/06/hibernate-orm-600-alpha1-out/"" rel=""noreferrer"">Announcing Hibernate 6</a> the Hibernate team claims that by switching from
read-by-name to read-by-position in JDBC <a href=""https://docs.oracle.com/javase/8/docs/api/java/sql/ResultSet.html"" rel=""noreferrer"">ResultSet</a> they gain a performance benefit.</p>
<blockquote>
<p>High-load performance testing showed that Hibernate’s approach of
reading values from ResultSet by name to be its most limiting factor
in scaling through-put.</p>
</blockquote>
<p>Does that mean they are changing calls from  <a href=""https://docs.oracle.com/javase/8/docs/api/java/sql/ResultSet.html#getString-java.lang.String-"" rel=""noreferrer""><code>getString(String columnLabel)</code></a> to <a href=""https://docs.oracle.com/javase/8/docs/api/java/sql/ResultSet.html#getString-int-"" rel=""noreferrer""><code>getString(int columnIndex)</code></a>?</p>
<p>Why is this faster?</p>
<p>As <code>ResultSet</code> is an interface doesn't performance gain depend on the JDBC driver implementing it?</p>
<p>How big are the gains?</p>
",https://stackoverflow.com/questions/55531375/why-is-reading-a-jdbc-resultset-by-position-faster-than-by-name-and-how-much-fas,"['java', 'performance', 'hibernate', 'jdbc', 'hibernate-6.x']",2524,True,22,2
Why does Swift malloc() when I&#39;m iterating over a loop?,"<p>I'm performance-testing a loop in my code and a surprisingly large amount (734ms for a list of 1'000'000 items) is spent in</p>

<pre><code>734ms Array.subscript.read
380ms   Array.subscript.getter
223ms     _ArrayBuffer.checkInoutAndNativeTypeCheckedBounds(_:wasNativeTypeChecked:)
 92ms     swift::metadataimpl::ValueWitnesses&lt;swift::metadataimpl::SwiftRetainableBox&gt;::initializeWithCopy(swift::OpaqueValue*, ...
 16ms     _swift_isClassOrObjCExistentialType
  3ms     swift_bridgeObjectRelease
329ms   malloc
</code></pre>

<p>Anyone have an idea why this is? I'm particularly surprised why Swift would <code>malloc</code> when what I am doing is basically</p>

<pre><code>let myArray = [foo, bar, baz ...] // 1'000'000 instances of a class
for item in myArray {
    ...
}
</code></pre>

<p>It seems like this should be just a read access?</p>
",https://stackoverflow.com/questions/58648687/why-does-swift-malloc-when-im-iterating-over-a-loop,"['arrays', 'swift', 'performance', 'loops']",108,False,0,0
How to record multi protocol script in jmeter,"<p>Is there any way to generate script using web socket protocol?</p>

<p>I want do performance testing for one of my project. that project have multi protocols. like web http/html and web socket.
How can i generate the script for web socket protocol.</p>

<p>If i tried to generate script i were got below error </p>

<pre><code>2019-03-27 16:49:24,712 WARN o.a.j.p.h.p.Proxy: [58109]  Unable to negotiate SSL transaction, no keystore?
2019-03-27 16:49:24,728 ERROR o.a.j.p.h.p.Proxy: [58109]  Exception when processing sample
java.io.IOException: Unable to negotiate SSL transaction, no keystore?
    at org.apache.jmeter.protocol.http.proxy.Proxy.startSSL(Proxy.java:446) ~[ApacheJMeter_http.jar:4.0 r1823414]
    at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:194) [ApacheJMeter_http.jar:4.0 r1823414]
2019-03-27 16:49:24,728 WARN o.a.j.p.h.p.Proxy: [58109]  Exception while writing error
java.net.SocketException: Software caused connection abort: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:1.8.0_191]
    at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[?:1.8.0_191]
    at java.net.SocketOutputStream.write(Unknown Source) ~[?:1.8.0_191]
    at java.io.DataOutputStream.writeBytes(Unknown Source) ~[?:1.8.0_191]
    at org.apache.jmeter.protocol.http.proxy.Proxy.writeErrorToClient(Proxy.java:561) [ApacheJMeter_http.jar:4.0 r1823414]
    at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:258) [ApacheJMeter_http.jar:4.0 r1823414]
2019-03-27 16:49:24,728 INFO o.a.j.p.h.p.ProxyControl: [58110] Creating entry web.qa.np.1shift.io in D:\apache-jmeter-4.0\apache-jmeter-4.0\bin\proxyserver.jks
2019-03-27 16:49:25,566 ERROR o.a.j.p.h.p.Proxy: [58110]  Problem with keystore
java.io.IOException:   &gt;&gt; keytool error: java.lang.RuntimeException: java.io.IOException: DNSName components must begin with a letter
</code></pre>
",https://stackoverflow.com/questions/55376232/how-to-record-multi-protocol-script-in-jmeter,"['jmeter', 'jmeter-4.0', 'jmeter-3.2']",237,True,0,1
How to disable using cache results in Redshift Query?,"<p>I am interested in performance testing my query in Redshift.</p>

<p>I would like to disable the query from using any cached results from prior queries. In other words, I would like the query to run from scratch. Is it possible to disable cached results only for the execution of my query? </p>

<p>I would not like to disable cached results for the entire database/all queries.</p>
",https://stackoverflow.com/questions/54805231/how-to-disable-using-cache-results-in-redshift-query,"['sql', 'amazon-web-services', 'amazon-redshift']",8951,True,7,2
Why is [None] * 10 faster than [None for i in range(10)],"<p>I wanted to create a list with some initialized values, because an empty list is not an option in python. So I started thinking which would be faster:
<code>l = [None for i in range(1000)]</code>
or
<code>l = [None] * 1000</code>
And I tried testing it with with <code>timeit</code>:</p>

<pre><code>In [56]: timeit.timeit('l = [None] * 1000', number=10000)
Out[56]: 0.04936316597741097
In [58]: timeit.timeit('l = [None for i in range(1000)]', number=10000)
Out[58]: 0.2318978540133685
</code></pre>

<p>I was surprised that <code>[None] * 1000</code> is faster.</p>

<ol>
<li>Why is that (and is my method for performance testing correct) ?</li>
<li>Is there a faster way to initialize an ""empty"" list?</li>
</ol>
",https://stackoverflow.com/questions/58477000/why-is-none-10-faster-than-none-for-i-in-range10,"['python', 'performance', 'list-comprehension', 'timeit']",1839,True,4,1
How to generate100 UUIDS and use it later in Jmeter?,"<p>I am new to Jmeter and working on performance testing for my CRUD operations(UserManagement).
I want to create 100 users and get those users by using Jmeter HttpRequest.
In my create request I have to pass auto generated ID as id.So How can I generate 100 auto generated ids<br>
 and use it while doing the Create/Get user.</p>
",https://stackoverflow.com/questions/59187226/how-to-generate100-uuids-and-use-it-later-in-jmeter,"['java', 'jmeter']",322,False,0,1
HTTPS Cookie and Cache manager in Jmeter,"<p>I am trying to do performance testing for an application. Manually if I try to launch the application, it will take around 7 seconds to load. But in Jmeter, even after checking 'Clear cookies in each iteration' and 'clear cache each iteration', I can see the average time was 279 milli seconds only.</p>

<p>What am I missing here?</p>
",https://stackoverflow.com/questions/56660638/https-cookie-and-cache-manager-in-jmeter,"['cookies', 'jmeter']",33,False,0,0
OrientDB large data count of filed slow response?,"<p>We have inserted 15 million records to orientdb for huge data query performance testing purpose.</p>

<p>System Configuration: Linux, 2Cpu &amp; 4GB Ram</p>

<pre><code>var X;
for(var i=1;i&lt;15000000;i++)
{
  X='insert into customer set id='+i+',name=\'SENTHIL'+i+'\',age='+i;
  db.command(X);

} 
</code></pre>

<p>DB/Collection Picture:
<a href=""https://i.stack.imgur.com/mrSOI.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/mrSOI.png"" alt=""DB/Collection Picture""></a></p>

<p>DB Index Picture
<a href=""https://i.stack.imgur.com/g4HcV.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/g4HcV.png"" alt=""DB Index Picture""></a></p>

<p>Where try to fetch records as like below we got slow response</p>

<pre><code>select count(age) from customer where age &gt; 100000 and age &lt; 999999
</code></pre>

<p>Query executed in 7.652 sec</p>

<pre><code>select count(age) from customer where age &gt; 1000000 and age &lt; 9999999
</code></pre>

<p>Query executed in 183.465 sec.</p>

<pre><code>explain select count(age) from customer where age &gt; 1000000 and age &lt; 9999999

+ FETCH FROM INDEX customerAge
  age &gt; 1000000 and age &lt; 9999999
+ EXTRACT VALUE FROM INDEX ENTRY
  filtering clusters [25,26,27,17,16,19,18,21,20,23,22,24,15]
+ FILTER ITEMS BY CLASS 
  customer
+ CALCULATE PROJECTIONS
  age AS _$$$OALIAS$$_1
+ CALCULATE AGGREGATE PROJECTIONS
      count(_$$$OALIAS$$_1) AS _$$$OALIAS$$_0
+ GUARANTEE FOR ZERO COUNT 
+ CALCULATE PROJECTIONS
  _$$$OALIAS$$_0 AS `count(age)`
</code></pre>

<p>How we can fix slow response?</p>
",https://stackoverflow.com/questions/56801307/orientdb-large-data-count-of-filed-slow-response,"['orientdb', 'database-performance', 'query-performance']",387,False,0,1
Performance testing with JMeter JSR223 sampler,"<p>I'm doing performance testing with <code>JMeter Python</code> using <code>JSR223</code> sampler. I want to know the following. </p>

<blockquote>
  <ol>
  <li>How to connect to existing browser window?</li>
  <li>How to calculate performance timing?
  Suppose I have 10 steps in <code>Python</code> code. I want to calculate timing from step 3 to step 5.</li>
  <li>How to call methods from one <code>JSR223</code> sampler to another?</li>
  </ol>
</blockquote>

<p>Kindly help me with it.</p>

<p>Thanks.</p>
",https://stackoverflow.com/questions/55177766/performance-testing-with-jmeter-jsr223-sampler,"['python', 'jmeter', 'performance-testing', 'jython', 'jsr223']",354,False,0,1
cannot copy from one stage to another in multi stage docker build,"<p>I want to create and execute performance tests against the application. For now, my idea was to use multi-stage build on the first stage to build the application, on the second - build the performance testing and start both application and performance tests in the same container.</p>

<p>My <code>Dockerfile</code> looks like this</p>

<pre><code># build stage
FROM gradle:jdk11
ARG ARTIFACT_PATH=json-comparison-application/build/libs
ARG ARTIFACT_NEW=app.jar
ARG ARTIFACT_OLD=json-comparison-application-0.0.1-SNAPSHOT.jar
RUN echo ${ARTIFACT_PATH}
RUN apt-get install git &amp;&amp; git clone https://github.com/xxxx/json-comparison.git
WORKDIR json-comparison
RUN chmod +x gradlew &amp;&amp; \
    ./gradlew clean build -x pmdMain -x spotbugsMain -x checkstyleMain --no-daemon &amp;&amp; \
    cd ${ARTIFACT_PATH} &amp;&amp; mv ${ARTIFACT_OLD} ${ARTIFACT_NEW}

# performance test stage
FROM ubuntu:18.04
# simplified adoptopenjdk/11 without CMD entry point, probably better move to some external dockerfile
ARG ESUM='6dd0c9c8a740e6c19149e98034fba8e368fd9aa16ab417aa636854d40db1a161'
ARG BINARY_URL='https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.5_10.tar.gz'
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
ENV JAVA_VERSION jdk-11.0.5+10
RUN apt-get update \
    &amp;&amp; apt-get install -y --no-install-recommends curl ca-certificates fontconfig locales \
    &amp;&amp; echo ""en_US.UTF-8 UTF-8"" &gt;&gt; /etc/locale.gen \
    &amp;&amp; locale-gen en_US.UTF-8 \
    &amp;&amp; rm -rf /var/lib/apt/lists/*
RUN set -eux; \
    curl -LfsSo /tmp/openjdk.tar.gz ${BINARY_URL}; \
    echo ""${ESUM} */tmp/openjdk.tar.gz"" | sha256sum -c -; \
    mkdir -p /opt/java/openjdk; \
    cd /opt/java/openjdk; \
    tar -xf /tmp/openjdk.tar.gz --strip-components=1; \
    rm -rf /tmp/openjdk.tar.gz;
ENV JAVA_HOME=/opt/java/openjdk \
    PATH=""/opt/java/openjdk/bin:$PATH""
# custom part of the stage
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update &amp;&amp; apt-get install -y python default-jre-headless python-tk python-pip python-dev \
                       libxml2-dev libxslt-dev zlib1g-dev net-tools &amp;&amp; \
    pip install bzt
WORKDIR /home/tmp
ARG ARTIFACT_PATH=json-comparison/json-comparison-application/build/libs
ARG ARTIFACT_NEW=app.jar
RUN echo ${ARTIFACT_PATH}
COPY --from=0 /${ARTIFACT_PATH}/${ARTIFACT_NEW} .
# prototype for test
CMD [""bzt"", ""quick_test.yml""]
</code></pre>

<p>But it fails during <code>build</code> with error</p>

<pre><code>Step 23/24 : COPY --from=0 /${ARTIFACT_PATH}/${ARTIFACT_NEW} .
COPY failed: stat /var/lib/docker/overlay2/f227e7b77fba105ba0769aa355458900d202add59c98583f0fd0936cbf4dfc11/merged/json-comparison/json-comparison-application/build/libs/app.jar: no such file or directory
</code></pre>

<p>What is the problem?</p>
",https://stackoverflow.com/questions/59506143/cannot-copy-from-one-stage-to-another-in-multi-stage-docker-build,"['java', 'docker', 'ubuntu', 'taurus']",1439,True,1,1
Unable to get fingerprint in browser using Apache JMeter,"<p>I performed performance testing using Apache JMeter version 3.X.</p>

<p>At one of the step, I'm not able to get the browser fingerprint value. I receive NULL value and it cause my program to be terminated.</p>

<p>But when I'm using normal browser, it works find.</p>

<p>Is there any limitation on Apache JMeter where it cannot get the browser fingerprint value?</p>
",https://stackoverflow.com/questions/59298760/unable-to-get-fingerprint-in-browser-using-apache-jmeter,"['apache', 'jmeter']",235,False,0,1
How to Handle Microsoft Oauth2.0 Websites using jmeter,"<p>I am new to jmeter and now i am doing an performance testing on microsoft oauth 2.0 application . And i am facing problem while Login. And i try to handle it and also able to handle it by Webdriver sampler but i don't want to perform any browser actions .</p>

<p>So can any one suggest me how we can handle it ?</p>
",https://stackoverflow.com/questions/57320418/how-to-handle-microsoft-oauth2-0-websites-using-jmeter,"['oauth-2.0', 'jmeter']",214,False,0,0
Does Jmeter Still have Coordinated Omission Problem?,"<p>I've been using JMeter for performance testing tasks for a few years and recently I came across with the term 'Coordinated Omission' which is simply hiding all the worst sides of the response times.
The lecture which I listened to is from 2015 and I would like to know if Jmeter has fixed it or is there any other way to resolve the issue?</p>
",https://stackoverflow.com/questions/55335400/does-jmeter-still-have-coordinated-omission-problem,['jmeter'],532,True,2,1
How to Measure performance of an angularjs application by launching browser using Jmeter,"<p>I have measured real time page performance of an application using jmeter and selenium. Similarly, I also need to measure performance for angularJS applications by launching browser.</p>

<p>For functionality testing of the same angularJS application I have used Protractor, but for performance testing I couldn't able to find any tutorial related to launching browser using protractor using jmeter. can someone guide me through this.</p>
",https://stackoverflow.com/questions/55216418/how-to-measure-performance-of-an-angularjs-application-by-launching-browser-usin,"['angularjs', 'jmeter', 'protractor', 'performance-testing']",332,False,1,1
Selenium.WebDriver 3.141.0 Get Network Logs in Chrome Developer Tools,"<p>I'm struggling to get the network developer logs for performance testing.  Below is the code I'm using and here is the error i'm experiencing.  I'm kind of stuck and not entirely sure of why I'm unable to initialize my <code>ChromeDriver</code>.  How do you properly retrieve the network devtools logs for performance?</p>

<p><code>OpenQA.Selenium.WebDriverException: 'invalid argument: entry 0 of 'firstMatch' is invalid
from invalid argument: perfLoggingPrefs specified, but performance logging was not enabled'</code></p>

<pre><code>public Driver(ChromeDriverModel chromeDriverModel)
        {
            ChromeOptions chromeOptions = new ChromeOptions();
            enablePerformanceMonitor = chromeDriverModel.enablePerformanceMonitoring;
            if (enablePerformanceMonitor)
                chromeOptions = _ChromePerformanceOptions();

            if (!string.IsNullOrWhiteSpace(chromeDriverModel.ChromeDriverLocation))
            {
                if (enablePerformanceMonitor)
                    _webDriver = new ChromeDriver(chromeDriverModel.ChromeDriverLocation, chromeOptions);
                else
                    _webDriver = new ChromeDriver(chromeDriverModel.ChromeDriverLocation);
            }
            else
            {
                if (enablePerformanceMonitor)
                    _webDriver = new ChromeDriver(chromeOptions);
                else
                    _webDriver = new ChromeDriver();
            }
        }


private ChromeOptions _ChromePerformanceOptions()
        {
            var option = new ChromeOptions();
            var perfLogPrefs = new ChromePerformanceLoggingPreferences();
            perfLogPrefs.AddTracingCategories(new string[] { ""devtools.network"", ""devtools.timeline"" });
            option.PerformanceLoggingPreferences = perfLogPrefs;
            option.AddAdditionalCapability(CapabilityType.EnableProfiling, true, true);
            option.SetLoggingPreference(""performance"", LogLevel.All);
            return option;
        }
</code></pre>

<p>The questions are not the same, LoggingPreferences and DesiredCapibiliies have been deprecated in 3.141.0</p>
",https://stackoverflow.com/questions/56794763/selenium-webdriver-3-141-0-get-network-logs-in-chrome-developer-tools,"['c#', 'selenium', 'selenium-webdriver', 'selenium-chromedriver']",6589,False,0,2
How to keep android application staying alive,"<p>I have an application which is using for performance testing. However, this application always be kill in the background in about 5 min later. I want to know how to let it stay alive.(In API 23)</p>

<p>I have tried startForeground(), but it seems didn't work. I logout the oom_adj and oom_score_adj and get the result 3 and 200. Did it do some effect?</p>
",https://stackoverflow.com/questions/57179902/how-to-keep-android-application-staying-alive,"['java', 'android']",113,False,0,1
"Jmeter script development : IBM cloudant Performance testing , Maximum Request /second","<p><a href=""https://i.stack.imgur.com/9BID0.jpg"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/9BID0.jpg"" alt=""Please find Jmeter configuration""></a>  I am working on IBM cloudant performance testing. ( No SQL DB hosted in IBM cloud).
  I am trying to identify the breaking point ( max input/sec).
  I am triggering this request (POST) with JSON data.
  I am unable to determine to design this test plan and thread group.
  I need to determine the breaking point ( maximum allowed request/second).
   Please find my Jmeter configuration above</p>
",https://stackoverflow.com/questions/59137937/jmeter-script-development-ibm-cloudant-performance-testing-maximum-request,"['database', 'jmeter', 'ibm-cloud', 'cloudant', 'jmeter-4.0']",95,True,0,1
How to run/configure Jmeter for HTTP PUT/POST method. How to set Dynamic data in jmeter payload to avoid Database duplicate constraint error,"<p>I am new to JMeter. I need to do performance testing for a microservice. I have ""PUT"" methods. I need to run JMeter with 25 threads and maximum of 2000 ramp-up time. I am using the payload values from csv files. </p>

<p><strong>Problem</strong>: The script process goes as follow:</p>

<ol>
<li>1st thread runs and inserts the companyID XX details which are non-duplicate 
values at DB.</li>
<li>2nd thread runs and tries to insert another companyID details, but for some 
reason it tries to insert the same details inserted by the 1st thread and 
that gives an error. </li>
</ol>

<p><strong>Question</strong>: How Can I make Payload data dynamic so that each thread get unique 
   data.  </p>

<p>If my approach is wrong, then please suggest me how can I make each thread chose unique values from the CSV file. If I have inserted 25 unique records in csv file, then also it means, 1 thread is performing on the application at one time with one set of data, that's not a performance testing.</p>

<p>Please suggest, How can I do it. Thank you in advance.</p>
",https://stackoverflow.com/questions/57394383/how-to-run-configure-jmeter-for-http-put-post-method-how-to-set-dynamic-data-in,"['rest', 'jmeter', 'microservices']",116,False,0,2
Generating a sequential date time in Java,"<p>I want to create a sequential date time generator in Java which is required for performance testing within a boundary of start date and end date.
I am using Jmeter for this testing and each thread should get a unique date time value.
For e.g. For Start Date: 2018-11-01 00:00:00 End Date: 2018-11-10 23:59:59</p>

<pre><code>1st Value= 2018-11-01 00:00:00
2nd Value = 2018-11-01 00:00:01
3rd Value = 2018-11-01 00:00:02
....
....
....
61st Value = 2018-11-01 00:01:00
62nd Value = 2018-11-01 00:01:01
....
....
And so on.
</code></pre>

<p>Any idea on how this can be implemented?</p>
",https://stackoverflow.com/questions/58796082/generating-a-sequential-date-time-in-java,['java'],109,False,1,2
How can I run multiple statements in GHCi?,"<p>I'm doing some very simple performance testing of a simple function that I believe has O(n)(squared) performance (or worse).</p>

<p>Currently I'm running multiple statements which is tedious to repeat:</p>

<pre><code>ghci&gt; myfunction 0 100
true
ghci&gt; myfunciton 0 200
true
ghci&gt; myfunction 0 300
true
ghci&gt; :r
</code></pre>

<p>Is there a way I can run all four <strong>GHCi</strong> statements? I can't just combine them using ""native"" Haskell as I'd like to include the <code>:r</code> (which is a GHCi statement - not exactly Haskell) that gets run at the end.</p>
",https://stackoverflow.com/questions/58599796/how-can-i-run-multiple-statements-in-ghci,"['haskell', 'testing', 'multiline', 'ghci']",251,True,0,3
Issue while running the recorded scripts in jmeter for aws cognito login,"<p>I am doing performance testing for application which is using Aws cognito login.
Error message </p>

<pre><code>{""__type"":""NotAuthorizedException"",""message"":""Incorrect username or password.""} 
</code></pre>

<p>is shown when i rerun the recorded scripts in jmeter. What is the dynamic variable <code>SRP_A</code> which we are passing as the input for the first API call? Passing this variable along with username, Auth flow, client Id gives the challenge parameters. </p>

<p>I have to understand what is <code>SRP_A</code> and how to handle it in jmeter.</p>
",https://stackoverflow.com/questions/57000832/issue-while-running-the-recorded-scripts-in-jmeter-for-aws-cognito-login,"['jmeter', 'amazon-cognito']",1640,False,0,2
"Write concern error: BulkWriteConcernError{code=64, message=&#39;waiting for replication timed out&#39;, details={ &quot;wtimeout&quot; : true }}","<p>I'm seeing this error in a performance testing environment. The wtimeout is set to 7000 and batch size for bulk operation is set to 1000. This environment has lot more data than the others. At that the time of the error, it was processing around 200k documents.</p>

<p>Tried changing the wtimeout to 15000 and the error goes away. </p>

<p>Is there another option to address this error without increasing the timeout?</p>
",https://stackoverflow.com/questions/56168714/write-concern-error-bulkwriteconcernerrorcode-64-message-waiting-for-replica,"['java', 'mongodb']",178,False,0,0
Perform Mongodb Aggregation in JMeter,"<p>I'm trying to run a simple aggregation in JMeter using the the mongo-java-driver 3.8.  I'm new to JMeter and using Mongo with Java.  I used this tutorial as a starting point:</p>

<p><a href=""https://www.blazemeter.com/blog/mongodb-performance-testing-with-jmeter/"" rel=""nofollow noreferrer"">https://www.blazemeter.com/blog/mongodb-performance-testing-with-jmeter/</a></p>

<p>I modified the code from the Querying Documents section for use in the JSR223 Sampler as follows:</p>

<pre><code>import org.bson.Document;
import org.bson.types.ObjectId;

import com.mongodb.client.model.Aggregates;

try {
    MongoCollection&lt;Document&gt; collection = vars.getObject(""collection"");

    Document result = collection.aggregate(Arrays.asList(Aggregates.sample(1)));

    vars.put(""exampleDocumentId"", result.get(""_id"").toString());

    return ""Document with id="" + result.get(""_id"") + "" found"";
}
catch (Exception e) {
    SampleResult.setSuccessful(false);
    SampleResult.setResponseCode(""500"");
    SampleResult.setResponseMessage(""Exception: "" + e);
}
</code></pre>

<p>I get the following error in response for the Sampler result in the View Results tree:</p>

<pre><code>Response code: 500
Response message: Exception: org.codehaus.groovy.runtime.typehandling.GroovyCastException:
Cannot cast object 'com.mongodb.client.internal.AggregateIterableImpl@3c7a0022' with class
'com.mongodb.client.internal.AggregateIterableImpl' to class 'org.bson.Document'
</code></pre>
",https://stackoverflow.com/questions/57641435/perform-mongodb-aggregation-in-jmeter,"['mongodb', 'groovy', 'jmeter', 'aggregate', 'mongodb-java']",957,True,1,3
JMeter gives “The target server failed to respond ” Error,"<p>We use Jmeter to do performance testing. I gave 200 threads(200 users). and we have  two servers. like sever A, Server B. i tested indivisibly for 200 Users, it works. and we load balancing server Like server C. So request goes to ether server A Or Server B. But if configure my same jmx script(200 thread) with Server C. it gives error below (but it works for 50 users-- no error). </p>

<pre><code>org.apache.http.NoHttpResponseException: The target server failed to respond
    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:95)
    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:61)
    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:254)
    at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:289)
    at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252)
    at org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:191)
    at org.apache.jmeter.protocol.http.sampler.MeasuringConnectionManager$MeasuredConnection.receiveResponseHeader(MeasuringConnectionManager.java:201)
    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:300)
    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:127)
</code></pre>
",https://stackoverflow.com/questions/54521906/jmeter-gives-the-target-server-failed-to-respond-error,"['apache', 'jmeter']",910,False,1,1
How to do performance testing in Non-Prod when Non-Prod DB size is comparatively very small or different than Prod DB size?,"<p>I did performance testing using Jmeter in QA and the number of records in QA DB were 30-40 times less than number of records in Prod DB. </p>

<p>For above reason, the performance in QA was very good but when application released in Prod, the performance was very bad.</p>

<p>How should the perf testing be done in Non-Prod that can simulate Prod conditions (in terms of DB size here)? What is the strategy/process?</p>
",https://stackoverflow.com/questions/56995229/how-to-do-performance-testing-in-non-prod-when-non-prod-db-size-is-comparatively,"['performance', 'jmeter', 'mockito', 'performance-testing', 'database-testing']",338,True,1,2
Unable to record application running on local host in Internet explorer using JMeter Test script recorder,"<p>I am trying to do record a test script using JMeter (version 4) Test Script Recorder for performance testing of my application. After configuring the proxy, The recorder is not recording my application URL running on localhost in Internet Explorer (IE 9). But other URLs are getting recorded in JMeter. I tried to record my application using Chrome which is working fine.I have unchecked the Bypass proxy server for local address in Proxy settings.</p>
",https://stackoverflow.com/questions/54305666/unable-to-record-application-running-on-local-host-in-internet-explorer-using-jm,"['jmeter', 'performance-testing']",1169,False,1,2
DAX Intermittent No Endpoints Available,"<p>Scenario:</p>

<p>We have a streaming Java application that is performing read/write requests to DynamoDB via DAX with the most recent DAX client instance. When performing both simple integration tests and performance testing we intermittently see exceptions about no endpoints being available.</p>

<pre><code>com.amazonaws.AmazonClientException: Unable to call cluster endpoint: No endpoints available
at com.amazon.dax.client.dynamodbv2.ClusterDaxClient$ClusterReadRetryHandler.check(ClusterDaxClient.java:699)
at com.amazon.dax.client.dynamodbv2.ClusterDaxClient.invoke(ClusterDaxClient.java:649)
....    
IOException: No endpoints available
at com.amazon.dax.client.cluster.Cluster.readClient(Cluster.java:680)
at com.amazon.dax.client.dynamodbv2.ClusterDaxClient$2.getClient(ClusterDaxClient.java:138)
at com.amazon.dax.client.dynamodbv2.ClusterDaxClient.invoke(ClusterDaxClient.java:631)
... 23 more
</code></pre>

<p>To clarify, intermittent meaning that some requests will be successful, then some will fail, only to have the requests once again be successful all within a single test (integration or performance). In fact, the majority of these test runs will be successful w/out ever seeing this error but it does occasionally happen as described in the last sentence.</p>

<p>The dev instance of the DAX and DynamoDB are standing instances, meaning that running these tests does not re-infrastructure/deploy either the DAX or DynamoDB instances for a clean slate (they are left up and running between test runs).</p>

<p>Question:</p>

<p>Has anyone else seen a similar pattern of this intermittent behavior at small scale tests (e.g. integration/e2e testing) or larger scale testing (e.g. performance testing) with DAX? I know that this has been discussed on other tickets for scenarios where people cannot ever connect to DAX, but there has been no issues or scenarios that I have seen identifying intermittent behavior like this.</p>
",https://stackoverflow.com/questions/55521984/dax-intermittent-no-endpoints-available,"['java', 'amazon-dynamodb', 'amazon-dynamodb-dax']",928,False,7,0
Is there a way to find response times of search results in Load Testing?,"<p>I am trying to do some performance testing for our application. 
My task is to do some load testing for a search page. Have to get the response times of the search results. ex: I searched with firstname and lastname and I get results in the grid. I have to get the response time, in how many seconds did i get the results ? </p>

<p>Can some please direct me on how to do ? </p>
",https://stackoverflow.com/questions/54133132/is-there-a-way-to-find-response-times-of-search-results-in-load-testing,"['performance', 'testing', 'load', 'loadrunner']",56,False,0,2
Jmeter response is having HTML code along with Java scripts. How to get complete HTML view source(after java script execution) through Jmeter,"<p>I am trying to do performance testing of Web application. while doing this, i am sending one http get request which is giving response having in html format(</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html lang=""en-US"" class=""UIServiceContext ""  &gt;
&lt;head&gt;.....)
</code></pre>

<p>this html is having lot of java script function and asd. But my need is to get
complete html view source after java scripts execution through jmeter which i am getting through web application while working on browser( through fiddler with same get request) . please help.</p>
",https://stackoverflow.com/questions/58539721/jmeter-response-is-having-html-code-along-with-java-scripts-how-to-get-complete,['jmeter'],557,True,0,1
How to give multiple objects in json input using jmeter for testing,"<p>I'm trying to give multiple Json object input to jmeter for performance testing. My input body is something like this:</p>

<pre><code>{
 ""ABC"": {
        },
 ""XYZ"": [
    {
      ""PId"": 13,
      ""CIds"": [
       1234
              ]
    },
    {
      ""PId"": 14,
      ""CIds"": [
       1234
              ]     
    }
        ]
}
</code></pre>

<p>What would be best way to give such multiple inputs 1 million times where my PId can range from 1 to 1 million or more?</p>

<p>I have tried simple copy paste input values till 100 or 1000 but I'm trying to figure out a better way to give input for such 1 million records.</p>
",https://stackoverflow.com/questions/56450036/how-to-give-multiple-objects-in-json-input-using-jmeter-for-testing,"['json', 'rest', 'testing', 'input', 'jmeter']",77,False,0,0
How to test the performance of Clips?,"<p>I have a problem with the performance testing of Clips.What performance needs to be tested about Clips?How do I test its performance?And how do I design some typical rules and data to test the performance of Clips.</p>

<p>I have been learning  Clips programming for some time.And I can write some rules. I have used a few rules to test the reasoning time of Clips/6.30,But I don't think it's convincing</p>
",https://stackoverflow.com/questions/56617141/how-to-test-the-performance-of-clips,['clips'],338,False,-1,1
Automating Speed Tests on Merging Pull Requests,"<p>I am trying to track the page speed of certain urls of my project on each merging of the pull requests in Github and output the results of report in HTML format or JSON file. On the CI side, I am going to use Jenkins. I have no prior knowledge on performance testing. I want to know about the best approach to automate the speed test, integrate it with Jenkins and output the result. </p>

<p>On researching over the internet, I noted few possibilities which could be done to achieve this goal. </p>

<ol>
<li>Installing ""Page Speed Insights (psi) node package"", creating the script that uses the psi for fetching the speed of certain pages, generating the test reports for use with Jenkins. (Referred to <a href=""https://www.oxagile.com/article/psi-automation/"" rel=""nofollow noreferrer"">this</a> link by Oxagile)</li>
<li>Performance testing using Jmeter and integrating with Jenkins. </li>
<li>Performance analysis using LightHouse. (Referred to <a href=""https://kitconcept.com/blog/continuous-performance-analysis-with-lighthouse-and-jenkins/"" rel=""nofollow noreferrer"">this</a> link by Timo Stollenwerk)</li>
</ol>

<p>Choosing the right approach is very important. Therefore, I would be very grateful if anyone can suggest me different approaches and thus the right one to use(with examples if possible)in my case to achieve this goal.</p>

<p>Thank you in advance. </p>
",https://stackoverflow.com/questions/56874777/automating-speed-tests-on-merging-pull-requests,"['jenkins', 'automation', 'jmeter', 'performance-testing', 'pagespeed-insights']",435,True,0,1
CannotResolveClassException: com.blazemeter.jmeter.RandomCSVDataSetConfig,"<p>I am building a maven project to execute performance testing for multiple web services, and this is following to <a href=""https://github.com/jmeter-maven-plugin/jmeter-maven-plugin"" rel=""nofollow noreferrer"">jmeter-maven-plugin</a>.</p>

<p>However I ran into an issue which is basically that maven can not find the <code>RandomCSVDataSetConfig</code> class. in which I included in my pom file.</p>

<p>Please share you insight if you have any idea why this is happening.</p>

<p>pom.xml</p>

<pre><code>&lt;?xml version=""1.0"" encoding=""UTF-8""?&gt;
&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;automation.ares&lt;/groupId&gt;
    &lt;artifactId&gt;vu-ares&lt;/artifactId&gt;
    &lt;version&gt;1.0.0-SNAPSHOT&lt;/version&gt;

    &lt;properties&gt;
        &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
        &lt;java.version&gt;1.8&lt;/java.version&gt;
        &lt;maven.compiler.source&gt;1.8&lt;/maven.compiler.source&gt;
        &lt;maven.compiler.target&gt;1.8&lt;/maven.compiler.target&gt;
    &lt;/properties&gt;

    &lt;dependencies&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;com.blazemeter&lt;/groupId&gt;
            &lt;artifactId&gt;jmeter-plugins-random-csv-data-set&lt;/artifactId&gt;
            &lt;version&gt;0.6&lt;/version&gt;
        &lt;/dependency&gt;
    &lt;/dependencies&gt;

    &lt;build&gt;
        &lt;plugins&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;com.lazerycode.jmeter&lt;/groupId&gt;
                &lt;artifactId&gt;jmeter-maven-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.8.6&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;!--specifying this will make the build fail if the fail percentage is more than that.--&gt;
                    &lt;errorRateThresholdInPercent&gt;10&lt;/errorRateThresholdInPercent&gt;
                    &lt;testResultsTimestamp&gt;false&lt;/testResultsTimestamp&gt;
                    &lt;propertiesJMeter&gt;
                        &lt;BUILD_TAG&gt;${project.version}&lt;/BUILD_TAG&gt;
                        &lt;!--Specifying the number of threads passed to the test plan--&gt;
                        &lt;threads&gt;7&lt;/threads&gt;
                        &lt;duration&gt;30&lt;/duration&gt;
                    &lt;/propertiesJMeter&gt;
                    &lt;jmeterExtensions&gt;
                        &lt;artifact&gt;kg.apc:jmeter-plugins-casutg:2.6&lt;/artifact&gt;
                    &lt;/jmeterExtensions&gt;
                    &lt;excludedArtifacts&gt;
                        &lt;exclusion&gt;org.slf4j:slf4j-nop&lt;/exclusion&gt;
                        &lt;exclusion&gt;avalon-framework:*&lt;/exclusion&gt;
                        &lt;exclusion&gt;org.apache.tika:*&lt;/exclusion&gt;
                        &lt;exclusion&gt;excalibur-datasource:excalibur-datasource&lt;/exclusion&gt;
                        &lt;exclusion&gt;excalibur-instrument:excalibur-instrument&lt;/exclusion&gt;
                        &lt;exclusion&gt;excalibur-logger:excalibur-logger&lt;/exclusion&gt;
                        &lt;exclusion&gt;excalibur-pool:*&lt;/exclusion&gt;
                        &lt;exclusion&gt;org.beanshell:bsh:jar:2.0b5&lt;/exclusion&gt;
                    &lt;/excludedArtifacts&gt;
                    &lt;jMeterProcessJVMSettings&gt;
                        &lt;arguments&gt;
                            &lt;argument&gt;-XX:MaxMetaspaceSize=256m&lt;/argument&gt;
                            &lt;argument&gt;-Xmx1024m&lt;/argument&gt;
                            &lt;argument&gt;-Xms1024m&lt;/argument&gt;
                        &lt;/arguments&gt;
                    &lt;/jMeterProcessJVMSettings&gt;
                &lt;/configuration&gt;
                &lt;executions&gt;
                    &lt;execution&gt;
                        &lt;id&gt;jmeter-tests&lt;/id&gt;
                        &lt;phase&gt;verify&lt;/phase&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;jmeter&lt;/goal&gt;
                        &lt;/goals&gt;
                    &lt;/execution&gt;
                    &lt;execution&gt;
                        &lt;id&gt;check-results&lt;/id&gt;
                        &lt;phase&gt;verify&lt;/phase&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;results&lt;/goal&gt;
                        &lt;/goals&gt;
                    &lt;/execution&gt;
                &lt;/executions&gt;
            &lt;/plugin&gt;
        &lt;/plugins&gt;
    &lt;/build&gt;
&lt;/project&gt;
</code></pre>

<p>the logs looks like:</p>

<pre><code>2019-02-21 10:56:50,616 INFO o.a.j.u.JMeterUtils: Setting Locale to en_US
2019-02-21 10:56:50,647 INFO o.a.j.JMeter: Loading user properties from: user.properties
2019-02-21 10:56:50,648 INFO o.a.j.JMeter: Loading system properties from: system.properties
2019-02-21 10:56:50,652 INFO o.a.j.JMeter: Copyright (c) 1998-2019 The Apache Software Foundation
2019-02-21 10:56:50,653 INFO o.a.j.JMeter: Version 5.1 r1853635
2019-02-21 10:56:50,653 INFO o.a.j.JMeter: java.version=1.8.0_191
2019-02-21 10:56:50,653 INFO o.a.j.JMeter: java.vm.name=Java HotSpot(TM) 64-Bit Server VM
2019-02-21 10:56:50,653 INFO o.a.j.JMeter: os.name=Mac OS X
2019-02-21 10:56:50,653 INFO o.a.j.JMeter: os.arch=x86_64
2019-02-21 10:56:50,653 INFO o.a.j.JMeter: os.version=10.13.6
2019-02-21 10:56:50,653 INFO o.a.j.JMeter: file.encoding=UTF-8
2019-02-21 10:56:50,653 INFO o.a.j.JMeter: java.awt.headless=true
2019-02-21 10:56:50,653 INFO o.a.j.JMeter: Max memory     =1029177344
2019-02-21 10:56:50,653 INFO o.a.j.JMeter: Available Processors =8
2019-02-21 10:56:50,657 INFO o.a.j.JMeter: Default Locale=English (United States)
2019-02-21 10:56:50,657 INFO o.a.j.JMeter: JMeter  Locale=English (United States)
2019-02-21 10:56:50,657 INFO o.a.j.JMeter: JMeterHome=/Users/xxxx/bitbucket/vuares/target/jmeter
2019-02-21 10:56:50,657 INFO o.a.j.JMeter: user.dir  =/Users/xxxx/bitbucket/vuares/target/jmeter/bin
2019-02-21 10:56:50,657 INFO o.a.j.JMeter: PWD       =/Users/xxxx/bitbucket/vuares/target/jmeter/bin
2019-02-21 10:56:50,664 INFO o.a.j.JMeter: IP: 10.66.181.102 Name: vuitm08phtd7.local FullName: 10.66.181.102
2019-02-21 10:56:50,667 INFO o.a.j.JMeter: Setting property 'jmeter.reportgenerator.outputdir' to:'/Users/xxxx/bitbucket/vuares/target/jmeter/reports/StudentServiceK8sTestPlan'
2019-02-21 10:56:50,669 INFO o.a.j.s.FileServer: Default base='/Users/xxxx/bitbucket/vuares/target/jmeter/bin'
2019-02-21 10:56:50,674 INFO o.a.j.s.FileServer: Set new base='/Users/xxxx/bitbucket/vuares/target/jmeter/testFiles'
2019-02-21 10:56:50,824 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2019-02-21 10:56:50,845 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8
2019-02-21 10:56:50,850 INFO o.a.j.s.SaveService: Using SaveService properties version 5.0
2019-02-21 10:56:50,856 INFO o.a.j.s.SaveService: Loading file: /Users/xxxx/bitbucket/vuares/target/jmeter/testFiles/StudentServiceK8sTestPlan.jmx
2019-02-21 10:56:50,931 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2019-02-21 10:56:50,931 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2019-02-21 10:56:50,931 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2019-02-21 10:56:50,932 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2019-02-21 10:56:50,932 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2019-02-21 10:56:50,932 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
2019-02-21 10:56:50,948 ERROR o.a.j.JMeter: Error in NonGUIDriver
java.lang.IllegalArgumentException: Problem loading XML from:'/Users/xxxx/bitbucket/vuares/target/jmeter/testFiles/StudentServiceK8sTestPlan.jmx'. 
Cause:
CannotResolveClassException: com.blazemeter.jmeter.RandomCSVDataSetConfig

 Detail:com.thoughtworks.xstream.converters.ConversionException: 
---- Debugging information ----
cause-exception     : com.thoughtworks.xstream.converters.ConversionException
cause-message       : 
first-jmeter-class  : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
class               : org.apache.jmeter.save.ScriptWrapper
required-type       : org.apache.jmeter.save.ScriptWrapper
converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
path                : /jmeterTestPlan/hashTree/hashTree/com.blazemeter.jmeter.RandomCSVDataSetConfig
line number         : 360
version             : 5.1 r1853635
-------------------------------
    at org.apache.jmeter.save.SaveService.readTree(SaveService.java:459) ~[ApacheJMeter_core-5.1.jar:5.1 r1853635]
    at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:432) ~[ApacheJMeter_core-5.1.jar:5.1 r1853635]
    at org.apache.jmeter.JMeter.runNonGui(JMeter.java:999) [ApacheJMeter_core-5.1.jar:5.1 r1853635]
    at org.apache.jmeter.JMeter.startNonGui(JMeter.java:986) [ApacheJMeter_core-5.1.jar:5.1 r1853635]
    at org.apache.jmeter.JMeter.start(JMeter.java:563) [ApacheJMeter_core-5.1.jar:5.1 r1853635]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_191]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_191]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_191]
    at org.apache.jmeter.NewDriver.main(NewDriver.java:253) [ApacheJMeter-5.1.jar:5.1 r1853635]
Caused by: com.thoughtworks.xstream.converters.ConversionException: 
---- Debugging information ----
cause-exception     : com.thoughtworks.xstream.converters.ConversionException
cause-message       : 
first-jmeter-class  : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
class               : org.apache.jmeter.save.ScriptWrapper
required-type       : org.apache.jmeter.save.ScriptWrapper
converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
path                : /jmeterTestPlan/hashTree/hashTree/com.blazemeter.jmeter.RandomCSVDataSetConfig
line number         : 360
version             : 5.1 r1853635
-------------------------------
    at org.apache.jmeter.save.ScriptWrapperConverter.createConversionException(ScriptWrapperConverter.java:102) ~[ApacheJMeter_core-5.1.jar:5.1 r1853635]
    at org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(ScriptWrapperConverter.java:96) ~[ApacheJMeter_core-5.1.jar:5.1 r1853635]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1487) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1467) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1338) ~[xstream-1.4.11.jar:1.4.11]
    at org.apache.jmeter.save.SaveService.readTree(SaveService.java:449) ~[ApacheJMeter_core-5.1.jar:5.1 r1853635]
    ... 9 more
Caused by: com.thoughtworks.xstream.converters.ConversionException: 
---- Debugging information ----
cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message       : com.blazemeter.jmeter.RandomCSVDataSetConfig
class               : org.apache.jorphan.collections.ListedHashTree
required-type       : org.apache.jorphan.collections.ListedHashTree
converter-type      : org.apache.jmeter.save.converters.HashTreeConverter
path                : /jmeterTestPlan/hashTree/hashTree/com.blazemeter.jmeter.RandomCSVDataSetConfig
line number         : 360
-------------------------------
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:77) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117) ~[xstream-1.4.11.jar:1.4.11]
    at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67) ~[ApacheJMeter_core-5.1.jar:5.1 r1853635]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
    at org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(ScriptWrapperConverter.java:94) ~[ApacheJMeter_core-5.1.jar:5.1 r1853635]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1487) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1467) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1338) ~[xstream-1.4.11.jar:1.4.11]
    at org.apache.jmeter.save.SaveService.readTree(SaveService.java:449) ~[ApacheJMeter_core-5.1.jar:5.1 r1853635]
    ... 9 more
Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: com.blazemeter.jmeter.RandomCSVDataSetConfig
    at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:81) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
    at org.apache.jmeter.save.SaveService$XStreamWrapper$1.realClass(SaveService.java:98) ~[ApacheJMeter_core-5.1.jar:5.1 r1853635]
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:131) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117) ~[xstream-1.4.11.jar:1.4.11]
    at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67) ~[ApacheJMeter_core-5.1.jar:5.1 r1853635]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117) ~[xstream-1.4.11.jar:1.4.11]
    at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67) ~[ApacheJMeter_core-5.1.jar:5.1 r1853635]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
    at org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(ScriptWrapperConverter.java:94) ~[ApacheJMeter_core-5.1.jar:5.1 r1853635]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1487) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1467) ~[xstream-1.4.11.jar:1.4.11]
    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1338) ~[xstream-1.4.11.jar:1.4.11]
    at org.apache.jmeter.save.SaveService.readTree(SaveService.java:449) ~[ApacheJMeter_core-5.1.jar:5.1 r1853635]
    ... 9 more
</code></pre>

<p><strong>UPDATE:</strong></p>

<p>I found a way to do it using the documentation for the plugin <a href=""https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/wiki/Adding-Excluding-libraries-to-from-the-classpath"" rel=""nofollow noreferrer"">here</a></p>
",https://stackoverflow.com/questions/54812726/cannotresolveclassexception-com-blazemeter-jmeter-randomcsvdatasetconfig,"['java', 'maven', 'jmeter', 'jmeter-maven-plugin']",7821,True,1,1
Is there a way in Karate to call a Feature multiple time using karate.repeat or any other way?,"<p>I am trying to test a scenario where I need to post a request 100 times (this is not a performance testing). I could use the table functionality by setting up each 100 rows, where each row represent a request. However this will be long tedious. </p>

<p>So I found Karate.repeat and was hoping this could solve the problem. I'm just wondering if there is another way to achieve my goal.</p>

<pre><code>* def users = function(i){ call read(""classpath:v1/createCustomer.feature"") { ""firstName"": '#(firstName)', ""lastName"": '#(lastName)' }
* def usersResult = karate.repeat(2, users )
* match usersResult [*].responseStatus == [204, 204]
</code></pre>

<p>I expect the feature to be called twice.</p>
",https://stackoverflow.com/questions/57273444/is-there-a-way-in-karate-to-call-a-feature-multiple-time-using-karate-repeat-or,['karate'],2959,True,1,1
Thingsboard - MQTT vs HTTP,"<p>I am using HTTP and MQTT protocols to send data in JSON format from my local machine to a server in the Cloud.The server has Thingsboard installed. I am sending data to 256 Thingsboard devices. 
While doing performance testing for HTTP and MQTT, I found that HTTP took lesser time to send the data whereas I had heard that MQTT is a faster protocol.
So my question was - under what conditions is MQTT a faster protocol than HTTP?</p>
",https://stackoverflow.com/questions/57284746/thingsboard-mqtt-vs-http,['thingsboard'],415,True,1,2
SignalR does not connect when i record it with JMeter,"<p>Hi I am doing performance testing over a application but i cannot replicate the signalR connection what i do is call to the negociate api</p>

<p>/signalr/negociate getting the response as expected with the connection token </p>

<pre><code>""Url"":""/MyApp/signalr"",""ConnectionToken"":""gM8NUnZtDg6oYU3Y9sfZgnIDlInyvspePwDuRdmqZlslRgkPIp8w/c0FZzllhwiUdZlOmPkyBd2DGU76ldt3v1B25lQlTeg1jETBWRkqaXD0QGpeNJLl3KqvnJ3v4YQ2"",""ConnectionId"":""e1adc41d-ad0d-439f-858c-1fa47bb59083"",""KeepAliveTimeout"":20.0,""DisconnectTimeout"":30.0,""ConnectionTimeout"":110.0,""TryWebSockets"":true,""ProtocolVersion"":""1.5"",""TransportConnectTimeout"":5.0,""LongPollDelay"":0.0}
</code></pre>

<p>Then i extract with JMeter that token (and i use it into the connect call)</p>

<pre><code>GET https://myHost/myApp/signalr/connect?transport=webSockets&amp;clientProtocol=1.5&amp;connectionToken=gM8NUnZtDg6oYU3Y9sfZgnIDlInyvspePwDuRdmqZlslRgkPIp8w%2Fc0FZzllhwiUdZlOmPkyBd2DGU76ldt3v1B25lQlTeg1jETBWRkqaXD0QGpeNJLl3KqvnJ3v4YQ2&amp;connectionData=%5B%7B%22name%22%3A%22workhub%22%7D%5D&amp;tid=2
</code></pre>

<p>But the response is always a 400 Bad Request </p>

<p>Not a valid web socket request.</p>

<p>Any idea why that call fail?</p>

<p>Thank you very much </p>
",https://stackoverflow.com/questions/58843071/signalr-does-not-connect-when-i-record-it-with-jmeter,"['jmeter', 'signalr', 'performance-testing']",409,False,0,1
Application built on reactive WebClient is getting crashed in PROD,"<p>I have developed one service using spring boot 2.x and reactive webclient.
Due to some business requirement I had to block the webClient call.
During performance testing I observe that CPU usage is going beyond 100% and application is getting crashed, I really appreciate your support to fix this issue.</p>

<p>I tried excluded Netty dependency and tried with Jetty but it doesn't help me out. Eventually I used basic configuration for httpClient and webclient from Netty as below.</p>

<pre class=""lang-java prettyprint-override""><code>HttpClient httpClient = HttpClient.create()
.tcpConfiguration(tcpClient -&gt; tcpClient.option(ChannelOption.CONNECT_TIMEOUT_MILLIS, connectionTimeout)
.doOnConnected(connection -&gt; connection.addHandlerLast(new ReadTimeoutHandler(readTimeout, TimeUnit.MILLISECONDS))).proxy(proxy -&gt; proxy.type(ProxyProvider.Proxy.HTTP).host(proxyHost).port(proxyPort)));


ReactorClientHttpConnector connector = new ReactorClientHttpConnector(httpClient);


WebClient webClient = WebClient.builder().clientConnector(connector).build()
</code></pre>
",https://stackoverflow.com/questions/57500022/application-built-on-reactive-webclient-is-getting-crashed-in-prod,"['java', 'spring', 'spring-boot', 'spring-webflux', 'reactor-netty']",255,False,0,0
how to time_bucket by month with timescaleDB,"<p>As of this question, I know there is an <a href=""https://github.com/timescale/timescaledb/issues/414"" rel=""nofollow noreferrer"">open feature request</a> to add month/year to the time_bucket function.</p>

<p>My question is, what is the best way to accomplish this now.  This issue mentions <code>date_trunc</code></p>

<p>Here are the two approaches:</p>

<h2>timescaledb's time_bucket</h2>

<pre class=""lang-sql prettyprint-override""><code>SELECT time_bucket('1 week', timestamp) AS ""one_week"", 
       count(*) AS ""count"", 
       first(value, timestamp) AS ""first"", 
       last(value, timestamp) AS ""last"" 
FROM ""event"" ""event"" 
WHERE event.""signalId"" = $1 
GROUP BY one_week 
ORDER BY one_week DESC
</code></pre>

<h2>postgres date_trunc</h2>

<pre class=""lang-sql prettyprint-override""><code>SELECT date_trunc('month', timestamp) AS ""one_month"", 
       count(*) AS ""count"", 
       first(value, timestamp) AS ""first"", 
       last(value, timestamp) AS ""last"" 
FROM ""event"" ""event"" 
WHERE event.""signalId"" = $1 
GROUP BY one_month 
ORDER BY one_month DESC
</code></pre>

<p>Both of those work as expected (though I have not done any performance testing).  </p>

<p>I would like to acheive:</p>

<ul>
<li>(a) gapfill (like timescaledb time_bucket_gapfill, and</li>
<li>(b) last value carried forward (locf)</li>
</ul>

<p>What is the best way to achieve that?</p>

<p>Thanks!</p>
",https://stackoverflow.com/questions/57040614/how-to-time-bucket-by-month-with-timescaledb,"['postgresql', 'typeorm', 'timescaledb']",3767,True,4,1
How to implement multithreading in groovy?,"<p>I want to create 10 million customers for performance testing. I am running a basic groovy script for creating a customer with only mandatory attributes. Then I am running the script inside a loop.<br>
How can I improve the performance of this groovy script?<br>
I can't find the corresponding multi-threading options that are available in impex import.<br><br>
Is there a better way of creating 10 million customers in Hybris?</p>

<h3>Edit 1:</h3>

<p>Sample groovy script for generating customers with different id's.</p>

<pre><code>    import com.google.common.collect.ImmutableSet
    import de.hybris.platform.core.model.user.AddressModel
    import de.hybris.platform.core.model.user.CustomerModel

    //Setting only mandatory attributes
    for(int i=0; i&lt;100000; i++) {
        customerModel = new CustomerModel()
        id = new Random().nextInt(100000000)
        uid = 'TestCustomer_'+id
        customerModel.setUid(uid)
        name = 'Test Customer Name_'+id
        customerModel.setName(name)

        addressModel = new AddressModel()
        addressModel.setOwner(customerModel)
        customerModel.setDefaultPaymentAddress(addressModel)
        customerModel.setDefaultShipmentAddress(addressModel)

        try{
        modelService.save(customerModel)
        }catch(Exception e){
        println('Creation of customer with id = '+uid+' and amway account = '+code+' failed with error : '+e.getMessage())
        }
    }
</code></pre>
",https://stackoverflow.com/questions/55489995/how-to-implement-multithreading-in-groovy,"['multithreading', 'performance', 'groovy', 'performance-testing', 'sap-commerce-cloud']",1514,True,0,2
List of --js-flags that can be used for Chrome on Windows?,"<p>Does anyone have a good reference for all of the --js-flags="""" that can be used in Chrome at the command line, for Windows?</p>

<p>For performance testing, I'm currently using: 
chrome.exe --no-sandbox --js-flags=""--trace-deopt --trace-opt""</p>

<p>But, I'd like to know if there are other flags that will help illuminate a problem I'm having.</p>

<p>Specifically, other's have referenced --trace-bailout, but that one doesn't seem to work; it's unrecognized by Chrome; I'd love to see which functions aren't being optimized by Turbofan.</p>
",https://stackoverflow.com/questions/59462637/list-of-js-flags-that-can-be-used-for-chrome-on-windows,"['javascript', 'windows', 'google-chrome', 'v8']",5307,True,2,2
continuous UDP request to the server not work as expected,"<p>Currently I am working on a performance testing tool and I have to develop a UDP request testing plugin for load testing. I tried to send continuous large number of  request to monitor the maximum load that server could handle. <strong>My goal is to make the application not responsive by sending maximum number of requests but i am not getting the expected result</strong>. My testing application is up and running in my local environment. Is it the fault of the implementation or the configurations. Please help.</p>

<pre><code>//UDPRequests.groovy
package com.udp.testsubject;

import java.security.SecureRandom;

public class UDPRequests {
    static void main(String [] args) {

        DatagramSocket socket = null;
        InetAddress address = null;
        byte[] buf = new byte[65507];
        SecureRandom random = new SecureRandom();

        //following paramters will get from a property file
        String ipAddr = '127.0.0.1';
        int portDst = 4445;
        int numberOfRequests = 1200000;

        socket = new DatagramSocket();
        address = InetAddress.getByName(ipAddr);
        random.nextBytes(buf);
        DatagramPacket packet = new DatagramPacket(buf, buf.length, address, portDst);

        try {
            printf(""[*] Start send requests to %s:%d\n"", ipAddr, portDst);
            int count=0;
            while (count &lt; numberOfRequests) {
                count++;
                socket.send(packet);
            }
        } catch (IOException e) {
            e.printStackTrace();
        }

        socket.close();
    }
}
</code></pre>
",https://stackoverflow.com/questions/56777446/continuous-udp-request-to-the-server-not-work-as-expected,"['java', 'groovy', 'udp']",34,False,0,0
Rest Api load tesing Zerocode tdd giving error message,"<p>I'm automating my rest api and searching for a performance testing framework to use with my junit5. I came across zerocode tdd but it is not helping it's giving error and all the tests are falling under failure. My test method is proper and works when it invoked normally by junit jupiter. When I use zerocodeLoadRunner for the same thing it is not working.</p>

<pre><code>    import org.jsmart.zerocode.core.domain.LoadWith;
    import org.jsmart.zerocode.core.domain.TestMapping;
    import org.jsmart.zerocode.core.runner.parallel.ZeroCodeLoadRunner;   
    import org.junit.runner.RunWith;

    @LoadWith(""loadConfig.properties"")

    @TestMapping(testClass = MyTest.class, testMethod = ""myMethod"")

    @RunWith(ZeroCodeLoadRunner.class)

    public class LoadTest  {

    }
</code></pre>

<p>The error message I am getting is as follows.</p>

<pre><code>    2019-09-09 12:35:57,191 [main] ERROR org.jsmart.zerocode.core.runner.parallel.ZeroCodeLoadRunner - myPackage.LoadTest.myMethod Failed. See target/logs -or- junit granular failure report(csv) -or- fuzzy search and filter report(html) for details
</code></pre>

<p>The dependency used for this is as follows </p>

<pre><code>    &lt;dependency&gt;
        &lt;groupId&gt;org.jsmart&lt;/groupId&gt;
        &lt;artifactId&gt;zerocode-tdd-jupiter&lt;/artifactId&gt;
        &lt;version&gt;1.3.8&lt;/version&gt;
    &lt;/dependency&gt;
</code></pre>

<p>I don't want to use any testing tool so I'm going with this.</p>
",https://stackoverflow.com/questions/57849469/rest-api-load-tesing-zerocode-tdd-giving-error-message,"['java', 'junit5', 'rest-assured', 'zerocode']",979,True,1,2
How to send the dynamic values from current request body,"<p>I am currently using Jmeter tool for my application performance testing. I have situation here and i tried in many ways. As i am new, i didnt get solution.</p>

<p>Could you please help me.</p>

<p>Situation:</p>

<p>Agent1 receiving call when customer dial to a channel. Jmeter recorded the below as request.</p>

<pre><code>5|0|21|https://d50.eng.domain.com:1050/newgenmashup/v1/mashup/|1D4E8B05B21570719C10066C4E15360C|com.contactual.client.SFService|triggerEvent|java.lang.String|com.contactual.client.model.GenericXmlData|java.util.TreeMap|tenant~~pagent2|com.contactual.client.model.GenericXmlData/2918165779||353-726-6515|no|offered|PHONE|in|563|PavanInboundQueue|1|465| &lt;UserData&gt;
&lt;param name = ""@pri""&gt;&lt;![CDATA[100]]&gt;&lt;/param&gt;
&lt;param name=""callingName""&gt;&lt;![CDATA[ 1234567366]]&gt;&lt;/param&gt;
&lt;param name=""cha""&gt;&lt;![CDATA[3537266515]]&gt;&lt;/param&gt;
&lt;param name=""channelName""&gt;&lt;![CDATA[353-726-6515]]&gt;&lt;/param&gt;
&lt;param name=""cnt""&gt;&lt;![CDATA[0]]&gt;&lt;/param&gt;
&lt;param name=""con""&gt;&lt;![CDATA[0]]&gt;&lt;/param&gt;
&lt;param name=""med""&gt;&lt;![CDATA[T]]&gt;&lt;/param&gt;
&lt;param name=""otim""&gt;&lt;![CDATA[1550070210]]&gt;&lt;/param&gt;
&lt;param name=""pho""&gt;&lt;![CDATA[ 1234567366]]&gt;&lt;/param&gt;
&lt;param name=""phoneNum""&gt;&lt;![CDATA[ 1234567366]]&gt;&lt;/param&gt;
&lt;param name=""priority""&gt;&lt;![CDATA[50]]&gt;&lt;/param&gt;
&lt;param name=""que""&gt;&lt;![CDATA[vcclondon~~queue~~phone~~563]]&gt;&lt;/param&gt;
&lt;param name=""queueDirection""&gt;&lt;![CDATA[in]]&gt;&lt;/param&gt;
&lt;param name=""tenantName""&gt;&lt;![CDATA[vcclondon]]&gt;&lt;/param&gt;
&lt;param name=""tenantRecServer""&gt;&lt;![CDATA[d50]]&gt;&lt;/param&gt;
&lt;param name=""tenantSkillName""&gt;&lt;![CDATA[PavanInboundQueue]]&gt;&lt;/param&gt;
&lt;param name=""tim""&gt;&lt;![CDATA[1550070210]]&gt;&lt;/param&gt;
&lt;param name=""tok""&gt;&lt;![CDATA[465]]&gt;&lt;/param&gt;
&lt;param name=""queuedTime""&gt;&lt;![CDATA[0]]&gt;&lt;/param&gt;
&lt;param name=""ani""&gt;&lt;![CDATA[ 1234567366]]&gt;&lt;/param&gt;
&lt;param name=""interaction_guid""&gt;&lt;![CDATA[int-168e76257e3-r5tEbRqwNR7hBd7jmuvwnsxG9-phone-00-vcclondon]]&gt;&lt;/param&gt;
&lt;param name=""transaction_id""&gt;&lt;![CDATA[465]]&gt;&lt;/param&gt;
&lt;param name=""notes""&gt;&lt;![CDATA[]]&gt;&lt;/param&gt;
&lt;param name=""callbackTimeMs""&gt;&lt;![CDATA[]]&gt;&lt;/param&gt;
&lt;param name=""ctl_userdata""&gt;&lt;![CDATA[[doNotCallSelected\!false][donotcallSelected\!false]]]&gt;&lt;/param&gt;
&lt;/UserData&gt;|java.util.TreeMap/1575826026|1|2|3|4|3|5|6|7|8|9|0|0|0|0|10|0|0|0|10|0|11|0|12|0|13|10|0|10|1|0|0|0|14|15|16|17|18|10|10|0|19|20|21|0|0|
</code></pre>

<p>All are dynamically generated values. No values comes from previous request. I would like to store all dynamic values whenever customer call to a channel. And pass the same values dynamically to the current request only. Can you please help me to do that.</p>
",https://stackoverflow.com/questions/54810501/how-to-send-the-dynamic-values-from-current-request-body,"['groovy', 'jmeter-5.0']",33,False,1,0
How to put and execute code into Keyword with JSR223?,"<p>I try to implement this : <a href=""https://www.testautomationguru.com/jmeter-how-to-create-a-data-keyword-driven-framework-for-performance-testing/"" rel=""nofollow noreferrer"">https://www.testautomationguru.com/jmeter-how-to-create-a-data-keyword-driven-framework-for-performance-testing/</a></p>

<p>I have a <code>.csv</code> file with the test case name in the first column. So I want to run a specfic test case according to the value in the <code>.csv</code>.</p>

<pre><code>Test Plan
|--- Test Fragment
    |--- Switch Controller
         |--- Transaction Controller (TestCase1)
              |--- JSR223 Sample (TestCase1 script)   
         |--- Transaction Controller (TestCase2)
              |--- JSR223 Sample (TestCase2 script)   
         |--- Transaction Controller (TestCase3)
              |--- JSR223 Sample (TestCase3 script)
|--- Thread Group
     |--- CSV Data Set Config
     |--- Debug Sampler
     |--- ForEach Controller
          |--- Module Controller
     |--- View Result Tree
</code></pre>

<p>However if I put some code in <code>JSR223</code> into <code>Transaction Controller</code>, like <code>log.info(""TEST !"")</code> nothing is display into the console.</p>

<p>Is there a solution to execute code write into <code>JSR223</code> and display it into the console?</p>

<p>Moreover, in the <code>View Result Tree</code> I found this information: <code>testcasename=TestCase1</code>. So it seems to work but no log...</p>

<p>Thanks a lot.</p>
",https://stackoverflow.com/questions/58607992/how-to-put-and-execute-code-into-keyword-with-jsr223,"['jmeter', 'jsr223', 'console-output']",105,False,1,2
Selenium Java code integrating with Jmeter,"<p>I have 2 questions: </p>

<ol>
<li>I was able to develop selenium scripts and then export as jar file and then import in Jmeter.</li>
</ol>

<p>The whole flow worked but that's for only one request/user. if I wanna run concurrently for multiple requests/users it will return me duplicate/failed.</p>

<p>My question is where and how should I create dynamic variable to avoid that problem? </p>

<ol start=""2"">
<li>is Jmeter right tool to record the UI of single page application for performance testing? it seems like not but please answer with enough details.</li>
</ol>
",https://stackoverflow.com/questions/58783304/selenium-java-code-integrating-with-jmeter,"['selenium', 'parameters', 'jmeter', 'single-page-application', 'performance-testing']",97,False,0,1
Make few nodes in the datastax cluster slower than the others,"<p>I'm trying to do a performance testing on datastax's <a href=""https://docs.datastax.com/en/drivers/java/2.2/com/datastax/driver/core/policies/LatencyAwarePolicy.html"" rel=""nofollow noreferrer"">ChainableLoadBalancingPolicy</a> and looking for a way to pause few nodes for a while so that latency of those nodes are considered which would make my life easier to compare the results with the current situation when driver doesn't have that implementation. But apparently stop is the only one that comes as a part of DSE service which may be not be as comparing apple with apples.</p>

<p>Is there some obvious way I can achieve what I'm trying to do?</p>
",https://stackoverflow.com/questions/59146372/make-few-nodes-in-the-datastax-cluster-slower-than-the-others,"['cassandra', 'datastax-enterprise', 'datastax-java-driver']",29,True,0,1
Filter partial JSON extractor response and send it as a request,"<p>I am working on the Rest API performance testing and I'm handling the JSON responses for the requests. How to split the response partialy and send it to the next request </p>

<p>I did use the online tool for JSON extractor but nothing helped.</p>

<p>Sampler (Api) Response :
{
  ""ResponseCode"": ""200"",
  ""Response"" : ""PON CFF2345 893939"",
  ""Message"" : null
}</p>

<p>Based on the above response i used the JSON Extractor post processor and the json path expression as ($.Response)</p>

<p>Actual result : ""PON CFF2345 893939""</p>

<p>But I want to extract the value only <code>CFF2345</code> and send that value to the next sampler</p>
",https://stackoverflow.com/questions/57651834/filter-partial-json-extractor-response-and-send-it-as-a-request,"['json', 'regex', 'jmeter', 'performance-testing']",307,True,0,1
Is there a way to do cross site script (XSS) testing using JMeter,"<p>Given that JMeter is not a browser and only simulates the actions of a browser, has anyone ever attempted to do cross-site script testing using JMeter?. I was reading online some articles about how to do security testing using JMeter but I didn't come across any work elaborating any attempts to do cross-site script testing.</p>

<p>I have done performance testing using JMeter, but I can't think of any way performing an XSS test using JMeter. So would love to hear, ideas and thought in this regard, thanks.</p>
",https://stackoverflow.com/questions/56208569/is-there-a-way-to-do-cross-site-script-xss-testing-using-jmeter,"['jmeter', 'xss', 'security-testing']",305,True,0,1
Ignite: a simple group by sql query costs about 40s with 20 million pieces of data,"<h1>prepare</h1>

<ul>
<li>16 core 32 G</li>
<li>Ignite server version 2.7.5</li>
<li>sqlline version 1.3.0</li>
<li>jdk 1.8</li>
<li>data file: csv formate;size 3G,10millon peice </li>
<li>data region 15G</li>
</ul>

<pre><code>&lt;property name=""dataStorageConfiguration""&gt;
  &lt;bean class=""org.apache.ignite.configuration.DataStorageConfiguration""&gt;
    &lt;!-- Redefining the default region's settings --&gt;
    &lt;property name=""defaultDataRegionConfiguration""&gt;
      &lt;bean class=""org.apache.ignite.configuration.DataRegionConfiguration""&gt;
        &lt;property name=""name"" value=""Default_Region""/&gt;
        &lt;property name=""maxSize"" value=""#{15L * 1024 * 1024 * 1024}""/&gt;
      &lt;/bean&gt;
    &lt;/property&gt;
  &lt;/bean&gt;
&lt;/property&gt;
</code></pre>

<h1>load data</h1>

<ol>
<li>create table 'test'</li>
<li>load data from data.csv into table test</li>
</ol>

<h1>execute sql</h1>

<pre><code>SELECT division_code            AS division_code,
       sum(num)                 AS num,
       sum(amount)              AS amount
FROM test
GROUP BY division_code
</code></pre>

<p>it costs 47.089 seconds</p>

<p>then add index on division_code field</p>

<p><code>CREATE INDEX division_code ON test (division_code);</code></p>

<p>it costs 47.844 seconds</p>

<p>use explan </p>

<pre><code>SELECT
    A__Z0.DIVISION_CODE AS __C0_0,
    SUM(A__Z0.NUM) AS __C0_1,
    SUM(A__Z0.AMOUNT) AS __C0_2
FROM PUBLIC.TEST A__Z0
    /* PUBLIC.IDX_DIVISION_CODE */
GROUP BY A__Z0.DIVISION_CODE
/* group sorted */

SELECT
    __C0_0 AS DIVISION_CODE,
    CAST(CAST(SUM(__C0_1) AS DOUBLE) AS DOUBLE) AS NUM,
    CAST(CAST(SUM(__C0_2) AS DOUBLE) AS DOUBLE) AS AMOUNT
FROM PUBLIC.__T0
    /* PUBLIC.""merge_scan"" */
GROUP BY __C0_0
</code></pre>

<p>using gcviewer parse the gc.log :</p>

<p>when execute preceding group by sql ,total pause is 0.2s, never have full gc</p>

<p>Has anyone done ignite performance testing, should i turn on some switch? 
Thanks in advance</p>
",https://stackoverflow.com/questions/57971096/ignite-a-simple-group-by-sql-query-costs-about-40s-with-20-million-pieces-of-da,"['sql', 'ignite']",348,False,0,1
How to use Maven profiles in Jmeter,"<p>I have different environments like prod,local,dev and QA to do performance testing. Based on the environment I want to change the threads,loopcount and domain name values. By using Jmeter properties I am able to change the values like below</p>

<p><strong><em>mvn process-resources jmeter:jmeter jmeter-analysis:analyze -Dthreads=30 -DloopCount=30 -DdomainName=mydomainname</em></strong> </p>

<p>But I want to change this values by using <strong>maven profiles</strong>. could you please help me on it.I spent lot of time but I didn't get any clue how to use profiles in Jmeter.</p>
",https://stackoverflow.com/questions/59361289/how-to-use-maven-profiles-in-jmeter,"['java', 'maven', 'jmeter']",511,True,0,1
"setState() vs notifyListeners(), which one is more efficient?","<p>I always aim to make my widgets <code>Stateless</code> instead <code>Stateful</code> for performance benefits. In some cases(updating the <code>BottomNavigationBar</code> index e.g.) <code>notifyListeners()</code> can provide identical functionality of the <code>setState()</code>.</p>

<p>At first, I think <code>notifyListener()</code> is lower level, more fundemantal function comparing to <code>setState()</code>, so it should be more efficient. Because <code>setState()</code> method may triggers too many higher level <code>framework</code> methods, so it may spends more CPU power.</p>

<p>But it's hard to be sure without making a proper and detailed performance testing. So what is the answer?</p>

<p>Edit: Also, in some cases, <code>notifyListeners()</code> behaves exactly like <code>setState()</code>. For example, I have <code>Text</code> widget inside a <code>StatelessWidget</code> that holds a <code>Random</code> value and when I notify the an unrelated value inside the Class, the <code>Text</code> widget is also getting update. So, what is the difference?</p>
",https://stackoverflow.com/questions/56932355/setstate-vs-notifylisteners-which-one-is-more-efficient,"['flutter', 'dart']",6134,True,10,1
JMeter - Get header value and write in a log file,"<p>I am doing API REST Performance testing. For each API call, I have to send a unique Transaction and request ID in headers.</p>

<p>I use <code>${__UUID()}</code> in headers, and it's working fine. </p>

<p>To track the transaction id in server logs, I want to print that <code>function( ${__UUID()})</code> generated value in a log file with API name. For that, I have tried many ways, but those are very complicated and messy. Without adding a preprocessor can we log the value of the transaction id value from the request header? </p>

<p>I would be grateful if you throw some light on this.</p>
",https://stackoverflow.com/questions/54596172/jmeter-get-header-value-and-write-in-a-log-file,"['jmeter', 'jmeter-5.0']",883,True,0,2
Trigger Lambda multiple times on S3 file upload,"<p>I have a s3 bucket and I have configured s3 event on lambda to trigger whenever file uploaded on s3 but I want to trigger lambda 100 times on each file is uploaded.This is something to do some performance testing and find throttling point.This what i tried to upload s3 file using lambda so that s3 will trigger second lambda on file upload.But this is triggering one lambda on each file upload but I want lambda should trigger 100 times on each file upload.</p>

<blockquote>
  <p>One S3 upload should trigger 100 times same lambda</p>
</blockquote>

<p>test lambda to upload file</p>

<pre><code>'use strict';
const proxy = require('proxy-agent');
const
    AWS = require( 'aws-sdk' ),
    S3  = new AWS.S3();
    AWS.config.update(
        {
            httpOptions: {agent: proxy('http://myprox.com:80')}
        }
    );

exports.handler = async ( event, context ) =&gt; {
    console.log( `FUNCTION STARTED: ${new Date()}` );
    try {
        for (let index = 0; index &lt; 50; index++) {
            console.log('Counter :',index)
            const start= Date.now()
            const result= await S3.putObject( {
                Bucket: 'test-bucket',
                Key: index+'my.json',
                Body: JSON.stringify( {
                   ""Id"":index,
               })
           } ).promise();
           const end= Date.now();
           console.log(`Time taken for counter: ${index} to upload S3 is: ${end-start} ms`)
           console.log('S3 result counter'+index,JSON.stringify(result))  

        }

    } catch (error) {
        console.log('S3 error',JSON.stringify(error))  
    }

};
</code></pre>
",https://stackoverflow.com/questions/56469616/trigger-lambda-multiple-times-on-s3-file-upload,"['node.js', 'amazon-s3', 'aws-lambda', 'aws-sdk-nodejs']",2648,False,0,0
how to perform performance testing of an application whose password is encrypted,"<p>The website uses a password Encryption algorithm that comes from amazon such as, 1. Client send a request 2. Server Authenticate the request and send a random key 3. The random key is interpreted by client &amp; it process it with password 4. Client send encrypted password to server 5. The sever Authenticate &amp; if validate it set user cookies in browser 6. The cookie is validated in all request send to sever after login for validation .</p>

<p>I am unable to eradicate the errors and I am unable to proceed ahead with the performance testing of the application </p>
",https://stackoverflow.com/questions/54803136/how-to-perform-performance-testing-of-an-application-whose-password-is-encrypted,['jmeter'],147,False,0,1
measure kotlin coroutine performance,"<p>I have blocking sqs listener , which fetch message from sqs , do some processing (may be message validation or enrichment) , store the processed message in the DB, clean up the message from sqs. I am planning to write this whole sqs listener in non blocking way using Kotlin coroutines. My question is that how can I measure performance (throughput, cpu usage, thread usage) between my old approach and new coroutine based approach? </p>

<p>source code for my coroutine approach: <a href=""https://github.com/thiyagu06/reactive-sqs-processor"" rel=""nofollow noreferrer"">https://github.com/thiyagu06/reactive-sqs-processor</a></p>

<p>The idea of the performance testing is to verify my coroutine based approach gives me considerable performance(may be low cpu usage) compared to traditional executor based approach.</p>
",https://stackoverflow.com/questions/58463350/measure-kotlin-coroutine-performance,"['kotlin', 'amazon-sqs', 'kotlin-coroutines']",391,True,2,1
JMeter test report,"<p>I'm using JMeter for integration and non-regression testing. 
The tests are automated and reports are working. </p>

<p>But since it is scenario testing and not performance testing the report doesn't give real business added value for that kind of tests.</p>

<p>My question: Is there any way to have a scenario (transaction controller based)reporting? </p>

<p>For the moment, to have some more meaningful result, transactions controllers and dummy sampler are used.</p>

<p>What we would like to have is the number of success/failure scenarios of the last test run. And also an history of success/failures per test run (1 by day).</p>

<p>Thank you for your advices.</p>
",https://stackoverflow.com/questions/54887240/jmeter-test-report,"['jmeter', 'report']",395,True,1,2
generate statistics from opentracing measures,"<p>I have activated <strong>opentracing</strong> on my Spring Boot micro-service application using <strong>Jaeger</strong> as a collector and it all works fine. I manage to get a full trace of my calls from different components, it is very useful to understand the calls to the application.</p>

<p>Now, in the scope of performance testing, I need to generate statistics from the different readings. That is e.g. average time of traces during a time period or number of occurrences of a specific span.</p>

<p>Is there any tool to achieve that? Is there a standard query language/api/tool to allow to extract big numbers of opentracing metrics?</p>
",https://stackoverflow.com/questions/57588551/generate-statistics-from-opentracing-measures,"['spring-boot', 'opentracing', 'jaeger']",42,False,1,1
Laravel 5: Why loaded images file size are bigger than actual size on disk?,"<p>I've been trying to optimize images on a Laravel 5 project.</p>

<p>I've used TinyPNG to compress images in the project. After compressing the images, the file size drop something like from 195kb to 67kb.</p>

<p>However, when doing performance testing, I found that time images are still the problem.</p>

<p>I found that the images still have the original file size (195kb) when loading on the website, according the Chrome Developer Tool.</p>

<p>I wonder why the images file size is smaller on disk, but bigger on browser load.</p>

<p>Note: I run php artisan clear:cache, view:clear, and config:clear. Also, disabled server cache and CDN.</p>

<p>My code is listed bellow</p>

<pre><code>    $images = glob("""" . $directory . ""*.png"");
    foreach ( $images as $image ){
        $optimized = Tinify::fromFile($image);
        $optimized-&gt;toFile($image);
    }
</code></pre>
",https://stackoverflow.com/questions/58279821/laravel-5-why-loaded-images-file-size-are-bigger-than-actual-size-on-disk,"['php', 'laravel', 'performance', 'laravel-5']",251,False,1,0
Unable to automate Jmeter load testing in Bamboo,"<p><div class=""snippet"" data-lang=""js"" data-hide=""false"" data-console=""true"" data-babel=""false"">
<div class=""snippet-code"">
<pre class=""snippet-code-html lang-html prettyprint-override""><code>simple	14-Jan-2019 15:42:18	Build Global Digital - Application - App_Performance_Test - feature-Jmeter-Test-Feature - JMeter #3 (GDA-AP10-JOB1-3) started building on agent Elastic Agent on i-0375978d6d2732720
simple	14-Jan-2019 15:42:18	Elastic agent on instance i-0375978d6d2732720
simple	14-Jan-2019 15:42:18	Build working directory is /media/ephemeral0/build-dir/GDA-AP10-JOB1
simple	14-Jan-2019 15:42:18	Executing build Global Digital - Application - App_Performance_Test - feature-Jmeter-Test-Feature - JMeter #3 (GDA-AP10-JOB1-3)
simple	14-Jan-2019 15:42:18	Starting task 'Checkout jmeter scripts' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
simple	14-Jan-2019 15:42:18	Checking out into /media/ephemeral0/build-dir/GDA-AP10-JOB1
simple	14-Jan-2019 15:42:18	Updating source code to revision: 06bbe6dbc1ab56007bf4b44e270b72d477e7fee6
simple	14-Jan-2019 15:42:18	Fetching 'refs/heads/feature/Jmeter-Test-Feature' from 'ssh://git@stash-QA.gd.com:7999/project/jmeter-scripts.git'. Will try to do a shallow fetch.
simple	14-Jan-2019 15:42:18	Warning: Permanently added '[127.0.0.1]:36663' (RSA) to the list of known hosts.
simple	14-Jan-2019 15:42:19	Checking out revision 06bbe6dbc1ab56007bf4b44e270b72d477e7fee6.
simple	14-Jan-2019 15:42:19	Already on 'feature/Jmeter-Test-Feature'
simple	14-Jan-2019 15:42:19	Updated source code to revision: 06bbe6dbc1ab56007bf4b44e270b72d477e7fee6
simple	14-Jan-2019 15:42:19	Finished task 'Checkout jmeter scripts' with result: Success
simple	14-Jan-2019 15:42:19	Running pre-build action: VCS Version Collector
simple	14-Jan-2019 15:42:19	Running pre-build action: Sauce OnDemand Build Configurator
simple	14-Jan-2019 15:42:19	Running pre-build action: Hung Build Killer PreBuildAction
simple	14-Jan-2019 15:42:19	Skipping execution of task 'Run jmeter scripts' as it is disabled
command	14-Jan-2019 15:42:19	Substituting variable: ${bamboo.capability.system.builder.command.JMeter 3} with /opt/apache-jmeter-3/bin/jmeter
command	14-Jan-2019 15:42:19	Substituting variable: ${bamboo.build.working.directory} with /media/ephemeral0/build-dir/GDA-AP10-JOB1
simple	14-Jan-2019 15:42:19	Starting task 'Test script' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
command	14-Jan-2019 15:42:19	Beginning to execute external process for build 'Global - Application - App_Performance_Test - feature-Jmeter-Test-Feature - JMeter #3 (GDA-AP10-JOB1-3)'\n ... running command line: \n/bin/sh /home/bamboo/bamboo-agent-home/temp/GDA-AP10-JOB1-3-ScriptBuildTask-5020464262256623767.sh\n ... in: /media/ephemeral0/build-dir/GDA-AP10-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=feature/Jmeter-Test-Feature\nbamboo_duration=5\nbamboo_repository_247496707_revision_number=06bbe6dbc1ab56007bf4b44e270b72d477e7fee6\nbamboo_planRepository_1_branchDisplayName=feature/Jmeter-Test-Feature\nbamboo_repository_revision_number=06bbe6dbc1ab56007bf4b44e270b72d477e7fee6\nbamboo_repository_247496707_name=Global - jmeter-scripts\nbamboo_repository_247496707_git_repositoryUrl=ssh://git@stash-QA.gd.com:7999/project/jmeter-scripts.git\nbamboo_buildKey=GDA-AP10-JOB1\nbamboo_capability_remote=true\nbamboo_capability_system_builder_command_Python_2_7=/usr/bin/python\nbamboo_shortJobName=JMeter\nbamboo_buildResultsUrl=https://bamboo-staging.qa.com/browse/GDA-AP10-JOB1-3\nbamboo_repository_247496707_git_branch=feature/Jmeter-Test-Feature\nbamboo_planRepository_repositoryUrl=ssh://git@stash-QA.gd.com:7999/project/jmeter-scripts.git\nbamboo_agentId=247824395\nbamboo_location=publish\nbamboo_ramp_time=1\nbamboo_planRepository_revision=06bbe6dbc1ab56007bf4b44e270b72d477e7fee6\nbamboo_planRepository_previousRevision=06bbe6dbc1ab56007bf4b44e270b72d477e7fee6\nbamboo_repository_branch_name=feature/Jmeter-Test-Feature\nbamboo_repository_247496707_branch_name=feature/Jmeter-Test-Feature\nbamboo_ci_password=********\nbamboo_capability_system_builder_command_Python_3=/usr/bin/python3\nbamboo_password=********\nbamboo_capability_ci=true\nbamboo_capability_system_builder_command_foodcritic=/opt/chefdk/bin/foodcritic\nbamboo_dependenciesDisabled=false\nbamboo_locale=en_us\nbamboo_threads=1\nbamboo_planRepository_branch=feature/Jmeter-Test-Feature\nbamboo_planRepository_1_type=bbserver\nbamboo_planRepository_branchName=feature/Jmeter-Test-Feature\nbamboo_environment=lt-000\nbamboo_gdminorversion=6313\nbamboo_capability_release=true\nbamboo_planRepository_1_username=\nbamboo_planRepository_type=bbserver\nbamboo_ManualBuildTriggerReason_userName=bv49406\nbamboo_capability_system_builder_command_rubocop=/opt/chefdk/bin/rubocop\nbamboo_capability_system_builder_node_Node_js=/opt/node/bin/node\nbamboo_capability_system_builder_ant_Ant=/opt/ant\nbamboo_capability_system_builder_mvn3_Maven_3=/opt/maven/current\nbamboo_planKey=GDA-AP10\nbamboo_planRepository_username=\nbamboo_planRepository_1_branchName=feature/Jmeter-Test-Feature\nbamboo_capability_system_agent_environment_ec2_instance_type=c3.xlarge\nbamboo_resultsUrl=https://bamboo-staging.qa.com/browse/GDA-AP10-JOB1-3\nbamboo_capability_system_agent_environment_ebs_optimised=false\nbamboo_build_working_directory=/media/ephemeral0/build-dir/GDA-AP10-JOB1\nbamboo_planRepository_1_name=Global - jmeter-scripts\nbamboo_shortPlanName=feature-Jmeter-Test-Feature\nbamboo_capability_system_builder_command_ansible=/usr/local/bin/ansible\nbamboo_hybris_version=6.3.0.8\nbamboo_capability_system_builder_command_packer=/usr/local/bin/packer\nbamboo_planRepository_name=Global - jmeter-scripts\nbamboo_gdmajorversion=1\nbamboo_capability_system_builder_command_terraform=/usr/local/bin/terraform\nbamboo_buildNumber=3\nbamboo_username=admin\nbamboo_planName=Global - Application - App_Performance_Test - feature-Jmeter-Test-Feature\nbamboo_capability_system_builder_command_git=/usr/bin/git\nbamboo_shortPlanKey=AP10\nbamboo_shortJobKey=JOB1\nbamboo_capability_system_builder_node_npm=/opt/node-7/bin/npm\nbamboo_capability_system_builder_command_JMeter_3=/opt/apache-jmeter-3/bin/jmeter\nbamboo_capability_system_builder_command_berkshelf=/opt/chefdk/bin/berks\nbamboo_buildTimeStamp=2019-01-14T15:42:18.663Z\nbamboo_repository_previous_revision_number=06bbe6dbc1ab56007bf4b44e270b72d477e7fee6\nbamboo_repository_git_branch=feature/Jmeter-Test-Feature\nbamboo_buildResultKey=GDA-AP10-JOB1-3\nbamboo_buildPlanName=Global - Application - App_Performance_Test - feature-Jmeter-Test-Feature - JMeter\nbamboo_capability_system_agent_environment_iam_instance_profile=gd-mantl-agent\nbamboo_planRepository_1_revision=06bbe6dbc1ab56007bf4b44e270b72d477e7fee6\nbamboo_repository_name=Global - jmeter-scripts\nbamboo_domain=www-bose-com\nbamboo_repository_247496707_previous_revision_number=06bbe6dbc1ab56007bf4b44e270b72d477e7fee6\nbamboo_ci_user=gc8281256\nbamboo_buildFailed=false\nbamboo_capability_system_docker_executable=/usr/bin/docker\nbamboo_agentWorkingDirectory=/media/ephemeral0/build-dir\nbamboo_gdtempversion=17216\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_repository_git_username=\nbamboo_planRepository_1_previousRevision=06bbe6dbc1ab56007bf4b44e270b72d477e7fee6\nbamboo_planRepository_branchDisplayName=feature/Jmeter-Test-Feature\nbamboo_capability_system_builder_mvn3_Maven_3_x=/opt/maven/current\nbamboo_capability_system_builder_command_awscli=/usr/local/bin/aws\nbamboo_plan_storageTag=plan-247365637\nbamboo_repository_git_repositoryUrl=ssh://git@stash-QA.gd.com:7999/project/jmeter-scripts.git\nbamboo_repository_247496707_git_username=\nbamboo_capability_system_builder_command_knife=/opt/chefdk/bin/knife\nbamboo_working_directory=/media/ephemeral0/build-dir/GDA-AP10-JOB1\nbamboo_planRepository_1_repositoryUrl=ssh://git@stash-QA.gd.com:7999/project/jmeter-scripts.git\nbamboo_capability_system_jdk_JDK_1_8=/opt/jdk-8\nbamboo_capability_system_jdk_JDK_1_9=/opt/jdk-9\nbamboo_capability_system_builder_command_chrome=/usr/bin/google-chrome\n
simple	14-Jan-2019 16:02:25	 _   _  ____  _  _
simple	14-Jan-2019 16:02:25	( )_( )(  _ \( )/ )
simple	14-Jan-2019 16:02:25	 ) _ (  ) _ &lt; )  ( 
simple	14-Jan-2019 16:02:25	(_) (_)(____/(_)\_) 
simple	14-Jan-2019 16:02:25	This build has been killed by the HBK (Hung Build Killer). Either Bamboo has detected the build has hung or it has been manually stopped.
simple	14-Jan-2019 16:02:25	Attempting to generate stack trace and terminate spawned sub-processes of process id: 2282
simple	14-Jan-2019 16:02:25	Found related process: pid: 2659 ppid: 2282 pgid: 2174 %cpu: 0.0 %mem: 0.0 cmd: /bin/sh /home/bamboo/bamboo-agent-home/temp/GDA-AP10-JOB1-3-ScriptBuildTask-5020464262256623767.sh
simple	14-Jan-2019 16:02:25	Found related process: pid: 2660 ppid: 2659 pgid: 2174 %cpu: 0.0 %mem: 0.0 cmd: /bin/bash
simple	14-Jan-2019 16:02:25	getStackTraceAndKillRelatedProcesses for 2 processes
simple	14-Jan-2019 16:02:25	Executing kill -3 2660
simple	14-Jan-2019 16:02:25	Executing kill -3 2659
simple	14-Jan-2019 16:02:30	Killing: 2660
simple	14-Jan-2019 16:02:30	Executing kill 2660
simple	14-Jan-2019 16:02:30	Killing: 2659
simple	14-Jan-2019 16:02:30	Executing kill 2659
error	14-Jan-2019 16:02:30	Terminated
error	14-Jan-2019 16:02:30	/home/bamboo/bamboo-agent-home/temp/GDA-AP10-JOB1-3-ScriptBuildTask-5020464262256623767.sh: 2: cd: can't cd to /opt/apache-jmeter-3/bin/jmeter
simple	14-Jan-2019 16:02:30	Failing task since return code of [/bin/sh /home/bamboo/bamboo-agent-home/temp/GDA-AP10-JOB1-3-ScriptBuildTask-5020464262256623767.sh] was 2 while expected 0
simple	14-Jan-2019 16:02:30	Finished task 'Test script' with result: Failed
simple	14-Jan-2019 16:02:30	Running post build plugin 'Docker Container Cleanup'
simple	14-Jan-2019 16:02:30	Running post build plugin 'NCover Results Collector'
simple	14-Jan-2019 16:02:30	Running post build plugin 'Clover Results Collector'
simple	14-Jan-2019 16:02:30	Running post build plugin 'Sauce OnDemand Post Runner'
simple	14-Jan-2019 16:02:30	Running post build plugin 'npm Cache Cleanup'
simple	14-Jan-2019 16:02:30	Running post build plugin 'Artifact Copier'
simple	14-Jan-2019 16:02:30	Publishing an artifact: jmeter_jtl
error	14-Jan-2019 16:02:30	Unable to publish artifact [jmeter_jtl]: the source directory /media/ephemeral0/build-dir/GDA-AP10-JOB1/output does not exist.
simple	14-Jan-2019 16:02:30	The artifact hasn't been successfully published after 456.8 μs
simple	14-Jan-2019 16:02:30	Finalising the build...
simple	14-Jan-2019 16:02:30	Stopping timer.
simple	14-Jan-2019 16:02:30	Build GDA-AP10-JOB1-3 completed.
simple	14-Jan-2019 16:02:30	Running on server: post build plugin 'NCover Results Collector'
simple	14-Jan-2019 16:02:30	Running on server: post build plugin 'Build Hanging Detection Configuration'
simple	14-Jan-2019 16:02:30	Running on server: post build plugin 'Clover Delta Calculator'
simple	14-Jan-2019 16:02:30	Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple	14-Jan-2019 16:02:30	All post build plugins have finished
simple	14-Jan-2019 16:02:30	Generating build results summary...
simple	14-Jan-2019 16:02:30	Saving build results to disk...
simple	14-Jan-2019 16:02:30	Logging substituted variables...
simple	14-Jan-2019 16:02:31	Indexing build results...
simple	14-Jan-2019 16:02:31	Finished building GDA-AP10-JOB1-3.
simple	14-Jan-2019 16:02:35	 _   _  ____  _  _
simple	14-Jan-2019 16:02:35	( )_( )(  _ \( )/ )
simple	14-Jan-2019 16:02:35	 ) _ (  ) _ &lt; )  ( 
simple	14-Jan-2019 16:02:35	(_) (_)(____/(_)\_) 
simple	14-Jan-2019 16:02:35	This build has been killed by the HBK (Hung Build Killer). Either Bamboo has detected the build has hung or it has been manually stopped.
simple	14-Jan-2019 16:02:35	Has finished generating stack trace and terminating spawned sub-processes of process id: 2282</code></pre>
</div>
</div>
</p>

<p>I am planning to automate performance testing through Bamboo. Currently, I am running performance tests using jmeter 3.1 installed on a Windows machine (AWS-EC2 instance).</p>

<p>I am following the below approach to automate my tests:</p>

<ol>
<li>Create a repository in stash, upload the jmx file</li>
<li>Create a bamboo plan, with  a stage(jmeter)->task 1(Source Code Checkout configuration- configured the above repository) and task 2 (Script configuration).</li>
<li><p>In the second task, I choose <code>/bin/sh</code> or <code>cmd.exe</code> then I have written the code in the script body section:</p>

<pre><code>/bin/bash   
cd ${bamboo.capability.system.builder.command.JMeter 3} -n -t \
jmeterscript.jmx -l ${bamboo.build.working.directory}/example.jtl  
#runtime the value will be    
#${bamboo.capability.system.builder.command.JMeter 3}   
# (which is interpolated to `/opt/apache-jmeter-3/bin/jmeter`)  
</code></pre></li>
</ol>

<p>When I run the above plan, it runs for more than 30 mins and fails. </p>

<p>Here's the error I receive (logs are in-line, above):</p>

<pre><code>can't cd to /opt/apache-jmeter-3/bin/jmeter  
   Unable to publish artifact [jmeter_jtl]: the source directory 
   /media/ephemeral0/build-dir/GDA-AP10-JOB1/output does not exist.
</code></pre>
",https://stackoverflow.com/questions/54185512/unable-to-automate-jmeter-load-testing-in-bamboo,"['performance', 'testing', 'continuous-integration', 'bamboo']",672,False,1,1
UnityWebRequestAssetBundle.GetAssetBundle: Why is the download not using the available bandwidth?,"<p>I have an application (platform: Android) where I need to download asset bundles from a server. In order to do so I'm using <code>UnityWebRequest</code> objects:</p>

<pre><code>public IEnumerator GetAssetBundleAsync(string url, Action&lt;AssetBundle&gt; OnSuccess)
    using (UnityWebRequest uwr = UnityWebRequestAssetBundle.GetAssetBundle(url))
        {
            yield return uwr.SendWebRequest();                
            AssetBundle bundle = DownloadHandlerAssetBundle.GetContent(uwr);
            if (OnSuccess != null)
                OnSuccess(bundle);
        }
}
</code></pre>

<p><br>
Now I have done some performance testing (see the graph: <a href=""https://i.stack.imgur.com/ibAkW.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/ibAkW.png"" alt=""Download Throughput""></a>). 'In Unity' indicates the data throughput when my application (on Android) does the download. 'In Browser' indicates, however, the throughput when downloaded directed in the browser of my Windows laptop. Both devices are connected to the same WIFI. As you can see, the maximum throughput is way higher for the latter.</p>

<p>Does anyone have an idea why the throughput is limited when downloading from inside the Unity app and how to maximize it?</p>
",https://stackoverflow.com/questions/57094594/unitywebrequestassetbundle-getassetbundle-why-is-the-download-not-using-the-ava,"['c#', 'unity-game-engine', 'networking']",2131,True,1,1
Kafka performance testing MB.sec seems too low to make sense?,"<p>Running some performance testing to compare two separate Kafka clusters. I have used a performance tool to produce in messages the same way to a topic which is named the same on both clusters.</p>

<p>When I run a consumer performance test I consistently get .0001 for MB.sec in one of the clusters(middle row in the image below). Whereas I will get a different value, usually higher when i run in the cluster i am comparing it with.</p>

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

<p>Can anyone shed any light on what might be causing this, my understanding is that this is mb per second consumed, why would it be consistently that number and be so low? </p>

<p>Thanks</p>
",https://stackoverflow.com/questions/59358977/kafka-performance-testing-mb-sec-seems-too-low-to-make-sense,"['performance', 'apache-kafka', 'performance-testing', 'metrics']",62,False,0,1
Does Derby support INTERVAL for date,"<p>I am doing performance testing on Apache Derby (10.14.2). I am using TPCH benchmarking for the same. I have completed the dbgen part of the TPCH and populated the database. There are 22 queries in the TPCH benchmarking queries. I am not able to convert the 1st query to suit the syntax of the Apache Derby. In the make file, I gave the DB as DB2. Since there is no Apache Derby option present there. </p>

<p>Query is as follows:</p>

<pre><code>select
l_returnflag,
l_linestatus,
sum(l_quantity) as sum_qty,
sum(l_extendedprice) as sum_base_price,
sum(l_extendedprice * (1 - l_discount)) as sum_disc_price,
sum(l_extendedprice * (1 - l_discount) * (1 + l_tax)) as sum_charge,
avg(l_quantity) as avg_qty,
avg(l_extendedprice) as avg_price,
avg(l_discount) as avg_disc,
count(*) as count_order
from
    lineitem
where
    l_shipdate &lt;= '1998-12-01' - interval ':1' day (3)
group by
    l_returnflag,
    l_linestatus
order by
    l_returnflag,
    l_linestatus;
</code></pre>

<p>Error from the ij tool:</p>

<pre><code>    ERROR 42X01: Syntax error: Encountered ""\':1\'"" at line 15, column 47.
Issue the 'help' command for general information on IJ command syntax.
Any unrecognized commands are treated as potential SQL commands and executed directly.
Consult your DBMS server reference documentation for details of the SQL syntax supported by your server.
</code></pre>

<p>Is there a way to generate the queries for Apache Derby in TPCH. Or tool which can covert the queries to Apache Derby.</p>

<p>Thanks in advance.</p>
",https://stackoverflow.com/questions/54759537/does-derby-support-interval-for-date,"['sql', 'derby']",612,True,0,1
JMeter : 500 Internal server error (calling API),"<p>Hi Guys does anyone know about 500 internal server error when calling API?</p>

<p>I have an application where one of the functionality gets the data from API 
so, i am doing jmeter perfomance tessting on the functionality </p>

<p>1) I recorded scripts using the jmeter proxy (Https recorder) 
2) i added the listner 
3) ran the script with jus tone thread </p>

<p>I saw 500 Internal server error in Response (please click the below link to see the error screenshot </p>

<p><a href=""https://i.stack.imgur.com/gcxPC.png"" rel=""nofollow noreferrer"">error screenshot</a></p>

<p>Is something related to the api server calling using proxy or its problem with my script ?</p>

<p>Please tell any solutions how to do the performance testing on this scenario ?</p>
",https://stackoverflow.com/questions/54973914/jmeter-500-internal-server-error-calling-api,"['ajax', 'jmeter', 'performance-testing']",538,True,0,1
Show time after data loading of table,"<p>I have a HTML table which renders one big JSON object of 1 MB file, I would like inform user that how big the object was and how much time it took to display data in Angular 6 application, any pointer please.</p>

<p>The incoming data could be vary based on service.</p>

<p>The line should say, the object which was binded to table HTML was <em>x</em> MB and it took <em>y</em> second to load data after table finishes of displaying data in HTML.</p>

<p>In face we are doing performance testing of big objects so based on that we are gonna do some stuff from services.</p>
",https://stackoverflow.com/questions/56700045/show-time-after-data-loading-of-table,"['html', 'angular6']",26,False,0,1
