title,body,link,tags,view_count,is_answered,score,answer_count
Automation vs performance testing,"<p>I am a beginner in performance testing and I would like to ask, with automation testing is it possible to be transformed into performance testing?</p>
<p>For example, I have the code of an automation of the login scenario for X users, will it be a good practice if I use the statistics of the code run to represent it as a performance diagram?</p>
",https://stackoverflow.com/questions/70056334/automation-vs-performance-testing,"['performance-testing', 'automation-testing']",58,True,0,1
Performance testing delete endpoint,"<p>I've been testing GET endpoints using Gatling Simulations for a while now and have now come across a situation where I need to performance test a DELETE endpoint. When I do integration tests, I can pre-populate the database before each test, then call the DELETE endpoint and have the entry deleted. I believe that for Gatling performance tests there is only a <code>before</code> and <code>after</code> hook for simulations not individual tests.</p>
<p>Any ideas on how I should approach performance testing a DELETE endpoint so that each test has something to delete instead of returning an error that the value does not exist in the database. Or should I just expect the error responses and record timings of those?</p>
<p>Many thanks,
Kris</p>
",https://stackoverflow.com/questions/70186529/performance-testing-delete-endpoint,"['scala', 'performance-testing', 'gatling']",171,False,0,0
Performance testing for Svelte applications,"<p>How can I do client side performance testing for Svelte applications?</p>
<p>Is there any similar kind in JMeter / WebLoad like true client protocol as in Load runner to test the Svelte applications?</p>
",https://stackoverflow.com/questions/70273326/performance-testing-for-svelte-applications,"['performance', 'jmeter', 'performance-testing', 'svelte', 'sveltekit']",121,True,2,1
Dialogflow Chatbot Load/Performance Testing,"<p>I have been working on a chatbot on Dialogflow for an assignment of mine and my lecturer said I need to perform tests on the chatbot. I wanted to inquire if there were any way for me to test how many users the chatbot can handle at once? Would appreciate any help on this matter</p>
",https://stackoverflow.com/questions/68508068/dialogflow-chatbot-load-performance-testing,"['testing', 'dialogflow-es']",237,False,1,1
Automating Client Side Performance Testing,"<p>I am analyzing the client-side performance of a particular website using the Performance tab in chrome dev tools. It is a manual process.is there a tool that could automate this process and generate the report once the test is over?</p>
",https://stackoverflow.com/questions/65768755/automating-client-side-performance-testing,"['performance', 'google-chrome', 'client', 'google-chrome-devtools', 'performance-testing']",149,False,1,1
Apache pulsar service performance testing,"<p>Please help me, I need to do the performance testing for the pulsar service with the message rate above 1000000, it there any testing tool can do it?</p>
",https://stackoverflow.com/questions/68225108/apache-pulsar-service-performance-testing,"['java', 'apache-pulsar', 'pulsar']",366,True,1,2
Performance Testing Non Restful SpringBoot,"<p>I have a spring boot app that listens to a queue so it is non restful. Is there any easy way to get a time breakdown for the amount of time spent in each service?</p>
",https://stackoverflow.com/questions/67022392/performance-testing-non-restful-springboot,"['spring-boot', 'performance-testing']",22,False,1,1
Performance testing with Vaadin application,"<p>I am trying to record events for Vaadin application using Loadrunner web protocol. However, when I replay the recorded script, the request that goes in is different from what is being recorded. I am not sure on what basis these values change and I am not getting expected results/response due to the change in request. I am new to Vaadin app, any help on this would be greatly appreciated. Thanks in advance.</p>
",https://stackoverflow.com/questions/68959295/performance-testing-with-vaadin-application,['vaadin'],79,False,1,0
Performance testing using E2E Protractor,"<p><strong>Hi All!</strong>
I have protractor E2E Protractor test case in our application. Currently am doing R&amp;D for getting performance information like script execution, memory consumption using our protractor test case.</p>
<p><strong>My requirement :</strong>
I need to execute my protractor test case for multiple times
I need list out all API calls for that specific test execution along with details like api response/request time.
For each test case , I need script execution time, memory consumption, page rendering time.
Once execution done, i need to display above information in the form of report.</p>
<p><strong>Benefits:</strong></p>
<p>Once above requirement is done , we can do UI performance testing using protractor. Same protractor test case we can execution number of time in single shot. Once after the execution we can see the reports to get performance relevant information.Instead of doing all things manually in developer tools, we can achieving in automation</p>
<p><strong>Thanks</strong></p>
",https://stackoverflow.com/questions/67841533/performance-testing-using-e2e-protractor,"['angular', 'protractor', 'angular-e2e']",91,False,0,0
Performance Testing - Are there any automation tools for performance testing that renders webpages in browser?,"<p>All the performance testing tools I found do not use actual browsers for UI testing. Some of them will get the html of the webpage from the server and will parse it and we can verify the elements on them.</p>
<p>What I want is to find the time it takes to render the web pages and elements in actual browsers when multiple users are logged into the application. Any suggestions?</p>
",https://stackoverflow.com/questions/65622979/performance-testing-are-there-any-automation-tools-for-performance-testing-tha,"['performance-testing', 'ui-automation', 'browser-automation']",223,True,0,1
Performance testing of hybrid app (jmeter),"<p>Can we test hybrid app through jmeter and if yes then how
thanks in advance</p>
",https://stackoverflow.com/questions/67277959/performance-testing-of-hybrid-app-jmeter,"['performance', 'jmeter', 'hybrid-mobile-app']",199,False,0,1
Performance testing using Ultimate thread group,"<p>I want to use ultimate thread group for my test with 2100 users concurrency and synchronising timer with number of simulated users to group by 100.</p>
<p>Here I want to configure the thread group for 10 mins.</p>
<p>I am not sure how to distribute it across initial delay ,start up time, hold load and shut down time</p>
",https://stackoverflow.com/questions/68347024/performance-testing-using-ultimate-thread-group,"['concurrency', 'jmeter', 'performance-testing', 'throughput', 'threadgroup']",264,False,0,1
Spring cloud stream rabbitmq performance testing,"<p>I have set up a spring cloud stream with rabbitmq binder. I want to do performance testing with the spring cloud stream. is there any way to do performance testing with that?</p>
",https://stackoverflow.com/questions/69723552/spring-cloud-stream-rabbitmq-performance-testing,"['rabbitmq', 'spring-cloud-stream']",89,True,0,1
Performance testing xml over TCP using JMeter,"<p>I am new to Jmeter and want to test one XML request over TCP.</p>
<p>How can I achieve that. I search for any help but did not get that.</p>
<p>Thanks in advance.</p>
",https://stackoverflow.com/questions/65859830/performance-testing-xml-over-tcp-using-jmeter,"['xml', 'tcp', 'jmeter', 'jmeter-plugins', 'jmeter-5.0']",486,False,1,2
Performance Testing through JMeter for BOBJ application,"<p>I had a script running successfully, when I add the users &gt;3 to my testplan I see an error for the URL launch requests</p>
<pre class=""lang-html prettyprint-override""><code>&lt;html&gt;&lt;head&gt;&lt;SCRIPT&gt;location.replace ( 'VintelaErrorServlet?vint_cms=%40BI42UAT&amp;vint_backURL=%2FInfoView%2Flogon.faces');&lt;/SCRIPT&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;
</code></pre>
<p>Still the script able to kickoff other requests (able to execute the BOBJ reports successfully)</p>
<p>How do I decode the above error?</p>
",https://stackoverflow.com/questions/65751439/performance-testing-through-jmeter-for-bobj-application,['jmeter'],27,False,1,0
How to download LoadRunner performance testing tool?,"<p>How to download LoadRunner performance testing tool?
When I try to download from the Micro Focus website which is there official website, they are not allowing me to download the trial version instead they have a form which we need to fill and then they will show a message saying &quot;We will connect with you soon&quot;.</p>
<p>Please help me by informing me how to download the trial version of Loadrunner?</p>
",https://stackoverflow.com/questions/68342439/how-to-download-loadrunner-performance-testing-tool,"['performance', 'testing', 'loadrunner']",355,False,0,1
JMeter vs ReadyAPI SOAP API Performance Testing,"<p>Scenario: Read data from a CSV file with unknown number of records. Use the data to create Soap XML MSg and Post Method. Continue to do this until all the records have been read.</p>
<p>Problem: I used ReadyAPI to perform these actions and was able to achieve the intended TPS at server with whatever i have provided in VU's option. Tried with 150 vu's and observed constant load of 150 requests at the server. But when i try to do the same in JMeter, i was not able to achieve more than 70 TPS and the load isn't evenly distributed as well no matter how many threads i use. I am using a Thread Group, CSV DataSet Config, UserDefined Parameters to create unique request ID and JSR223 PreProcessor with Groovy Script as a child of HTTPRequest to remove empty xml tags.</p>
<p>Read some posts where it was mentioned that JMeter throughput will be stagnant based on servers response capability. But it's not in my case since i can generate 150TPS with ReadyAPI. Annual Licensing costs and Renewal costs associated with ReadyAPI is the Reason that i am looking for solution with JMeter.</p>
",https://stackoverflow.com/questions/65638372/jmeter-vs-readyapi-soap-api-performance-testing,"['soap', 'performance-testing', 'jmeter-5.0']",250,False,0,1
Performance testing in MYSQL giving same result,"<p>I am developer and working on performance improvment on MySQL queries. The flow is full load in 2 stages. First query will read FILES table and load into TABLE_STAGE table with full delete and in 2nd level also it read from TABLE_STAGE to TABLE_MAIN table. First delete it and then select all the records.</p>
<pre><code>delete from TABLE_STAGE
select from FILES 
delete from TABLE_MAIN ;
insert into TABLE_MAIN from select * from TABLE_STAGE
</code></pre>
<p>As a first part of step i have replaced delete with truncate . It improved performance immediately , but when i using delete again , performance is same ,the time is not increasing. I am not getting the reason behind this why it is showing the same result..</p>
",https://stackoverflow.com/questions/65845230/performance-testing-in-mysql-giving-same-result,"['mysql', 'performance']",19,False,-1,1
Performance Testing of Amazon Appstream 2.0 Desktop Application,"<p>I have a desktop application which is managed in <strong>AWS AppStream 2.0</strong> and I want to conduct a performance test for the same.</p>
<p>I tried multiple ways to record that Application using JMeter/Load Runner (using different protocol) but the tool is not able to capture any server/network calls for the application.</p>
<p>Is there any way we can record these kind of applications using LR or JMeter?</p>
",https://stackoverflow.com/questions/67932850/performance-testing-of-amazon-appstream-2-0-desktop-application,"['amazon-web-services', 'jmeter', 'performance-testing', 'loadrunner', 'aws-appstream']",524,True,2,2
Application with same functionalities for architecture performance testing,"<p>I am writing a thesis for my University where I am going to compare two architectures: monolithic vs microservices.</p>
<p>I am wondering if there is a free licensed example of application written in Java/Spring which has the same functionalities, but created in two different architectures? I was looking for such example, but couldn't find it. I don't want to spend time on writing a code, because goal of my thesis is to perform a lot of performance testing and work on results. Do you know about something like it?</p>
",https://stackoverflow.com/questions/70192275/application-with-same-functionalities-for-architecture-performance-testing,"['architecture', 'microservices', 'monolithic']",27,True,0,1
Browser Based Performance Testing on AWS Device Farm,"<p>We want to use Selenium/Appium for browser based Performance Testing on AWS Device Farm. I am looking for Opensource Framework/Library/SDK for Selenium/Appium for Performance Testing specially for adding transactions and collecting performance statistics.</p>
<p>I have analyzed below -</p>
<p>Framework   Comments
testprojects.io This is free but not open source.
WebLOAD Good if you are working on WebLOAD cloud
Taurus
(<a href=""https://gettaurus.org/"" rel=""nofollow noreferrer"">https://gettaurus.org/</a>)
It is opensource but do not have much reach options for transactions, assertions and reporting.</p>
<p>Please let me know your recommendations and suggestions regarding it. Thanks.</p>
",https://stackoverflow.com/questions/67188736/browser-based-performance-testing-on-aws-device-farm,"['selenium', 'appium', 'performance-testing', 'aws-device-farm']",83,False,0,1
How can i do performance testing of chat,"<p>I have 2 portals</p>
<ul>
<li>Staff portal (a web application)</li>
<li>Member portal (a web application)</li>
</ul>
<p><strong>How to establish a chat</strong></p>
<ol>
<li>Send request from Member portal</li>
<li>Accept that request from Staff portal</li>
<li>Once the staff accept the request, they can start sending the messages</li>
</ol>
<p><strong>REQUIREMENT</strong></p>
<ol>
<li>I want to measure the response time of each message (How much time taken to reach message from Member portal to Staff portal?</li>
</ol>
<p><strong>CHALLENGES</strong></p>
<ol>
<li>How can i launch 2 applications (Member and Staff portal) and accept the request when 1000 members are sending request (I am using Silk performance tool/Jmeter, you can help me with any tool you know)</li>
<li>I can measure the time taken to send the message, but i couldn't measure the time when the message reach to staff.</li>
</ol>
<p>Please let me know if you need any more information</p>
",https://stackoverflow.com/questions/66241539/how-can-i-do-performance-testing-of-chat,"['performance', 'testing', 'jmeter', 'bots', 'chat']",110,False,0,1
How to perform performance testing on Citrix Workspace,"<p>In order to access the developed software, we can log in via Citrix Workspace and open a browser, and in this way we can access the address.I couldn't find a very detailed document on performance testing on Citrix with Jmeter. I wonder if anyone knows a tool where I can perform these performance tests and has detailed information about this tool?</p>
",https://stackoverflow.com/questions/70360836/how-to-perform-performance-testing-on-citrix-workspace,"['testing', 'performance-testing', 'citrix']",313,False,0,1
Meaning of concurrent request when doing performance testing?,"<p>Am using a node.js <a href=""https://www.npmjs.com/package/loadtest"" rel=""nofollow noreferrer"">loadtest lib</a> to load test one of my sites.</p>
<p>Command when sending a request:
loadtest -c 10 --rps 10 -t 30 <a href=""http://www.example.com"" rel=""nofollow noreferrer"">www.example.com</a></p>
<p>where -c represents concurrency and --rps requests per second.</p>
<p>Concurrency is described as follows in the docs:</p>
<blockquote>
<p>loadtest will create a certain number of clients; this parameter
controls how many requests from them will arrive concurrently to the
server.
Note: requests are not sent in parallel (from different processes), but concurrently (a
second request may be sent before the first has been answered).</p>
</blockquote>
<p>Does <em>-c 10 --rps 10</em> mean that a total of 10 connections will be made to the server and each one sending 1 request in a second?</p>
",https://stackoverflow.com/questions/67024859/meaning-of-concurrent-request-when-doing-performance-testing,"['node.js', 'networking', 'concurrency', 'performance-testing', 'load-testing']",726,True,0,1
Live video streaming performance testing for 10k VU,"<p>In basic terms, I want to make sure that our Livestreaming Shows can without issues have 10,000 viewers at one time. That the following things are working well:</p>
<ul>
<li>Video Quality</li>
<li>Video Resolution</li>
<li>Video Latency</li>
</ul>
<p>Do this can be done using local machine , I read local machine cannot produce such huge number of requests.</p>
<p>Do I needed to purchase addition premium platform or it can be done using jmeter alone.</p>
",https://stackoverflow.com/questions/69610845/live-video-streaming-performance-testing-for-10k-vu,"['jmeter', 'jmeter-plugins']",213,False,0,1
Gatling with karate performance testing is open source?,"<p>I am planning to use Gatling with karate for performance testing if it works.I have a question before using it.</p>
<p>is Gatling open source? I checked the website they have some pricing. not sure they have made it paid tool.</p>
",https://stackoverflow.com/questions/69017487/gatling-with-karate-performance-testing-is-open-source,['karate'],95,True,0,1
Spring integration flow fails on performance testing with jmeter,"<p>My integration flow works fine normally. but when I tried to do a performance test on the integration flow using JMeter, I am getting the following error.</p>
<blockquote>
<p>&quot;2021-04-01 15:44:48.538  WARN 22636 --- [ XNIO-1 task-41]
cMessagingTemplate$TemporaryReplyChannel : Reply message received but
the receiving thread has already received a reply: GenericMessage&quot;</p>
</blockquote>
<p>I have an inbound gateway that receives the request and an outbound gateway to fetch results from another server. I handled exceptions at the outbound gateway by advice chain (ExpressionEvaluatingRequestHandlerAdvice).  Can anyone help me? Can anyone tell me what causes this issue?</p>
<p>Note:  if I use 5 threads to test then the flow works fine. But if I increase the thread count on JMeter then the number of failed requests also increases.</p>
",https://stackoverflow.com/questions/66903176/spring-integration-flow-fails-on-performance-testing-with-jmeter,['spring-integration'],54,False,0,0
How Can I do performance testing using Rest Assured,"<p>I am using rest assured to automate my project. In the same project, I want to do performance testing in the API. I want to know how can I achieve this task??</p>
",https://stackoverflow.com/questions/67332540/how-can-i-do-performance-testing-using-rest-assured,"['rest', 'performance-testing', 'rest-assured', 'web-api-testing']",1992,True,0,1
Why does the &quot;hatch rate&quot; matter when performance testing?,"<p>I'm using <code>Locust</code> for performance testing. It has two parameters: the number of users and the rate at which the users are generated. But why are the users not simply generated all at once? Why does it make a difference?</p>
",https://stackoverflow.com/questions/69223933/why-does-the-hatch-rate-matter-when-performance-testing,"['web-services', 'performance-testing', 'locust']",108,True,0,1
performance testing with jmeter using auth which has a token,"<p>I have rest api which has token in header, but i'm having trouble performing with response data because api have to request token, where should i store my token in jmeter?</p>
",https://stackoverflow.com/questions/69804817/performance-testing-with-jmeter-using-auth-which-has-a-token,"['api', 'oauth', 'jmeter']",576,True,0,1
How to do performance testing of OTP authentication in JMeter,"<p>We have an application and it's having okta authentication . So after we enter our credentials, an OTP is being sent to our gmail address and we have to give that OTP to login. How to record these steps in JMeter, or how to do the performance test of these kind of applications?</p>
",https://stackoverflow.com/questions/70080404/how-to-do-performance-testing-of-otp-authentication-in-jmeter,"['jmeter', 'okta']",1020,True,0,2
JMeter: Performance testing of two different Thread Pools and their comparison,"<p>My question is different from <a href=""https://stackoverflow.com/questions/25215760/can-jmeter-monitor-custom-information-like-the-thread-pool-size-of-my-server-pro"">this</a> as it is too old and there may be new JMeter Plugins.<br/>
I have two Java Classes <strong>Server1</strong> and <strong>Server2</strong>.<br/> <em><strong>Server1 class extends <a href=""https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ThreadPoolExecutor.html"" rel=""nofollow noreferrer"">ThreadPoolExecutor</a>.</strong></em> <br/>
<em><strong>Server2 class extends <a href=""https://github.com/kasun04/siddhi-esb/blob/master/modules/transports/src/main/java/org/siddhiesb/transport/passthru/workerpool/WaterMarkExecutor.java"" rel=""nofollow noreferrer"">WaterMarkExecutor</a></strong></em> <br/>User can connect to any of these Servers through Socket and submit Runnable Objects( that calculate some Random number).These Runnable objects are send back to the client as responses.
For each Runnable Object i am calculating its resonse time and the wait-time it did in the queue of thread pool.
Each Server is exposing me its Pool size and throughput after every second. I want to display and compare the performance statistics of these two servers in charts.<br/>
Instead of develping my own library for this, i want to use JMeter. <br/>
<strong>I want JMeter to</strong><br/>
1)connect to Server1 <br/>
2)send Runnable objects at specific rate<br/>
3)receive executed Runnable objects back from Server1 (as responses).<br/>
4)display the response time and wait(in queue) of each received Runnable object on Charts.<br/>
5) Display throughput and pool size of Server 1 on separate charts.<br/>
6)then i want to use the same experiment(workload etc) on Server 2 and want JMeter to compare the performance of two servers.<br/>
<em><strong>Now my questins are</strong></em><br/>
(1) Is it easy to use JMeter for this scenario? or i should switch to some testbed(or any other tool)?<br/>
(2)suggest me some useful links of JMeter that can guide me to do this.<br/></p>
",https://stackoverflow.com/questions/67412635/jmeter-performance-testing-of-two-different-thread-pools-and-their-comparison,"['java', 'jmeter', 'performance-testing', 'threadpool', 'testbed']",332,True,0,1
how to automate test in Cypress with Saucelab including performance testing,"<p>I am able to integrate cypress and sauce lab able to run the test successfully</p>
<p><a href=""https://i.stack.imgur.com/jH0Xd.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/jH0Xd.png"" alt=""enter image description here"" /></a></p>
<p>but need to integrate the performance test with sauce <a href=""https://docs.saucelabs.com/performance/analyze"" rel=""nofollow noreferrer"">https://docs.saucelabs.com/performance/analyze</a></p>
<p>How to run performance test on it?</p>
<p>need result like this <a href=""https://docs.saucelabs.com/performance/analyze"" rel=""nofollow noreferrer"">https://docs.saucelabs.com/performance/analyze</a></p>
",https://stackoverflow.com/questions/68117813/how-to-automate-test-in-cypress-with-saucelab-including-performance-testing,"['testing', 'automated-tests', 'cypress', 'saucelabs']",71,False,0,1
Web page performance testing on web page which use javascript to load content,"<p>I want to do performance tests for the web page.
I use the Gatling, but I've got this message:
<em>&quot;This page uses JavaScript and requires a JavaScript enabled browser. Your browser is not JavaScript enabled.&quot;</em>
I've read Gatling documentation and I've found that Galting won't run javascript.
There is the possibility to test this web page using Gatling?
If not, how can I perform performance tests for this page? Which tools should I use?</p>
",https://stackoverflow.com/questions/66902330/web-page-performance-testing-on-web-page-which-use-javascript-to-load-content,"['html', 'performance', 'testing', 'gatling']",134,True,0,1
Is performance testing multiple deployment stacks in one Kuberentes cluster a valid test?,"<p>We have a deployment stack with about 20 microservices/pods. Each deployment goes to its own namespace. To make sure that the cpu and memory are guaranteed for each pod and not shared, we set the request amounts the same as limit amount. Now we sometimes need to deploy more stack into the same performance cluster, e.g. testing different releases of the same stack. The question is whether having more than one deployment in one cluster can invalidate the test result due to shared network or some other reasons?</p>
<p>Initially we were thinking to create one cluster for each performance testing to make sure it is isolated and test results are correct but creating a new cluster and maintaining it a very costly. We also thought about making sure each deployment goes to one node to avoid load testing on one stack impact the others but I'm not sure if that really helps. Please share your knowledge on this as Kubernetes is almost new to us.</p>
",https://stackoverflow.com/questions/67628884/is-performance-testing-multiple-deployment-stacks-in-one-kuberentes-cluster-a-va,"['kubernetes', 'performance-testing']",32,False,0,1
What should be the approach for react js based site&#39;s performance testing-Jmeter,"<p>I have an application which is in react js. Here I am giving demo site  <a href=""https://webix.com/demos/bank-app/#!/top/customers?user=1/information"" rel=""nofollow noreferrer"">https://webix.com/demos/bank-app/#!/top/customers?user=1/information</a> .Suppose I have to do performance test of statistics page tab how can I do this. As all the resources downloaded from the start when I hit the ttps://webix.com/demos/bank-app/ page. Now when I go to chrome developer tool and click on customer-&gt;statistics it shows me only static file.my client wants me to check the performance of those chart load time.</p>
<p>can anybody help.</p>
<p>Also do I have to load test google API's for charts that loaded on the page. There is so many SVG files and woff2 file. do I have to load test these things.<a href=""https://i.stack.imgur.com/GT2DV.jpg"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/GT2DV.jpg"" alt=""enter image description here"" /></a></p>
<p>Thanks,
Bibek</p>
",https://stackoverflow.com/questions/69883606/what-should-be-the-approach-for-react-js-based-sites-performance-testing-jmeter,"['jmeter', 'tableau-api', 'performance-testing']",206,True,0,2
Can you figure out the system requirements for an application using performance testing tools?,"<p>I am working on the performance testing and wants to know if there is a way we can figure out that If my performance test execution can tell the favourable system requirements for an application for which I am running the test.
e.g. If I run a performance test on a windows 10 machine which have 4gb ram and I am running test for 100 users then at the end of the test, the tool can suggest me to use a higher version of ram like 8gb ram.</p>
",https://stackoverflow.com/questions/70150201/can-you-figure-out-the-system-requirements-for-an-application-using-performance,"['jmeter', 'jmeter-plugins']",150,False,1,1
performance testing using jmeter cross checking the response with web data does not match,"<p>I have a web service URL:
<a href=""https://app.snapmed.no/landing-page?flow=chat"" rel=""nofollow noreferrer"">https://app.snapmed.no/landing-page?flow=chat</a>
The response code is 200 and the response body does not contain any valid data to cross-check with the webpage response or data in chrome  It is completely dynamic. Now I do not know a <a href=""https://i.stack.imgur.com/8p5vd.png"" rel=""nofollow noreferrer"">enter image description here</a>way to add response assertion for this type of response. can someone help me?</p>
",https://stackoverflow.com/questions/69625077/performance-testing-using-jmeter-cross-checking-the-response-with-web-data-does,['jmeter'],50,True,0,1
How to start with dockerized application load/performance testing with multi nodes of docker?,"<p>I've been asked by my client to start with docker based performance and load testing.</p>
<p>Also they have have multiple nodes on docker for the application.</p>
<p>They are expecting me to run a load test on the dockerized application and share the results.</p>
<p>By the way I'm totally unaware from where to start for this.</p>
<p>I've searched on Blaze meter community (<a href=""https://www.blazemeter.com/blog/performance-testing-with-docker"" rel=""nofollow noreferrer"">https://www.blazemeter.com/blog/performance-testing-with-docker</a>) about this as well but looking for some guidance to start with this docker load testing.</p>
<p>What presently I have is the docker :
<a href=""https://i.stack.imgur.com/TPAsV.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/TPAsV.png"" alt=""enter image description here"" /></a></p>
<p>I also just wanted to know the suggestions what all parameters should we need to test when it comes to docker for performance testing.</p>
",https://stackoverflow.com/questions/66578357/how-to-start-with-dockerized-application-load-performance-testing-with-multi-nod,"['docker', 'performance', 'jmeter', 'performance-testing']",283,True,0,1
"How can I do performance testing on application for 20,000 user-request per second?","<p>I want to put the load of 20000 user requests on my server to test can it handle this number of requests in a second.</p>
<p>I have put the Number of threads(user) - 20000
Ramp-up period (seconds) - 1
Loop count - 1</p>
<p>Output - It is showing 20 seconds <strong>Avg</strong> time after completing the script.</p>
",https://stackoverflow.com/questions/65931251/how-can-i-do-performance-testing-on-application-for-20-000-user-request-per-seco,"['performance', 'jmeter']",584,False,0,2
Performance Testing - TPS Slowing to a crawl despite API returning only an empty string?,"<p>So I am having some performance issues that I'm not understanding.</p>
<p>I have a SpringBoot Rest API application and I am testing a GET request which makes some external service calls. It has a steady TPS no matter how many users I throw at the test. The more users I throw at it the longer the response time takes but the TPS remains steady and the app never slows to a crawl.</p>
<p>However to test the baseline performance I changed the API so it doesn't make any external service calls and returns only an empty string. Response time improved from 300-400ms to 30ms and TPS shot up. However it can't handle more than 10 users now for an extended period of time. <strong>If I give it more than 10 users the performance degrades overtime to a crawl, despite such an easy GET request of returning an empty string.</strong></p>
<p>What' could be going on here? Is this normal behavior and how can I find out more info and debug this further. Thanks!</p>
",https://stackoverflow.com/questions/66819799/performance-testing-tps-slowing-to-a-crawl-despite-api-returning-only-an-empty,"['spring-boot', 'rest', 'jmeter', 'performance-testing', 'blazemeter']",163,False,0,1
How to define two constant labels and their values in Avalanche metrics generator for Prometheus performance testing?,"<p>I want to define two constant labels with two static values , I refered official blog,
<a href=""https://blog.freshtracks.io/load-testing-prometheus-metric-ingestion-5b878711711c"" rel=""nofollow noreferrer"">https://blog.freshtracks.io/load-testing-prometheus-metric-ingestion-5b878711711c</a></p>
<p>Also using help,  docker run quay.io/freshtracks.io/avalanche --help</p>
<p>I got to know that it's like below , but I tried with several combinations of it  but I'm not sure how to define it.</p>
<pre><code>--const-label=CONST-LABEL
</code></pre>
",https://stackoverflow.com/questions/67637317/how-to-define-two-constant-labels-and-their-values-in-avalanche-metrics-generato,['prometheus'],242,True,0,1
How to mimic traffic (TPS 9.05) of production Spring Boot REST API using Apache Jmeter performance testing?,"<p>I have an API (Spring Boot/Spring Web using Swagger) that has a throughput (TPS?) of 9.05 (not sure how this is being calculated, but its displayed on some metrics page). The API gets hit thousands of times per hour, sometimes peaking at 9,000 calls. Average response time is anywhere between ~2000-3000ms, approximately. This is a simple API that accepts a POST request and then queries a Postgres Database and returns this data as an HTTP response to client. This API is containerized via Docker and running on an ECS cluster on AWS (m5.large2) instance.</p>
<pre><code>Instance Size   vCPU   Memory(GiB)  Instance Storage(GiB) Network Bandwidth(Gbps)   EBS Bandwidth (Mbps)
m5a.2xlarge     8        32         EBS-Only                 Up to 10                   Up to 2,880
</code></pre>
<p>I have apache Jmeter installed and I am trying to mimic the production API calls to lower environments so I can fine-tune some CPU and memory configurations of our Docker containers running in AWS Elastic Container Service (ECS).</p>
<p>I am currently running 5 Threads, with 1/sec ramp-up, and 900 second duration time -
<a href=""https://i.stack.imgur.com/NHiIY.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/NHiIY.png"" alt=""enter image description here"" /></a></p>
<p>Is there a systematic way to I can replicate the traffic load in the lower environments so I can reproduce PROD load so I can correctly fine-tune CPU and memory?</p>
",https://stackoverflow.com/questions/68414435/how-to-mimic-traffic-tps-9-05-of-production-spring-boot-rest-api-using-apache,"['java', 'spring-boot', 'jmeter', 'performance-testing']",647,True,0,1
How to do performance testing for Mobile application which is dependent on web application alert notification Id?,"<p>I have one scenario, In which I have to record the script for a Mobile application that is dependent on web application alert notifications.</p>
<p>Scenario: 1. From the Web Application I have to create one incident(Unique ID) by filling the form details same Unique ID I have to dispatch to Mobile Application from here I have to update some additional details for that Unique ID and close the Unique ID, This is the scenario how I can record the script by using Jmeter, and where I have to do Co relations?</p>
",https://stackoverflow.com/questions/65915766/how-to-do-performance-testing-for-mobile-application-which-is-dependent-on-web-a,"['testing', 'mobile', 'jmeter', 'performance-testing', 'load-testing']",60,False,0,1
Can I use only Dynatrace for performance testing in place pf Apache JMeter (or other Testing tools),"<p>Can I use only Dynatrace for Load testing/Soak Testing/Capacity Testing etc. in place pf Apache JMeter (or other Testing tools)?</p>
<p>I can see load testing reports in Dynatrace but is Dynatrace alternative to Apache JMeter (or other JMeter alike testing tools)?</p>
",https://stackoverflow.com/questions/68181993/can-i-use-only-dynatrace-for-performance-testing-in-place-pf-apache-jmeter-or-o,"['jmeter', 'dynatrace']",164,True,0,1
Performance testing using JMeter for dynamic 365 ecommerce website using ultimate thread group. How to increase concurrent sessions?,"<p>I am doing performance testing using JMeter for a 365 dynamics ecommerce website. Script is written and its working fine for following flow: Homepage&gt; category listing&gt; product detail page&gt; add to cart&gt; and complete checkout.</p>
<p>I want to run my script for 200 concurrent users with some time interval. Like, start with 30 concurrent sessions for 10 minutes then increase 60 users with total concurrent session 90 for next 10 minutes. Then increase 44 users with total concurrent session 134 for next 10 minutes, Then increase 66 more users with total concurrent session 200 for next 10 minutes.</p>
<p>I am using ultimate thread group for this but not sure how to set configuration. See attached image.</p>
<p><a href=""https://i.stack.imgur.com/JdhO4.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/JdhO4.png"" alt=""enter image description here"" /></a></p>
",https://stackoverflow.com/questions/66635014/performance-testing-using-jmeter-for-dynamic-365-ecommerce-website-using-ultimat,"['jmeter', 'performance-testing', 'load-testing', 'dynamics-365']",174,True,1,1
How can the performance testing (and reporting) of Async messages over different IBM MQ queues be handled in Jmeter?,"<p>I need to test the performance of messages which are sent on one &quot;inbound&quot; MQ1 and then later (after some processing) received on another outbound MQ2.
I need to somehow generate a report similar to Aggregate Report Listener in Jmeter to display the average &quot;response time&quot; or &quot;processing time&quot; (that is the time between when a message with a given unique ID was placed on an inbound queue and when a different message with the same unique id was consumed from a different outbound MQ) and the Throughput.
I believe this falls into the Asynchronous category.</p>
<p>I have some Jmeter experience and limited scripting knowledge - I am hoping to use this tool to solve my problem using the inter-thread-communication-plugin-in-jmeter.</p>
<p>Inspired by the example and comments from <a href=""https://www.blazemeter.com/blog/ibm-mq-testing-with-jmeter-learn-how"" rel=""nofollow noreferrer"">this</a> and <a href=""https://www.blazemeter.com/blog/how-to-use-the-inter-thread-communication-plugin-in-jmeter"" rel=""nofollow noreferrer"">this</a> articles,
my current high-level approach is to have a thread group controlling the insertion of messages on the inbound queue using the JSR223 Sampler with groovy code and another thread group controlling the consumption of messages from another outbound queue.
I have set up the scripts to put and consume messages, but I am having difficulties in implementing the part with moving the information from one thread to the other and also to &quot;conditionally&quot; consume the message from the outbound queue only if it contains the unique message which I am looking for based on a variable generated by the 1st Thread group. If the message id is not found in 4 seconds I would like to throw an assertion and fail the sampler.</p>
<p>In Jmeter, in the Test Plan element I have defined a &quot;message&quot; variable.
In the JSR223 Sampler I use vars.put(&quot;message&quot;, payload) to get the message content just before sending it to the Inbound queue (using producer.send(msg)) and then use it in Jmeter &quot;Response Assertion&quot; with &quot;text message&quot; selection and &quot;Not Equals&quot; just to execute this pattern ${__fifoPut(input_queue,${message})} which puts the message value to an FIFO &quot;input_queue&quot; (inter-thread-communication-plugin-in-jmeter).</p>
<p>Now, once I put this message in the FIFO queue, in the 2nd Tread that consumes the messages from the outbound queue I need some way to call ${__fifoPop(input_queue,${message})} in the script (and this does not work in the JSR223 Sampler) but only if the content of the message has the message Id that I am looking for in order to map the 1st message on queue1 with one of the messages from queue2. However in the script, I use consumer.receive(1000) method which directly consumes the message and thus removes it from the queue. Is there any way to just read messages from the queue without consuming them?</p>
<p>Problems summary:</p>
<ol>
<li>My first problem is to solve the synchronization issue of one message sent to MQ1 by thread1 with another message consumed from MQ2 by thread2.</li>
<li>The 2nd problem is how to calculate the time difference between when a message was placed on MQ1 and when the corresponding same message was received/consumed on the MQ2.</li>
<li>The 3rd problem is how to display this information in the same way as the Aggregate Report would in Jmeter. I would need to prove that a certain message was sent and received/consumed within x seconds under system load + calculate the Throughput in transactions per second.</li>
</ol>
<p>Does anyone know how I could solve these issues?</p>
",https://stackoverflow.com/questions/69287123/how-can-the-performance-testing-and-reporting-of-async-messages-over-different,"['multithreading', 'asynchronous', 'groovy', 'jmeter', 'ibm-mq']",447,True,0,1
Is there any way to do performance testing on website built on react js using Jmeter without selenium integration?,"<p>I want to perform load test on website built on react js with 500 users.
Is it possible with jmeter without selenium plugin?</p>
",https://stackoverflow.com/questions/69781292/is-there-any-way-to-do-performance-testing-on-website-built-on-react-js-using-jm,['jmeter'],297,False,0,2
"Mobile Performance Testing for Unique ID for particular device,here i am not having the user credentials,How to do user Load testing?","<p>Mobile Performance Testing for Unique ID for a particular device, here I am not having the user credentials, How to do Load testing with different credentials? and Increase more user load?</p>
",https://stackoverflow.com/questions/65917956/mobile-performance-testing-for-unique-id-for-particular-device-here-i-am-not-hav,"['performance', 'testing', 'jmeter', 'performance-testing', 'load-testing']",24,False,0,1
Spring cloud stream rabbitmq performance testing,"<p>I have set up a spring cloud stream with rabbitmq binder. I want to do performance testing with the spring cloud stream. is there any way to do performance testing with that?</p>
",https://stackoverflow.com/questions/69723552/spring-cloud-stream-rabbitmq-performance-testing,"['rabbitmq', 'spring-cloud-stream']",89,True,0,1
Measure average resource utilization of docker containers from jmeter,"<p>I'm doing a performance testing for a server, which deployed on docker containers (have three docker containers). I'm using jmeter to conduct performance testing.</p>
<p>How can I get the average resource utilization of three docker containers into jmeter during the testing time??</p>
",https://stackoverflow.com/questions/66837998/measure-average-resource-utilization-of-docker-containers-from-jmeter,"['docker', 'jmeter', 'performance-testing']",146,True,1,1
Automation vs performance testing,"<p>I am a beginner in performance testing and I would like to ask, with automation testing is it possible to be transformed into performance testing?</p>
<p>For example, I have the code of an automation of the login scenario for X users, will it be a good practice if I use the statistics of the code run to represent it as a performance diagram?</p>
",https://stackoverflow.com/questions/70056334/automation-vs-performance-testing,"['performance-testing', 'automation-testing']",58,True,0,1
Can we user selenium UI Regression Scripts to do performant testing,"<p>I need some input from loadrunner/jmeter experts.</p>
<ul>
<li>I'm having automation scripts which is written in selenium+ java .</li>
<li>Can i use same scripts to do performance testing using loadrunner/jemeter.?</li>
</ul>
<p>why i want do like this : to maintain single code base. if any changes happen so i will able to correct at one place and use it for UI Automation and performance testing.</p>
<p>Any help appreciate.</p>
",https://stackoverflow.com/questions/70076388/can-we-user-selenium-ui-regression-scripts-to-do-performant-testing,"['performance', 'selenium', 'jmeter', 'performance-testing', 'loadrunner']",130,True,1,2
To hit same request with different header each time in Jmeter,"<p>How to hit same request 5 times with different headers each time in Jmeter API performance testing</p>
",https://stackoverflow.com/questions/68364152/to-hit-same-request-with-different-header-each-time-in-jmeter,"['jmeter', 'http-headers']",404,False,0,1
How to test dynamodb with JMeter?,"<p>I'm relatively new to JMeter and I was wondering how one would go about load testing or performance testing on dynamodb using JMeter?</p>
",https://stackoverflow.com/questions/67384859/how-to-test-dynamodb-with-jmeter,"['testing', 'jmeter', 'amazon-dynamodb']",1127,True,0,1
How to add Size and Hardware parameters in Load testing?,"<p>My client has asked me to add below parameters in my load test result:</p>
<p>&quot;How are we doing on performance testing? Do we have any benchmarks - Eg. PPR 8 Core 32 GB RAM  250</p>
<p>Concurrent Users - 50</p>
<p>Reports: min &amp; min report size - xx kb)</p>
<p>If we haven’t carried out any such performance tests yet, can we plan for.&quot;</p>
<p>So, presently I'm only showing Response/elapsed time graph and Latency Graph in MS Excel, for up to 50 concurrent users.</p>
<p><a href=""https://i.stack.imgur.com/KxACg.png"" rel=""nofollow noreferrer"">enter image description here</a></p>
<p>My question is how may I add the Size parameter in the results?</p>
<p>Also how shall I test on the Hardware benchmarks for Load test (eg. 8 Core 32 GB RAM)?</p>
<p>What more things shall I do in performance testing, my client doesn't looks satisfied with the performance test I'm running currently.</p>
<p>(I'm a newbie to performance testing, 3 months only with this domain)</p>
",https://stackoverflow.com/questions/66532658/how-to-add-size-and-hardware-parameters-in-load-testing,"['performance', 'jmeter', 'load', 'performance-testing', 'load-testing']",33,True,0,1
Start Quarkus Application on test port for custom goal,"<p>I have a Quarkus application that automatically runs on the configured test port when I run mvn test. This works for both RestAssured and Karate tests I have for the API testing.</p>
<p>I am using Karate/Gatling tests to do performance testing, and I trigger these performance using gatling:test goal. Is there a way I can start my Quarkus application on test port automatically when I trigger gatling:test goal.</p>
<p>Basically, I want to have the application start automatically before my performance testing.</p>
<p>Appreciate any guidance.</p>
",https://stackoverflow.com/questions/67855214/start-quarkus-application-on-test-port-for-custom-goal,['quarkus'],90,False,0,0
Browser Based Performance Testing on AWS Device Farm,"<p>We want to use Selenium/Appium for browser based Performance Testing on AWS Device Farm. I am looking for Opensource Framework/Library/SDK for Selenium/Appium for Performance Testing specially for adding transactions and collecting performance statistics.</p>
<p>I have analyzed below -</p>
<p>Framework   Comments
testprojects.io This is free but not open source.
WebLOAD Good if you are working on WebLOAD cloud
Taurus
(<a href=""https://gettaurus.org/"" rel=""nofollow noreferrer"">https://gettaurus.org/</a>)
It is opensource but do not have much reach options for transactions, assertions and reporting.</p>
<p>Please let me know your recommendations and suggestions regarding it. Thanks.</p>
",https://stackoverflow.com/questions/67188736/browser-based-performance-testing-on-aws-device-farm,"['selenium', 'appium', 'performance-testing', 'aws-device-farm']",83,False,0,1
Apache pulsar service performance testing,"<p>Please help me, I need to do the performance testing for the pulsar service with the message rate above 1000000, it there any testing tool can do it?</p>
",https://stackoverflow.com/questions/68225108/apache-pulsar-service-performance-testing,"['java', 'apache-pulsar', 'pulsar']",366,True,1,2
How to access localhost:8089 on Azure VM from my local pc&#39;s browser?,"<p>I have an azure vm with gitlabrunner + locust on it for performance testing. Is it possible somehow to access VM's localhost:8089 from browser on my local pc?</p>
",https://stackoverflow.com/questions/69383527/how-to-access-localhost8089-on-azure-vm-from-my-local-pcs-browser,"['azure', 'virtual-machine', 'performance-testing', 'load-testing', 'locust']",1079,True,0,1
Trigger timer trigger Azure function from powershell,"<p>I am implementing an automation script (Powershell) for integration and performance testing where I need to trigger timer based azure function. Is there a way to trigger function from Powershell ?</p>
",https://stackoverflow.com/questions/68706980/trigger-timer-trigger-azure-function-from-powershell,"['azure', 'powershell', 'azure-functions', 'azure-powershell']",604,False,1,1
Performance testing for Svelte applications,"<p>How can I do client side performance testing for Svelte applications?</p>
<p>Is there any similar kind in JMeter / WebLoad like true client protocol as in Load runner to test the Svelte applications?</p>
",https://stackoverflow.com/questions/70273326/performance-testing-for-svelte-applications,"['performance', 'jmeter', 'performance-testing', 'svelte', 'sveltekit']",121,True,2,1
Properly analyze Azure logs,"<p>I have conducted a performance testing a on a e-commerce website hosted on Azure. And I am checking azure logs for the test duration to find some scaling issues. From the logs I saw a lot of &quot;InProc&quot; dependencies failure. Also a lot of &quot;Technical exception&quot; with message &quot; Cart not recalculated for remove shipping methods&quot;. So I would like to if this indicates any scaling issues or what should check or scaling issues for example slow database queries. I am very much new in performance testing and Azure so any help will be much appreciated. Thanks!!</p>
",https://stackoverflow.com/questions/69351595/properly-analyze-azure-logs,"['database', 'azure', 'testing', 'scaling', 'blazemeter']",48,False,0,1
How can I delete some data from DB in Jmeter?,"<p>I'm creating some queries for DB to delete all the test data after performance testing but nothing has happened. The result listener writes that the query was successful.<a href=""https://i.stack.imgur.com/ZJQFm.png"" rel=""nofollow noreferrer"">enter image description here</a></p>
",https://stackoverflow.com/questions/69045757/how-can-i-delete-some-data-from-db-in-jmeter,['jmeter'],85,False,0,1
"Mobile Performance Testing for Unique ID for particular device,here i am not having the user credentials,How to do user Load testing?","<p>Mobile Performance Testing for Unique ID for a particular device, here I am not having the user credentials, How to do Load testing with different credentials? and Increase more user load?</p>
",https://stackoverflow.com/questions/65917956/mobile-performance-testing-for-unique-id-for-particular-device-here-i-am-not-hav,"['performance', 'testing', 'jmeter', 'performance-testing', 'load-testing']",24,False,0,1
How Can I do performance testing using Rest Assured,"<p>I am using rest assured to automate my project. In the same project, I want to do performance testing in the API. I want to know how can I achieve this task??</p>
",https://stackoverflow.com/questions/67332540/how-can-i-do-performance-testing-using-rest-assured,"['rest', 'performance-testing', 'rest-assured', 'web-api-testing']",1992,True,0,1
"Capture first content paint, large content paint, first input delay metrics in Apache Annette or blazemeter","<p>How to capture the web vitals like first content paint, largest content paint, first input delay or any other metrics for performance tests executed in performance testing tools like Apache Jmeter or Blazemeter?</p>
",https://stackoverflow.com/questions/66827798/capture-first-content-paint-large-content-paint-first-input-delay-metrics-in-a,"['web', 'jmeter', 'blazemeter', 'core-web-vitals']",210,True,-1,1
Process JTL logs stage failing with error &quot;groovy.lang.MissingPropertyException: No such property: jtl for class: java.lang.String&quot;,"<p>Below is the pipeline stage i'm using for processing JTL logs. I'm getting the below error</p>
<pre><code>groovy.lang.MissingPropertyException: No such property: jtl for class: java.lang.String
</code></pre>
<p>Is this not the format to compare performance testing results from previous build and current build? Thanks!</p>
<pre><code>  stage(&quot;Process JTL logs&quot;) {
   agent {node 'Test_Node'}
     steps {
           sh 'echo &quot;Processing Test logs&quot;'
           /*
           * Use the Performance Plugin to process the .jtl log file.
           */
           perfReport compareBuildPrevious: true, 
           filterRegex: '', 
           ignoreFailedBuilds: true, 
           ignoreUnstableBuilds: true, 
           modeOfThreshold: true,
           relativeFailedThresholdPositive: 80.0, 
           relativeUnstableThresholdPositive: 80.0, 
           sourceDataFiles: &quot;/testFolder/apache-jmeter-5.4.1/output/Report-$BUILD_NUMBER.jtl&quot;
        }
    }
</code></pre>
",https://stackoverflow.com/questions/69647244/process-jtl-logs-stage-failing-with-error-groovy-lang-missingpropertyexception,"['jmeter', 'jenkins-pipeline', 'performance-testing']",88,False,0,0
READIOPS metric graph is not showing anything,"<p>Hi I am using aws document db to do some performance testing .I am doing only read operations for certain period of time .But strangely I am not seeing anything in READOPS count metric</p>
",https://stackoverflow.com/questions/69712858/readiops-metric-graph-is-not-showing-anything,"['amazon-web-services', 'aws-documentdb-mongoapi']",79,False,0,1
How to handle redirection when login Jmeter,"<p>I am doing performance testing. I have a URL abc.com it redirects to <a href=""http://github.com"" rel=""nofollow noreferrer"">http://github.com</a> for login. Because abc.com is registered in Github. What will be the approach to login into the application with Jmeter</p>
",https://stackoverflow.com/questions/69195302/how-to-handle-redirection-when-login-jmeter,['jmeter'],31,False,0,1
performance test script for an EPP application,"<p>Can we perform load tests on EPP applications? The application is a Windows batch file that interacts with the server. Which performance testing tool would be suitable for use? I need some help with this.</p>
",https://stackoverflow.com/questions/69839531/performance-test-script-for-an-epp-application,"['jmeter', 'performance-testing', 'epp']",84,False,0,1
How to generate JWT token on JMETER using a RSA 256 private key Required library or jar file?,"<p>Currently, I am performing performance testing of API and it is required a dynamic JWT token of <strong>RSA 256 private key</strong>. I didn't find any solution. Can anyone provide me with any JWT jar file and groove code</p>
",https://stackoverflow.com/questions/66963935/how-to-generate-jwt-token-on-jmeter-using-a-rsa-256-private-key-required-library,"['jmeter', 'jwt', 'rsa', 'jmeter-plugins']",983,True,1,1
How to start with dockerized application load/performance testing with multi nodes of docker?,"<p>I've been asked by my client to start with docker based performance and load testing.</p>
<p>Also they have have multiple nodes on docker for the application.</p>
<p>They are expecting me to run a load test on the dockerized application and share the results.</p>
<p>By the way I'm totally unaware from where to start for this.</p>
<p>I've searched on Blaze meter community (<a href=""https://www.blazemeter.com/blog/performance-testing-with-docker"" rel=""nofollow noreferrer"">https://www.blazemeter.com/blog/performance-testing-with-docker</a>) about this as well but looking for some guidance to start with this docker load testing.</p>
<p>What presently I have is the docker :
<a href=""https://i.stack.imgur.com/TPAsV.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/TPAsV.png"" alt=""enter image description here"" /></a></p>
<p>I also just wanted to know the suggestions what all parameters should we need to test when it comes to docker for performance testing.</p>
",https://stackoverflow.com/questions/66578357/how-to-start-with-dockerized-application-load-performance-testing-with-multi-nod,"['docker', 'performance', 'jmeter', 'performance-testing']",283,True,0,1
Why does the &quot;hatch rate&quot; matter when performance testing?,"<p>I'm using <code>Locust</code> for performance testing. It has two parameters: the number of users and the rate at which the users are generated. But why are the users not simply generated all at once? Why does it make a difference?</p>
",https://stackoverflow.com/questions/69223933/why-does-the-hatch-rate-matter-when-performance-testing,"['web-services', 'performance-testing', 'locust']",108,True,0,1
What is the efficient way to use Karate DSL with gradle and Junit5 runner,"<p>Were there any group of folks, who were successful with Karate DSL, using Gradle and Junit5 runner?</p>
<p>Should it be @Karate.Test or @Test?</p>
<pre><code>    import com.intuit.karate.junit5.Karate;


            class myRunner {

                @Test
                Karate mySample() {
                    return Karate.run(&quot;myFeature&quot;).relativeTo(getClass());
                }

                @Karate.Test
                void myParallelTest() {
                    Results results = Runner.path(&quot;classpath:examples&quot;).tags(&quot;~@skipme&quot;).parallel(5);
                    assertEquals(0, results.getFailCount(), results.getErrorMessages());
                }
            }
</code></pre>
<p>If I am lucky enough, I wanted to achieve performance testing after this with gatling in Gradle.</p>
",https://stackoverflow.com/questions/69354097/what-is-the-efficient-way-to-use-karate-dsl-with-gradle-and-junit5-runner,"['gradle', 'karate', 'junit5', 'runner']",249,True,1,1
how to make report on memory and cpu utilization,"<p>Actually currently I working on performance testing using JMeter  and I want to find memory utilization and CPU utilization here I use perfmon plugin and now generate report for memory utilization and CPU utilization so help for how to generate report ?</p>
",https://stackoverflow.com/questions/69190662/how-to-make-report-on-memory-and-cpu-utilization,['jmeter'],1156,False,1,1
Get token id from Login request in Gatling,"<p>I am using Gatling for performance testing, so I want know that how we extract token id from the login request here is code</p>
<pre><code>val scn = scenario(&quot;Navigation&quot;)
    .exec(http(&quot;request_6&quot;)
        .post(&quot;/WEBAUTO03/aurora/login/security_check&quot;)
        .headers(headers_6)
        .formParam(&quot;j_username&quot;, &quot;TONY&quot;)
        .formParam(&quot;j_password&quot;, &quot;1234&quot;)
        .formParam(&quot;doLogin&quot;, &quot;&quot;)
</code></pre>
<p>Above request provide token and I need apply the token in following request</p>
<pre><code>val headers_9 = Map(
    &quot;Content-type&quot; -&gt; &quot;text/plain&quot;,
    &quot;Origin&quot; -&gt; &quot;https://resource.com&quot;,
    &quot;X-XSRF-TOKEN&quot; -&gt; &quot;&quot;4c81ed9c-e509-4830-b724-62e489c918e2&quot;&quot;)       -----here i need to replace token 


        .exec(http(&quot;request_9&quot;)
        .post(&quot;/WEBAUTO03/aurora/JSON-RPC&quot;)
        .headers(headers_9)
        .body(RawFileBody(&quot;webview/navigation/0009_request.txt&quot;)))
</code></pre>
<p>anyone have any idea</p>
",https://stackoverflow.com/questions/67580519/get-token-id-from-login-request-in-gatling,"['scala', 'performance-testing', 'access-token', 'gatling', 'scala-gatling']",406,False,0,1
Gatling with karate performance testing is open source?,"<p>I am planning to use Gatling with karate for performance testing if it works.I have a question before using it.</p>
<p>is Gatling open source? I checked the website they have some pricing. not sure they have made it paid tool.</p>
",https://stackoverflow.com/questions/69017487/gatling-with-karate-performance-testing-is-open-source,['karate'],95,True,0,1
"How to find deadlock, timeout and memory issues using JMeter?","<p>I am new to performance testing. I have a task on measuring the web application performance. I need to find out which modules/calls are causing deadlock, timeout and memory issues.</p>
<p>Q1. How can I use JMeter to find out deadlock, memory and timeout issues? If I do the following steps, it is the right way to trace those issues?</p>
<ol>
<li>create a test plan in JMeter, which contains multiple Thread Group.</li>
<li>In each thread group, it contains multiple HTTP requests and 200 or
more users plus infinite loop.</li>
<li>Monitor JMeter results and SQL
profiler for deadlock.</li>
</ol>
<p>Q2. JMeter is the right tool for tracking those issues? Or, should I use browser based performance testing tool such as LoadNinja, LoadView?</p>
<p>Thanks
Bonnie</p>
",https://stackoverflow.com/questions/68028419/how-to-find-deadlock-timeout-and-memory-issues-using-jmeter,"['performance', 'testing', 'jmeter', 'performance-testing']",336,True,1,1
Can I measure the execution time of the Expect command in a script?,"<p>I am using Expect scripts for performance testing. We need to know how long each individual command takes to execute. Tell me, please, is it realistic to implement it?</p>
<p>I tried adding bash commands to the script, but it didn't end well</p>
",https://stackoverflow.com/questions/68281684/can-i-measure-the-execution-time-of-the-expect-command-in-a-script,"['linux', 'ssh', 'expect']",168,False,0,0
Record any application behavior or script in JMeter,"<p>I want to record my application behavior ex login in gui mode then want to find behavior and doing performance testing on that application using JMeter . so please help me to find out which plug ins or script to record particular application</p>
",https://stackoverflow.com/questions/69075408/record-any-application-behavior-or-script-in-jmeter,['jmeter'],66,False,0,1
How to deploy neoload in docker,"<p>Please does anyone know how to deploy neoload on Docker. I have looked at the neoload package on docker hub but it doesn't seem to make much sense. I want to use it for performance testing. the link is <a href=""https://hub.docker.com/r/neotys/neoload-controller/"" rel=""nofollow noreferrer"">https://hub.docker.com/r/neotys/neoload-controller/</a></p>
",https://stackoverflow.com/questions/66867764/how-to-deploy-neoload-in-docker,['neoload'],321,True,0,1
GATLING Rest API testing - java.nio.channels.ClosedChannelException: null,"<p>I am trying to do performance testing for a REST API, I am using below code:</p>
<pre><code>val httpConf = http.   baseUrl(&quot;http://localhost:8080&quot;)  
    .header(&quot;Accept&quot;,&quot;application/json&quot;)  
    .header(&quot;content-type&quot;,&quot;application/json&quot;) //scenario 
val scn = scenario(&quot;get user&quot;)
    .exec(http(&quot;get user request&quot;)
    .get(&quot;/endpoint&quot;)
    .check(status is 200)) 
setUp(scn.inject(atOnceUsers(1)))
    .protocols(httpConf)
</code></pre>
<p>but I am receiving this error:</p>
<pre><code>DEBUG io.gatling.http.client.impl.DefaultHttpClient - Failed to connect to remoteAddress=gatling.io/34.77.242.251:443 from localAddress=null
java.nio.channels.ClosedChannelException: null
</code></pre>
<p>I tried adding Proxy as well  <code>.proxy(Proxy(&quot;localhost&quot;, 8080))</code> but after adding proxy I am seeing below error</p>
<pre><code>Caused by: io.netty.handler.proxy.HttpProxyHandler$HttpProxyConnectException: http, none, localhost/127.0.0.1:8080 =&gt; gatling.io/&lt;unresolved&gt;:443, status: 400** 
</code></pre>
<p>Any suggestions on how to resolve this?</p>
",https://stackoverflow.com/questions/66449199/gatling-rest-api-testing-java-nio-channels-closedchannelexception-null,"['java', 'rest', 'performance-testing', 'load-testing', 'gatling']",1346,True,0,2
How to use xmlhttprequest or xhr2 with k6,"<p>I want to use the libraries xmlhttprequest or xhr2 with K6 performance testing tool.</p>
<p>As k6 does not support the node module, I am getting the below error</p>
<pre><code>GoError: Module specifier &quot;xhr2&quot; was tried to be loaded as remote module by prepending &quot;https://&quot; to it, which didn't work. If you are trying to import a nodejs module, this is not supported as k6 is _not_ nodejs based. Please read https://k6.io/docs/using-k6/modules for more information. Remote resolution error: &quot;Get &quot;https://xhr2&quot;: dial tcp: lookup xhr2: no such host&quot; at reflect.methodValueCall (native)
</code></pre>
<p>Is there a way i can download these library locally and use them. Appreciate your help.</p>
",https://stackoverflow.com/questions/65777392/how-to-use-xmlhttprequest-or-xhr2-with-k6,"['javascript', 'xmlhttprequest', 'k6']",408,True,0,1
How to send a HTTP request in JMeter which is having an environment in its url?,"<p>I want to send HTTP request to a particular URL in JMeter to do performance testing, but the URL is containing a environment name in its prefix <strong>ex:</strong> <em><a href=""http://dev-www.abc.com/"" rel=""nofollow noreferrer"">http://dev-www.abc.com/</a></em>.  while I'm running the particular script its failing because of the URL prefix.</p>
<p>How to achieve this?</p>
",https://stackoverflow.com/questions/67298140/how-to-send-a-http-request-in-jmeter-which-is-having-an-environment-in-its-url,['jmeter'],308,False,0,2
"HostClient can&#39;t follow redirects to a different protocol, please use Client instead - 15000","<p>I am using <code>bombardier</code> for asp.net core web api performance testing. <a href=""https://github.com/codesenberg/bombardier"" rel=""nofollow noreferrer"">https://github.com/codesenberg/bombardier</a></p>
<p>For <code>http</code> it's works fine and giving all the result,</p>
<pre><code>bombardier -c 128 -d 30s -l --rate 500 http://localhost:5000/
</code></pre>
<p>When I tried to do for <code>https</code> (s), then it throwing error,</p>
<pre><code>HostClient can't follow redirects to a different protocol, please use Client instead - 15000
</code></pre>
<p>Can I use <code>https</code>? any other tool which give latency Statistics, req/res per seconds, latency distribution, etc?</p>
",https://stackoverflow.com/questions/69084730/hostclient-cant-follow-redirects-to-a-different-protocol-please-use-client-ins,"['c#', 'asp.net-core-3.1', 'bombardier']",931,True,1,1
Uncaught Exception java.lang.IllegalAccessError:,"<p>Folks
I'm trying to perform Performance Testing but unable to save, save as, open etc. operations and it logs the errors in the command prompt or you may see the errors highlighted in the snip. Please help me with its solution. Thanking you in anticipation. <a href=""https://i.stack.imgur.com/62x4H.png"" rel=""nofollow noreferrer"">Please click this link to find attached snip</a></p>
",https://stackoverflow.com/questions/67073747/uncaught-exception-java-lang-illegalaccesserror,['java'],112,False,-2,1
Percentage execution for login and checkout operation,"<p>I am conducting a performance testing where i have a scenario where I have to execute home page , login, product catalogue and checkout operation for a ecommerce site. But I am doing the login operation 40% of the time and checkout 20%. how can i tell jmeter to execute checkout only for loged in user??</p>
",https://stackoverflow.com/questions/68871894/percentage-execution-for-login-and-checkout-operation,"['testing', 'jmeter', 'blazemeter']",34,True,-1,2
Adding keyStore and trustStore to Gatling requests,"<p>I've been doing performance testing using Gatling and now need to find a way to add keyStore and trustStore to my requests. Was wondering if that is something I can add in the <code>HttpProtocolBuilder</code> or do I have to take a slightly different approach.</p>
<p>Basically is there a Gatling equivalent to the following RestAssured commands?</p>
<pre><code>given()
        .keyStore(&quot;src/test/resources/fooKeyStore.jks&quot;,&quot;fooPassword&quot;)
        .trustStore(&quot;src/test/resources/fooTrustStore.jks&quot;,&quot;fooPassword&quot;)
</code></pre>
",https://stackoverflow.com/questions/70272692/adding-keystore-and-truststore-to-gatling-requests,"['scala', 'performance-testing', 'gatling']",345,True,0,1
writing load tests for junit springboot application,"<p>I have written the following junit test.</p>
<pre><code>@SpringBootTest
public class abc {

@Autowired
private ActorService actorService;

@Test
@Transactional
public void testCorrectIdHandlingForNewInsertedActors() {
    int elementsInDb = 0;
    for (Actor a : this.actorService.findAll()) {
        elementsInDb++;
    }

    Actor actor = this.actorService.saveAndSetId(new Actor());

    assertEquals(elementsInDb + 1, actor.getId());
}
}
</code></pre>
<p>Now I want to write some load tests for performance testing but I don't know which tools I can use within my spring application. I am using gradle as my build tool. Any tutorial will be appreciated.</p>
<p>PS: I have already tried zerocode but does not work for me</p>
",https://stackoverflow.com/questions/66190441/writing-load-tests-for-junit-springboot-application,"['spring-boot', 'testing', 'junit']",892,True,1,1
IO Error: Socket read timed out only when database is running JDBCTemplate query with IN statement,"<p>Hello Everyone,</p>
<p>I am performance testing simple Rest endpoint with 60 transactions/second and out of 100k hits only 100 are failing with following error,we tried each and every way of increasing max lifetime and improving database memory, still getting socket read timeout error:</p>
<p>Query:</p>
<pre><code>    &gt;  select
    &gt;         store,
    &gt;                 product,quantity
    &gt;                        from
    &gt;                 store
    &gt;             where store in (: stores) and product in (: products);
</code></pre>
<p>My connection settings are as follows:</p>
<pre><code>    **application.properties** 
    
        datasources.spring.poolName= springDB
        datasources.spring.connectionTimeout= 100000
        datasources.spring.maximumPoolSize= 30
        datasources.spring.idleTimeout= 30000
        datasources.spring.maxLifetime= 600000
        datasources.spring.validationTimeout= 1000
        datasources.spring.leakDetectionThreshold= 90000
        datasources.spring.autoCommit= true
        datasources.spring.minimumIdle= 30
        datasources.spring.connectionTestQuery= SELECT 1 FROM DUAL
        datasources.spring.driverClassName=oracle.jdbc.driver.OracleDriver
</code></pre>
<p><strong>Exception:</strong></p>
<ul>
<li>IO Error: Socket read timed out</li>
</ul>
<pre><code>           at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:747)
           at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:904)
           at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1082)
           at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1737)
           at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1692)
           at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:300)
           at com.zaxxer.hikari.pool.PoolBase.isConnectionAlive(PoolBase.java:165)
           at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:185)
           at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:161)
           at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:128)
           at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:158)
           at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:116)
           at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
           at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:612)
           at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:669)
           at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:694)
           at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:748)
           at org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.query(NamedParameterJdbcTemplate.java:216)
           at org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.query(NamedParameterJdbcTemplate.java:223)
</code></pre>
",https://stackoverflow.com/questions/69473759/io-error-socket-read-timed-out-only-when-database-is-running-jdbctemplate-query,"['spring-boot', 'jdbctemplate', 'hikaricp']",346,False,0,0
Is there a way to send unique value for each thread run using ruby-jmeter,"<p>I am writing a load test where in a post request i need to send a value that has unique id in the payload for each request.</p>
<p>We are using ruby-jmeter for performance testing.
I see a lot of documents suggesting for jmeter but no mention of how to achieve the same in ruby-jmeter.</p>
",https://stackoverflow.com/questions/66779498/is-there-a-way-to-send-unique-value-for-each-thread-run-using-ruby-jmeter,"['ruby', 'performance-testing', 'ruby-jmeter']",166,True,0,1
Spring webflux reactive Mono::subscribe,"<p>Problem statement:</p>
<p>I am trying to save session in redis before the request is forwarded to downstream system.</p>
<pre><code> return new OrderedGatewayFilter((exchange, chain) -&gt; exchange.getSession().doOnNext(session -&gt; {
     // some code
}
}).map(WebSession::save).doOnNext(Mono::subscribe).then(chain.filter(exchange)), SAVE_SESSION_FILTER);
</code></pre>
<p>However Mono::subscribe is asynchornous is nature, and there is no guarantee that session will be stored in redis first andthen forwarded to downstream. We are facing this issue while performing performance testing with concurrent request.</p>
<p>Is there any way to make it synchronous.</p>
",https://stackoverflow.com/questions/69323842/spring-webflux-reactive-monosubscribe,"['spring-boot', 'spring-webflux', 'spring-cloud-gateway']",342,True,1,1
How to perform performance testing on Citrix Workspace,"<p>In order to access the developed software, we can log in via Citrix Workspace and open a browser, and in this way we can access the address.I couldn't find a very detailed document on performance testing on Citrix with Jmeter. I wonder if anyone knows a tool where I can perform these performance tests and has detailed information about this tool?</p>
",https://stackoverflow.com/questions/70360836/how-to-perform-performance-testing-on-citrix-workspace,"['testing', 'performance-testing', 'citrix']",313,False,0,1
Distributed A/B-like testing with Locust,"<p>I need to compare network latency for 2 clients half the globe away from each other and visualize the response time history for each location the request comes from side-by-side. I've been researching load and performance testing tools and found Locust to be very convenient. Is there a way I can achieve my goal with Locust in a quick/standard/non-hacky way?</p>
",https://stackoverflow.com/questions/66261754/distributed-a-b-like-testing-with-locust,"['performance-testing', 'distributed', 'locust']",74,False,0,1
Performance Testing - Are there any automation tools for performance testing that renders webpages in browser?,"<p>All the performance testing tools I found do not use actual browsers for UI testing. Some of them will get the html of the webpage from the server and will parse it and we can verify the elements on them.</p>
<p>What I want is to find the time it takes to render the web pages and elements in actual browsers when multiple users are logged into the application. Any suggestions?</p>
",https://stackoverflow.com/questions/65622979/performance-testing-are-there-any-automation-tools-for-performance-testing-tha,"['performance-testing', 'ui-automation', 'browser-automation']",223,True,0,1
How to download LoadRunner performance testing tool?,"<p>How to download LoadRunner performance testing tool?
When I try to download from the Micro Focus website which is there official website, they are not allowing me to download the trial version instead they have a form which we need to fill and then they will show a message saying &quot;We will connect with you soon&quot;.</p>
<p>Please help me by informing me how to download the trial version of Loadrunner?</p>
",https://stackoverflow.com/questions/68342439/how-to-download-loadrunner-performance-testing-tool,"['performance', 'testing', 'loadrunner']",355,False,0,1
How to resolve &quot; cannot resolve com.intuit.karate:karate-gatling:1.2.0&quot;?,"<p>I already have an e2e in karate for my api tests and  i am trying use gatling for the performance testing.
i have installed scala(i am using intellij ide)
i have java jdk 15 and my environment variables are correctly set for java and gatling
i have added framework support for scala class
i have added below dependencies to my pom
i am still getting &quot; cannot resolve com.intuit.karate:karate-gatling:1.2.0&quot;?</p>
<pre><code>    &lt;plugins&gt;
      &lt;plugin&gt;
        &lt;groupId&gt;net.alchim31.maven&lt;/groupId&gt;
        &lt;artifactId&gt;scala-maven-plugin&lt;/artifactId&gt;
        &lt;version&gt;4.5.3&lt;/version&gt;
      &lt;/plugin&gt;
      &lt;plugin&gt;
        &lt;groupId&gt;io.gatling&lt;/groupId&gt;
        &lt;artifactId&gt;gatling-maven-plugin&lt;/artifactId&gt;
        &lt;version&gt;3.1.1&lt;/version&gt;

 &lt;dependencies&gt;
   &lt;dependency&gt;
      &lt;groupId&gt;com.intuit.karate&lt;/groupId&gt;
      &lt;artifactId&gt;karate-apache&lt;/artifactId&gt;
      &lt;version&gt;${karate.version}&lt;/version&gt;
      &lt;scope&gt;test&lt;/scope&gt;
   &lt;/dependency&gt;
   &lt;dependency&gt;
      &lt;groupId&gt;com.intuit.karate&lt;/groupId&gt;
      &lt;artifactId&gt;karate-junit4&lt;/artifactId&gt;
      &lt;version&gt;${karate.version}&lt;/version&gt;
      &lt;scope&gt;test&lt;/scope&gt;
   &lt;/dependency&gt;
&lt;/dependencies&gt;
</code></pre>
<pre><code>
</code></pre>
",https://stackoverflow.com/questions/68954154/how-to-resolve-cannot-resolve-com-intuit-karatekarate-gatling1-2-0,"['intellij-idea', 'performance-testing', 'karate']",1287,False,-1,1
Karate test framework: besides SOAP and REST also JMS calls?,"<p>We are using ReadyAPI for API testing, Mocking and JMeter for performance testing and looking into the possibility to migrate everything to Karate framework. Would be handy to have all in one open source framework. But the main question is: can Karate framework handle JMS calls? Because 80% of our service testing is via JMS (with Hermes in ReadyAPI). I know SOAP and REST are supported but can't find anything about JMS.</p>
",https://stackoverflow.com/questions/69931813/karate-test-framework-besides-soap-and-rest-also-jms-calls,"['api', 'testing', 'frameworks', 'jms', 'karate']",716,True,1,1
pfSense Enterprise Firewall Testing,"<p>I am working on Firewall performance testing. I need to know about pfSense Enterprise Firewall performance. How many maximum concurrent users and maximum sessions does it supports?</p>
<p>I have used JMeter for concurrent user but could not find any other tool to measure maximum sessions of a firewall, or both maximum concurrent users and maximum sessions of a firewall. Is there any tool to test the maximum concurrent users and maximum sessions of a firewall?</p>
",https://stackoverflow.com/questions/69187320/pfsense-enterprise-firewall-testing,"['concurrency', 'performance-testing', 'firewall', 'pfsense']",125,False,0,1
What is a good process I/O rate?,"<p>I have conducted a performance testing on e-commerce website and trying to find some bottlenecks. From Azure application insight&gt;performance i checked the process I/O rate.
<a href=""https://i.stack.imgur.com/ERS4D.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/ERS4D.png"" alt=""enter image description here"" /></a></p>
<p>As you can see from the picture the process I/O rate was 33.57 during the performance test duration. But i am not sure if that's a good or not. Can please advise me on what is a good I?o rate for e-commerce application? Thanks</p>
",https://stackoverflow.com/questions/69375296/what-is-a-good-process-i-o-rate,"['testing', 'azure-devops', 'io', 'devops', 'azure-application-insights']",237,True,-1,1
Measuring the performance of VNC feeds,"<p>We have a web application which connects to a remote server through VNC. The user do some use cases on the VNC server through this connection.</p>
<p>I want to do the performance testing of the use cases. How to measure the speed (performance) of the VNC feed from my web application to the VNC server?</p>
<p>I could not find anything with JMeter or Load runner tools, Is there any tools available to measure this?</p>
",https://stackoverflow.com/questions/70367085/measuring-the-performance-of-vnc-feeds,"['performance-testing', 'vnc-server']",277,False,0,1
Organising JMeter API tests,"<p>I'm pretty new to performance testing.</p>
<p>I've got a bunch of endpoints to test and I wonder what is the best approach to do it.
I thought about grouping tests for endpoints in separate .jmx files, for example:
Suppose that there are 2 endpoints: <strong>A</strong> with simple GET method and <strong>B</strong> that can serve GET, PUT, POST and DELETE requests. In this scenario I would create 2 .jmx files.</p>
<p>Any helpful links to some tutorials appreciated :)</p>
",https://stackoverflow.com/questions/67594169/organising-jmeter-api-tests,"['performance', 'testing', 'jmeter']",101,True,0,1
Buildspec for Spring boot application,"<p>So i stuck on one thing I have an application which was written on Spring boot and located on Fargate behind Application Load Balancer. I should make a load performance testing on that app and create buildspec file, i made it but i completly new in building pipelines for that service, so don't know how to write buildspec file. Could someone please help me and give the right direction how to write the buildspec for that service?</p>
",https://stackoverflow.com/questions/70172498/buildspec-for-spring-boot-application,"['spring', 'spring-boot', 'aws-codebuild', 'buildspec']",203,True,0,1
http4s Received premature EOF error for 2 per of request,"<p>we are doing performance testing for our application. we are getting <code>org.http4s.InvalidBodyException: Received premature EOF</code> error.</p>
<p>The problem is we are getting only for 1-2 per of requests. The percentage will increase if we will increase rps.</p>
<p><strong>The architecture of Performance application:</strong></p>
<p><a href=""https://i.stack.imgur.com/mk7SV.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/mk7SV.png"" alt=""enter image description here"" /></a></p>
<p>The issue can happen in 3 parts:</p>
<ol>
<li>When we send requests from prod application to Kafka</li>
<li>In the performance application client who is firing the requests</li>
<li>Som issue in our application</li>
</ol>
<p>If someone faces a similar issue, please let me know.</p>
",https://stackoverflow.com/questions/68013233/http4s-received-premature-eof-error-for-2-per-of-request,"['scala', 'http', 'akka-http', 'http4s']",309,True,2,1
How can I create clone of tables in google bigquery,"<p>Currently I am doing some performance testing. For that reason I need to create 100k tables in a dataset with x number of rows. I have the sample table but how can I write a script to execute select statement with some concatenation happening inside loop.</p>
<p>A sample to create 10 copies</p>
<pre><code>DECLARE i INT64 DEFAULT 1;
DECLARE n int64;
SET n = 10;
-- we will do this until we execute below query n times
WHILE i &lt; n DO
CREATE TABLE `myproject.target_dataset.table_` + STRING(i)
AS SELECT * FROM `myproject.source_databaset.sample_table` 
SET i = i + 1;
END WHILE;
</code></pre>
<p>End Result : table_1, table_2 ... table_10 would be there in dataset.</p>
<p>How can I achieve &quot;CREATE TABLE <code>myproject.target_dataset.table_</code> + STRING(i)&quot; in bigquery scripting.</p>
<p>Tried &quot;bq cp myproject.source_dataset.sample_table myproject.target_dataset.table_1...n&quot; but its very slow.</p>
",https://stackoverflow.com/questions/67629785/how-can-i-create-clone-of-tables-in-google-bigquery,['google-bigquery'],153,True,1,1
Distributing the hours from master table to all the matching values in reference table using excel formula or power queries,"<p>My master table contains below data</p>
<div class=""s-table-container"">
<table class=""s-table"">
<thead>
<tr>
<th style=""text-align: center;"">RESOURCE NAME</th>
<th style=""text-align: center;"">SKILL GROUP</th>
<th style=""text-align: center;"">PROJECT</th>
<th style=""text-align: center;"">COST   PER HOUR</th>
<th style=""text-align: center;"">CAPACITY</th>
</tr>
</thead>
<tbody>
<tr>
<td style=""text-align: center;"">Resource 1</td>
<td style=""text-align: center;"">Automation Testing</td>
<td style=""text-align: center;"">Project 1</td>
<td style=""text-align: center;"">12.0</td>
<td style=""text-align: center;"">800.0</td>
</tr>
<tr>
<td style=""text-align: center;"">Resource   2</td>
<td style=""text-align: center;"">DB Testing</td>
<td style=""text-align: center;"">Project 1</td>
<td style=""text-align: center;"">11.0</td>
<td style=""text-align: center;"">900.0</td>
</tr>
<tr>
<td style=""text-align: center;"">Resource 3</td>
<td style=""text-align: center;"">DB Testing</td>
<td style=""text-align: center;"">Project 1</td>
<td style=""text-align: center;"">12.0</td>
<td style=""text-align: center;"">800.0</td>
</tr>
<tr>
<td style=""text-align: center;"">Resource   4</td>
<td style=""text-align: center;"">Report Testing</td>
<td style=""text-align: center;"">Project 2</td>
<td style=""text-align: center;"">12.0</td>
<td style=""text-align: center;"">200.0</td>
</tr>
<tr>
<td style=""text-align: center;"">Resource 5</td>
<td style=""text-align: center;"">CICD and Devops</td>
<td style=""text-align: center;"">Project 3</td>
<td style=""text-align: center;"">11.0</td>
<td style=""text-align: center;"">800.0</td>
</tr>
<tr>
<td style=""text-align: center;"">Resource   6</td>
<td style=""text-align: center;"">Performance Testing</td>
<td style=""text-align: center;"">Project 1</td>
<td style=""text-align: center;"">12.0</td>
<td style=""text-align: center;"">900.0</td>
</tr>
<tr>
<td style=""text-align: center;"">Resource 7</td>
<td style=""text-align: center;"">Automation Testing</td>
<td style=""text-align: center;"">Project 2</td>
<td style=""text-align: center;"">10.0</td>
<td style=""text-align: center;"">250.0</td>
</tr>
<tr>
<td style=""text-align: center;"">Resource   8</td>
<td style=""text-align: center;"">Cloud Testing</td>
<td style=""text-align: center;"">Project 3</td>
<td style=""text-align: center;"">12.0</td>
<td style=""text-align: center;"">900.0</td>
</tr>
<tr>
<td style=""text-align: center;"">Resource 9</td>
<td style=""text-align: center;"">Report Testing</td>
<td style=""text-align: center;"">Project 1</td>
<td style=""text-align: center;"">11.0</td>
<td style=""text-align: center;"">800.0</td>
</tr>
<tr>
<td style=""text-align: center;"">Resource   10</td>
<td style=""text-align: center;"">Cloud Testing</td>
<td style=""text-align: center;"">Project 1</td>
<td style=""text-align: center;"">11.0</td>
<td style=""text-align: center;"">900.0</td>
</tr>
<tr>
<td style=""text-align: center;"">Resource 11</td>
<td style=""text-align: center;"">Report Testing</td>
<td style=""text-align: center;"">Project 3</td>
<td style=""text-align: center;"">12.0</td>
<td style=""text-align: center;"">800.0</td>
</tr>
</tbody>
</table>
</div>
<p>and my references table has got these entries</p>
<div class=""s-table-container"">
<table class=""s-table"">
<thead>
<tr>
<th style=""text-align: center;"">RESOURCE NAME</th>
<th style=""text-align: center;"">SKILL GROUP</th>
<th style=""text-align: center;"">PROJECT</th>
<th style=""text-align: center;"">DEMAND</th>
<th style=""text-align: center;"">Capacity</th>
</tr>
</thead>
<tbody>
<tr>
<td style=""text-align: center;"">Resource 1</td>
<td style=""text-align: center;"">Automation Testing</td>
<td style=""text-align: center;"">Project 2</td>
<td style=""text-align: center;"">900.0</td>
<td style=""text-align: center;""></td>
</tr>
<tr>
<td style=""text-align: center;"">Resource   2</td>
<td style=""text-align: center;"">DB Testing</td>
<td style=""text-align: center;"">Project 1</td>
<td style=""text-align: center;"">300.0</td>
<td style=""text-align: center;""></td>
</tr>
<tr>
<td style=""text-align: center;"">Resource 3</td>
<td style=""text-align: center;"">DB Testing</td>
<td style=""text-align: center;"">Project 1</td>
<td style=""text-align: center;"">400.0</td>
<td style=""text-align: center;""></td>
</tr>
<tr>
<td style=""text-align: center;"">Resource   1</td>
<td style=""text-align: center;"">Report Testing</td>
<td style=""text-align: center;"">Project 1</td>
<td style=""text-align: center;"">200.0</td>
<td style=""text-align: center;""></td>
</tr>
<tr>
<td style=""text-align: center;"">Resource 4</td>
<td style=""text-align: center;"">CICD and Devops</td>
<td style=""text-align: center;"">Project 3</td>
<td style=""text-align: center;"">300.0</td>
<td style=""text-align: center;""></td>
</tr>
<tr>
<td style=""text-align: center;"">Resource   5</td>
<td style=""text-align: center;"">Performance Testing</td>
<td style=""text-align: center;"">Project 2</td>
<td style=""text-align: center;"">900.0</td>
<td style=""text-align: center;""></td>
</tr>
<tr>
<td style=""text-align: center;"">Resource 6</td>
<td style=""text-align: center;"">Automation Testing</td>
<td style=""text-align: center;"">Project 1</td>
<td style=""text-align: center;"">200.0</td>
<td style=""text-align: center;""></td>
</tr>
<tr>
<td style=""text-align: center;"">Resource   2</td>
<td style=""text-align: center;"">Cloud Testing</td>
<td style=""text-align: center;"">Project 2</td>
<td style=""text-align: center;"">900.0</td>
<td style=""text-align: center;""></td>
</tr>
<tr>
<td style=""text-align: center;"">Resource 7</td>
<td style=""text-align: center;"">Report Testing</td>
<td style=""text-align: center;"">Project 1</td>
<td style=""text-align: center;"">400.0</td>
<td style=""text-align: center;""></td>
</tr>
<tr>
<td style=""text-align: center;"">Resource   8</td>
<td style=""text-align: center;"">Cloud Testing</td>
<td style=""text-align: center;"">Project 3</td>
<td style=""text-align: center;"">800.0</td>
<td style=""text-align: center;""></td>
</tr>
<tr>
<td style=""text-align: center;"">Resource 9</td>
<td style=""text-align: center;"">Report Testing</td>
<td style=""text-align: center;"">Project 2</td>
<td style=""text-align: center;"">900.0</td>
<td style=""text-align: center;""></td>
</tr>
<tr>
<td style=""text-align: center;"">Resource   10</td>
<td style=""text-align: center;"">Pipeline Testing</td>
<td style=""text-align: center;"">Project 1</td>
<td style=""text-align: center;"">600.0</td>
<td style=""text-align: center;""></td>
</tr>
<tr>
<td style=""text-align: center;"">Resource 11</td>
<td style=""text-align: center;"">Cloud Testing</td>
<td style=""text-align: center;"">Project 3</td>
<td style=""text-align: center;"">700.0</td>
<td style=""text-align: center;""></td>
</tr>
<tr>
<td style=""text-align: center;"">Resource   10</td>
<td style=""text-align: center;"">Performance Testing</td>
<td style=""text-align: center;"">Project 2</td>
<td style=""text-align: center;"">900.0</td>
<td style=""text-align: center;""></td>
</tr>
<tr>
<td style=""text-align: center;"">Resource 11</td>
<td style=""text-align: center;"">Automation Testing</td>
<td style=""text-align: center;"">Project 1</td>
<td style=""text-align: center;"">250.0</td>
<td style=""text-align: center;""></td>
</tr>
</tbody>
</table>
</div>
<p>What I am trying to achieve here to distribute my capacity hours given in the master table to all the matching records in reference table.</p>
<p><strong>For example:</strong>
In master table for Resource 10 total capacity is 900 hours and he has been allocated to 2 different projects in reference table, so his capacity columns in the reference table will be updated and total capacity should be distributed to 450 each and in future if he get assigned more projects then his total capacity will be distributed among all the entries matches to Resource 10. Same for other matching Resources.</p>
",https://stackoverflow.com/questions/69280513/distributing-the-hours-from-master-table-to-all-the-matching-values-in-reference,"['excel', 'excel-formula', 'pivot-table', 'powerquery']",73,True,0,2
H2 not letting me insert data in bulk,"<p>So I've prepared <code>INSERT</code> statements to add data in bulk to my database (for performance testing) but every time I run a fairly large statement (about 100,000 data points), it just crashes instantly on me.</p>
<p><a href=""https://i.stack.imgur.com/XVjm1.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/XVjm1.png"" alt=""enter image description here"" /></a></p>
<p>Sometimes, it gives me a &quot;This application has no explicit mapping for /error, so you are seeing this as a fallback. Whitelabel error page&quot; error. Really not sure what to do. Is it just not possible to add a ton of data through the H2 webpage like that ?</p>
",https://stackoverflow.com/questions/66555057/h2-not-letting-me-insert-data-in-bulk,"['sql', 'h2']",27,False,0,0
Can we Scale gRPC like worker processes in the same server,"<p>Our application is expected to receive thousands of request every second and we are considering gRPC as one of our main service is in a different language.
My queries are</p>
<ol>
<li>Can we use something like supervisor to spawn multiple workers (one gRPC server per service) as gRPC servers listening to the same port, Or is gRPC servers limited to only one per server/port</li>
<li>How would i go about the performance testing to determine maximum requests per gRPC server.</li>
</ol>
<p>Thanks in advance</p>
",https://stackoverflow.com/questions/66150457/can-we-scale-grpc-like-worker-processes-in-the-same-server,"['grpc', 'supervisord']",421,True,0,1
Garbage Collection tuning in Java8 using G1GC,"<p>We are trying to improve our app performance and are doing a performance testing.
We have a Linux VM with 4 cores and 16 GB memory. The application has more then 100 users and are complaining of slowness.
Here are the performance tuning we have done so far</p>
<pre><code>&lt;heap size=&quot;8192m&quot; max-size=&quot;8192m&quot;/&gt;
            ***&lt;jvm-options&gt;
                &lt;option value=&quot;-XX:+UseG1GC&quot;/&gt;
                &lt;option value=&quot;-XX:+UseStringDeduplication&quot;/&gt;
                &lt;option value=&quot;-verbose:gc&quot;/&gt;
                &lt;option value=&quot;-XX:+PrintGCDetails&quot;/&gt;
                &lt;option value=&quot;-XX:+PrintGCDateStamps&quot;/&gt;
                &lt;option value=&quot;-XX:+PrintGCTimeStamps&quot;/&gt;
                &lt;option value=&quot;-XX:+PrintGCApplicationStoppedTime&quot;/&gt;
                &lt;option value=&quot;-XX:+UseGCLogFileRotation&quot;/&gt;
                &lt;option value=&quot;-XX:NumberOfGCLogFiles=5&quot;/&gt;
                &lt;option value=&quot;-XX:GCLogFileSize=3M&quot;/&gt;
                &lt;option value=&quot;-XX:-TraceClassUnloading&quot;/&gt;
                &lt;option value=&quot;-XX:+HeapDumpOnOutOfMemoryError&quot;/&gt;***
</code></pre>
<p><strong>we are seeing a 11 second garbage collection time as below</strong></p>
<pre><code>    2021-09-14T18:43:27.186+1000: 14806.057: [GC pause (G1 Evacuation Pause) (young), 0.1189389 secs]
       [Parallel Time: 71.8 ms, GC Workers: 4]
          [GC Worker Start (ms): Min: 14806057.7, Avg: 14806057.7, Max: 14806057.7, Diff: 0.1]
          [Ext Root Scanning (ms): Min: 5.4, Avg: 6.9, Max: 8.9, Diff: 3.5, Sum: 27.5]
          [Update RS (ms): Min: 7.2, Avg: 9.0, Max: 9.7, Diff: 2.6, Sum: 35.8]
             [Processed Buffers: Min: 30, Avg: 33.2, Max: 38, Diff: 8, Sum: 133]
          [Scan RS (ms): Min: 0.3, Avg: 0.3, Max: 0.3, Diff: 0.1, Sum: 1.2]
          [Code Root Scanning (ms): Min: 0.0, Avg: 0.0, Max: 0.1, Diff: 0.1, Sum: 0.1]
          [Object Copy (ms): Min: 54.7, Avg: 55.3, Max: 56.0, Diff: 1.4, Sum: 221.3]
          [Termination (ms): Min: 0.0, Avg: 0.0, Max: 0.0, Diff: 0.0, Sum: 0.0]
             [Termination Attempts: Min: 1, Avg: 1.0, Max: 1, Diff: 0, Sum: 4]
          [GC Worker Other (ms): Min: 0.0, Avg: 0.1, Max: 0.1, Diff: 0.1, Sum: 0.3]
          [GC Worker Total (ms): Min: 71.5, Avg: 71.6, Max: 71.6, Diff: 0.1, Sum: 286.2]
          [GC Worker End (ms): Min: 14806129.2, Avg: 14806129.3, Max: 14806129.3, Diff: 0.1]
       [Code Root Fixup: 0.0 ms]
       [Code Root Purge: 0.0 ms]
       [String Dedup Fixup: 16.8 ms, GC Workers: 4]
          [Queue Fixup (ms): Min: 0.0, Avg: 0.0, Max: 0.1, Diff: 0.1, Sum: 0.1]
          [Table Fixup (ms): Min: 16.0, Avg: 16.3, Max: 16.6, Diff: 0.6, Sum: 65.3]
       [Clear CT: 0.5 ms]
       [Other: 29.8 ms]
          [Choose CSet: 0.0 ms]
          [Ref Proc: 26.7 ms]
          [Ref Enq: 0.9 ms]
          [Redirty Cards: 0.1 ms]
          [Humongous Register: 0.2 ms]
          [Humongous Reclaim: 0.1 ms]
          [Free CSet: 1.3 ms]
           [Eden: 4072.0M(4072.0M)-&gt;0.0B(4096.0M) Survivors: 98304.0K-&gt;86016.0K Heap: 7267.0M(8192.0M)-&gt;3187.9M(8192.0M)]
        [Times: user=0.38 sys=0.00, real=0.12 secs] 
    
</code></pre>
<p><strong>How do we bring it down? we are planning to add 32 GB memory to the server and have the heap size (min and max at 20 GB)</strong></p>
",https://stackoverflow.com/questions/69175154/garbage-collection-tuning-in-java8-using-g1gc,['g1gc'],739,True,1,1
Running multiple Node files from batch file,"<p>I have a situation where I need to rerun the same process 5 times (performance testing). Basically I am using this :</p>
<pre><code>@echo off  
cd &quot;E:\Performance\CpuTest&quot;
start /wait npm install
start /wait node index.js
start /wait node index.js
start /wait node index.js
start /wait node index.js
start /wait node index.js
</code></pre>
<p>Issue is this <code>&quot;start /wait npm install&quot;</code> stalls the whole thing as It runs installs the packages if missing but then the newly opened <code>cmd</code> where <code>npm</code> install was launched remains open and waits for me to close it then it moves to next line. If I remove the wait on it then it runs and closes but at the same time the Node js script starts running aswell.</p>
<p>Any solutions ?</p>
",https://stackoverflow.com/questions/70179489/running-multiple-node-files-from-batch-file,"['node.js', 'batch-file']",279,False,0,0
Blockhound exception occurs even with explicit schedulers,"<p>I have a similar snippet of code to scheduler an I/O on separate thread pool but unfortunately, we do need its response to decide to proceed further or not.</p>
<pre><code>private Response getItemsNonBlockingMethod(String id, final String path) {
        WebTarget webTarget = sampleServWebTarget
                .path(path).queryParam(&quot;id&quot;, id);
        Mono&lt;Response&gt; responseMono = Mono.fromCallable(() -&gt; {
            // Blocking I/O is scheduled on a separate thread pool
            return webTarget.request().get();
        }).subscribeOn(Schedulers.boundedElastic());
        return responseMono.block()
    }

</code></pre>
<p>I have enabled blockhound on my local, this seems to be working fine for most of the cases. But when I do Load and Performance testing, I do see like ~10 occurences of blockhound exception, Am I missing something ? Are there any better way to block in spring reactor version 3.4 ?</p>
<p>Update:</p>
<p>Stack Trace:</p>
<pre><code>reactor.blockhound.BlockingOperationError: Blocking call! sun.misc.Unsafe#park
    at sun.misc.Unsafe.park(Unsafe.java)
    Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: 
Assembly trace from producer [reactor.core.publisher.MonoError] :
    reactor.core.publisher.Mono.error
    reactor.netty.http.client.HttpClientConnect$HttpClientHandler.requestWithBody(HttpClientConnect.java:559)
Error has been observed at the following site(s):
    |_      Mono.error ⇢ at reactor.netty.http.client.HttpClientConnect$HttpClientHandler.requestWithBody(HttpClientConnect.java:559)
    |_ Mono.fromDirect ⇢ at reactor.netty.http.client.HttpClientConnect$HttpIOHandlerObserver.lambda$onStateChange$0(HttpClientConnect.java:398)
    |_      Mono.defer ⇢ at reactor.netty.http.client.HttpClientConnect$HttpIOHandlerObserver.onStateChange(HttpClientConnect.java:398)
</code></pre>
",https://stackoverflow.com/questions/70029040/blockhound-exception-occurs-even-with-explicit-schedulers,"['reactive-programming', 'spring-webflux', 'project-reactor', 'blockhound']",153,False,0,0
What are standard file sizes used for web server load testing?,"<p>I am looking for some standard file sizes that can be used on web server to load test its performance capabilities.</p>
<p>The files will he hosted on web server such as nginx, apache etc.
Client will request the different file sizes such as images, css java script or other code files.</p>
<p>So for that, I am looking for some pre defined sample files that can be used. And the standard file sizes which are applied mostly in performance testing.</p>
<p>Any help will be highly appreciated.</p>
",https://stackoverflow.com/questions/69738496/what-are-standard-file-sizes-used-for-web-server-load-testing,"['file', 'webserver', 'performance-testing', 'load-testing', 'nginx-ingress']",93,False,0,1
Can you figure out the system requirements for an application using performance testing tools?,"<p>I am working on the performance testing and wants to know if there is a way we can figure out that If my performance test execution can tell the favourable system requirements for an application for which I am running the test.
e.g. If I run a performance test on a windows 10 machine which have 4gb ram and I am running test for 100 users then at the end of the test, the tool can suggest me to use a higher version of ram like 8gb ram.</p>
",https://stackoverflow.com/questions/70150201/can-you-figure-out-the-system-requirements-for-an-application-using-performance,"['jmeter', 'jmeter-plugins']",150,False,1,1
Jmeter timestamp in jssrpreprocessor is same for multiple requests,"<p>We have script, jssr preprocess which will copy the file from one bucket and paste it to another bucket in Amazon s3and http request which will take the file and do further processing.
Before copying file we do renaming filename with timestamp(function help builder). Everytime we do performance testing it has to pick unique file name.</p>
<p>But when I run send requests for 5 minutes, timestamp remain same, it's taking first timestamp through there is some second difference between each request. Is there any way each request to generate unique timestamp within jssr preprocessor</p>
",https://stackoverflow.com/questions/68478223/jmeter-timestamp-in-jssrpreprocessor-is-same-for-multiple-requests,['jmeter'],197,False,0,1
Application with same functionalities for architecture performance testing,"<p>I am writing a thesis for my University where I am going to compare two architectures: monolithic vs microservices.</p>
<p>I am wondering if there is a free licensed example of application written in Java/Spring which has the same functionalities, but created in two different architectures? I was looking for such example, but couldn't find it. I don't want to spend time on writing a code, because goal of my thesis is to perform a lot of performance testing and work on results. Do you know about something like it?</p>
",https://stackoverflow.com/questions/70192275/application-with-same-functionalities-for-architecture-performance-testing,"['architecture', 'microservices', 'monolithic']",27,True,0,1
Why GET/POST/PUT request taking too long?,"<p>I have conducted performance testing on a e-commerce website and trying find some scaling issue using Azure logs. I observed that CPU and Network usage were stable but still the response time is high. So I dig deep and found few request which taking too long to complete. For example: &quot; GET/api/invoices/{orderId}&quot; is taking about 882ms to complete. below a screenshot is provided:
<a href=""https://i.stack.imgur.com/MlRz2.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/MlRz2.png"" alt=""enter image description here"" /></a></p>
<p>As you can see some of the request taking long time. So is this because of the slow database queries or can i indicate based on this result? Thanks!</p>
",https://stackoverflow.com/questions/69358755/why-get-post-put-request-taking-too-long,"['azure', 'testing', 'azure-web-app-service', 'azure-sql-database', 'azure-monitoring']",42,False,-2,1
Does number of CPU threads limits locust USERS?,"<p>I'm using python + locust for performance testing. I mostly use java and in java 1 cpu thread = java thread. So if i have VM with 12 threads, I can perform only 12 actions in parallel.</p>
<p>But locust has parameter USERS which stands for &quot;Peak number of concurrent Locust users&quot;. Does it work the same way? If i put USERS = 25 but VM has only 12 threads, will it mean that simultaneously it will execute only 12 actions in parallel and the rest will wait until any thread finishes?</p>
",https://stackoverflow.com/questions/69379845/does-number-of-cpu-threads-limits-locust-users,"['python', 'multithreading', 'performance-testing', 'load-testing', 'locust']",1262,True,0,1
How to find max thread active for scatter-gather in mule,"<p>I am using mule version <strong>3.9</strong>.
My application uses <strong>HTTP listener component</strong> as an message source and uses scatter gather to collect data from database.<br>
During performance testing, &quot;Threadpoolexecutor did not accept within 30000 MILLISECONDS (java.util.concurrent.RejectedExecutionException)&quot; is thrown. I think this is due to non-availability of enough threads for scatter gather component.</p>
<p>As per mule doc, maxThreadsActive for Scatter-Gather is the number of routes in a Scatter-Gather * maxThreadsActive for flow. Now, how to find maxThreadsActive for flow? No processing strategy is defined for flow. pls help.</p>
",https://stackoverflow.com/questions/70170891/how-to-find-max-thread-active-for-scatter-gather-in-mule,"['mule', 'mulesoft', 'mule-component', 'mule-esb']",98,True,0,1
how to email html report of Jmeter execution via Jenkins the one which we get using -e -o in command line?,"<p>I want to integrate Jmeter with Jenkins for Functional and Performance testing. (Hope Jmeter is good for Functional testing and Performance both). Have created a Freestyle project with Necessary plugins, Performance, and Editable Email ones.</p>
<p>I am able to generate reports in Jenkins workspace using:</p>
<pre><code>sh ./jmeter.sh -n -t jmx_path -l /workspace_path/result.csv -e -o /workspace_path/htmlReport
</code></pre>
<p>Also, able to attach index.html file in email. But the problem is it's not accessible as css and other related files are not there.</p>
<p>Please help me on this. Let me know if any other info is required from my end.</p>
<p>Thanks in advance.</p>
",https://stackoverflow.com/questions/68234661/how-to-email-html-report-of-jmeter-execution-via-jenkins-the-one-which-we-get-us,"['jenkins', 'jmeter', 'jenkins-plugins', 'html-email', 'email-attachments']",823,False,0,1
Integrating JMeter test with Azure Devops for automated run for JDBC,"<p>I have a test plan to do performance testing for my Database. So I have configured my JDBC test plan in Apache JMeter and executed successfully on my local which works fine.</p>
<p>Now I want to integrate it with my azure Devops CI Pipeline. And I configured my pipeline and the pipeline report shows</p>
<pre><code>'java.sql.SQLException: Cannot load JDBC driver class 'com.denodo.vdp.jdbc.Driver'
</code></pre>
<p>The same works on my local, because I have placed the jdbc driver inside apache-jmeter-5.4.1\lib.</p>
<p>How can we achieve this in Azure devops? (I have placed my JMX file in my repo)</p>
",https://stackoverflow.com/questions/67919439/integrating-jmeter-test-with-azure-devops-for-automated-run-for-jdbc,"['azure-devops', 'jmeter', 'performance-testing', 'jmx', 'cicd']",352,False,0,1
Using GTmetrix REST API v2.0 in R,"<p>I am trying to integrate the performance testing of certain websites using GTmetrix. With the API, I am able to run the test and pull the results using the SEO connector tool in Microsoft Excel. However, it uses the xml with older version of API, and some new tests are not available in this. The latest version is 2.0</p>
<p>The link for the xml is here: <a href=""https://github.com/nielsbosma/SeoTools-for-Excel-Connectors/blob/master/GTmetrics.xml"" rel=""nofollow noreferrer"">GTmetrix XML for API 0.1</a>.</p>
<p>I tried using the libraries httr and jsonlite. But, I don't know how authenticate with API, run the test and extract the results.</p>
<p>The documentation for API is available at <a href=""https://gtmetrix.com/api/docs/2.0/"" rel=""nofollow noreferrer"">API Documentation</a>.</p>
<pre><code>library(httr)
library(jsonlite)

url  &lt;- &quot;https://www.berkeley.edu&quot; # URL to be tested
location &lt;- 1 # testing Location
browser &lt;- 3 # Browser to be used for testing
res  &lt;- GET(&quot;https://gtmetrix.com/api/gtmetrix-openapi-v2.0.json&quot;)
data &lt;- fromJSON(rawToChar(res$content))
</code></pre>
",https://stackoverflow.com/questions/69698336/using-gtmetrix-rest-api-v2-0-in-r,"['r', 'rest', 'jsonlite', 'gtmetrix']",213,True,2,1
How to consume 1000 records of 1 MB each in kafka-consumer-perf-test,"<p>I am performing kafka load and performance testing.</p>
<p><strong>Sceanario</strong>:- <em>To produce and consume 1000 records of 1MB each.</em></p>
<p><strong>Producer command</strong>--
bin\windows\kafka-producer-perf-test.bat --topic Test--throughput -1 --num-records 1000 --record-size 1000000 --producer-props acks=1 bootstrap.servers=localhost:port --producer.config bin\kafka.properties</p>
<p>With above command I am able to produce 1000 records of 1MB each.</p>
<p>EDITED:-</p>
<p>I am using below command for consumer to consume 1000 records of 1MB each:-</p>
<p>bin\windows\kafka-consumer-perf-test --topic Test --timeout 500000 --bootstrap-server localhost:port --messages 1000 --consumer.config bin\kafka.properties</p>
<p>Is this the correct way of consuming 1000 records of 1MB each?</p>
",https://stackoverflow.com/questions/66622476/how-to-consume-1000-records-of-1-mb-each-in-kafka-consumer-perf-test,"['apache-kafka', 'performance-testing']",156,False,1,0
Issues running the js Ipfs bitswap benchmarks,"<p>I'm trying to do some performance testing of the js implementation of IPFSs bitswap. I've followed the instructions in the git repo here:</p>
<p><a href=""https://github.com/ipfs/js-ipfs-bitswap"" rel=""nofollow noreferrer"">https://github.com/ipfs/js-ipfs-bitswap</a></p>
<p>But if I do an npm run benchmarks or 0x test/benchmarks/get-many</p>
<p>I just get the error:</p>
<p>'The dial request has no addresses'), codes.ERR_NO_VALID_ADDRESSES)</p>
<p>Following the code it seems I'm not generating a valid multiaddress.</p>
<p>Im sure this should be trivial and I'm probably missing something entirely obvious but can any one point me in the correct direction when it comes to running the benchmarks? Npm run tests works fine.</p>
",https://stackoverflow.com/questions/66926185/issues-running-the-js-ipfs-bitswap-benchmarks,"['ipfs', 'js-ipfs', 'libp2p']",143,False,1,0
Difference between stress test and breakpoint test,"<p>I was looking for the verbal explanations of different performance testing types and saw a new one called &quot;breakpoint test&quot;. Its explanation seemed very similar to stress testing for me. So what is the difference, or is there any difference?</p>
<blockquote>
<p>Stress Test: A verification on the system performance during extremely
high load which is way above the peak load</p>
<p>Breakpoint Test: This test determines the point of system failure by
gradually increasing the number of simulated concurrent users.</p>
</blockquote>
<p>As far as I know, we increase the load gradually while performing stress test too. So what is the difference between this two type?</p>
",https://stackoverflow.com/questions/69722534/difference-between-stress-test-and-breakpoint-test,"['testing', 'performance-testing']",1411,True,1,2
how to target part of gatling test with a specific load profile,"<p>I have a Gatling test that is divided into 3 sections:</p>
<ol>
<li>beforeTest() - where entity under test is created</li>
<li>test() - where some functionality is tested. E.g, entity is modified, child dependent entities are created, etc.</li>
<li>afterTest() - cleanup, entity under test is deleted</li>
</ol>
<p>Base class - should be overridden for implementing</p>
<pre><code>    trait BaseTest extends Simulation {
    
       def beforeTest() : ScenarioBuilder = scenario(&quot;empty before&quot;)

       def test(): ScenarioBuilder

       def afterTest() : ScenarioBuilder = scenario(&quot;empty after&quot;)


       setUp(
 
         scenario(getClass.getSimpleName)
          .exec(beforeTest())
          .exec(test())
          .exec(afterTest())
          .inject(loadProfile)

       )
    
    }
</code></pre>
<p><strong>My question:
How can target only test() with load profile, i.e. exclude beforeTest() and afterTest()?
The motivation: I need to do beforeTest and afterTest only once, where performance testing should focus on test().
BUT!! I still want to use Gatling DSL for beforeTest() and afterTest()
any idea?</strong></p>
<p><strong>Note</strong>: I'm using Gatling 3.0.3</p>
",https://stackoverflow.com/questions/66007609/how-to-target-part-of-gatling-test-with-a-specific-load-profile,"['scala', 'performance-testing', 'gatling']",104,False,1,0
Karate- Gatling: Not able to run scenarios based on tags,"<p>I am using karate framework for API testing. I am using existing feature files to do performance testing using Gatling.
I have feature file with 3 scenarios tagged @CO, @SRI and @SDP.
I am able to execute the scenario tagged @CO with the below lines in simulation file.</p>
<pre><code> val RetrieveBillDeliveryMethod = scenario(&quot;RetrieveBillDeliveryMethod&quot;).exec(karateFeature(&quot;classpath:com/abc/ipf/features/Examples/CustomerAccountService/RetrieveBillDeliveryMethod.feature@CO&quot;))
</code></pre>
<p>If I update the above lines like this, I am getting error</p>
<pre><code>val RetrieveBillDeliveryMethod = scenario(&quot;RetrieveBillDeliveryMethod&quot;).exec(karateFeature(&quot;classpath:com/singtel/ipf/features/Examples/CustomerAccountService/RetrieveBillDeliveryMethod.feature&quot;, &quot;@CO&quot;))
</code></pre>
<p>Listed below is my simulation file which throws error.</p>
<pre><code>import com.intuit.karate.gatling.PreDef._
import io.gatling.core.Predef._
import scala.concurrent.duration._

class CustomerAccountSimulation extends Simulation {

  val duration= 30 seconds
  val users = 2
  
   val apis = karateProtocol(
  )

  apis.nameResolver = (req, ctx) =&gt; req.getHeader(&quot;karate-name&quot;) 
  
  val RetrieveBillDeliveryMethod = scenario(&quot;RetrieveBillDeliveryMethod&quot;).exec(karateFeature(&quot;classpath:com/abc/ipf/features/Examples/CustomerAccountService/RetrieveBillDeliveryMethod.feature&quot;, &quot;@CO&quot;))

  setUp(
    RetrieveBillDeliveryMethod.inject(constantConcurrentUsers(users) during (duration))
  ).protocols(apis)
}
</code></pre>
<p>This is the error I am getting</p>
<pre><code>    15:22:26.159 [main] INFO  io.gatling.compiler.ZincCompiler$ - Compiling 1 Scala source and 1 Java source to C:\Sudha\WP\customer-account-management-performance-testing\target\test-classes ...
15:22:28.179 [main] ERROR io.gatling.compiler.ZincCompiler$ - C:\Sudha\WP\customer-account-management-performance-testing\src\test\java\com\abc\ipf\features\Examples\CustomerAccountService\CustomerAccountSimulation.scala:17:199: too many arguments (2) for method karateFeature: (name: String)com.intuit.karate.gatling.KarateActionBuilder
  val RetrieveBillDeliveryMethod = scenario(&quot;RetrieveBillDeliveryMethod&quot;).exec(karateFeature(&quot;classpath:com/abc/ipf/features/Examples/CustomerAccountService/RetrieveBillDeliveryMethod.feature&quot;, &quot;@CO&quot;))
                                                                                                                                                                                                      ^
15:22:28.250 [main] ERROR io.gatling.compiler.ZincCompiler$ - one error found
15:22:28.252 [main] ERROR io.gatling.compiler.ZincCompiler$ - Compilation crashed
sbt.internal.inc.CompileFailed: null
        at sbt.internal.inc.AnalyzingCompiler.call(AnalyzingCompiler.scala:242)
        at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:111)
        at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:90)
        at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$3(MixedAnalyzingCompiler.scala:82)
        at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
        at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:133)
        at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:73)
        at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:116)
        at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:307)
        at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:307)
        at sbt.internal.inc.Incremental$.doCompile(Incremental.scala:106)
        at sbt.internal.inc.Incremental$.$anonfun$compile$4(Incremental.scala:87)
        at sbt.internal.inc.IncrementalCommon.recompileClasses(IncrementalCommon.scala:116)
        at sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:63)
        at sbt.internal.inc.Incremental$.$anonfun$compile$3(Incremental.scala:89)
        at sbt.internal.inc.Incremental$.manageClassfiles(Incremental.scala:134)
        at sbt.internal.inc.Incremental$.compile(Incremental.scala:80)
        at sbt.internal.inc.IncrementalCompile$.apply(Compile.scala:67)
        at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:311)
        at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:269)
        at sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:159)
        at sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:238)
        at sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:69)
        at io.gatling.compiler.ZincCompiler$.doCompile(ZincCompiler.scala:210)
        at io.gatling.compiler.ZincCompiler$.delayedEndpoint$io$gatling$compiler$ZincCompiler$1(ZincCompiler.scala:215)
        at io.gatling.compiler.ZincCompiler$delayedInit$body.apply(ZincCompiler.scala:39)
        at scala.Function0.apply$mcV$sp(Function0.scala:39)
        at scala.Function0.apply$mcV$sp$(Function0.scala:39)
        at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17)
        at scala.App.$anonfun$main$1$adapted(App.scala:80)
        at scala.collection.immutable.List.foreach(List.scala:392)
        at scala.App.main(App.scala:80)
        at scala.App.main$(App.scala:78)
        at io.gatling.compiler.ZincCompiler$.main(ZincCompiler.scala:39)
        at io.gatling.compiler.ZincCompiler.main(ZincCompiler.scala)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at io.gatling.mojo.MainWithArgsInFile.runMain(MainWithArgsInFile.java:50)
        at io.gatling.mojo.MainWithArgsInFile.main(MainWithArgsInFile.java:33)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  15.854 s
[INFO] Finished at: 2021-04-07T15:22:28+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.gatling:gatling-maven-plugin:3.0.4:test (default-cli) on project customer-account-management-performance-testing: Gatling failed.: Simulations compilation failed. Process exited with an error: 1 (Exit value: 1) -&gt; [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
</code></pre>
<p>Please note my requirement is to run scenarios tagged @CO and @SRI. In this I am trying to run 1 scenario first.
Any help is appreciated.</p>
<p>Thanks</p>
",https://stackoverflow.com/questions/66981483/karate-gatling-not-able-to-run-scenarios-based-on-tags,['karate'],46,False,1,0
PROTOCOL_SEQUENCE_TIMEOUT while doing dynamic MySQL Connection in sails-js,"<p>My Sails js Application has a Multi-tenant Database Structure. So as per Multitenant Logic, I had to create a dynamic database connection in the controller File. I am following this Method <a href=""https://sailsjs.com/documentation/reference/waterline-orm/datastores/driver"" rel=""nofollow noreferrer"">https://sailsjs.com/documentation/reference/waterline-orm/datastores/driver</a> for dynamic MySQL database connection.</p>
<p>All the APIs works fine as per requirement, but when I started Performance testing of Single Api with 500 users and 10 seconds ramp-up time at that time Api started failing after 300 requests, <strong>Checking to the stack trace there was below issue</strong></p>
<pre><code>{
error: Error: Handshake inactivity timeout
    at Handshake.&lt;anonymous&gt; (/usr/src/app/node_modules/mysql/lib/protocol/Protocol.js:160:17)
    at Handshake.emit (node:events:369:20)
    at Handshake._onTimeout (/usr/src/app/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8)
    at Timer._onTimeout (/usr/src/app/node_modules/mysql/lib/protocol/Timer.js:32:23)
    at listOnTimeout (node:internal/timers:557:17)
    at processTimers (node:internal/timers:500:7)
    --------------------
    at Protocol._enqueue (/usr/src/app/node_modules/mysql/lib/protocol/Protocol.js:144:48)
    at Protocol.handshake (/usr/src/app/node_modules/mysql/lib/protocol/Protocol.js:51:23)
    at PoolConnection.connect (/usr/src/app/node_modules/mysql/lib/Connection.js:116:18)
    at Pool.getConnection (/usr/src/app/node_modules/mysql/lib/Pool.js:48:16)
    at Object.getConnection (/usr/src/app/node_modules/machinepack-mysql/lib/get-connection.js:78:25)
    at wrapper (/usr/src/app/node_modules/@sailshq/lodash/lib/index.js:3282:19)
    at Deferred.parley.retry [as _handleExec] (/usr/src/app/node_modules/machine/lib/private/help-build-machine.js:1076:19)
    at Deferred.exec (/usr/src/app/node_modules/parley/lib/private/Deferred.js:286:10)
    at Deferred.tryCatcher (/usr/src/app/node_modules/bluebird/js/release/util.js:11:23)
    at ret (eval at makeNodePromisifiedEval (/usr/src/app/node_modules/bluebird/js/release/promisify.js:184:12), &lt;anonymous&gt;:14:23)
    at Deferred.toPromise (/usr/src/app/node_modules/parley/lib/private/Deferred.js:572:19)
    at Deferred.then (/usr/src/app/node_modules/parley/lib/private/Deferred.js:431:22) {
  code: 'PROTOCOL_SEQUENCE_TIMEOUT',
  fatal: true,
  timeout: 10000
},
meta: undefined
}
  at Object.tenantConnection (/usr/src/app/api/services/utils.js:93:29)
  at async Object.login [as user/login] (/usr/src/app/api/controllers/UserController.js:112:28) {
cause: Exception: `getConnection` failed (&quot;failed&quot;).  Could not acquire a connection to the database using the specified manager.
Additional data:
{
  error: Error: Handshake inactivity timeout
      at Handshake.&lt;anonymous&gt; (/usr/src/app/node_modules/mysql/lib/protocol/Protocol.js:160:17)
      at Handshake.emit (node:events:369:20)
      at Handshake._onTimeout (/usr/src/app/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8)
      at Timer._onTimeout (/usr/src/app/node_modules/mysql/lib/protocol/Timer.js:32:23)
      at listOnTimeout (node:internal/timers:557:17)
      at processTimers (node:internal/timers:500:7)
      --------------------
      at Protocol._enqueue (/usr/src/app/node_modules/mysql/lib/protocol/Protocol.js:144:48)
      at Protocol.handshake (/usr/src/app/node_modules/mysql/lib/protocol/Protocol.js:51:23)
      at PoolConnection.connect (/usr/src/app/node_modules/mysql/lib/Connection.js:116:18)
      at Pool.getConnection (/usr/src/app/node_modules/mysql/lib/Pool.js:48:16)
      at Object.getConnection (/usr/src/app/node_modules/machinepack-mysql/lib/get-connection.js:78:25)
      at wrapper (/usr/src/app/node_modules/@sailshq/lodash/lib/index.js:3282:19)
      at Deferred.parley.retry [as _handleExec] (/usr/src/app/node_modules/machine/lib/private/help-build-machine.js:1076:19)
      at Deferred.exec (/usr/src/app/node_modules/parley/lib/private/Deferred.js:286:10)
      at Deferred.tryCatcher (/usr/src/app/node_modules/bluebird/js/release/util.js:11:23)
      at ret (eval at makeNodePromisifiedEval (/usr/src/app/node_modules/bluebird/js/release/promisify.js:184:12), &lt;anonymous&gt;:14:23)
      at Deferred.toPromise (/usr/src/app/node_modules/parley/lib/private/Deferred.js:572:19)
      at Deferred.then (/usr/src/app/node_modules/parley/lib/private/Deferred.js:431:22) {
    code: 'PROTOCOL_SEQUENCE_TIMEOUT',
    fatal: true,
    timeout: 10000
  },
  meta: undefined
}
    at Object.tenantConnection (/usr/src/app/api/services/utils.js:93:29)
    at async Object.login [as user/login] (/usr/src/app/api/controllers/UserController.js:112:28) {
  code: 'failed',
  exit: 'failed',
  traceRef: {},
  raw: [Object]
},
isOperational: true,
code: 'failed',
exit: 'failed',
traceRef: {},
raw: { error: [Error], meta: undefined }
</code></pre>
<p>}</p>
<p><em><strong>Note: I am using Azure Mysql Database.</strong></em></p>
<p><strong>Creating and Destroying dynamic Connection</strong></p>
<pre><code>// Get the generic, stateless driver for our database (e.g. MySQL).
var Driver = sails.getDatastore().driver;

// Create our own dynamic connection manager (e.g. connection pool)
var manager = (
  await Driver.createManager({ connectionString: req.param('connectionUrl') })
).manager;

var db;
try {
 db = (
   await Driver.getConnection({ manager: managerReport.manager })
 ).connection;
} catch (err) {
 await Driver.destroyManager({ manager: managerReport.manager });
 throw err;
}

//**********************************************
// Do some stuff here...
// e.g.
//     await Driver.sendNativeQuery({
//       connection: db,
//       nativeQuery: '...'
//     });
//**********************************************

// Finally, before we continue, tear down the dynamic connection manager.
// (this also takes care of releasing the active connection we acquired above)
await Driver.destroyManager({ manager: managerReport.manager });

return res.ok();
</code></pre>
",https://stackoverflow.com/questions/69431599/protocol-sequence-timeout-while-doing-dynamic-mysql-connection-in-sails-js,"['mysql', 'node.js', 'azure', 'azure-sql-database', 'sails.js']",1420,False,0,1
detect scaling problem form performance test result,"<p>I conducted performance testing on e-commerce website and I have the test results with some matrices. I already found some problems on some component for example on checkout or post login with high response time and error. But I also would like to find issues that are limiting the application to scale. I only did the testing on the application server. And I observed that CPU , I/O rate are very stable as well. But still the application gives high response time. Is there any other way I can determine from the test result why it is not scaling well? Thank!</p>
",https://stackoverflow.com/questions/69300561/detect-scaling-problem-form-performance-test-result,"['performance', 'testing', 'jmeter', 'scalability', 'blazemeter']",45,False,0,1
Getting redirecting page issue for MS AD login using JMeter,"<p>I am doing performance testing with JMeter for a cloud based application with Azure AD . I am not getting the expected response for below request:</p>
<p>POST <a href=""https://login.microsoftonline.com/login.srf"" rel=""nofollow noreferrer"">https://login.microsoftonline.com/login.srf</a></p>
<p>Expected Response (By Fiddler ) = Sign in to your account having values for ctx, hpgrequestid, flowToken and canary
Actual Response (By Jmeter) = Redirecting (BssoInterrupt) page with no ctx and flowToken  values</p>
<p>I have done all correction for request POST <a href=""https://login.microsoftonline.com/login.srf"" rel=""nofollow noreferrer"">https://login.microsoftonline.com/login.srf</a> like wresult ( I am correlation whole xml) and wctx .apart from this in cookies i have correlated values ESTSWCTXFLOWTOKEN but still i am not getting expected response.</p>
<p>Where i am missing?</p>
",https://stackoverflow.com/questions/70507169/getting-redirecting-page-issue-for-ms-ad-login-using-jmeter,"['jmeter', 'performance-testing']",509,False,0,1
Possible if want to do API Load Testing using JMeter with URI info only?,"<p>My team planned to do API Performance Testing using JMeter 5.0 for my client. My client developed the API in Kubernetes. Just wondering, they gave info such as URI, HTTP Method and Content-Type only. We never have experience using URI. Are these info sufficient to do load test in JMeter? And where do I fill in these info? Is it in Config Element: HTTP Header Manager?</p>
<p>Because usually I only do my enablement using sample website which already provide the URL.</p>
<p><a href=""https://i.stack.imgur.com/hZVfY.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/hZVfY.png"" alt=""enter image description here"" /></a></p>
<p>Do I need to ask them to provide the specific URL for this? Or URL can be extracted from URI?</p>
<p>Thanks.</p>
",https://stackoverflow.com/questions/68629980/possible-if-want-to-do-api-load-testing-using-jmeter-with-uri-info-only,"['jmeter', 'load-testing', 'jmeter-5.0', 'web-api-testing', 'jmeter-4.0']",156,True,0,1
Serilog async high CPU usage upto 100%,"<p>I use Serilog async logging and while doing performance testing with multiple users we found that serilog is taking all the CPU (up to 100%).
ASP.net code creates log file using Serilog Async (log.info, log.warning, log.error) and it has logging on all web pages due to security logging requirements.
CPU usage spikes after 2 hours and remains 100% continuously and system is getting major performance hit.</p>
<p>We also tested application without SeriLog enabled, the application does not spike up to 100% CPU usage.</p>
<p>I would really appreciate if I get any help here. I can share code (logger class) I created if needed.</p>
<p><a href=""https://i.stack.imgur.com/F85Rt.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/F85Rt.png"" alt=""enter image description here"" /></a></p>
<p>And how the logging is configured:</p>
<pre><code>var logConfig = new LoggerConfiguration()
            .MinimumLevel.Information()
            .WriteTo.Async(logSink =&gt;
            {
                logSink.File(
                    logFilePath,
                    rollingInterval: RollingInterval.Day,
                    retainedFileCountLimit: null,
                    outputTemplate: OutputTemplate,
                    hooks: new HeaderWriter(header),
                    flushToDiskInterval: TimeSpan.FromSeconds(10),
                    shared: true
                    );
            });
        Log.Logger = logConfig.CreateLogger();
</code></pre>
",https://stackoverflow.com/questions/65739969/serilog-async-high-cpu-usage-upto-100,"['c#', 'asynchronous', 'serilog']",1579,True,0,1
Jmeter: Getting 502 bad gateway error for some of the requests in suite,"<p>I have created a performance test suite in Jmeter. The suite contains one thread group:
Thread properties:
Number of threads: 100
Ramp-up period: 5
Loop count: 1
Clearing cache and cookies on each iteration.</p>
<p>Thread group has 30 samplers (HTTP Requests for 30 pages), each samplers has &quot;View Results Tree&quot; and &quot;View Results in table&quot; listeners.</p>
<p>With this I am running the test suite.</p>
<p>Problem: I am getting &quot;502 Response&quot; for some requests on some threads.</p>
<p>I am new to performance testing and Jmeter. Please let me know what is the reason for getting 502 in this case and how can I solve this.</p>
",https://stackoverflow.com/questions/67112825/jmeter-getting-502-bad-gateway-error-for-some-of-the-requests-in-suite,"['jmeter', 'performance-testing', 'web-performance', 'bad-gateway', 'threadgroup']",5821,True,0,1
Gatling adding pause when using throttling in simulation,"<p>for API performance testing using Gatling, whenever I setup a user or QPS, I use below configuration to manage my max QPS and to have consistent QPS throughout test duration.</p>
<p>setUp(
scn.inject(constantUsersPerSec(2) during (UserRampup seconds))
)
.throttle(
reachRps(TotalQPS) in (QPSRampup seconds),
holdFor(60 minutes)
)
.protocols(httpProtocol)
.maxDuration(Duration minutes)</p>
<p>Now this is working fine, but in one of the scenario, I need to add pause between 2 requests. What I observed is, that when I use &quot;throttle&quot;, it does not take any pause or sleep or pace in consideration. Is there any way in which I can use pause while having &quot;throttle&quot; in place</p>
",https://stackoverflow.com/questions/67997524/gatling-adding-pause-when-using-throttling-in-simulation,"['load-testing', 'gatling', 'throttling', 'pause']",335,True,0,1
How to avoid redundant IO and deserialization when splitting Flink workload across multiple jobs,"<p>To make deployment and management of our Flink workload easier we would like to run multiple smaller jobs rather than one large job that does everything. The problem we have is that each of these smaller jobs has to read and deserialize the same input data from Kafka.</p>
<p>We have done performance testing which shows that running multiple jobs, each reading the input data, uses more resources and takes longer than processing the same data as a single job.</p>
<p>Is there a way we can read the input data once and then run multiple jobs to do the processing steps only, or a way to at least reduce this overhead associated with running multiple jobs?</p>
",https://stackoverflow.com/questions/67844258/how-to-avoid-redundant-io-and-deserialization-when-splitting-flink-workload-acro,"['apache-flink', 'flink-streaming']",63,True,1,1
Performance testing using JMeter for dynamic 365 ecommerce website using ultimate thread group. How to increase concurrent sessions?,"<p>I am doing performance testing using JMeter for a 365 dynamics ecommerce website. Script is written and its working fine for following flow: Homepage&gt; category listing&gt; product detail page&gt; add to cart&gt; and complete checkout.</p>
<p>I want to run my script for 200 concurrent users with some time interval. Like, start with 30 concurrent sessions for 10 minutes then increase 60 users with total concurrent session 90 for next 10 minutes. Then increase 44 users with total concurrent session 134 for next 10 minutes, Then increase 66 more users with total concurrent session 200 for next 10 minutes.</p>
<p>I am using ultimate thread group for this but not sure how to set configuration. See attached image.</p>
<p><a href=""https://i.stack.imgur.com/JdhO4.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/JdhO4.png"" alt=""enter image description here"" /></a></p>
",https://stackoverflow.com/questions/66635014/performance-testing-using-jmeter-for-dynamic-365-ecommerce-website-using-ultimat,"['jmeter', 'performance-testing', 'load-testing', 'dynamics-365']",174,True,1,1
How to do performance test for a golang sdk method?,"<p>I am wondering how to do performance test for a golang sdk method? I am optimizing a sdk method. This method on this SDK will make http requests to other services when called.</p>
<p>I have two implementations for the method(one is using 3 http requests and the other is using only 1 http request) and I want to do a performance testing on responding time.</p>
<p>I have used <strong>go test -benchmark</strong>, but I searched online and it says it shall not be used to do benchmark for code with external services.</p>
<p>Wondering what shall be the <strong>correct tools</strong> and <strong>method</strong> to do a benchmark not just on golang performance, but also on external services performance.</p>
",https://stackoverflow.com/questions/67913945/how-to-do-performance-test-for-a-golang-sdk-method,"['go', 'testing', 'sdk', 'performance-testing', 'benchmarking']",141,False,0,0
How to handle concurrency in a nestjs API?,"<p>I have a question when using performance testing at the time of multiple requests to 1 API concurrently. Here I use <strong>nestjs</strong> and <strong>sequelize</strong> as orm. In the case like below, I send a block with <em>20 concurrent requests</em> to the API <em>/languages</em>. here I attach a <strong>transaction</strong> and let it <strong>sleep for 3s</strong>, then return the result. when 20 requests come to api /languages, <em>it gathers 5 requests in 1 block and process</em>, then it returns the result. You can check the picture below. it takes <strong>12s to process a block of 20 requests</strong>. The problem here is that I do not understand the processing mechanism here?, please explain to me. thank you guys. &lt;3</p>
<p><a href=""https://i.stack.imgur.com/kWIUA.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/kWIUA.png"" alt=""enter image description here"" /></a></p>
",https://stackoverflow.com/questions/68637514/how-to-handle-concurrency-in-a-nestjs-api,"['node.js', 'nestjs']",198,False,0,1
Throwing status 500 internal error in jmeter post method same req ceated the complete data,"<p>Requirement : performance testing in jmeter, one field can have multiple comma separated values.To know the breaking point ran the post api with 5 thread it was successful.Then tried with 8 then few got passed 200 ok most of the requests failed with 500 .when I checked the data in my db...data was created.
My query is that why this post requests showing 500 in jmeter although data is created in db.</p>
<p>Achieved this scenario: used CSV data element to pass all the requests and bash pre processor to get multiple vales in one field</p>
<p>Example
Col names : name email purcode
Sunil Sunil@gmail.com 564D@567C</p>
<p>Bash pre processor
Passed variable
Replace @ with commma</p>
",https://stackoverflow.com/questions/68514395/throwing-status-500-internal-error-in-jmeter-post-method-same-req-ceated-the-com,"['jmeter', 'http-status-code-500']",737,True,0,2
I am getting token error which is not matching with session in the request,"<p>I am getting below error in jmeter performance testing
ERROR:
The token in the request does not match the one in the session!
Scenarios:</p>
<ol>
<li>user logs into the appln</li>
<li>click on the modify user from the menu</li>
<li>search for the user</li>
<li>select the user</li>
<li>adding roles to the user
6.click submit
7.click on return to search button.
8.click on logout.</li>
</ol>
<p>I am getting the csrf token in the post method and i captured the csrf token in 2 samples before in the GET method.I added regular expression in GET method and i used that regular expression variable in the Post method token.</p>
<p>Please let me know how to fix the token error.</p>
<p>Thanks,</p>
",https://stackoverflow.com/questions/66164993/i-am-getting-token-error-which-is-not-matching-with-session-in-the-request,['jmeter'],292,False,0,1
Spring boot API request limit issue,"<p>I have developed a microservice using Spring Boot and deployed it as a docker container and when doing performance testing the service I see that the maximum number of threads that created to the service is 20 at any point in time even though the number of calls made is much higher. I have even set the max thread to 4000 and also set Max connection to 10000 along with all db configuration and server has 24 core and 64 gb ram still no improvement Are there any limitations with respect to number of calls that can be made to a microservice developed using Spring Boot or is the issue is with docker container? Or is this normal?</p>
",https://stackoverflow.com/questions/69213580/spring-boot-api-request-limit-issue,"['spring-boot', 'docker', 'spring-mvc', 'tomcat9', 'docker-container']",107,False,0,0
StartAgent-2.2.3 isn&#39;t staring for Server Monitoring in JMeter,"<p>I'm trying to do Server Performance Testing in Jmeter - 5.4.2 via PerfMon - 2.3. But when I try to run the bat file of startAgent - 2.2.3 it just opens for one moment and them closes (Note that I've JRE version 1.8 installed). When I tried to open the file via cmd directory command it's giving me the following error:</p>
<hr />
<blockquote>
<p>`ERROR: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory</p>
</blockquote>
<hr />
<ul>
<li>I've tried to install the 2.2 version of startAgent.</li>
<li>I've tried to put the startAgent in the same directory as JMeter.</li>
<li>I've tried start it by disabling Firewall and Anti-Virus.</li>
</ul>
<p>But nothing is working. I tried to do some related research regarding this error but there isn't many solution that I have found to be useful.</p>
",https://stackoverflow.com/questions/68174140/startagent-2-2-3-isnt-staring-for-server-monitoring-in-jmeter,"['testing', 'jmeter', 'performance-testing', 'perfmon']",289,False,2,1
Using K6 to test page speed between two URLs,"<p>I am trying to get a script working that will test the page speed between two URls and give me some useful data. I'm using the K6 performance testing suite to do this with, I'm writing the scripts in javascript using their framework.</p>
<p>I am curious how I would structure a test that would compare 2 URLs speed.</p>
<pre><code>Example:

Page 1 would be `www.oldsite.com/test` -- 20ms to load
Page 2 would be `www.newsite.com/test` -- 17ms to load
</code></pre>
<p>I'm doing this because we are doing a refresh of our website and want some baseline tests for speed and performance during the development phase.</p>
<p>Below is some of the code I have to test with.</p>
<pre><code>let response;
var sendingRecievingTrend = new Trend(&quot;sending_recieving_time&quot;);

    function requestPage(url) {
        let response = http.get(url, {
            headers: {
                &quot;Upgrade-Insecure-Requests&quot;: &quot;1&quot;,
                Accept: &quot;text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9&quot;
            }
        });
        
        sendingRecievingTrend.add(response.timings.sending + response.timings.receiving);

        check(response, { &quot;Response return 200 HTTP Status Code&quot;: r =&gt; r.status === 200 });

        return response;
    }

    group(`Old Mobile Products Page - ${config.oldMobileUri}/products/`, function () {
        response = requestPage(`${config.oldMobileUri}/products/`);
    });

    group(`New Mobile Products Page - ${config.newMobileUri}/products/`, function () {
        response = requestPage(`${config.newMobileUri}/products/`);
    });
</code></pre>
<p>However, if I do this, then I believe i'll just an average of the total time all these <code>group tests</code> took. I am looking for individual statistics for each URL I test.</p>
",https://stackoverflow.com/questions/68122525/using-k6-to-test-page-speed-between-two-urls,"['javascript', 'performance', 'performance-testing', 'k6']",312,False,0,1
JMeter Maven Plugin not able to detect JUnit Tests from the fat Snapshot Jar created,"<p>I want to run JUnit tests for the performance testing using <strong>JMeter Maven Plugin</strong>. I am creating my project snapshot jar in the target folder. This snapshot jar has test classes and external jars included using <code>maven-assembly-plugin</code>. The same snapshot jar is able to detect the JUnit test method from the JMeter application and running successfully but not able to detect the same test methods from the plugin when I put that inside <code>&lt;project&gt;/src/test/jmeter/lib/junit</code>.</p>
<p>I am putting the JMX file inside <code>&lt;project&gt;/src/test/jmeter</code> and snapshot jar in this folder <code>&lt;project&gt;/src/test/jmeter/lib/junit</code>.</p>
<p>please find my pom file below.</p>
<pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot;
         xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
         xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;

    &lt;groupId&gt;com&lt;/groupId&gt;
    &lt;artifactId&gt;myproject&lt;/artifactId&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&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;3.4.0&lt;/version&gt;
                &lt;executions&gt;
                    &lt;!-- Generate JMeter configuration --&gt;
                    &lt;execution&gt;
                        &lt;id&gt;configuration&lt;/id&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;configure&lt;/goal&gt;
                        &lt;/goals&gt;
                    &lt;/execution&gt;
                    &lt;!-- Run JMeter tests --&gt;
                    &lt;execution&gt;
                        &lt;id&gt;jmeter-tests&lt;/id&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;jmeter&lt;/goal&gt;
                        &lt;/goals&gt;
                    &lt;/execution&gt;
                    &lt;!-- Fail build on errors in test --&gt;
                    &lt;execution&gt;
                        &lt;id&gt;jmeter-check-results&lt;/id&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;results&lt;/goal&gt;
                        &lt;/goals&gt;
                    &lt;/execution&gt;
                &lt;/executions&gt;
                &lt;configuration&gt;
                    &lt;generateReports&gt;true&lt;/generateReports&gt;
                    &lt;jmeterExtensions&gt;
                        &lt;artifact&gt;kg.apc:jmeter-plugins:pom:1.4.0&lt;/artifact&gt;
                        &lt;artifact&gt;kg.apc:jmeter-plugins-json:2.7&lt;/artifact&gt;
                    &lt;/jmeterExtensions&gt;
                &lt;/configuration&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
                &lt;version&gt;3.3.0&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;descriptors&gt;
                        &lt;descriptor&gt;src/main/assembly/assembly.xml&lt;/descriptor&gt;
                    &lt;/descriptors&gt;
                    &lt;descriptorRefs&gt;
                        &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;
                    &lt;/descriptorRefs&gt;
                    &lt;appendAssemblyId&gt;false&lt;/appendAssemblyId&gt;
                    &lt;archive&gt;
                        &lt;manifest&gt;
                            &lt;mainClass&gt;MainClass.TestMethod&lt;/mainClass&gt;
                        &lt;/manifest&gt;
                    &lt;/archive&gt;
                &lt;/configuration&gt;
                &lt;executions&gt;
                    &lt;execution&gt;
                        &lt;id&gt;maven-assembly&lt;/id&gt;
                        &lt;phase&gt;package&lt;/phase&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;single&lt;/goal&gt;
                        &lt;/goals&gt;
                    &lt;/execution&gt;
                &lt;/executions&gt;
            &lt;/plugin&gt;
        &lt;/plugins&gt;
    &lt;/build&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;scope&gt;test&lt;/scope&gt;
        &lt;/dependency&gt;
&lt;/project&gt;
</code></pre>
<p>I am able to run the same test from JMeter application but the not able to detect the same class from <code>mvn clean verify</code> command?</p>
<p>The log generated after running <code>mvn clean verify</code> is below. it says <code>JUnitSampler: ClassNotFoundException:: MyClass.TestMethod</code></p>
<pre><code>2021-07-12 11:18:38,748 WARN o.a.j.p.j.s.JUnitSampler: ClassNotFoundException:: MyClass.TestMethod
2021-07-12 11:18:38,750 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times
2021-07-12 11:18:38,750 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
2021-07-12 11:18:38,750 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true
2021-07-12 11:18:38,750 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000
2021-07-12 11:18:38,751 INFO o.a.j.t.JMeterThread: Thread is done: ThreadGroup 1-1
2021-07-12 11:18:38,751 INFO o.a.j.t.JMeterThread: Thread finished: ThreadGroup 1-1
2021-07-12 11:18:40,745 INFO o.a.j.t.JMeterThread: Thread started: ThreadGroup 1-2
2021-07-12 11:18:40,745 WARN o.a.j.p.j.s.JUnitSampler: ClassNotFoundException:: MyClass.TestMethod
2021-07-12 11:18:40,746 INFO o.a.j.t.JMeterThread: Thread is done: ThreadGroup 1-2
2021-07-12 11:18:40,746 INFO o.a.j.t.JMeterThread: Thread finished: ThreadGroup 1-2
2021-07-12 11:18:42,746 INFO o.a.j.t.JMeterThread: Thread started: ThreadGroup 1-3
2021-07-12 11:18:42,746 WARN o.a.j.p.j.s.JUnitSampler: ClassNotFoundException:: MyClass.TestMethod
2021-07-12 11:18:42,746 INFO o.a.j.t.JMeterThread: Thread is done: ThreadGroup 1-3
2021-07-12 11:18:42,747 INFO o.a.j.t.JMeterThread: Thread finished: ThreadGroup 1-3
2021-07-12 11:18:44,748 INFO o.a.j.t.JMeterThread: Thread started: ThreadGroup 1-4
2021-07-12 11:18:44,749 WARN o.a.j.p.j.s.JUnitSampler: ClassNotFoundException:: MyClass.TestMethod

</code></pre>
",https://stackoverflow.com/questions/68351135/jmeter-maven-plugin-not-able-to-detect-junit-tests-from-the-fat-snapshot-jar-cre,"['jmeter', 'performance-testing', 'blazemeter', 'jmeter-maven-plugin']",224,False,0,1
Performance testing delete endpoint,"<p>I've been testing GET endpoints using Gatling Simulations for a while now and have now come across a situation where I need to performance test a DELETE endpoint. When I do integration tests, I can pre-populate the database before each test, then call the DELETE endpoint and have the entry deleted. I believe that for Gatling performance tests there is only a <code>before</code> and <code>after</code> hook for simulations not individual tests.</p>
<p>Any ideas on how I should approach performance testing a DELETE endpoint so that each test has something to delete instead of returning an error that the value does not exist in the database. Or should I just expect the error responses and record timings of those?</p>
<p>Many thanks,
Kris</p>
",https://stackoverflow.com/questions/70186529/performance-testing-delete-endpoint,"['scala', 'performance-testing', 'gatling']",171,False,0,0
Response time for websockets using Jmeter,"<p>I am using Jmeter for performance testing of my application. I am testing the websocket component and for that I am using plugins (Peter Doornbosch and Maceij Zaleski)</p>
<p>I am getting proper response back from websocket but I am stuck in finding out the response time of websocket component. I am using the listener 'View result tree' and it gives me back 'Load Time' but the value of this field varies with response timeout.</p>
<p>For ex : If I give response timeout as 1000 ms , the result comes like (1000 + few ms )</p>
<p>If I give response timeout as 500 ms , the result comes like (500 + few ms)</p>
<p>Please let me know if there is any way to find out the accurate response time.</p>
<p><a href=""https://i.stack.imgur.com/KLNat.png"" rel=""nofollow noreferrer"">enter image description here</a></p>
<p><a href=""https://i.stack.imgur.com/rKdKi.png"" rel=""nofollow noreferrer"">enter image description here</a></p>
<p><a href=""https://i.stack.imgur.com/BobAZ.png"" rel=""nofollow noreferrer"">enter image description here</a></p>
",https://stackoverflow.com/questions/67939272/response-time-for-websockets-using-jmeter,"['jmeter', 'jmeter-plugins']",440,False,0,1
JMeter Maven Plugin - How to provide external Properties file while running JUnit Performance Tests,"<p>I want to run JUnit tests for the performance testing using JMeter Maven Plugin.</p>
<p>During the JUnit tests run, I use one external properties file located inside <code>&lt;project&gt;/src/resources/env.properties</code></p>
<p>This file has some configuration which I need to run the tests successfully.</p>
<p>I have given this file in <code>src/test/jmeter</code> location as well but the plugin is not picking up this file.</p>
<p>During performance tests run using JMeter Maven Plugin, This file is not found because of the <strong>relative path</strong> given inside JUnit tests as</p>
<pre><code>String fileName = &quot;src/resources/env.properties&quot;;
</code></pre>
<p>I get the below error during the JMeter test run</p>
<pre><code>[INFO] fileName = env.properties
[INFO] java.io.FileNotFoundException: src/resources/env.properties (No such file or directory)
</code></pre>
<p>Can you please help, where to give the location of this file? do I need to give in pom.xml?</p>
<p>These tests working perfectly fine using the JMeter application where I put this file under <code>&lt;JMeterApp&gt;/bin/src/resources</code> and run the test.</p>
<p>Please find below <code>pom.xml</code> file</p>
<pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot;
         xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
         xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;

    &lt;groupId&gt;com&lt;/groupId&gt;
    &lt;artifactId&gt;myProject&lt;/artifactId&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;

    &lt;name&gt;MyProject&lt;/name&gt;
    &lt;url&gt;http://maven.apache.org&lt;/url&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;3.4.0&lt;/version&gt;
                &lt;executions&gt;
                    &lt;!-- Generate JMeter configuration --&gt;
                    &lt;execution&gt;
                        &lt;id&gt;configuration&lt;/id&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;configure&lt;/goal&gt;
                        &lt;/goals&gt;
                    &lt;/execution&gt;
                    &lt;!-- Run JMeter tests --&gt;
                    &lt;execution&gt;
                        &lt;id&gt;jmeter-tests&lt;/id&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;jmeter&lt;/goal&gt;
                        &lt;/goals&gt;
                    &lt;/execution&gt;
                    &lt;!-- Fail build on errors in test --&gt;
                    &lt;execution&gt;
                        &lt;id&gt;jmeter-check-results&lt;/id&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;results&lt;/goal&gt;
                        &lt;/goals&gt;
                    &lt;/execution&gt;
                &lt;/executions&gt;
                &lt;configuration&gt;
                    &lt;generateReports&gt;true&lt;/generateReports&gt;
                    &lt;jmeterExtensions&gt;
                        &lt;artifact&gt;kg.apc:jmeter-plugins:pom:1.4.0&lt;/artifact&gt;
                        &lt;artifact&gt;kg.apc:jmeter-plugins-json:2.7&lt;/artifact&gt;
                    &lt;/jmeterExtensions&gt;
                    &lt;junitLibraries&gt;
                        &lt;artifact&gt;com:myProject:1.0-SNAPSHOT&lt;/artifact&gt;
                    &lt;/junitLibraries&gt;
                    &lt;propertiesFilesDirectory&gt;src/test/jmeter/src/resources&lt;/propertiesFilesDirectory&gt;
                    &lt;downloadExtensionDependencies&gt;false&lt;/downloadExtensionDependencies&gt;
                &lt;/configuration&gt;
            &lt;/plugin&gt;
        &lt;/plugins&gt;
    &lt;/build&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;scope&gt;test&lt;/scope&gt;
        &lt;/dependency&gt;
    &lt;/dependencies&gt;
&lt;/project&gt;
</code></pre>
",https://stackoverflow.com/questions/68369532/jmeter-maven-plugin-how-to-provide-external-properties-file-while-running-juni,"['jmeter', 'performance-testing', 'blazemeter', 'jmeter-maven-plugin']",562,True,0,1
x509: certificate signed by unknown authority CMD K6.io,"<p>I am presently using a nice tool to perform performance testing (load) for a project via a VPN. I am using K6.io and SOAPUI.  run the same tool using both tools just to compare results. K6.io is a Javascript library that gathers robust configurable metrics, and likewise SOAPUI. The challenge is that SOAPUI works smoothly while K6.io always hit a certificate issue. Since SOAPUI works fine I believe the problem is either certificate issue with my system or K6.io. I'm yet to figure out what the real problem is.</p>
<p>The main reason why I like k6.io is because of the robust reporting tools it integrates with like InfluxDB and Grafana. It is because I have to generate graphical reports for the test.</p>
<p>Error from k6.io CMD</p>
<pre><code>    script: AccountClosure.js
     output: -

  scenarios: (100.00%) 1 scenario, 1 max VUs, 10m30s max duration (incl. graceful stop):
           * default: 1 iterations for each of 1 VUs (maxDuration: 10m0s, gracefulStop: 30s)

WARN[0002] Request Failed                                error=&quot;Post \&quot;https://mysite.behindvpn.com:4333/fiwebservice/services/FIPWebService\&quot;: x509: certificate signed by unknown authority&quot;
d
running (00m01.8s), 0/1 VUs, 1 complete and 0 interrupted iterations
default ✓ [======================================] 1 VUs  00m01.4s/10m0s  1/1 iters, 1 per VU
</code></pre>
",https://stackoverflow.com/questions/65971847/x509-certificate-signed-by-unknown-authority-cmd-k6-io,"['soap', 'soapui', 'load-testing', 'k6']",854,False,0,1
Akka.NET with persistence dropping messages when CPU in under high pressure?,"<p>I make some performance testing of my PoC. What I saw is my actor is not receiving all messages that are sent to him and the performance is very low. I sent around 150k messages to my app, and it causes a peak on my processor to reach 100% utilization. But when I stop sending requests 2/3 of messages are not delivered to the actor. Here is a simple metrics from app insights:</p>
<p><a href=""https://i.stack.imgur.com/5ALNN.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/5ALNN.png"" alt=""Number of requests sent"" /></a></p>
<p><a href=""https://i.stack.imgur.com/sgn8Y.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/sgn8Y.png"" alt=""Number of messages received"" /></a></p>
<p>To prove I have almost the same number of event persistent in mongo that my actor received messages.</p>
<p><a href=""https://i.stack.imgur.com/yLyib.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/yLyib.png"" alt=""Mongo"" /></a></p>
<p>Secondly, performance of processing messages is very disappointing. I get around 300 messages per second.
<a href=""https://i.stack.imgur.com/vzQlL.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/vzQlL.png"" alt=""msgpersecond"" /></a></p>
<p>I know Akka.NET message delivery is at most once by default but I don't get any error saying that message were dropped.</p>
<p>Here is code:
Cluster shard registration:</p>
<pre class=""lang-cs prettyprint-override""><code> services.AddSingleton&lt;ValueCoordinatorProvider&gt;(provider =&gt;
 {
   var shardRegion = ClusterSharding.Get(_actorSystem).Start(
                    typeName: &quot;values-actor&quot;,
                    entityProps: _actorSystem.DI().Props&lt;ValueActor&gt;(),
                    settings: ClusterShardingSettings.Create(_actorSystem),
                    messageExtractor: new ValueShardMsgRouter());
                   return () =&gt; shardRegion;
 });
</code></pre>
<p>Controller:</p>
<pre class=""lang-cs prettyprint-override""><code>    [ApiController]
    [Route(&quot;api/[controller]&quot;)]
    public class ValueController : ControllerBase
    {
        private readonly IActorRef _valueCoordinator;

        public ValueController(ValueCoordinatorProvider valueCoordinatorProvider)
        {
            _valueCoordinator = valuenCoordinatorProvider();
        }

        [HttpPost]
        public Task&lt;IActionResult&gt; PostAsync(Message message)
        {
            _valueCoordinator.Tell(message);
            return Task.FromResult((IActionResult)Ok());
        }
    }
</code></pre>
<p>Actor:</p>
<pre class=""lang-cs prettyprint-override""><code>    public class ValueActor : ReceivePersistentActor
    {
        public override string PersistenceId { get; }
        private decimal _currentValue;

        public ValueActor()
        {
            PersistenceId = Context.Self.Path.Name;
            Command&lt;Message&gt;(Handle);
        }

        private void Handle(Message message)
        {
            Context.IncrementMessagesReceived();
            var accepted = new ValueAccepted(message.ValueId, message.Value);
            Persist(accepted, valueAccepted =&gt;
            {
                _currentValue = valueAccepted.BidValue;
            });
        }

    }
</code></pre>
<p>Message router.</p>
<pre class=""lang-cs prettyprint-override""><code>    public sealed class ValueShardMsgRouter : HashCodeMessageExtractor
    {
        public const int DefaultShardCount = 1_000_000_000;

        public ValueShardMsgRouter() : this(DefaultShardCount)
        {
        }

        public ValueShardMsgRouter(int maxNumberOfShards) : base(maxNumberOfShards)
        {
        }

        public override string EntityId(object message)
        {
            return message switch
            {
                IWithValueId valueMsg =&gt; valueMsg.ValueId,
                _ =&gt; null
            };
        }
    }
</code></pre>
<p>akka.conf</p>
<pre><code>akka {  
     stdout-loglevel = ERROR
     loglevel = ERROR
     actor {
       debug {  
              unhandled = on
        }
        provider = cluster
         serializers {
              hyperion = &quot;Akka.Serialization.HyperionSerializer, Akka.Serialization.Hyperion&quot;
         }
        serialization-bindings {
          &quot;System.Object&quot; = hyperion
         }
        deployment {
            /valuesRouter {
                router = consistent-hashing-group
                routees.paths = [&quot;/values&quot;]
                cluster {
                    enabled = on
                }
            }        
        }
     }
                        
     remote {
        dot-netty.tcp {
            hostname = &quot;desktop-j45ou76&quot;
            port = 5054
        }
     }          

     cluster {
        seed-nodes = [&quot;akka.tcp://valuessystem@desktop-j45ou76:5054&quot;] 
     }
persistence {
    journal {
        plugin = &quot;akka.persistence.journal.mongodb&quot;
        mongodb {
            class = &quot;Akka.Persistence.MongoDb.Journal.MongoDbJournal, Akka.Persistence.MongoDb&quot;

            connection-string = &quot;mongodb://localhost:27017/akkanet&quot;

            auto-initialize = off
            plugin-dispatcher = &quot;akka.actor.default-dispatcher&quot;

            collection = &quot;EventJournal&quot;
            metadata-collection = &quot;Metadata&quot;
            legacy-serialization = off
        }
    }

    snapshot-store {
        plugin = &quot;akka.persistence.snapshot-store.mongodb&quot;
        mongodb {
            class = &quot;Akka.Persistence.MongoDb.Snapshot.MongoDbSnapshotStore, Akka.Persistence.MongoDb&quot;
            connection-string = &quot;mongodb://localhost:27017/akkanet&quot;
            auto-initialize = off
            plugin-dispatcher = &quot;akka.actor.default-dispatcher&quot;
            collection = &quot;SnapshotStore&quot;
            legacy-serialization = off
        }
    }
}     
}



</code></pre>
",https://stackoverflow.com/questions/65918832/akka-net-with-persistence-dropping-messages-when-cpu-in-under-high-pressure,"['akka.net', 'akka.net-cluster', 'akka.net-persistence']",1015,True,4,1
