title,body,link,tags,view_count,is_answered,score,answer_count
Kubernetes loadbalancing / Performance testing,"<p>I am running load tests using K6 as a tool. I am sending 1000 requests per second to a .NET API (without database) that I deployed in Kubernetes. Sending this many requests impacts the performance of my application. This is noticeable in the request duration(as expected).</p>
<p>The K8s cluster has two nodes and one of them has high CPU usage because of all the requests I am sending (which is also expected). However, the second node has low CPU usage. While monitoring the CPU usage of the pods I am seeing the same results. Both pods use about 10% - 20% of their CPU. How can these metrics be explained? Shouldn't the loadbalancer (ingress) balance the load evenly? And why am I seeing a decrease in performance if I still have resoures left?</p>
<p>Any advice/help would be greatly appreciated.</p>
<pre><code>Node 1, CPU usage: https://i.stack.imgur.com/r0QPF.png
Node 2, CPU usage: https://i.stack.imgur.com/Ovub5.png
Pod 1, CPU usage: https://i.stack.imgur.com/ofUmm.png
Pod 2, CPU usage: https://i.stack.imgur.com/Jj3sC.png
</code></pre>
",https://stackoverflow.com/questions/74717541/kubernetes-loadbalancing-performance-testing,"['kubernetes', 'performance-testing', 'k6']",110,True,1,1
JMETER Performance Testing - Dynamic Payload,"<p>While doing performance testing via JMETER, I encountered one usecase where the POST request call is taking the dynamic data from the website. So in that case when we run our script it fails as that data is no more available on the website.</p>
<p>Payload looks like given below. It is a POST CALL and the payload is changing everytime.</p>
<p>{&quot;marketId&quot;:&quot;U-16662943&quot;,&quot;price&quot;:{&quot;up&quot;:98,&quot;down&quot;:100,&quot;dec&quot;:&quot;1.98&quot;},&quot;side&quot;:&quot;HOME&quot;,&quot;line&quot;:0,&quot;selectionids&quot;:[&quot;W2-1&quot;]}</p>
<p>Could anyone suggest how we can make this payload dynamic when we create a script in JMETER?</p>
",https://stackoverflow.com/questions/72118601/jmeter-performance-testing-dynamic-payload,"['performance', 'testing', 'jmeter', 'performance-testing']",161,True,1,1
Performance Testing Acrobat Reader(Standalone),"<p>I am trying to run a performance test of an acrobat reader(PDF). The pdf load's an authorization page and need to capture that to sign in to load the PDF content. Need some thoughts on how to capture this using Jmeter</p>
",https://stackoverflow.com/questions/73040086/performance-testing-acrobat-readerstandalone,"['jmeter', 'jmeter-plugins', 'jmeter-5.0']",26,False,0,1
FastAPI sync vs async performance testing,"<p>I wrote simple fastapi server in which I want to do performance testing. Which means that I would like to test async vs. sync endpoint, but I got always the same results. Which concept I don't understand or what I am doing wrong?</p>
<pre><code>from fastapi import FastAPI
import time
import asyncio
app = FastAPI()


@app.get(&quot;/hello&quot;)
def say_hello():
    time.sleep(5)


@app.get(&quot;/hello-async&quot;)
async def say_hello():
    await asyncio.sleep(5)
</code></pre>
<p>I run server like this:
gunicorn main:app --workers=4 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000</p>
<p>And do performance testing:</p>
<pre><code>ab -n 80 -c 8 http://localhost:8000/hello-async
ab -n 80 -c 8 http://localhost:8000/hello
</code></pre>
<p>And got this kind of results:</p>
<pre><code>This is ApacheBench, Version 2.3 &lt;$Revision: 1879490 $&gt;
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient).....done


Server Software:        uvicorn
Server Hostname:        localhost
Server Port:            8000

Document Path:          /hello-async
Document Length:        4 bytes

Concurrency Level:      8
Time taken for tests:   55.016 seconds
Complete requests:      80
Failed requests:        0
Total transferred:      10240 bytes
HTML transferred:       320 bytes
Requests per second:    1.45 [#/sec] (mean)
Time per request:       5501.634 [ms] (mean)
Time per request:       687.704 [ms] (mean, across all concurrent requests)
Transfer rate:          0.18 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.1      0       1
Processing:  5000 5001   0.6   5001    5003
Waiting:     5000 5001   0.6   5001    5003
Total:       5000 5001   0.6   5001    5003

Percentage of the requests served within a certain time (ms)
  50%   5001
  66%   5002
  75%   5002
  80%   5002
  90%   5002
  95%   5002
  98%   5003
  99%   5003
 100%   5003 (longest request)
</code></pre>
<p>I wanted to simulate I/O operation, if I call API or database I want to se how much faster is async approach. What happened now I got the same time taken for tests.</p>
<p>If I would do CPU intensive operation I would understand that I will got the same result. What I am doing wrong?</p>
<p>Also in syncing approach the web server is limited to number threads which are spawned, but then what is theoretical limit of async approach? Also how can I test limits number of spawned threads in syncing approach and in async approach what is the limit of event loop.</p>
",https://stackoverflow.com/questions/72907106/fastapi-sync-vs-async-performance-testing,"['performance', 'testing', 'fastapi']",834,False,2,0
Scorm application performance testing using jmeter,"<p>I need help and inputs for Scorm application performance testing using jmeter. How to record the scorm application using jmeter? Do I need to use any plugins for recording scorm application.</p>
<p>Please provide tutorials for doing the scorm application performance testing using jmeter</p>
",https://stackoverflow.com/questions/71152995/scorm-application-performance-testing-using-jmeter,['jmeter'],59,False,0,1
OutOfMemoryException from Kestrel during performance testing,"<p>I'm running a K6 script to generate a number (&gt; 60) of API calls to my container. Each of these calls has several objects in its request body. If the object count exceeds a certain limit (such that the request size crosses 0.5 MB), I'm seeing requests failing with <code>OperationCanceledException</code> and a few others with <code>OutOfMemoryException</code>.</p>
<p>I wanted to understand what triggers a warning as shown below</p>
<pre><code>{
        &quot;date_time&quot;: &quot;2022-12-01 11:32:01.0943&quot;,
        &quot;machine_name&quot;: &quot;a749a0152d3a&quot;,
        &quot;level&quot;: &quot;WARN&quot;,
        &quot;logger&quot;: &quot;Microsoft.AspNetCore.Server.Kestrel&quot;,
        &quot;message&quot;: &quot;Connection processing ended abnormally.&quot;,
        &quot;exception&quot;: {
            &quot;Type&quot;: &quot;System.OutOfMemoryException&quot;,
            &quot;TargetSite&quot;: &quot;System.Array AllocateNewArray(IntPtr, Int32, GC_ALLOC_FLAGS)&quot;,
            &quot;Message&quot;: &quot;Exception of type 'System.OutOfMemoryException' was thrown.&quot;,
            &quot;Data&quot;: {},
            &quot;Source&quot;: &quot;System.Private.CoreLib&quot;,
            &quot;HResult&quot;: -2147024882,
            &quot;StackTrace&quot;: &quot;   at System.GC.AllocateNewArray(IntPtr typeHandle, Int32 length, GC_ALLOC_FLAGS flags)\n  
   at System.Buffers.PinnedBlockMemoryPool.Rent(Int32 size)\n  
   at System.IO.Pipelines.Pipe.AllocateSegment(Int32 sizeHint)\n  
   at System.IO.Pipelines.Pipe.AllocateWriteHeadSynchronized(Int32 sizeHint)\n  
   at System.IO.Pipelines.Pipe.GetMemory(Int32 sizeHint)\n  
   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketConnection.DoReceive()\n  
   at System.IO.Pipelines.Pipe.GetReadResult(ReadResult&amp; result)\n  
   at System.IO.Pipelines.Pipe.ReadAsync(CancellationToken token)\n  
   at System.IO.Pipelines.Pipe.DefaultPipeReader.ReadAsync(CancellationToken cancellationToken)\n  
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Http1Connection.BeginRead(ValueTask`1&amp; awaitable)\n  
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)\n  
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequestsAsync[TContext](IHttpApplication`1 application)&quot;
        },
        &quot;correlation_id&quot;: &quot;29b21ec1-2a0f-4aa7-873a-6a8110912ba0&quot;,
        &quot;service_name&quot;: &quot;MyService&quot;,
        &quot;service_version&quot;: &quot;2022.12.1.123&quot;,
        &quot;application_name&quot;: &quot;MyAdd&quot;
    }
</code></pre>
<p>Does this warning lead to other requests getting canceled?</p>
<p>Is there a setting in .NET Core 6 that can be used to better handle these cases?</p>
",https://stackoverflow.com/questions/74641642/outofmemoryexception-from-kestrel-during-performance-testing,"['c#', 'asp.net-core', 'kestrel-http-server']",104,False,0,0
Performance testing - File download in gatling,"<p>I have recorded script to download .csv file in gatling using scala.
I am able to get  the correct response and the file data is visible in session variable.</p>
<p>However,  I would like to save this file as .csv on the physical machine with every iteration.</p>
<p>Somethin similar to Save Responses to a file in JMeter.
How can I achieve this in gatling. Appreciate your support.</p>
<p>Thanks,
Prad</p>
",https://stackoverflow.com/questions/73149612/performance-testing-file-download-in-gatling,"['scala', 'gatling']",83,False,0,0
HTTP status 409 error - Performance Testing,"<p>I am doing this to solve the server with multiple requests for load testing using J meter</p>
<p>How can I solve this? Any settings in J meter?</p>
",https://stackoverflow.com/questions/74472694/http-status-409-error-performance-testing,"['testing', 'jmeter-5.0']",34,False,0,0
Performance testing code - Hard Drive cache,"<p>I am trying to see why some of java code runs so slowly, when I run the following code (it takes a folder full of json files and creates one big json file) on the first run it can take up to 50seconds with 150k json files, on second run it takes &lt;5 seconds. I can only assume it's something to do with hard drive caching, does anyone have any tips on how to improve performance when you have hard drive caching? Any tips on how to increase performance?</p>
<pre><code>public class JsonFileMerger {

    private JsonFactory jfactory = new JsonFactory();
    private String OutputFolder;
    private String ArrayField;
    private String InputFolder;
    private JsonEncoding JSONEncoding = JsonEncoding.UTF8;
    private ObjectMapper Mapper = new ObjectMapper();
    

    public void execute() throws IOException, IllegalArgumentException {
        //FileOutputStream fileOut =new FileOutputStream(OutputFolder + &quot;/&quot; + ArrayField + &quot;.json&quot;);
        BufferedOutputStream fileOut = new BufferedOutputStream(new FileOutputStream(OutputFolder + &quot;/&quot; + ArrayField + &quot;.json&quot;));
        JsonGenerator jGenerator = jfactory.createGenerator(fileOut, JSONEncoding);
        jGenerator.writeStartObject();
        jGenerator.writeFieldName(ArrayField);
        jGenerator.writeStartArray();
        try {
            Files.walk(Paths.get(InputFolder)).filter(p -&gt; p.toString().endsWith(&quot;.json&quot;)).forEach(p -&gt; {
                try {
                    InputStream jsonStream = new FileInputStream(p.toFile());
                    JsonParser jsonParser = new JsonFactory().createParser(jsonStream);
                    TreeNode treeNode = Mapper.readTree(jsonParser);
                    jGenerator.setCodec(Mapper);
                    jGenerator.writeTree(treeNode);
                    jsonStream.close();
                    jsonParser.close();
                } catch (IOException e) {
                    e.printStackTrace();
                }
            });

        } catch (Exception e) {
            e.printStackTrace();
        }
        jGenerator.writeEndArray();
        jGenerator.close();
        fileOut.close();

    }
}```
</code></pre>
",https://stackoverflow.com/questions/73847643/performance-testing-code-hard-drive-cache,"['java', 'performance', 'hard-drive']",41,False,0,0
I have requirement for Api performance testing,"<p>I need to achieve 6TPS for one Api.
Need to run for an 1hr. How many user load required to provide in jmeter?</p>
",https://stackoverflow.com/questions/73310862/i-have-requirement-for-api-performance-testing,['jmeter'],44,True,0,1
Performance Testing for Japanese Language Based website,"<p>I have an application in which the content inside the website is totally in <strong>Japanese language</strong> with some english alphabets included in between.</p>
<p>Example string- <strong>ﾍﾏﾄｸﾘｯﾄ A B C ﾍﾏﾄｸﾘｯﾄ</strong></p>
<p>Need to Capture string- <strong>A B C</strong> or <strong>ﾍﾏﾄｸﾘｯﾄ</strong></p>
<p>How to capture the value for text check/Assertions using LR? Or any other tool is recommended for Multi Lingual Web Testing?</p>
",https://stackoverflow.com/questions/71998191/performance-testing-for-japanese-language-based-website,"['jmeter', 'performance-testing', 'multilingual', 'loadrunner', 'cjk']",75,False,0,1
is JMeter support Browserstack Mobileapp Performance testing,"<p>I have a requirement, there is Browserstack web application login from there we can upload APK file and launch Mobile app using any of the Android device. We have to login mobile app and do other transactions in mobile app.</p>
<p>Jmeter will support to do performance testing for Browserstack Mobileapp Performance testing or any other tool support to do Browserstack Mobileapp Performance testing  ?</p>
<p>Please provide your inputs</p>
<p>Thanks</p>
",https://stackoverflow.com/questions/74787818/is-jmeter-support-browserstack-mobileapp-performance-testing,['jmeter'],85,False,0,1
Batch Job Performance testing - what parameters to measure?,"<p>I know about the Performance test for an &quot;Online&quot; application or APIs where we measure response time, throughput and CPU/Memory utilization.</p>
<p>My question is - What are the parameters to measure for performance testing of a &quot;Batch&quot; job? The job I am talking about reads a file (nightly process) and update the database (RDBMS) with new records. What is the criteria of performance testing for such batch processes?</p>
",https://stackoverflow.com/questions/70992581/batch-job-performance-testing-what-parameters-to-measure,"['performance', 'testing', 'spring-batch', 'load', 'batch-processing']",1404,False,1,1
kinesis data stream performance testing with partition key,"<p>I am using the Kinesis Data Generator tool and I was wondering how to define the partition key in the test data so that the data is distributed to all the shard evenly.</p>
<p><a href=""https://awslabs.github.io/amazon-kinesis-data-generator/web/producer.html"" rel=""nofollow noreferrer"">https://awslabs.github.io/amazon-kinesis-data-generator/web/producer.html</a></p>
",https://stackoverflow.com/questions/72864853/kinesis-data-stream-performance-testing-with-partition-key,"['amazon-kinesis', 'amazon-kinesis-analytics']",161,True,0,1
Performance testing of the application with SMS OTP,"<p>I wanted to test an API which needs OTP to proceed further.. i am using another API to fetch the OTP, but it wouldnt be returned in the response, inturn it will be sent to the mobile..</p>
<p>My question is that , how to fetch the OTP from phone message and continue the test. challenge is that i cant disable security or use any API for this as it will be sent to the phone number</p>
",https://stackoverflow.com/questions/74400254/performance-testing-of-the-application-with-sms-otp,"['api', 'jmeter', 'performance-testing']",19,False,0,1
How to add performance testing to mocha tests,"<p>I'd like to do performance testing for the following unit test.</p>
<pre class=""lang-js prettyprint-override""><code>describe(&quot;simple test&quot;, async() =&gt; {
     it(&quot;first test&quot;, async() =&gt; {
        assert.equal(myProgram(), 1);
     })
})
</code></pre>
<p>But I'm not sure where to start.</p>
<p>How can I add performance testing tools to my mocha unit tests?</p>
",https://stackoverflow.com/questions/72711383/how-to-add-performance-testing-to-mocha-tests,"['javascript', 'mocha.js', 'performance-testing', 'load-testing']",676,False,0,1
Load (Performance) Testing of Single Page Application (SPA),"<p>I want to perform Load (Performance) Testing of Single Page Application (SPA). Also want to record the performance metrics. I have found that JMeter performs load testing for API calls but not actual browser for SPA.</p>
<p>Could you please suggest any opensource or paid alternatives which i can use to perform load testing of SPA for concurrent 500 users.</p>
<p>Thanks</p>
",https://stackoverflow.com/questions/74202823/load-performance-testing-of-single-page-application-spa,"['testing', 'jmeter', 'load', 'performance-testing']",357,True,0,1
JMeter - Performance Testing - Third Party Backend GET Response,"<p>I am currently working on load testing an application, where the users can create orders. Once the order is created, the request reaches the Middleware which triggers a scheduler. From the scheduler, the GET Status reaches a 3rd Party API and the Response is stored at the Backend (DB). The GET Status response can only be seen on the Backend and it will not be visible to the User Interface. Please help on How to record this GET Status Response at the Backend using latest version of Jmeter.</p>
",https://stackoverflow.com/questions/70643403/jmeter-performance-testing-third-party-backend-get-response,"['performance', 'jmeter', 'performance-testing', 'load-testing', 'jmeter-5.0']",92,True,0,1
How to compare different Azure VMs for performance testing,"<p><strong>Description:</strong></p>
<p>In our Performance Test environment, we have used a combination of following Azure VMs:
D4s_v3, Standard F8s , D32s_v3.
But our Production environment has a different set of high performant VMs like Standard_DS5_v2.</p>
<p>With the current VMs available in Performance Test environment, I want to carry out test runs and then use these results to see if Production env. can perform properly or not.</p>
<p>To compare different VM types, I tried using this <a href=""https://learn.microsoft.com/en-us/azure/virtual-machines/windows/compute-benchmark-scores#dsv2---memory-optimized--premium-storage"" rel=""nofollow noreferrer"">URL</a> as a reference.</p>
<p><strong>Query:</strong></p>
<p>My question is, will it be correct to use the average score as a scaling factor to extrapolate the results for production environment? If not, what other scaling factor can I use to extrapolate the results.</p>
<p><a href=""https://i.stack.imgur.com/pMW3v.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/pMW3v.png"" alt=""enter image description here"" /></a></p>
",https://stackoverflow.com/questions/74289521/how-to-compare-different-azure-vms-for-performance-testing,['performance-testing'],29,True,0,1
Performance testing for applications with processing on client side,"<p>What is the best practice for testing the web applications where all processing happen on client side? using what tools and which approach?
We used selenium plugin on jmeter for one of the projects but we realized that it might not be the correct way to measure the performance.</p>
",https://stackoverflow.com/questions/72515160/performance-testing-for-applications-with-processing-on-client-side,"['jmeter', 'performance-testing']",73,True,0,1
Performance testing with Locust with mocking 3rd party API,"<p>I came across an issue with performance testing of payments-related endpoints.
Basically I want to test some endpoints that make request themselves to a 3rd-party providers' API.
Is it possible from Locust's tests level to mock those 3rd-party API for the endpoints I intend to actually test (so without interference with the tested endpoints)?</p>
",https://stackoverflow.com/questions/72802596/performance-testing-with-locust-with-mocking-3rd-party-api,"['python', 'testing', 'performance-testing', 'load-testing', 'locust']",376,True,0,2
Dynamics 365 CE User Scenarios Performance Testing with EasyRepro,"<p>Anyone knows how we can achieve or do a performance testing (stress/load) with a Dynamics 365 CE (Sales) with EasyRepro? I know this tool is capable of this, just need to find ways on how we can simulate the test cases from EasyRepro to be run concurrent users for the perf test.</p>
<p>User Scenarios will also include testing the custom plug-ins and workflow for the CRM.</p>
<p>Thank you.</p>
",https://stackoverflow.com/questions/72655633/dynamics-365-ce-user-scenarios-performance-testing-with-easyrepro,"['selenium', 'dynamics-crm', 'easyrepro']",84,False,0,0
Gatling performance Testing: TPS is much lower than Jmeter&#39;s TPS,"<p>I am currently using Jmeter for API Performance Testing, but recently I started to look into Gatling as a potential replacement of Jmeter. Below is the PoC I'm doing for Gatling but I notice the performance result is very different.</p>
<p><strong>Setup:</strong><br/>
where we hit a https endpoint with a concurrent user of 10 for 60 seconds.</p>
<p><strong>Results</strong><br/>
Jmeter: 10 threads (no ramp up), 60 seconds<br/>
Result: 150 TPS</p>
<p>Gatling: 10 concurrent users, also 60 seconds<br/>
Result: 27 TPS(cnt/s?)</p>
<p><strong>Question:</strong><br/>
first I want to confirm the terminology of Gatling; in Gatling result chart, I see a column named &quot;<strong>mean cnt/s</strong>&quot; I hovered over it and it says &quot;<strong>count of event per second</strong>&quot;, I imagine that's the same thing as Jmeter's TPS?<br/></p>
<p><strong>Jmeter:</strong><br/>
summary +   2386 in 00:00:16 =  153.1/s Avg<br/>
<strong>Gatling:</strong><br/>
Mean cnt/s:  26.652</p>
<p>if above assumption is correct, can someone share some insight on why Gatling's number is much lower than Jmeter's?</p>
<p>Thank You!</p>
",https://stackoverflow.com/questions/74031681/gatling-performance-testing-tps-is-much-lower-than-jmeters-tps,"['jmeter', 'gatling']",61,True,0,2
JMeter Performance testing is failing at OAuth2 authorization - Token expired,"<p>We are doing load testing on a portal which uses Azure AAD authentication using JMeter and it is currently failing with this issue:</p>
<p>{&quot;error&quot;:&quot;invalid_grant&quot;,&quot;error_description&quot;:&quot;AADSTS70008: The provided authorization code or refresh token has expired due to inactivity. Send a new interactive authorization request for this user and resource.\r\nTrace ID: e4af3a0a-84cc-4f7e-854f-09XXXXXX9a00\r\nCorrelation ID: 54b8a5fd-b1ea-4c1f-bfe0-505XXXXXX944\r\nTimestamp: 2022-06-21 12:14:23Z&quot;,&quot;error_codes&quot;:[70008],&quot;timestamp&quot;:&quot;2022-06-21 12:14:23Z&quot;,&quot;trace_id&quot;:&quot;e4af3a0a-84cc-4f7e-854f-0975ea5a9a00&quot;,&quot;correlation_id&quot;:&quot;54b8a5fd-b1ea-4c1f-bfe0-5058478be944&quot;,&quot;error_uri&quot;:&quot;https://login.windows.net/error?code=70008&quot;}</p>
<p>Could you please help us troubleshoot the above issue?</p>
",https://stackoverflow.com/questions/72701288/jmeter-performance-testing-is-failing-at-oauth2-authorization-token-expired,"['oauth-2.0', 'jmeter', 'azure-active-directory']",487,True,0,1
Does Javascript support any special syntax to support performance testing?,"<p>I need to track how long many processes take and so my code looks like this:</p>
<pre><code>console.log(&quot;Doing thing 1&quot;);
var startTime = performance.now();
var thing = doThing()
times.loadTime = performance.now() - startTime;

console.log(&quot;Doing thing 2&quot;);
startTime = performance.now();
var thing2 = doOtherThing();
var endTime = performance.now();
times.thingTime2 = endTime - startTime;

console.log(&quot;Doing thing 3&quot;);
var thing3 = doThing3();
ties.thingTime3 = performance.now() - endTime;
</code></pre>
<p>As you can guess, this is getting hard to read.</p>
<p>I know that in my current environment I can use things like:</p>
<pre><code>console.startTime();
console.startTime(&quot;Thing 1&quot;);
console.endTime();
</code></pre>
<p>And so on. See the <a href=""https://developer.mozilla.org/en-US/docs/Web/API/console"" rel=""nofollow noreferrer"">console</a> object.</p>
<p>But I think I've seen something where javascript code was using blocks or labels like this:</p>
<pre><code>thing1 {
   var thing = doThing()
}

thing2 {
    var thing2 = doOtherThing();
}

thing3 {
    var thing3 = doThing3();
}

// desired result { name: &quot;thing1&quot;, startTime: 0, endTime: 10 }
console.log(thing1);
</code></pre>
<p>Or labels:</p>
<pre><code>thing1:
    var thing = doThing()
end
</code></pre>
<p>These look much more readable to me.</p>
<p>Is there a way to do this in JavaScript?</p>
",https://stackoverflow.com/questions/74663374/does-javascript-support-any-special-syntax-to-support-performance-testing,"['javascript', 'ecmascript-6', 'performance-testing']",51,True,0,3
How to do Performance Testing of Android SDK using JMeter?,"<p>There is an Ezviz SDK which is available and open source: <a href=""https://open.ys7.com/doc/en/4.x/android-sdk-en.html"" rel=""nofollow noreferrer"">https://open.ys7.com/doc/en/4.x/android-sdk-en.html</a></p>
<p>This SDK has been integrated inside Android APP. The link that I have shared has all the steps to integrate and call the SDK functions using Android Studio. Some of the functions are listed below:</p>
<pre><code>    /** * Replace the APP_KEY as the one you applied.  */
    EZGlobalSDK.initLib(this, APP_KEY);

    EZGlobalSDK.getInstance().setAccessToken(String accessToken);

    EZGlobalSDK.getInstance().logout();
</code></pre>
<p>How can I create the scripts using JMeter which can call this SDK Functions? I want to do the Performance Testing of this SDK with Android App?</p>
",https://stackoverflow.com/questions/72516929/how-to-do-performance-testing-of-android-sdk-using-jmeter,"['android', 'jmeter', 'sdk']",118,False,0,1
Trying to run performance testing using K6 for following scenario,"<p>For creating 10k QPS over an hour and increase load to 100k within an hour</p>
",https://stackoverflow.com/questions/73769612/trying-to-run-performance-testing-using-k6-for-following-scenario,"['visual-studio', 'virtual-machine']",20,False,0,0
Unable to record native app via jmeter for performance testing,"<p>Im unable to record native app for performance testing via jmeter.tried with various apps from playstore.can anyone please guide me with the same</p>
<p>I am able to record the browser app's but unable to do so from the native app side</p>
",https://stackoverflow.com/questions/74657523/unable-to-record-native-app-via-jmeter-for-performance-testing,"['jmeter', 'performance-testing', 'record']",25,False,0,1
Browser-based debugging and performance testing software for react application,"<p>I am knee on learning how to do Browser-based debugging and performance testing software for react application</p>
<p>what all the tools to use and also what are the metrics to consider for effective react application</p>
<p>Any article or pointers will be to explore more</p>
",https://stackoverflow.com/questions/74673557/browser-based-debugging-and-performance-testing-software-for-react-application,"['reactjs', 'performance', 'google-chrome-devtools', 'profiling']",21,False,0,1
How to perform CPU throttling on mobile app performance testing,"<p>I'm using android Google Pixel 4 device and I want to check mobile app performance on different CPU level.</p>
<p>Example:</p>
<p><strong>Use Case 1:</strong> I want to calculate the my app launch time When the CPU usage on device is about to 30%.</p>
<p><strong>Use Case 2:</strong> I want to calculate the my app launch time When the CPU usage on device is about to 50%.</p>
<p><strong>Use Case 3:</strong> I want to calculate the my app launch time When the CPU usage on device is about to 80%.</p>
<p>It's kind of performance testing based on the CPU throttling.</p>
<p>Is there any tool which help me to simulate the CPU usage on my device so that I can test this use cases by manual?</p>
",https://stackoverflow.com/questions/74712055/how-to-perform-cpu-throttling-on-mobile-app-performance-testing,"['android', 'appium', 'performance-testing', 'cpu']",119,False,0,0
Performance Testing # how can i test large number of users?,"<p>i have issue in testing large number of users.
so what i tried is i tryied x capacity of instance with x number of users.</p>
<p>now my questin is #</p>
<p>if i have cpu with x capacity and i tested with jmeter and it can handle 100 users without
any issues.</p>
<p>so should i consider this ?</p>
<p>so what i tried is #
if x capacity can handle 100 user
x2 capacity can handle  200 users</p>
<p>and x10 cpacity will require for 1000 users ? and so on
cos in practically it will not be possible to handle large number of user ?</p>
<p>what will be best approach to get this data ?</p>
",https://stackoverflow.com/questions/70766096/performance-testing-how-can-i-test-large-number-of-users,"['performance', 'jmeter', 'performance-testing']",90,False,0,1
"How to do perform a performance testing, keycloak enable web application","<p><strong>i need example for this.can anyone to do demonstrate it.with all steps.</strong> i try to lot of methods.but any methods not work properly.
<a href=""https://i.stack.imgur.com/iQtXl.png"" rel=""nofollow noreferrer"">Sample Screenshot</a></p>
",https://stackoverflow.com/questions/71083327/how-to-do-perform-a-performance-testing-keycloak-enable-web-application,"['jmeter', 'keycloak']",724,True,1,1
Performance Testing Java Http and Kafka is while loop slowing performance,"<p>I've set up a spring-reactive server and an use a while loop inside of a Scheduled job to make fire and forget requests from a httpClient (backend just returns the same simple string via tomcat) it is configured as follows:</p>
<pre><code>public ConnectionProvider getConnectionProvider(){
    int maxConnections = 20;
    ConnectionProvider connProvider = ConnectionProvider
    .builder(&quot;webclient-conn-pool&quot;)
    .maxConnections(maxConnections)
    .maxIdleTime(Duration.of(20, ChronoUnit.SECONDS))
    .maxLifeTime(Duration.of(1000, ChronoUnit.SECONDS))
    .pendingAcquireMaxCount(2000)
    .pendingAcquireTimeout(Duration.ofMillis(20000))
    .build();
    return connProvider;
}

public HttpClient getHttpClient(){
    return HttpClient
    .create(getConnectionProvider());
    //.secure(sslContextSpec -&gt; sslContextSpec.sslContext(webClientSslHelper.getSslContext()))
    /*.tcpConfiguration(tcpClient -&gt; {
            LoopResources loop = LoopResources.create(&quot;webclient-event-loop&quot;,
                        selectorThreadCount, workerThreadCount, Boolean.TRUE);

            return tcpClient
                    .option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 10000)
                   .option(ChannelOption.TCP_NODELAY, true);*/
}
</code></pre>
<p>I've also created a job that uses @Autowired kafkaTemplate and makes a while loop that sends a short text string</p>
<p>For http / tomcat calls I am getting around 65 requests a second
For kafka I am maxing out around 50000 requests with a half second lag</p>
<p>application.props</p>
<pre><code>spring.kafka.bootstrap-servers=PLAINTEXT://localhost:9092,PLAINTEXT://localhost:9093
host.name=localhost
</code></pre>
<p>Job to make calls</p>
<pre><code>@Async
@Scheduled(fixedDelay = 15000)
public void scheduleTaskUsingCronExpression() {
   generateCalls();
}

private void generateCalls() {
    try{

        int i = 0;
        System.out.println(&quot;start&quot;);
        long startTime = System.currentTimeMillis();
        while(i &lt;= 5000){
            //Thread.sleep(5);
            String message = &quot;Test Message sadg sad-&quot;;
            kafkaTemplate.send(TOPIC, message + i);
            i++;
        }
        long endTime = System.currentTimeMillis();
        System.out.println((endTime - startTime));
        System.out.println(&quot;done&quot;);
    }
    catch(Exception e){
        e.printStackTrace();
    }
    System.out.println(&quot;RUNNING&quot;);
}
</code></pre>
<p>Kakfa partition config</p>
<pre><code>@Bean
public KafkaAdmin kafkaAdmin() {
    //String bootstrapAddress = &quot;localhost:29092&quot;;
    String bootstrapAddress = &quot;localhost:9092&quot;;

    Map&lt;String, Object&gt; configs = new HashMap&lt;&gt;();
    configs.put(AdminClientConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapAddress);
    return new KafkaAdmin(configs);
}

@Bean
public NewTopic testTopic() {
    return new NewTopic(&quot;test-topic&quot;, 6, (short) 1);
}
</code></pre>
<p>Kafka consumer consuming messge</p>
<pre><code>@KafkaListener(topics = &quot;test-topic&quot;, groupId = &quot;one&quot;, concurrency = &quot;6&quot; )
public void listenGroupFoo(String message) {
    if(message.indexOf(&quot;-0&quot;) != -1){
        startTime = new Date().getTime();
        System.out.println(&quot;Starting Message in group foo: &quot; + message);
    }
    else if(message.indexOf(&quot;-100000&quot;) != -1){
        endTime = new Date().getTime();
        System.out.println(&quot;Received Message in group foo: &quot; + message);
        System.out.println(endTime - startTime);
    }
}
</code></pre>
<p>For hardware I have a 10900k with 64gb ram
5ghz clock speed
970 Evo single nvme disk
10 core 20 thread</p>
<p>All requests are from the same local server to the same local server
I can add more local servers for testing if needed</p>
<p>Is there a better way to organize / optimize the code to make a massive number of requests?
Theories:</p>
<ol>
<li>Multiple Threads?</li>
<li>Changing configurations of servers such as tomcat configs (receiving or sending side)?</li>
<li>Not use the kafkaTemplate that is autowired or creating multiple?</li>
<li>Modify Hardware to have multiple disks?</li>
<li>Improve server receiving http to allow more connections?</li>
<li>Not use a job to make the requests?</li>
<li>Anything else anyone can think of to help?</li>
</ol>
",https://stackoverflow.com/questions/74318068/performance-testing-java-http-and-kafka-is-while-loop-slowing-performance,"['spring', 'spring-boot', 'performance', 'apache-kafka', 'spring-webflux']",94,False,0,0
how to script for sharepoint app using jmeter for performance testing,"<p>I am having a SharePoint-based application, using which I need to perform load testing.
But When I m recording the script, the response is not as same as the browser, and thus unable to get what needs to be done
And in first 2 requests:
get page
post login
in these, there is no dynamic value, so I am not able to understand it.</p>
",https://stackoverflow.com/questions/71435290/how-to-script-for-sharepoint-app-using-jmeter-for-performance-testing,"['sharepoint', 'jmeter', 'performance-testing', 'sharepoint-online']",291,False,0,1
Is python a good choice to go with JMeter performance testing?,"<p>I know a little bit of python and I think its easier to understand than java. So I want to continue with python even while using JMeter. Is python a good choice to go with JMeter? I know that Beanshell supports Python but the related help documentation I did not came across. Maybe someone here can share the link? Anything related with 'python + jmeter' is welcome! Thank you very much!</p>
",https://stackoverflow.com/questions/72471596/is-python-a-good-choice-to-go-with-jmeter-performance-testing,"['python', 'jmeter', 'performance-testing', 'beanshell', 'post-processor']",1359,True,0,1
How to do performance testing with key-cloak authentication in Jmeter,"<p>I try to do performance testing but particular site have enable key-cloak authentication.any suggesstions</p>
",https://stackoverflow.com/questions/71048126/how-to-do-performance-testing-with-key-cloak-authentication-in-jmeter,"['jmeter', 'keycloak']",100,True,0,1
How to do proper performance testing and analysis of alacritty and zsh,"<p>I've been working with my setup lately and have been trying to determine where my 2.3s terminal load times have been coming from. I'm fairly new to linux performance testing in general but I have determined a few things.</p>
<p>The first thing I should mention is that <code>terminal</code> is a shell program with the following:</p>
<pre><code>#!/bin/sh

WINIT_X11_SCALE_FACTOR=1.5 alacritty &quot;$@&quot;
</code></pre>
<p>The stats on launching the terminal program (alacritty) and its shell (zsh -l):</p>
<pre><code>&gt; perf stat -r 10 -d terminal -e $SHELL -slc exit

 Performance counter stats for 'terminal -e /usr/bin/zsh -slc exit' (10 runs):

            602.55 msec task-clock                       #    0.261 CPUs utilized            ( +-  1.33% )
               957      context-switches                 #    1.532 K/sec                    ( +-  0.42% )
                92      cpu-migrations                   #  147.298 /sec                     ( +-  1.89% )
            68,150      page-faults                      #  109.113 K/sec                    ( +-  0.13% )
     2,188,445,151      cycles                           #    3.504 GHz                      ( +-  0.17% )
     3,695,337,515      instructions                     #    1.70  insn per cycle           ( +-  0.08% )
       791,333,786      branches                         #    1.267 G/sec                    ( +-  0.06% )
        14,007,258      branch-misses                    #    1.78% of all branches          ( +-  0.09% )
    10,893,173,535      slots                            #   17.441 G/sec                    ( +-  0.13% )
     3,574,546,556      topdown-retiring                 #     30.5% Retiring                ( +-  0.11% )
     2,888,937,632      topdown-bad-spec                 #     24.0% Bad Speculation         ( +-  0.41% )
     3,125,577,758      topdown-fe-bound                 #     27.1% Frontend Bound          ( +-  0.16% )
     2,189,183,796      topdown-be-bound                 #     18.4% Backend Bound           ( +-  0.47% )
       924,852,782      L1-dcache-loads                  #    1.481 G/sec                    ( +-  0.07% )
        38,308,478      L1-dcache-load-misses            #    4.16% of all L1-dcache accesses  ( +-  0.09% )
         3,445,566      LLC-loads                        #    5.517 M/sec                    ( +-  0.20% )
           725,990      LLC-load-misses                  #   20.97% of all LL-cache accesses  ( +-  0.36% )

           2.30683 +- 0.00331 seconds time elapsed  ( +-  0.14% )
</code></pre>
<p>The stats on launching just the shell (zsh):</p>
<pre><code> Performance counter stats for '/usr/bin/zsh -i -c exit' (10 runs):

          1,548.56 msec task-clock                       #    0.987 CPUs utilized            ( +-  3.28% )
               525      context-switches                 #  323.233 /sec                     ( +- 21.17% )
                16      cpu-migrations                   #    9.851 /sec                     ( +- 11.33% )
            90,616      page-faults                      #   55.791 K/sec                    ( +-  2.63% )
     6,559,830,564      cycles                           #    4.039 GHz                      ( +-  3.18% )
    11,317,955,247      instructions                     #    1.68  insn per cycle           ( +-  3.69% )
     2,351,473,571      branches                         #    1.448 G/sec                    ( +-  3.46% )
        46,539,165      branch-misses                    #    1.91% of all branches          ( +-  1.31% )
    32,783,001,655      slots                            #   20.184 G/sec                    ( +-  3.18% )
    10,776,867,769      topdown-retiring                 #     32.5% Retiring                ( +-  3.28% )
     5,729,353,491      topdown-bad-spec                 #     18.2% Bad Speculation         ( +-  6.90% )
    11,083,567,578      topdown-fe-bound                 #     33.3% Frontend Bound          ( +-  2.34% )
     5,458,201,823      topdown-be-bound                 #     15.9% Backend Bound           ( +-  4.51% )
     3,180,211,376      L1-dcache-loads                  #    1.958 G/sec                    ( +-  3.10% )
       126,282,947      L1-dcache-load-misses            #    3.85% of all L1-dcache accesses  ( +-  2.37% )
        14,347,257      LLC-loads                        #    8.833 M/sec                    ( +-  1.48% )
         2,386,047      LLC-load-misses                  #   16.33% of all LL-cache accesses  ( +-  0.77% )

            1.5682 +- 0.0550 seconds time elapsed  ( +-  3.51% )
</code></pre>
<p>The stats on launching the shell (zsh) with <code>zmodload zsh/zprof</code>:</p>
<pre><code>num  calls                time                       self            name
-----------------------------------------------------------------------------------
 1)   31          78.54     2.53   77.09%     50.07     1.62   49.14%  antigen
 2)    2          23.24    11.62   22.81%     15.93     7.96   15.63%  compinit
 3)    2           7.31     3.66    7.18%      7.31     3.66    7.18%  compaudit
 4)    1           8.27     8.27    8.12%      7.29     7.29    7.16%  _autoenv_source
 5)    1           6.93     6.93    6.80%      6.93     6.93    6.80%  detect-clipboard
 6)    1           5.18     5.18    5.08%      5.18     5.18    5.08%  _autoenv_hash_pair
 7)    1           2.49     2.49    2.45%      2.45     2.45    2.41%  _zsh_highlight_load_highlighters
 8)    2           1.01     0.51    0.99%      1.01     0.51    0.99%  _autoenv_stack_entered_contains
 9)   10           0.91     0.09    0.89%      0.91     0.09    0.89%  add-zsh-hook
10)    1           0.94     0.94    0.92%      0.87     0.87    0.85%  _autoenv_stack_entered_add
11)    1           0.85     0.85    0.84%      0.85     0.85    0.84%  async_init
12)    1           0.49     0.49    0.49%      0.49     0.49    0.48%  _zsh_highlight__function_callable_p
13)    1           0.45     0.45    0.44%      0.45     0.45    0.44%  colors
14)    3           0.38     0.13    0.37%      0.35     0.12    0.35%  add-zle-hook-widget
15)    6           0.34     0.06    0.34%      0.34     0.06    0.34%  is-at-least
16)    2          15.14     7.57   14.86%      0.27     0.13    0.26%  _autoenv_chpwd_handler
17)    1           5.46     5.46    5.36%      0.26     0.26    0.26%  _autoenv_authorized_env_file
18)    1           0.23     0.23    0.22%      0.23     0.23    0.22%  regexp-replace
19)   11           0.19     0.02    0.19%      0.19     0.02    0.19%  _autoenv_debug
20)    2           0.10     0.05    0.10%      0.10     0.05    0.10%  wrap_clipboard_widgets
21)   16           0.09     0.01    0.09%      0.09     0.01    0.09%  compdef
22)    1           0.08     0.08    0.08%      0.08     0.08    0.08%  (anon) [/home/nate-wilkins/.antigen/bundles/zsh-users/zsh-autosuggestions/zsh-autosuggestions.zsh:458]
23)    2           0.05     0.02    0.05%      0.05     0.02    0.05%  bashcompinit
24)    1           0.06     0.06    0.06%      0.04     0.04    0.04%  _autoenv_stack_entered_remove
25)    1           5.50     5.50    5.40%      0.03     0.03    0.03%  _autoenv_check_authorized_env_file
26)    1           0.04     0.04    0.04%      0.03     0.03    0.03%  complete
27)    1           0.88     0.88    0.87%      0.03     0.03    0.03%  async
28)    1           0.03     0.03    0.02%      0.03     0.03    0.02%  (anon) [/usr/share/zsh/functions/Misc/add-zle-hook-widget:28]
29)    2           0.01     0.00    0.01%      0.01     0.00    0.01%  env_default
30)    1           0.01     0.01    0.01%      0.01     0.01    0.01%  _zsh_highlight__is_function_p
31)    1           0.00     0.00    0.00%      0.00     0.00    0.00%  _zsh_highlight_bind_widgets
</code></pre>
<p>Lastly I have a <code>perf</code> run with a corresponding flamegraph:</p>
<p><code>perf-run --out alacritty --command &quot;terminal -e $SHELL -slc exit&quot;</code></p>
<p><a href=""https://i.stack.imgur.com/bc4xW.jpg"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/bc4xW.jpg"" alt=""enter image description here"" /></a></p>
<p>But I'm not sure how to interpret the flamegraph since it seems to have everything in it and not just the command that was run.</p>
<p>So my question is:
What is taking up the most time in my terminal setup and is there another approach I could use to better determine where the problem is coming from?</p>
",https://stackoverflow.com/questions/74503866/how-to-do-proper-performance-testing-and-analysis-of-alacritty-and-zsh,"['performance', 'terminal', 'zsh', 'perf', 'alacritty']",68,False,1,0
Karate Performance testing : Getting build failure with error &quot;Unrecognized VM option &#39;UseBiasedLocking&#39;,"<p>I am trying to reuse Karate tests for performance testing with Gatling and Scala.
I have configured everything as described in documentation. But then when I run the mvn command I am getting error &quot;Unrecognized VM option 'UseBiasedLocking' Error: Could not create the Java Virtual Machine.&quot;
mvn command used to run tests: mvn test-compile gatling:test</p>
<p>Tried with looking at Env path variables and running the mvn command with different options. But still getting same error</p>
<p>Failed to execute goal io.gatling:gatling-maven-plugin:4.1.5:test (default-cli) on project PerformanceTesting: Gatling failed.: Process exited with an error: 1 (Exit value: 1)</p>
<p>Below is the POM file
<a href=""https://i.stack.imgur.com/RDPHI.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/RDPHI.png"" alt=""POM File"" /></a></p>
<p>Scala File
<a href=""https://i.stack.imgur.com/7NkSV.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/7NkSV.png"" alt=""scala file"" /></a></p>
",https://stackoverflow.com/questions/74287752/karate-performance-testing-getting-build-failure-with-error-unrecognized-vm-o,['karate'],198,True,1,1
How to perform Load / Performance testing on website which using Okta Authentication?,"<p>How to perform Load / Performance testing on website which using Okta Authentication  ?
I am able to use JMeter for this test or it will give me error ?
Did anyone done this kind of test with another tool or  ?</p>
<p>I have done some test but never use and I dont know how to use if the website have Okta Authentication</p>
",https://stackoverflow.com/questions/74945092/how-to-perform-load-performance-testing-on-website-which-using-okta-authentica,"['performance', 'testing', 'jmeter', 'load', 'okta']",176,False,0,1
How to run Karate and Gatling with Gradle build system for performance testing,"<p>I'm trying to run a Karate test as a Gatling performance test. I am being use Gradle however. When trying to run under Gradle the below disaster unfolds.</p>
<p>Appreciate any ideas what might be causing KarateAction to crash.</p>
<p>i have added Gatling dependencies in gradle build</p>
<p><strong>BUILD GRADLE:</strong></p>
<pre><code>plugins {
//   id 'org.springframework.boot' version '2.5.5'
    //  id 'io.spring.dependency-management' version '1.0.11.RELEASE'
    id 'java'
    id 'net.researchgate.release' version '2.8.1'
}

group 'org.ikano'
version '1.0-SNAPSHOT'

sourceCompatibility = 1.8

ext {
    cucumberVersion = &quot;5.7.0&quot;
    karateVersion = '1.1.0'
    //  kafkaProducer = &quot;3.2.0&quot;
    // kafkaConsumer = &quot;3.2.0&quot;
    // kafkaCommonModel = &quot;3.2.0&quot;
    dbUtilsVersion = &quot;1.7&quot;
}

apply plugin: 'scala'

configurations {
    gatling
}


sourceSets {
    test {
        resources {
            srcDir file('src/test/java')
            exclude '**/*.java'
            exclude '**/*.scala'
        }
    }
}


test {
    useJUnitPlatform()
    systemProperty &quot;karate.options&quot;, System.properties.getProperty(&quot;karate.options&quot;)
    systemProperty &quot;karate.env&quot;, System.properties.getProperty(&quot;karate.env&quot;)
    outputs.upToDateWhen { false }
}

repositories {
    maven {
        url &quot;https://artifacts.le.tnt.bank.*****/repository/maven-****&quot;
        credentials {
            username '*******'
            password '**********'
        }
        mavenCentral()
    }
}
task karateDebug(type: JavaExec) {
    classpath = sourceSets.test.runtimeClasspath
    main = 'com.intuit.karate.cli.Main'
}



dependencies {
    implementation(&quot;commons-configuration:commons-configuration:1.10&quot;)
    implementation(&quot;org.json:json:20180813&quot;)
    implementation(&quot;javax.mail:mail:1.5.0-b01&quot;)
    implementation(&quot;com.jayway.jsonpath:json-path:2.6.0&quot;)
    implementation(&quot;com.googlecode.json-simple:json-simple:1.1.1&quot;)
    // implementation(&quot;org.springframework:spring-context:5.3.13&quot;)
    implementation(&quot;org.apache.poi:poi-ooxml:4.1.1&quot;)
    // implementation(&quot;org.springframework:spring-webmvc:4.3.0.RELEASE&quot;)
    testImplementation(&quot;com.intuit.karate:karate-core:1.2.0&quot;)
    testImplementation(&quot;junit:junit:4.13.2&quot;)
    testImplementation(&quot;com.intuit.karate:karate-junit5:1.1.0&quot;)
    testImplementation(&quot;com.intuit.karate:karate-gatling:1.1.0&quot;)
    testImplementation(&quot;com.intuit.karate:karate-apache:0.9.6&quot;)
    testImplementation(&quot;net.masterthought:cucumber-reporting:3.8.0&quot;)
    testImplementation(&quot;hu.blackbelt.bundles.poi:org.apache.poi:4.1.2_2&quot;)
    testImplementation(&quot;org.apache.poi:poi:4.1.1&quot;)
    testImplementation(&quot;io.rest-assured:rest-assured:4.3.0&quot;)
    testCompile 'com.intuit.karate:karate-junit5:1.1.0'
    testCompile &quot;com.intuit.karate:karate-gatling:${karateVersion}&quot;

    //  compile group: 'org.springframework.boot', name: 'spring-boot-starter-parent', version: '2.5.5', ext: 'pom'

    //implementation group: 'org.springframework', name: 'spring-websocket', version: '5.2.9.RELEASE'
    //implementation group: 'org.springframework', name: 'spring-messaging', version: '5.2.9.RELEASE'

//    implementation 'org.springframework.boot:spring-boot-starter-web'
    //   implementation 'org.springframework.boot:spring-boot-starter'
    //  testImplementation('org.springframework.boot:spring-boot-starter-test')
    //{exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'}

    compile group: 'joda-time', name: 'joda-time', version: '2.10.6'

    // implementation &quot;com.ikano.ipay.eem.kafka:kafka-producer:${kafkaProducer}&quot;
    // implementation &quot;com.ikano.ipay.eem.kafka:kafka-consumer:${kafkaConsumer}&quot;
    // implementation &quot;com.ikano.ipay.eem.kafka:kafka-common-model:${kafkaCommonModel}&quot;



    implementation group: 'redis.clients', name: 'jedis', version: '2.9.0'
    implementation group: 'org.redisson', name: 'redisson', version: &quot;3.16.3&quot;

    compile group: 'org.apache.poi', name: 'poi', version: '4.1.2'
    compile group: 'org.apache.poi', name: 'poi-ooxml', version: '4.1.2'

    compile group: 'commons-dbutils', name: 'commons-dbutils', version: &quot;$dbUtilsVersion&quot;
</code></pre>
<pre><code>task gatlingRun(type: JavaExec) {
    group = 'Web Tests'
    description = 'Run Gatling Tests'
    new File(&quot;${buildDir}/reports/gatling&quot;).mkdirs()

    classpath = sourceSets.test.runtimeClasspath
    main = &quot;io.gatling.app.Gatling&quot;
    args = [
            // change this to suit your simulation entry-point

            '-s', 'performance2.userSimulation',
            '-rf', &quot;${buildDir}/reports/gatling&quot;
    ]
    systemProperties System.properties
}

group = &quot;org.ikano&quot;
version = &quot;1.0-SNAPSHOT&quot;
description = &quot;IPay&quot;
java.sourceCompatibility = JavaVersion.VERSION_1_8
</code></pre>
<p><strong>FOR SCALA</strong></p>
<pre><code>package performance

import com.intuit.karate.gatling.PreDef._
import io.gatling.core.Predef._
import io.gatling.core.structure.ScenarioBuilder

import scala.concurrent.duration._


class UserSimulation extends Simulation{

  val getSingleUser: ScenarioBuilder = scenario(&quot;UK Onboarding - Verify user is able to onboard successfully&quot;).exec(karateFeature(&quot;classpath:performance/onboarding.feature&quot;))

  setUp(
    getSingleUser.inject(rampUsers(10).during(5 seconds))

  )
}
</code></pre>
<p><strong>Command Line</strong>  :gradle gatlingRun</p>
<pre><code>Starting a Gradle Daemon (subsequent builds will be faster)

&gt; Task :gatlingRun
16:10:18.039 [main] INFO  i.g.c.config.GatlingConfiguration$ - Gatling will try to use 'gatling.conf' as config file.
16:10:20.052 [GatlingSystem-akka.actor.default-dispatcher-6] INFO  akka.event.slf4j.Slf4jLogger - Slf4jLogger started
16:10:22.818 [main] ERROR io.gatling.app.Gatling$ - Run crashed
java.lang.IllegalArgumentException: User defined Simulation class performance2.userSimulation could not be loaded
        at io.gatling.app.Selection$Selector.findUserDefinedSimulationInClassloader$1(Selection.scala:80)
        at io.gatling.app.Selection$Selector.$anonfun$singleSimulationFromConfig$4(Selection.scala:85)
        at scala.Option.orElse(Option.scala:477)
        at io.gatling.app.Selection$Selector.$anonfun$singleSimulationFromConfig$3(Selection.scala:85)
        at scala.Option.flatMap(Option.scala:283)
        at io.gatling.app.Selection$Selector.singleSimulationFromConfig(Selection.scala:83)
        at io.gatling.app.Selection$Selector.$anonfun$selection$1(Selection.scala:52)
        at scala.Option.getOrElse(Option.scala:201)
        at io.gatling.app.Selection$Selector.selection(Selection.scala:44)
        at io.gatling.app.Selection$.apply(Selection.scala:36)
        at io.gatling.app.Runner.run0(Runner.scala:61)
        at io.gatling.app.Runner.run(Runner.scala:49)
        at io.gatling.app.Gatling$.start(Gatling.scala:83)
        at io.gatling.app.Gatling$.fromArgs(Gatling.scala:45)
        at io.gatling.app.Gatling$.main(Gatling.scala:37)
        at io.gatling.app.Gatling.main(Gatling.scala)
Caused by: java.lang.ClassNotFoundException: performance2.userSimulation
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at io.gatling.app.Selection$Selector.$anonfun$singleSimulationFromConfig$2(Selection.scala:71)
        at scala.util.Try$.apply(Try.scala:210)
        at io.gatling.app.Selection$Selector.findUserDefinedSimulationInClassloader$1(Selection.scala:71)
        ... 15 common frames omitted
Exception in thread &quot;main&quot; java.lang.IllegalArgumentException: User defined Simulation class performance2.userSimulation could not be loaded
        at io.gatling.app.Selection$Selector.findUserDefinedSimulationInClassloader$1(Selection.scala:80)
        at io.gatling.app.Selection$Selector.$anonfun$singleSimulationFromConfig$4(Selection.scala:85)
        at scala.Option.orElse(Option.scala:477)
        at io.gatling.app.Selection$Selector.$anonfun$singleSimulationFromConfig$3(Selection.scala:85)
        at scala.Option.flatMap(Option.scala:283)
        at io.gatling.app.Selection$Selector.singleSimulationFromConfig(Selection.scala:83)
        at io.gatling.app.Selection$Selector.$anonfun$selection$1(Selection.scala:52)
        at scala.Option.getOrElse(Option.scala:201)
        at io.gatling.app.Selection$Selector.selection(Selection.scala:44)
        at io.gatling.app.Selection$.apply(Selection.scala:36)
        at io.gatling.app.Runner.run0(Runner.scala:61)
        at io.gatling.app.Runner.run(Runner.scala:49)
        at io.gatling.app.Gatling$.start(Gatling.scala:83)
        at io.gatling.app.Gatling$.fromArgs(Gatling.scala:45)
        at io.gatling.app.Gatling$.main(Gatling.scala:37)
        at io.gatling.app.Gatling.main(Gatling.scala)
Caused by: java.lang.ClassNotFoundException: performance2.userSimulation
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at io.gatling.app.Selection$Selector.$anonfun$singleSimulationFromConfig$2(Selection.scala:71)
        at scala.util.Try$.apply(Try.scala:210)
        at io.gatling.app.Selection$Selector.findUserDefinedSimulationInClassloader$1(Selection.scala:71)
        ... 15 more

&gt; Task :gatlingRun FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':gatlingRun'.
&gt; Process 'command 'C:\Program Files\Amazon Corretto\jdk1.8.0_282\bin\java.exe'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 44s
3 actionable tasks: 1 executed, 2 up-to-date

</code></pre>
",https://stackoverflow.com/questions/74355819/how-to-run-karate-and-gatling-with-gradle-build-system-for-performance-testing,"['build.gradle', 'performance-testing', 'gatling', 'scala-gatling', 'maven-gatling-plugin']",245,False,1,1
while performance testing application using jmeter with prometheous how to monitor cloud servers?,"<p>How to monitor web-based application for performance testing using JMeter and servers are cloud servers (AWS) doesn't have IP Address, Username and password? How to monitor AWS servers need to check CPU, MEMORY, NETWORK and DISK? How to find out the root cause analysis suggest me free tools as an alternative to App Dynamics?</p>
<p>can anyone please help me</p>
",https://stackoverflow.com/questions/74920533/while-performance-testing-application-using-jmeter-with-prometheous-how-to-monit,"['performance', 'performance-testing', 'google-cloud-monitoring']",56,False,0,1
How to push request a CSRF Token in k6 performance testing tool - ReferenceError,"<p>I am quite new to k6 and load testing and I could not figure out why I am not able to push a token from one request to another, to test the login process in a Laravel-built web app. I hope somebody can help me out with this issue.</p>
<p>So my script looks like the following:</p>
<p><strong>First request from where I want the token:</strong></p>
<pre><code>import { parseHTML } from 'k6/html';
import { sleep, group, check } from &quot;k6&quot;;
import http from 'k6/http'

export const options = {}

export default function main() {
  let response

   group('page_1 - http://localhost:81/login', function () {
    response = http.get('http://localhost:81/login', {
      headers: {
        host: 'localhost:81',
        'user-agent':
          'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0',
        accept:
          'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8',
        'accept-language': 'en-US,en;q=0.5',
        'accept-encoding': 'gzip, deflate, br',
        connection: 'keep-alive',
        cookie:
          'XSRF-TOKEN=eyJpdiI6InY5ckZiaGdFTkI4Q0YyRi8rdmtyNUE9PSIsInZhbHVlIjoiT0NjZXlWWVBubTE5Zjh6cXBmNmZFWTdZKzBjVXlEOGhheGR0aVUybURSSGRZbEFmQ0N2RW5BQ3pOYzBQUXgweXhUaGNpRDhrcTV5SHBJUkEvU0FYTmN3eCswYTFsVnhQdk8wL1dkeHMvOTNXRTU4dnk2WjJ0QWFCSWdyQzEwQkwiLCJtYWMiOiIyODI1YmFkMDI1MzlkOGY4ODEyMDg4YWU5M2I5MWE3NmI3Yjg2ODczYTBkMzhhNmZiZTU5ODNlZDBjOGViNWIzIn0%3D; dev_session=eyJpdiI6ImNGalhPQW9GTWlYLzdsaEg1Qk0zdnc9PSIsInZhbHVlIjoiVU5jQ21OZmkyUDVnUmd2WUxUc3Z5dWhRbzBJTm1HWFhmQ1RuNzdFaEpRb1IzdVlIa1VhUkNXYTBlc2IxMHRMajl6UTAzYmFVTHZheEdTV2RrYU84d3pmdEUxYUlkaVFFT3J5YUVWSE1wVklRektqemVmbjhmK3hLWHo2ZmlMYlgiLCJtYWMiOiI3MTQ2ODg0Yjk4YjhhNjg2Yzg1YjllZjdmMWMyNzVkY2ZmNGM1NjAzYWUyN2NlMmE0ZjAwOTAyNWMwNGI2YmM2In0%3D',
        'upgrade-insecure-requests': '1',
        'sec-fetch-dest': 'document',
        'sec-fetch-mode': 'navigate',
        'sec-fetch-site': 'none',
        'sec-fetch-user': '?1',
        'sec-gpc': '1',
      }, 
    })
      
  // Query the HTML for an input field named &quot;_token&quot;.
  const elem = response.html().find('input[name=_token]');

  // Get the value of the attribute &quot;value&quot; and save it to a variable
  const token = Elem.attr('value');

  // Now you can concatenate this extracted value in subsequent requests that require it.

  // console.log() works when executing k6 scripts locally and is handy for debugging purposes
  console.log('The value of the hidden field is: ' + token);
  
  check(response, { 
      list_OK: (r) =&gt; r.status === 200,
    });
  })
</code></pre>
<p><strong>Second request - I want to use the token from the previous request to log in:</strong></p>
<pre><code>    group('page_2 - http://localhost:81/customlogin', function () {
        const url = 'http://localhost:81/customlogin';
        const payload = JSON.stringify({
    _token: `${token}`,
    email: 'user',
    password: '1234',
    });
  const params = {
    headers: {
        'Content-Type': 'application/json',
      host: 'localhost:81',
          'user-agent':
            'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0',
          accept:
            'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8',
          'accept-language': 'en-US,en;q=0.5',
          'accept-encoding': 'gzip, deflate, br',
          'content-type': 'application/x-www-form-urlencoded',
          origin: 'http://localhost:81',
          connection: 'keep-alive',
          referer: 'http://localhost:81/login',
          cookie:
            'XSRF-TOKEN=eyJpdiI6ImlnZFZCUGF1b1FYUlJOdTJHNDd2Vnc9PSIsInZhbHVlIjoiTXhhdnZyQzlPamRFQ21rajdQVEZXcThzWittZndqU2d1L0hyN1BmRTA2a2RBbEpYZUhIUlRpWjh1RWJoQ1Y5dWJoTWVnaXEzZ1NVTjBndG1tenUyN2phY1lMdkIxSzBGek5aYndlSmRxaEhVTGY4WkNCcE1UY3N6YmowUnkrTkciLCJtYWMiOiJlNDIxNjhkYTc1NjYxNTVkNWZhOWViZDYwMGU1ODRkNmQ2ZGU0NjgyMjU5NjIxMzQ0MjYyYzRjMmJkYTVmNjUwIn0%3D; dev_session=eyJpdiI6IndxWXpobW9BUm1GSHNVZkorN0N0OGc9PSIsInZhbHVlIjoiSE82by9aRnBXQjFkNG5JMHFkVzUzc3kraUZOYUdIdjNlUGN6a3c2SjBSZy9TaVNxNmRsWnQzMTltMGt0MGQvWUoxQndyQXFvd2theWViNU94Z2FXaXlGTkc4ZVdERGY2KzRpUUZDZDIxNG85UFhhanRiajBCWElmcmthMWE0R3IiLCJtYWMiOiJjMDllMmRmNGJjNDRlMjM2MmZmZTViOWEwZmUzNWQ3MzNjZDI1NWQwYmU3MjE4OTZiMTRhN2U0NWNkMTcxMDAzIn0%3D',
          'upgrade-insecure-requests': '1',
          'sec-fetch-dest': 'document',
          'sec-fetch-mode': 'navigate',
          'sec-fetch-site': 'same-origin',
          'sec-fetch-user': '?1',
          'sec-gpc': '1',
    },
  };
  response = http.post(url, payload, params);
    console.log(response)
    check(response, {
      list_OK: (r) =&gt; r.status === 200,
    });
  })
</code></pre>
<p>After running the script I get an error message saying:</p>
<p><strong>&gt; ReferenceError: token is not defined</strong></p>
<p>Thank you for your passionate help!</p>
",https://stackoverflow.com/questions/73687855/how-to-push-request-a-csrf-token-in-k6-performance-testing-tool-referenceerror,"['request', 'csrf', 'load-testing', 'k6']",406,True,0,1
"How to capture the file upload, import timing and database performance testing in JMeter","<p>I am trying to achieve two scenarios using JMeter. But I am facing some issues. Details are as follows.
Scenario 1 : I want to test the timings of text file upload and file import in my web application
Scenario 2 : Need to verify the database performance. Here I am using MySQL database (SQL Workbench)</p>
<p><strong>Issues :
How to capture the time taken by the application for file upload and data importing in my web application</strong>
<strong>The structure of test plan for scenario 1</strong></p>
<p><a href=""https://i.stack.imgur.com/ZWBE2.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/ZWBE2.png"" alt=""enter image description here"" /></a></p>
<p>**Issues :
After adding the .jar for driver its still giving an error as</p>
<p>Response message:java.sql.SQLException: Cannot load JDBC driver class 'com.microsoft.jdbc.sqlserver.SQLServerDriver'</p>
<p>On selecting another driver class it is not returning anything in report.**
<strong>The structure of test plan for scenario 2.</strong></p>
<p><a href=""https://i.stack.imgur.com/jRxtG.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/jRxtG.png"" alt=""enter image description here"" /></a></p>
<p><a href=""https://i.stack.imgur.com/7WLMO.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/7WLMO.png"" alt=""enter image description here"" /></a></p>
<p><a href=""https://i.stack.imgur.com/2uLVX.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/2uLVX.png"" alt=""enter image description here"" /></a></p>
<p><a href=""https://i.stack.imgur.com/UwAKF.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/UwAKF.png"" alt=""enter image description here"" /></a></p>
<p><a href=""https://i.stack.imgur.com/bzOZ7.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/bzOZ7.png"" alt=""enter image description here"" /></a></p>
",https://stackoverflow.com/questions/72886080/how-to-capture-the-file-upload-import-timing-and-database-performance-testing-i,"['jmeter', 'automated-tests', 'performance-testing', 'load-testing', 'database-testing']",75,True,-1,1
What scala-library dependenecy version can be used with Gradle 7.2 for Gatling performance testing,"<p>I am trying to do performance testing for my API using Gatling and Scala.
Below are the plugins/libraries I am using</p>
<blockquote>
<p>gradle version  : 7.2</p>
</blockquote>
<blockquote>
<p>gradle.plugin.com.github.lkishalmi.gatling:gradle-gatling-plugin:3.3.0</p>
</blockquote>
<blockquote>
<p>dependency :  gatling 'org.scala-lang:scala-library:2.13.10'</p>
</blockquote>
<p>I get the below error when I try to resolve dependencies</p>
<pre><code>A problem occurred evaluating project ':performance-test'.
&gt; Could not find method compile() for arguments [org.scala-lang:scala-library:2.13.10] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
</code></pre>
<p>My guess is that the scala version 2.13.10 is not compatible with the gradle version 7.2. I tried changing the scala version to latest and many others, but nothing seems to work.</p>
<p>I have also seen another project using gradle 6.6 and scala version 2.12.2 which works. In my case I can't downgrade the gradle version, unfortunately.</p>
<p>Does anyone know what scala version is compatible with gradle 7.2?</p>
",https://stackoverflow.com/questions/74297576/what-scala-library-dependenecy-version-can-be-used-with-gradle-7-2-for-gatling-p,"['scala', 'gradle', 'gatling']",169,True,0,1
when I doing Performance testing in Jmeter adding 1 user I got below sample result,"<pre><code>Thread Name:Learner 1-1
Sample Start:2022-05-07 18:52:03 IST
Load time:151
Connect Time:89
Latency:151
Size in bytes:468
Sent bytes:916
Headers size in bytes:463
Body size in bytes:5
Sample Count:1
Error Count:1
Data type (&quot;text&quot;|&quot;bin&quot;|&quot;&quot;):
Response code:405
Response message:


HTTPSampleResult fields:
ContentType: 
DataEncoding: null
</code></pre>
",https://stackoverflow.com/questions/72153048/when-i-doing-performance-testing-in-jmeter-adding-1-user-i-got-below-sample-resu,['java'],28,False,-3,1
Same user on each iteration checkbox in Jmeter should be selected or deselected for performance testing?,"<p>Same user on each iteration checkbox : If this check box is checked, then the session/cookie will be same throughout the execution.</p>
<p>Same user on each iteration checkbox : If this check box is unchecked, then you should get a new session/cookie every time</p>
<p>This all i understand, but i do not get which is useful from this both and which one not for the performance testing?</p>
",https://stackoverflow.com/questions/74639177/same-user-on-each-iteration-checkbox-in-jmeter-should-be-selected-or-deselected,['jmeter'],198,True,-1,1
How can I use JMeter to authenticate to a SAML server and proceed with performance testing?,"<p>I'm having trouble finding a helpful guide or answer to the following issue. Using JMeter, how can I authenticate to a SAML server (SAML 2.0 assertion) and then proceed with performance testing?</p>
<p>The application-under-test behaves as follows:</p>
<ol>
<li>In a browser, go to <strong>https://application_url/login</strong> (GET Status Code 302)</li>
<li>Going to the above URL will redirect you to the authentication server, as follows: <strong>https://saml_auth_server_url/?SAMLRequest=(value)</strong> (GET Status Code 302)</li>
<li>There is a second GET on the above URL which adds <strong>&amp;client-request-id=(value)</strong> to the end of the SAMLRequest string (GET Status Code 200)</li>
<li>Redirect to <strong>https://application_url</strong> (GET Status Code 302)</li>
</ol>
<p>After this sequence happens, I can navigate to all child URLs of <strong>https://application_url</strong> (e.g. https://application_url/quicklinks) and I will get data back instead of a Status Code 403 Unauthorized.</p>
<p>How can I set this all up in a JMeter script so it works on playback?</p>
<p>Please let me know if you need any more information. Thank you.</p>
",https://stackoverflow.com/questions/71653992/how-can-i-use-jmeter-to-authenticate-to-a-saml-server-and-proceed-with-performan,"['jmeter', 'performance-testing', 'saml']",1582,False,0,1
How to integrate the Cucumber-Selenium scripts (written in typescript) with Jmeter for the performance testing,"<p>I have test automation project written in typescript. How I can integrated it with JMeter so I can also run performance testing? Also do I need some reporting tool or how I can get integrated results?</p>
",https://stackoverflow.com/questions/74546187/how-to-integrate-the-cucumber-selenium-scripts-written-in-typescript-with-jmet,"['typescript', 'selenium', 'jmeter', 'cucumber']",63,False,0,1
Corda Jmeter Performance testing takes more time for first sampler inside Thread group (all are Java Request Samplers),"<p>I followed <a href=""https://docs.r3.com/en/platform/corda/4.9/enterprise/performance-testing/jmeter-samplers.html"" rel=""nofollow noreferrer"">https://docs.r3.com/en/platform/corda/4.9/enterprise/performance-testing/jmeter-samplers.html</a> &amp; used</p>
<p><em><strong>JAVA request samplers</strong></em> instead of http samplers, so that the Corda flow class can be invoked directly. But the result behaviour is like, for the first run after the node is restarted, all samplers take significantly more <strong>Sample time</strong> than the second run.</p>
<ol>
<li><p>I would like to know the reasons behind it, like whether it is due to first call of rpc connection to corda node?</p>
</li>
<li><p>If so, does it need to effect on all samplers in a thread group (since all samplers call - FlowInvoke inside)</p>
</li>
<li><p>Is there some other time result type which is more efficient than sample time to check on?</p>
</li>
</ol>
",https://stackoverflow.com/questions/74953584/corda-jmeter-performance-testing-takes-more-time-for-first-sampler-inside-thread,"['java', 'performance', 'testing', 'jmeter', 'corda']",43,False,0,0
I have recorded the script jmeter for performance testing and I am getting the error while replaying the script,"<p>I captured the bearer token passed to the next request. While replaying the script I am getting this error -Authenticate: Bearer error=&quot;invalid_token&quot;, error_description=&quot;An error occurred while attempting to decode the Jwt: Invalid JWT serialization: Missing dot delimiter(s)&quot;, error_uri=&quot;https://tools.ietf.org/html/rfc6750#section-3.1&quot;
It is also using azure ad angular process.
Please tell me the solution for this</p>
<p>I am expecting solution</p>
",https://stackoverflow.com/questions/74643331/i-have-recorded-the-script-jmeter-for-performance-testing-and-i-am-getting-the-e,['http'],35,False,0,0
`ReferenceError: URL is not defined` in the AWS client-cognito-identity-provider javascript library during performance testing with k6,"<p>I perform a performance testing of the application with an endpoint that should have Authorization.</p>
<p>Authorization to this application was done by the AWS Cognito tool.</p>
<p>The tool that I use for performance testing is k6 with Webpack.</p>
<p>But when I try to test the endpoint, I catch an exception from
<code>await client.initiateAuth(params)</code> as <code>ReferenceError: URL is not defined</code> . Where client is CognitoIdentityProvider</p>
<p>During debugging I found that AWS <code>await client.config.endpoint()</code> return me the correct URL of Cognito when I run it without Webpack. But with Webpack it is throwing the same error.</p>
<p>Could someone face the same issue? How to resolve it?</p>
<p>Code examples:</p>
<p>index.js</p>
<pre><code>import http from 'k6/http';
import { Rate, Trend } from 'k6/metrics';
import { check } from 'k6';
import { getToken } from &quot;./cognito-service&quot;;

var errors = new Rate(&quot;errors&quot;);
var trends = new Trend(&quot;trends&quot;);

export const options = {
    vus: 1,
    duration: '10s',
  };
const token = getToken();

const params = {
  headers: {
    'Authorization': 'Bearer ' + token,
  },
};


export default function () {
  const res = http.get('https://myurl.com/api/need/to/test', params);
  check(res, { 'status was 200': (r) =&gt; r.status == 200 });
  errors.add(res.error_code);
  trends.add(res.timings.sending + res.timings.receiving);
}
</code></pre>
<p>webpack.config.js</p>
<pre><code>const path = require('path');

module.exports = {
  mode: 'production',
  entry: {
    login: './index.js',
  },
  output: {
    path: path.resolve(__dirname, 'build'),
    libraryTarget: 'commonjs',
    filename: '[name].bundle.js',
  },
  module: {
    rules: [
      { test: /\.js$/, use: 'babel-loader' }
    ],
  },
  target: 'web',
  externals: /k6(\/.*)?/,
};
</code></pre>
<p>cognito-service.js</p>
<pre><code>import { CognitoIdentityProvider } from &quot;@aws-sdk/client-cognito-identity-provider&quot;;

export const getToken = async () =&gt; {
    const clientId = &quot;XXXXXXXXXX&quot;;
    const params = {
        AuthFlow: &quot;USER_PASSWORD_AUTH&quot;,
        ClientId: clientId,
        AuthParameters: { &quot;USERNAME&quot;: &quot;xxxxxx@gmail.com&quot;, &quot;PASSWORD&quot;: &quot;Test123$&quot; }
    };
    const client = new CognitoIdentityProvider({ region: &quot;eu-central-1&quot; });
    try {
        console.log(client.config);
        const response = await client.initiateAuth(params);
        console.log(`Response is -&gt; ${response}`)
        return response;
    } catch(error) {
        console.log(`Err is -&gt; ${error}`);
    }
}

</code></pre>
<p>Also attached is the log::</p>
<pre><code>&gt; k6 run build/login.bundle.js


          /\      |‾‾| /‾‾/   /‾‾/
     /\  /  \     |  |/  /   /  /
    /  \/    \    |     (   /   ‾‾\
   /          \   |  |\  \ |  (‾)  |
  / __________ \  |__| \__\ \_____/ .io

INFO[0000] {&quot;apiVersion&quot;:&quot;2016-04-18&quot;,&quot;disableHostPrefix&quot;:false,&quot;logger&quot;:{},&quot;serviceId&quot;:&quot;Cognito Identity Provider&quot;,&quot;runtime&quot;:&quot;browser&quot;,&quot;requestHandler&quot;:{&quot;configProvider&quot;:{}},&quot;tls&quot;:true,&quot;isCustomEndpoint&quot;:false,&quot;systemClockOffset&quot;:0,&quot;signingEscapePath&quot;:true}  source=console
INFO[0000] Err is -&gt; ReferenceError: URL is not defined  source=console
  execution: local
     script: build/login.bundle.js
     output: -

  scenarios: (100.00%) 1 scenario, 1 max VUs, 40s max duration (incl. graceful stop):
           * default: 1 looping VUs for 10s (gracefulStop: 30s)

INFO[0000] {&quot;apiVersion&quot;:&quot;2016-04-18&quot;,&quot;disableHostPrefix&quot;:false,&quot;logger&quot;:{},&quot;serviceId&quot;:&quot;Cognito Identity Provider&quot;,&quot;runtime&quot;:&quot;browser&quot;,&quot;requestHandler&quot;:{&quot;configProvider&quot;:{}},&quot;tls&quot;:true,&quot;isCustomEndpoint&quot;:false,&quot;systemClockOffset&quot;:0,&quot;signingEscapePath&quot;:true}  source=console
INFO[0000] Err is -&gt; ReferenceError: URL is not defined  source=console
INFO[0000] {&quot;apiVersion&quot;:&quot;2016-04-18&quot;,&quot;disableHostPrefix&quot;:false,&quot;logger&quot;:{},&quot;serviceId&quot;:&quot;Cognito Identity Provider&quot;,&quot;runtime&quot;:&quot;browser&quot;,&quot;requestHandler&quot;:{&quot;configProvider&quot;:{}},&quot;tls&quot;:true,&quot;isCustomEndpoint&quot;:false,&quot;systemClockOffset&quot;:0,&quot;signingEscapePath&quot;:true}  source=console
INFO[0000] Err is -&gt; ReferenceError: URL is not defined  source=console
</code></pre>
",https://stackoverflow.com/questions/73389432/referenceerror-url-is-not-defined-in-the-aws-client-cognito-identity-provider,"['javascript', 'webpack', 'aws-sdk', 'k6']",363,True,0,1
I get &quot;no simulations to run&quot; error when I try to reuse a karate DSL test for Gatling performance testing,"<p>At the moment I am creating a POC for Karate-Gatling integration. As we already have many Karate tests it is pretty straightforward to use Gatling for performance testing.</p>
<p>Unfortunately, I always get the no simulation to run error message.</p>
<p>I was searching for a solution both here and in the Q&amp;A section of the Karate DSL Udemy course, but the reason was always a typo. I have checked the code multiple times, even asked my colleague to check it, but I did not notice any typo.</p>
<p>I would really appreciate it if you could help me.</p>
<p>Here is the code:
pom.xml</p>
<pre><code>&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.adamos.tests.common&lt;/groupId&gt;
    &lt;artifactId&gt;karate-api-tests&lt;/artifactId&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;

    &lt;properties&gt;
        &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
        &lt;maven.compiler.target&gt;17&lt;/maven.compiler.target&gt;
        &lt;maven.compiler.source&gt;17&lt;/maven.compiler.source&gt;
        &lt;java.version&gt;17&lt;/java.version&gt;
        &lt;maven.compiler.version&gt;3.6.0&lt;/maven.compiler.version&gt;
        &lt;karate.version&gt;1.2.0.RC1&lt;/karate.version&gt;
        &lt;gatling.version&gt;1.1.0&lt;/gatling.version&gt;
        &lt;gatling.plugin.version&gt;4.1.5&lt;/gatling.plugin.version&gt;
        &lt;maven.surefire.version&gt;2.22.2&lt;/maven.surefire.version&gt;
    &lt;/properties&gt;
    &lt;dependencies&gt;
        &lt;!--        &lt;dependency&gt;--&gt;
        &lt;!--            &lt;groupId&gt;com.intuit.karate&lt;/groupId&gt;--&gt;
        &lt;!--            &lt;artifactId&gt;karate-apache&lt;/artifactId&gt;--&gt;
        &lt;!--            &lt;version&gt;${karate.version}&lt;/version&gt;--&gt;
        &lt;!--            &lt;scope&gt;test&lt;/scope&gt;--&gt;
        &lt;!--        &lt;/dependency&gt;--&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;com.intuit.karate&lt;/groupId&gt;
            &lt;artifactId&gt;karate-junit5&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;org.jsoup&lt;/groupId&gt;
            &lt;artifactId&gt;jsoup&lt;/artifactId&gt;
            &lt;version&gt;1.14.3&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;!-- https://mvnrepository.com/artifact/net.masterthought/cucumber-reporting --&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;net.masterthought&lt;/groupId&gt;
            &lt;artifactId&gt;cucumber-reporting&lt;/artifactId&gt;
            &lt;version&gt;5.7.0&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;!-- https://mvnrepository.com/artifact/com.intuit.karate/karate-gatling --&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;com.intuit.karate&lt;/groupId&gt;
            &lt;artifactId&gt;karate-gatling&lt;/artifactId&gt;
            &lt;version&gt;${gatling.version}&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;io.gatling&lt;/groupId&gt;
            &lt;artifactId&gt;gatling-maven-plugin&lt;/artifactId&gt;
            &lt;version&gt;${gatling.plugin.version}&lt;/version&gt;
            &lt;type&gt;maven-plugin&lt;/type&gt;
        &lt;/dependency&gt;

    &lt;/dependencies&gt;
    &lt;build&gt;
        &lt;testResources&gt;
            &lt;testResource&gt;
                &lt;directory&gt;src/test/java&lt;/directory&gt;
                &lt;excludes&gt;
                    &lt;exclude&gt;**/*.java&lt;/exclude&gt;
                &lt;/excludes&gt;
            &lt;/testResource&gt;
        &lt;/testResources&gt;
        &lt;plugins&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                &lt;version&gt;${maven.compiler.version}&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;encoding&gt;UTF-8&lt;/encoding&gt;
                    &lt;source&gt;${java.version}&lt;/source&gt;
                    &lt;target&gt;${java.version}&lt;/target&gt;
                    &lt;compilerArgument&gt;-Werror&lt;/compilerArgument&gt;
                &lt;/configuration&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;${gatling.plugin.version}&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;simulationsFolder&gt;src/test/java/com/adamos/tests/performance&lt;/simulationsFolder&gt;
                    &lt;configFolder&gt;src/test/java/com/adamos/tests/performance/data&lt;/configFolder&gt;
                &lt;/configuration&gt;
            &lt;/plugin&gt;
        &lt;/plugins&gt;
    &lt;/build&gt;
&lt;/project&gt;
</code></pre>
<p>SubscriptionsTest.scala</p>
<pre><code>package com.adamos.tests.performance.permission_service.subscriptions

import com.intuit.karate.gatling.PreDef.{karateFeature, karateProtocol}
import io.gatling.core.Predef.{Simulation, constantUsersPerSec, scenario}

import scala.concurrent.duration.DurationInt

class PerfTest extends Simulation {

//     val protocol = karateProtocol(
 //           //Merging the DELETE calls in the report
 //           &quot;/permissions/subscriptions/{id}&quot; -&gt; Nil
 //   )
    val protocol = karateProtocol()


    protocol.nameResolver = (req, ctx) =&gt; req.getHeader(&quot;karate-name&quot;)
    //protocol.runner.karateEnv(&quot;perf&quot;)

    //val tokenFeeder = Iterator.continually(Map(&quot;token&quot; -&gt; CreateTokens.getNextToken()))

    val create = scenario(&quot;Create, read, update, delete subscriptions&quot;)
        //.feed(tokenFeeder)
        .exec(karateFeature(&quot;classpath:com/adamos/tests/features/permission_service/subscriptions/subscriptions_crud.feature&quot;))

    setUp(
        create.inject(
            constantUsersPerSec(10) during (1 seconds),
            constantUsersPerSec(10) during (1 seconds) randomized,
            constantUsersPerSec(10) during (1 seconds)
            // nothingFor(2 seconds),  //Pause for a given duration.
            // atOnceUsers(5), //Injects a given number of users at once.
            // rampUsers(10) during (5 seconds), //Injects a given number of users distributed evenly on a time window of a given duration.
            // constantUsersPerSec(20) during (15 seconds), //Injects users at a constant rate, defined in users per second, during a given duration. Users will be injected at regular intervals.
            // constantUsersPerSec(20) during (15 seconds) randomized, //Injects users at a constant rate, defined in users per second, during a given duration. Users will be injected at randomized intervals.
            // rampUsersPerSec(10) to 20 during (10 minutes),  //Injects users from starting rate to target rate, defined in users per second, during a given duration. Users will be injected at regular intervals.
            // rampUsersPerSec(10) to 20 during (10 minutes) randomized, //Injects users from starting rate to target rate, defined in users per second, during a given duration. Users will be injected at randomized intervals.

        ).protocols(protocol)
    )

}
</code></pre>
<p>subscriptions_crud.feature:</p>
<pre><code>Feature: CRUD single subscription


  Background:
    * url baseUrl + '/permission-service/v0.1/subscriptions'
    * configure headers = ({'Authorization': tokens.adamosAdminToken})

    # define valid subscription
    * def subscription =
    &quot;&quot;&quot;
    {
      tenantId: #(credentials.tenantId),
      appId: adamos-client-test,
      enabled: false,
      additionalProvisioningAllowedCallbackUrls: [],
      additionalProvisioningAllowedLogoutUrls: [],
      additionalProvisioningAllowedWebOrigins: []
    }
    &quot;&quot;&quot;

  @key=ADMQ-1249
  Scenario: get, create, update, and delete a valid subscription as admin
    # create a subscription
    Given param admin = true
    And request subscription
    When method POST
    Then status 201
    # verify created subscription correctness
    And match $.tenant.id == subscription.tenantId
    And match $.app.id == subscription.appId
    And match $.enabled == subscription.enabled
    Then def createdSub = $

    # get created subscription
    Given param admin = true
    And path createdSub.id
    When method GET
    Then status 200
    And match $ contains createdSub

    # update subscription
    * set subscription.enabled = true
    Given param admin = true
    And path createdSub.id
    And request subscription
    When method PUT
    Then status 200
    * set createdSub.enabled = true
    And match $ contains createdSub

    # delete subscription
    Given param admin = true
    And path createdSub.id
    When method DELETE
    Then status 204

    # verify subscription is deleted
    Given param admin = true
    And path createdSub.id
    When method GET
    Then status 404

  # bug https://adamos.atlassian.net/browse/CSA-2693
  @ignore
  @key=ADMQ-1250
  Scenario: Get update and delete non existing subscriptions as admin
    # get subscription
    Given param admin = true
    And path &quot;error&quot;
    When method GET
    Then status 404

    # put subscription
    Given param admin = true
    Given path &quot;error&quot;
    Given request subscription
    When method PUT
    Then status 404

    # delete subscription
    Given param admin = true
    And path &quot;error&quot;
    When method DELETE
    Then status 404

  @key=ADMQ-1251
  Scenario: get, create, update, and delete are disabled for users
    # get subscription
    Given path &quot;irrelevant&quot;
    When method GET
    Then status 403

    # post subscription
    Given request subscription
    When method POST
    Then status 403

    # put subscription
    Given path &quot;irrelevant&quot;
    Given request subscription
    When method PUT
    Then status 403

    # delete subscription
    Given path &quot;irrelevant&quot;
    When method DELETE
    Then status 403

  @ignore
  @delete #called by other feature
  Scenario: delete a subscription by {id}
    # delete subscription
    Given param admin = true
    And path id
    When method DELETE
    Then status 204
</code></pre>
",https://stackoverflow.com/questions/71825977/i-get-no-simulations-to-run-error-when-i-try-to-reuse-a-karate-dsl-test-for-ga,['karate'],1536,True,1,2
During performance testing using JMeter Tool - Not able to encrypt the input values using javascript in JSR223 and hybrid-crypto.js,"<p>Greetings...!</p>
<p>During the performance test scripting using JMeter tool : I am trying to access &quot;hybrid-crypto.js&quot; which I have saved in JMeter bin folder. But I am getting an error as follows
<a href=""https://i.stack.imgur.com/n0IYQ.png"" rel=""nofollow noreferrer"">enter image description here</a> - Help me in fixing this issue &amp; confirm me if my approach is correct?</p>
<p>Developer has built the encryption logic is in NodeJs and I have converted into JavaScript using JSR223 Preprocessor to encrypt the input data</p>
",https://stackoverflow.com/questions/73303780/during-performance-testing-using-jmeter-tool-not-able-to-encrypt-the-input-val,"['javascript', 'node.js', 'jmeter', 'performance-testing', 'jsr223']",175,False,0,1
"SSLEOFError(8, &#39;EOF occurred in violation of protocol (_ssl.c:2396)&#39;) during performance testing in Locust for the upload PUT request","<p>Test execution is in Locust based on HttpUser on MacOS. I'm receiving that kind of error during the upload of file testing, for the file with ~10 MB. The error appears only for more users than 40, rps rate is always equal to users.
I reviewed many topics about SSL errors, I've upgraded all packages related to OpenSSL, also I installed packages related to httpsclient, but it didn't solve the issue, still, for a few PUT requests I'm receiving</p>
<pre><code>PUT doc_upload_bigSize_PUT_method: SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)') 
</code></pre>
<p>I'm not so experienced in performance tests, so maybe the fault is on my side, but still, it is strange that a lot of requests are passing, but 2-3 of them are returning SSLEOF.</p>
<p>This is how it looks from a script perspective:
upload method:</p>
<pre><code>@staticmethod
def file_upl_pdf(dirname, file_name):
    upload = open(f&quot;{dirname}/{file_name}&quot;, &quot;rb&quot;)
    return upload
</code></pre>
<p>Test script:</p>
<pre><code>def upload_big_size_doc(self):
    file_name = &quot;test_file_big_size.pdf&quot;
    res = self.client.post(&quot;/documents&quot;, data=json.dumps(data)), name='doc_upload_bigSize_POST_method')
    json_response = json.loads(res.text)
    document_id = jsonpath.jsonpath(json_response, &quot;documentId&quot;)[0]
    url_upload = jsonpath.jsonpath(json_response, &quot;url&quot;)[0]
    self.client.put(url=url_upload, data=ResourceUtils.file_upl_pdf(dirname=&quot;../test_files/big_size&quot;, file_name=file_name),
                    headers={'Content-Type': 'application/pdf'},
                    name='doc_upload_bigSize_PUT_method')
</code></pre>
<p>here I'm running a test:</p>
<pre><code>@task
def perf_test(self):
    self.upload_big_size_doc()
</code></pre>
<p>I would like to see rather errors coming from load tests about infra like timeout or something, but SSLEOF seems to me like a bad behaviour of my scripts or config.</p>
",https://stackoverflow.com/questions/74837447/ssleoferror8-eof-occurred-in-violation-of-protocol-ssl-c2396-during-per,"['python', 'ssl', 'python-requests', 'performance-testing', 'locust']",3706,False,0,0
How to add performance testing to mocha tests,"<p>I'd like to do performance testing for the following unit test.</p>
<pre class=""lang-js prettyprint-override""><code>describe(&quot;simple test&quot;, async() =&gt; {
     it(&quot;first test&quot;, async() =&gt; {
        assert.equal(myProgram(), 1);
     })
})
</code></pre>
<p>But I'm not sure where to start.</p>
<p>How can I add performance testing tools to my mocha unit tests?</p>
",https://stackoverflow.com/questions/72711383/how-to-add-performance-testing-to-mocha-tests,"['javascript', 'mocha.js', 'performance-testing', 'load-testing']",676,False,0,1
is JMeter support Browserstack Mobileapp Performance testing,"<p>I have a requirement, there is Browserstack web application login from there we can upload APK file and launch Mobile app using any of the Android device. We have to login mobile app and do other transactions in mobile app.</p>
<p>Jmeter will support to do performance testing for Browserstack Mobileapp Performance testing or any other tool support to do Browserstack Mobileapp Performance testing  ?</p>
<p>Please provide your inputs</p>
<p>Thanks</p>
",https://stackoverflow.com/questions/74787818/is-jmeter-support-browserstack-mobileapp-performance-testing,['jmeter'],85,False,0,1
Scorm application performance testing using jmeter,"<p>I need help and inputs for Scorm application performance testing using jmeter. How to record the scorm application using jmeter? Do I need to use any plugins for recording scorm application.</p>
<p>Please provide tutorials for doing the scorm application performance testing using jmeter</p>
",https://stackoverflow.com/questions/71152995/scorm-application-performance-testing-using-jmeter,['jmeter'],59,False,0,1
Integrating jmeter with appium,"<p>Can we integrate appium with jmeter for performance testing</p>
<p>I need to do performance testing for native mobile apps. Is there any way that I can integrate the appium with jmeter so I can generate the scripts for the same to generate load or capture server metrics</p>
",https://stackoverflow.com/questions/74700848/integrating-jmeter-with-appium,"['jmeter', 'appium', 'performance-testing', 'integrate']",113,False,0,1
it os poosible to do Performance Tetsing on Mendix APP Website,"<p><em><strong>Is it possible to record JMeter scripts for performance testing Mendix App?</strong></em></p>
",https://stackoverflow.com/questions/74136420/it-os-poosible-to-do-performance-tetsing-on-mendix-app-website,"['performance', 'jmeter', 'mendix']",66,False,0,1
Batch Job Performance testing - what parameters to measure?,"<p>I know about the Performance test for an &quot;Online&quot; application or APIs where we measure response time, throughput and CPU/Memory utilization.</p>
<p>My question is - What are the parameters to measure for performance testing of a &quot;Batch&quot; job? The job I am talking about reads a file (nightly process) and update the database (RDBMS) with new records. What is the criteria of performance testing for such batch processes?</p>
",https://stackoverflow.com/questions/70992581/batch-job-performance-testing-what-parameters-to-measure,"['performance', 'testing', 'spring-batch', 'load', 'batch-processing']",1404,False,1,1
How to do performance testing with key-cloak authentication in Jmeter,"<p>I try to do performance testing but particular site have enable key-cloak authentication.any suggesstions</p>
",https://stackoverflow.com/questions/71048126/how-to-do-performance-testing-with-key-cloak-authentication-in-jmeter,"['jmeter', 'keycloak']",100,True,0,1
JMeter and Selenium Integration,"<p>I have written Selenium Automation Test Scripts using Page Object Model. The scripts work well and no complaints there.
I want to now do performance testing of the application and am planning to use Jmeter for the same.</p>
<p>Is there a way I can use the selenium scripts &amp; jmeter together to do the performance testing.</p>
<p>My aim is to write the scripts only once (in Selenium) and reuse them for different purposes.</p>
",https://stackoverflow.com/questions/72056341/jmeter-and-selenium-integration,"['selenium', 'jmeter', 'automation-testing']",292,False,0,2
To control the log flows in kibana end through logstash config,"<p>During performance testing, we receiving many log files at a moment. We are facing logs lagging in our environment. It takes too much time to reach the normal flow. So, our concern is, we have to control the log flows through Logstash, while application team doing performance testing !</p>
<p>Suppose, If application team pushing the 1k of logs while doing performance testing. In the meantime, kibana trying to receiving the whole 1k of logs. but it does not received the whole logs due to not able to handle the huge much of load at that time.</p>
<p>So, In that case, We need to get the logs like 10mins some count of logs and another 10mins some count of logs and this is the way, we need to controlling the logs while doing performance testing.</p>
<p>The above given logs document sizes are just for an example only.</p>
<p>This is the Logs Flow - FileBeat/MetricBeat -&gt; AWS Kafka -&gt; Logstash -&gt; ES -&gt; Kibana to visualize the logs in kibana.</p>
<p>We would like to know if we can control the log flow at Logstash - filter part from Logstash config file. Could you please guide us to proceed further on this part ?</p>
<p>Thanks,
Yasar Arafaath A.</p>
",https://stackoverflow.com/questions/73306924/to-control-the-log-flows-in-kibana-end-through-logstash-config,['logstash-filter'],14,False,0,0
How to use kubectl cp to copy files from a pod&#39;s folder with space in its name,"<p>I came accross an issue with the kubectl cp command. I tried to copy from the following folder by usingg the kubectl cp command, but to no avail: agent/workspace/Performance Testing/Nightly/GrafanaReporter/output/</p>
<p>Here is the entire cp command that failed:</p>
<pre><code>kubectl cp devops/capru-nightly-5w74q-5c3nc:agent/workspace/Performance Testing/Nightly/GrafanaReporter/output/ .
</code></pre>
<p>Kubectl does not give any feedback about the success of the command, so I kept trying until I realised that the the root cause of the issue is the space in the name of the &quot;Performance Testing&quot; folder.</p>
",https://stackoverflow.com/questions/74016875/how-to-use-kubectl-cp-to-copy-files-from-a-pods-folder-with-space-in-its-name,"['kubernetes', 'copy', 'kubectl', 'cp']",781,True,0,1
Kafka Loadtesting using Loadrunner 12.63 VUgen 2021 R1 LRE,"<p>I was looking into post by @ vishal-chepuri <a href=""https://stackoverflow.com/questions/46035332/performance-testing-kafka-using-loadrunner"">Performance Testing Kafka using loadrunner</a> and have a question related to this post. It is not allowing me to add comments to the original post so I am posting a new question.</p>
<p>I've also created VUgen script using Java Vuser protocal for both kafka Producer and Kafka Consumer. Uploaded all jar files paths in Class path section in Run Confuguration settings.  And ablw to connect cluster. But to get more accurate Kafka Loadtesting results  how or where we can call Kafka performance testing classes from Loadrunner?</p>
",https://stackoverflow.com/questions/73365585/kafka-loadtesting-using-loadrunner-12-63-vugen-2021-r1-lre,['apache-kafka'],179,False,0,0
Get request parameters not appending properly in Jmeter,"<p>I have running the JMeter for performance testing,</p>
<p>For GET request the parameters are not appending properly</p>
<p><a href=""https://i.stack.imgur.com/cnCSQ.png"" rel=""nofollow noreferrer"">Get Request</a></p>
<p><a href=""https://i.stack.imgur.com/R3IRO.png"" rel=""nofollow noreferrer"">Request's response</a></p>
<p>I don't know what i am missing.</p>
",https://stackoverflow.com/questions/72043395/get-request-parameters-not-appending-properly-in-jmeter,"['jmeter', 'jmeter-plugins', 'jmeter-5.0']",536,False,0,1
How to record and create a JMX for an application only compatible in Microsoft Edge(Compatible mode IE5),"<p>I have to do performance testing of an application only compatible in Microsoft Edge(Compatible mode IE5).Need to record the application and test in Jmeter.</p>
<p>Please help.</p>
",https://stackoverflow.com/questions/74125334/how-to-record-and-create-a-jmx-for-an-application-only-compatible-in-microsoft-e,"['jmeter', 'scripting', 'performance-testing', 'microsoft-edge']",60,False,0,2
`ReferenceError: URL is not defined` in the AWS client-cognito-identity-provider javascript library during performance testing with k6,"<p>I perform a performance testing of the application with an endpoint that should have Authorization.</p>
<p>Authorization to this application was done by the AWS Cognito tool.</p>
<p>The tool that I use for performance testing is k6 with Webpack.</p>
<p>But when I try to test the endpoint, I catch an exception from
<code>await client.initiateAuth(params)</code> as <code>ReferenceError: URL is not defined</code> . Where client is CognitoIdentityProvider</p>
<p>During debugging I found that AWS <code>await client.config.endpoint()</code> return me the correct URL of Cognito when I run it without Webpack. But with Webpack it is throwing the same error.</p>
<p>Could someone face the same issue? How to resolve it?</p>
<p>Code examples:</p>
<p>index.js</p>
<pre><code>import http from 'k6/http';
import { Rate, Trend } from 'k6/metrics';
import { check } from 'k6';
import { getToken } from &quot;./cognito-service&quot;;

var errors = new Rate(&quot;errors&quot;);
var trends = new Trend(&quot;trends&quot;);

export const options = {
    vus: 1,
    duration: '10s',
  };
const token = getToken();

const params = {
  headers: {
    'Authorization': 'Bearer ' + token,
  },
};


export default function () {
  const res = http.get('https://myurl.com/api/need/to/test', params);
  check(res, { 'status was 200': (r) =&gt; r.status == 200 });
  errors.add(res.error_code);
  trends.add(res.timings.sending + res.timings.receiving);
}
</code></pre>
<p>webpack.config.js</p>
<pre><code>const path = require('path');

module.exports = {
  mode: 'production',
  entry: {
    login: './index.js',
  },
  output: {
    path: path.resolve(__dirname, 'build'),
    libraryTarget: 'commonjs',
    filename: '[name].bundle.js',
  },
  module: {
    rules: [
      { test: /\.js$/, use: 'babel-loader' }
    ],
  },
  target: 'web',
  externals: /k6(\/.*)?/,
};
</code></pre>
<p>cognito-service.js</p>
<pre><code>import { CognitoIdentityProvider } from &quot;@aws-sdk/client-cognito-identity-provider&quot;;

export const getToken = async () =&gt; {
    const clientId = &quot;XXXXXXXXXX&quot;;
    const params = {
        AuthFlow: &quot;USER_PASSWORD_AUTH&quot;,
        ClientId: clientId,
        AuthParameters: { &quot;USERNAME&quot;: &quot;xxxxxx@gmail.com&quot;, &quot;PASSWORD&quot;: &quot;Test123$&quot; }
    };
    const client = new CognitoIdentityProvider({ region: &quot;eu-central-1&quot; });
    try {
        console.log(client.config);
        const response = await client.initiateAuth(params);
        console.log(`Response is -&gt; ${response}`)
        return response;
    } catch(error) {
        console.log(`Err is -&gt; ${error}`);
    }
}

</code></pre>
<p>Also attached is the log::</p>
<pre><code>&gt; k6 run build/login.bundle.js


          /\      |‾‾| /‾‾/   /‾‾/
     /\  /  \     |  |/  /   /  /
    /  \/    \    |     (   /   ‾‾\
   /          \   |  |\  \ |  (‾)  |
  / __________ \  |__| \__\ \_____/ .io

INFO[0000] {&quot;apiVersion&quot;:&quot;2016-04-18&quot;,&quot;disableHostPrefix&quot;:false,&quot;logger&quot;:{},&quot;serviceId&quot;:&quot;Cognito Identity Provider&quot;,&quot;runtime&quot;:&quot;browser&quot;,&quot;requestHandler&quot;:{&quot;configProvider&quot;:{}},&quot;tls&quot;:true,&quot;isCustomEndpoint&quot;:false,&quot;systemClockOffset&quot;:0,&quot;signingEscapePath&quot;:true}  source=console
INFO[0000] Err is -&gt; ReferenceError: URL is not defined  source=console
  execution: local
     script: build/login.bundle.js
     output: -

  scenarios: (100.00%) 1 scenario, 1 max VUs, 40s max duration (incl. graceful stop):
           * default: 1 looping VUs for 10s (gracefulStop: 30s)

INFO[0000] {&quot;apiVersion&quot;:&quot;2016-04-18&quot;,&quot;disableHostPrefix&quot;:false,&quot;logger&quot;:{},&quot;serviceId&quot;:&quot;Cognito Identity Provider&quot;,&quot;runtime&quot;:&quot;browser&quot;,&quot;requestHandler&quot;:{&quot;configProvider&quot;:{}},&quot;tls&quot;:true,&quot;isCustomEndpoint&quot;:false,&quot;systemClockOffset&quot;:0,&quot;signingEscapePath&quot;:true}  source=console
INFO[0000] Err is -&gt; ReferenceError: URL is not defined  source=console
INFO[0000] {&quot;apiVersion&quot;:&quot;2016-04-18&quot;,&quot;disableHostPrefix&quot;:false,&quot;logger&quot;:{},&quot;serviceId&quot;:&quot;Cognito Identity Provider&quot;,&quot;runtime&quot;:&quot;browser&quot;,&quot;requestHandler&quot;:{&quot;configProvider&quot;:{}},&quot;tls&quot;:true,&quot;isCustomEndpoint&quot;:false,&quot;systemClockOffset&quot;:0,&quot;signingEscapePath&quot;:true}  source=console
INFO[0000] Err is -&gt; ReferenceError: URL is not defined  source=console
</code></pre>
",https://stackoverflow.com/questions/73389432/referenceerror-url-is-not-defined-in-the-aws-client-cognito-identity-provider,"['javascript', 'webpack', 'aws-sdk', 'k6']",363,True,0,1
How to add 10k concurrent users on a website using JMeter?,"<p>The requirement is to start with 500 users initially and then increase slowly till 10 thousand.</p>
<p>I am new to performance testing, it would be great if anyone could guide me with the steps.</p>
",https://stackoverflow.com/questions/74719204/how-to-add-10k-concurrent-users-on-a-website-using-jmeter,"['jmeter', 'load', 'performance-testing', 'stress']",45,False,-1,1
Incoherent performance test results,"<p>I have done performance testing with Apache JMeter. Sometimes, I received different results for the same test plan. How to handle this case? Applying statistical methods for results or network control or so on...</p>
",https://stackoverflow.com/questions/74109740/incoherent-performance-test-results,"['jmeter', 'performance-testing']",21,True,-1,1
How to record the Requests for Angular JS and React JS based application using JMeter,"<p>As whwn I have recorded the requests are not visible
How to create test case for Performance testing on Angular Js and React JS based application</p>
<p>As whwn I have recorded the requests are not visible</p>
",https://stackoverflow.com/questions/74807561/how-to-record-the-requests-for-angular-js-and-react-js-based-application-using-j,"['reactjs', 'angularjs', 'performance-testing', 'jmeter-5.0']",91,False,0,1
How to integrate the Cucumber-Selenium scripts (written in typescript) with Jmeter for the performance testing,"<p>I have test automation project written in typescript. How I can integrated it with JMeter so I can also run performance testing? Also do I need some reporting tool or how I can get integrated results?</p>
",https://stackoverflow.com/questions/74546187/how-to-integrate-the-cucumber-selenium-scripts-written-in-typescript-with-jmet,"['typescript', 'selenium', 'jmeter', 'cucumber']",63,False,0,1
Blazemeter working mechanism in background,"<p>I am new in performance testing. I want to know how does Blazemeter internally work. How does it distribute load on multiple regions. How does it collate final report? how does it manage multiple thread groups etc.</p>
<p>Thanks</p>
",https://stackoverflow.com/questions/73078791/blazemeter-working-mechanism-in-background,"['jmeter', 'blazemeter']",45,True,1,2
How can I obtain the RAM and CPU usage of a particular app on my on a Window OS while it is performing some actions,"<p>I am running performance testing on some endpoints on my PC, I would like to see the RAM, hard disk, and CPU usage of the very application that is being used for the performance testing on my computer.</p>
<p>I need a programmable way of setting it up in order to monitor the process under evaluation. I like to start it before the process to be measured starts, and when the process is ended, I then open it up and collate the result. It could be in the form of a graph or just figures on the console.
I would appreciate it if someone could help me with how to achieve this.</p>
<p>PS: I am using a Windows computer.</p>
<p>Thanks</p>
",https://stackoverflow.com/questions/73798902/how-can-i-obtain-the-ram-and-cpu-usage-of-a-particular-app-on-my-on-a-window-os,"['cpu', 'ram', 'hard-drive']",243,False,0,2
Unable to record native app via jmeter for performance testing,"<p>Im unable to record native app for performance testing via jmeter.tried with various apps from playstore.can anyone please guide me with the same</p>
<p>I am able to record the browser app's but unable to do so from the native app side</p>
",https://stackoverflow.com/questions/74657523/unable-to-record-native-app-via-jmeter-for-performance-testing,"['jmeter', 'performance-testing', 'record']",25,False,0,1
how to capture the recaptcha Response in jmeter from a get request,"<p>I am having a get request containing reCaptcha on submitting a contact form with a Post request.<br />
And when making scripts for Performance testing, there in response, reCaptcha value, which is needed in the post request.
Can anyone help me out with that?</p>
",https://stackoverflow.com/questions/72654962/how-to-capture-the-recaptcha-response-in-jmeter-from-a-get-request,"['jmeter', 'performance-testing', 'recaptcha', 'jmeter-5.0', 'grecaptcha']",293,False,0,1
Response Code: 404 when running Jmeter Test,"<p>I want to performance testing using Jmeter.
Example url: &quot;http://localhost:4200/xxx/yyy/zzz&quot;
And I use:</p>
<ul>
<li>server name or ip: localhost</li>
<li>port: 4200</li>
<li>path: /xxx/yyy/zzz</li>
</ul>
<p>As a result Jmeter given Error 404 : Not Found</p>
<p>Can you help me?</p>
",https://stackoverflow.com/questions/71762726/response-code-404-when-running-jmeter-test,"['jmeter', 'performance-testing', 'jmeter-5.0']",849,False,0,1
How can we Add Azure VM to Dynatrce,"<p>Which should i choose..
We have two services to install in dynatrace.</p>
<ol>
<li>Install agent on Azure IaaS VM.</li>
<li>Instantiate agent extension if we are dealing with PaaS rather than IaaS.
Which should I pick from performance testing perspective.We have hardware statistics for VM's.</li>
</ol>
",https://stackoverflow.com/questions/72982610/how-can-we-add-azure-vm-to-dynatrce,"['azure-pipelines', 'performance-testing', 'monitoring', 'azure-monitoring', 'azure-performancecounters']",22,False,0,0
How to generate JWT token programatically in JMeter?,"<p>I am new to Jmeter.
We've API tests written in Java+RestAssured and I have started creating separate JMeter tests for performance testing.</p>
<p>If we've ClientID &amp; ClientSecret then how could I generate JWT token each time I've to run Jmenter tests?</p>
<p>Thanks</p>
",https://stackoverflow.com/questions/74254330/how-to-generate-jwt-token-programatically-in-jmeter,['jmeter'],81,True,0,1
Ignore/turn of ssl in Jmeter is not working,"<p>I am doing performance testing (HTTPS request) on the custom server using Jmeter.
But I am facing these errors,</p>
<pre><code>javax.net.ssl.SSLException: Connection reset
    at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:325)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:268)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:263)
    at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1667)
    at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1049)
    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:280)
    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157)
    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
    at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPHC4Impl.java:939)
    at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:650)
    at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:66)
    at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1301)
    at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1290)
    at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:651)
    at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:570)
    at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:501)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:268)
    at java.base/java.lang.Thread.run(Thread.java:832)
    Suppressed: java.net.SocketException: Broken pipe
        at java.base/sun.nio.ch.NioSocketImpl.implWrite(NioSocketImpl.java:420)
        at java.base/sun.nio.ch.NioSocketImpl.write(NioSocketImpl.java:440)
        at java.base/sun.nio.ch.NioSocketImpl$2.write(NioSocketImpl.java:826)
        at java.base/java.net.Socket$SocketOutputStream.write(Socket.java:1052)
        at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:82)
        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:356)
        ... 30 more
Caused by: java.net.SocketException: Connection reset
    at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323)
    at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
    at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
    at java.base/java.net.Socket$SocketInputStream.read(Socket.java:982)
    at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:469)
    at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:463)
    at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70)
    at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1421)
    at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1033)
    ... 26 more
</code></pre>
<p>Also, i have followed the answers given in this link - <a href=""https://stackoverflow.com/questions/33339172/ignore-turn-off-verification-of-the-certificate-in-jmeter-java"">Ignore/Turn off verification of the certificate in Jmeter/Java</a>. But still couldn't solve this issue.</p>
",https://stackoverflow.com/questions/73608278/ignore-turn-of-ssl-in-jmeter-is-not-working,['jmeter'],248,False,1,2
How to reduce the memory footprint in Loadrunner scripts,"<p>I am using loadrunner tool for the performance testing. In the scripts I am using functions like lr_save_string , lr_parammarr_random ... Usage of these functions will increase the memory footprint.</p>
<p>So what will be the solution for this problem ? Please share your ideas here.</p>
<p>Thanks in advance.</p>
",https://stackoverflow.com/questions/70731286/how-to-reduce-the-memory-footprint-in-loadrunner-scripts,"['scripting', 'performance-testing', 'loadrunner']",135,False,0,1
Browser-based debugging and performance testing software for react application,"<p>I am knee on learning how to do Browser-based debugging and performance testing software for react application</p>
<p>what all the tools to use and also what are the metrics to consider for effective react application</p>
<p>Any article or pointers will be to explore more</p>
",https://stackoverflow.com/questions/74673557/browser-based-debugging-and-performance-testing-software-for-react-application,"['reactjs', 'performance', 'google-chrome-devtools', 'profiling']",21,False,0,1
How to &quot;PERFORM&quot; a CTE query returning multiple rows/columns?,"<p>As a follow-up to this question:</p>
<ul>
<li><a href=""https://stackoverflow.com/questions/44906375/how-to-perform-cte-queries-in-pl-pgsql"">How to &quot;PERFORM&quot; CTE queries in PL/pgSQL?</a></li>
</ul>
<p>I try:</p>
<pre><code>perform (with test_as_cte as(select * from myTable) select * from test_as_cte);
</code></pre>
<p>But get the following error:</p>
<blockquote>
<pre><code>SQL Error [42601]: ERROR: subquery must return only one column
Where: PL/pgSQL function inline_code_block line 9 at PERFORM
</code></pre>
</blockquote>
<p>If I replace <code>*</code> with <code>myCol</code> in the above code there is no error.</p>
<p>However, I need to do realistic performance testing with the CTE and return multiple columns.</p>
",https://stackoverflow.com/questions/71040855/how-to-perform-a-cte-query-returning-multiple-rows-columns,"['postgresql', 'plpgsql', 'common-table-expression', 'database-performance', 'multiple-select-query']",876,True,1,1
How integrate Selenium code in JMeter How this is achieve,"<p>I create a maven project using selenium web driver in eclipse to automate one web-based application. Here I  also used TestNG and the programming language Java. Now I want to integrate this selenium project into JMeter and want to do performance testing so how can I achieve this?</p>
",https://stackoverflow.com/questions/71997149/how-integrate-selenium-code-in-jmeter-how-this-is-achieve,['jmeter'],33,False,0,1
same performance script can work in different environment,"<p>I have created a scripts for performance testing in PT environment, now the ask is to run same scripts in UAT environment so I have replaced the PT URL to UAT environment URL in my script will that work? if boat environment having same UI and same layers on the application</p>
",https://stackoverflow.com/questions/71963506/same-performance-script-can-work-in-different-environment,"['performance-testing', 'loadrunner']",58,False,0,0
Is it possible the use headless mode with &#39;Remote Driver Config&#39; for selenium jmeter plugin,"<p>I'm following <a href=""https://www.swtestacademy.com/performance-testing-jmeter-selenium-grid/"" rel=""nofollow noreferrer"">https://www.swtestacademy.com/performance-testing-jmeter-selenium-grid/</a> document and I'm trying to use chrome browser in headless mode with the Selenium Grid.</p>
<p>I dont find an option in 'Remote Driver Config' sampler to do that. How can I set up headless mode for remote driver? ( I'm planning to use selenium grid)</p>
",https://stackoverflow.com/questions/72971367/is-it-possible-the-use-headless-mode-with-remote-driver-config-for-selenium-jm,"['selenium', 'jmeter', 'jmeter-plugins']",93,False,0,1
How do i test create lead user case in Jmeter for muliple users,"<p>When user there is a new user (Identified through new Mobile No) then system store details and create an Unique ID for Customer,</p>
<p>But how to do performance testing for this scenario for 1000 Virtual Users, Only getting 1 Successful and others unsuccessful due to It required different Mobile No for each user</p>
<h3>Request</h3>
<pre class=""lang-json prettyprint-override""><code>{
  &quot;firstName&quot;: &quot;Ankit&quot;,
  &quot;lastName&quot;: &quot;Singh&quot;,
  &quot;mobileNumber&quot;: &quot;8169089997&quot;,
  &quot;vehicleData&quot;: [
    {
      &quot;registrationNumber&quot;: &quot;UP32MX0505&quot;,
      &quot;vehicleType&quot;: &quot;CAR&quot;
    },
    {
      &quot;registrationNumber&quot;: &quot;KA01HP8748&quot;,
      &quot;vehicleType&quot;: &quot;BIKE&quot;
    }
  ],
  &quot;otherVehicles&quot;: [
    {
      &quot;vehicleRegistrationNumber&quot;: &quot;UP43Z0064&quot;,
      &quot;make&quot;: &quot;Volvo&quot;,
      &quot;model&quot;: &quot;Xc90&quot;,
      &quot;fuelType&quot;: &quot;Hybrid (Electric + Petrol)&quot;,
      &quot;vehicleType&quot;: &quot;CAR&quot;
    }
  ]
}
</code></pre>
<h3>Response</h3>
<pre class=""lang-json prettyprint-override""><code>{
  &quot;id&quot;: 331,
  &quot;mobileNo&quot;: &quot;8169089997&quot;,
  &quot;firstName&quot;: &quot;Ankit&quot;,
  &quot;lastName&quot;: &quot;Singh&quot;,
  &quot;emailAddress&quot;: null,
  &quot;avatarId&quot;: null,
  &quot;profileImageUrl&quot;: null,
  &quot;gender&quot;: null,
  &quot;city&quot;: null,
  &quot;failedToSaveVehicles&quot;: []
}
</code></pre>
",https://stackoverflow.com/questions/73581002/how-do-i-test-create-lead-user-case-in-jmeter-for-muliple-users,"['jmeter', 'performance-testing', 'load-testing']",36,False,0,1
Performance testing with Locust with mocking 3rd party API,"<p>I came across an issue with performance testing of payments-related endpoints.
Basically I want to test some endpoints that make request themselves to a 3rd-party providers' API.
Is it possible from Locust's tests level to mock those 3rd-party API for the endpoints I intend to actually test (so without interference with the tested endpoints)?</p>
",https://stackoverflow.com/questions/72802596/performance-testing-with-locust-with-mocking-3rd-party-api,"['python', 'testing', 'performance-testing', 'load-testing', 'locust']",376,True,0,2
How to perform Load / Performance testing on website which using Okta Authentication?,"<p>How to perform Load / Performance testing on website which using Okta Authentication  ?
I am able to use JMeter for this test or it will give me error ?
Did anyone done this kind of test with another tool or  ?</p>
<p>I have done some test but never use and I dont know how to use if the website have Okta Authentication</p>
",https://stackoverflow.com/questions/74945092/how-to-perform-load-performance-testing-on-website-which-using-okta-authentica,"['performance', 'testing', 'jmeter', 'load', 'okta']",176,False,0,1
How can measure response time for event-based NodeJs a,"<p>I have a scenario like this:</p>
<p>There is a NodeJS client application that calls an API service. Then the client then rises a listener to get a response.</p>
<p>Now I need to measure the response time from the API is called until the client receives the event.</p>
<p>Finally, I want to do performance testing for it.</p>
<pre><code>//1) call API

//2) rise listener
context.events.myEvent().on('data', async event =&gt; {
      
      console.log(&quot;result&quot;); 

 //3) here needs to measure Response time

});

</code></pre>
<p>Please help me to solve it.</p>
",https://stackoverflow.com/questions/72674271/how-can-measure-response-time-for-event-based-nodejs-a,"['javascript', 'node.js', 'jmeter', 'mocha.js', 'performance-testing']",615,True,0,2
Jmeter: Mobile Internet not working after configuring with system&#39;s IP &amp; port as per Recording Controller,"<p>I am trying to do performance testing of an android app. I have initiated the steps by adding a recording controller, put a port number, used the manual proxy on mobile as per the system's IP but when I try to use the browser, I cannot access the internet. It says no connectivity. I have installed Jmeterrootca certificate as well. Any suggestions folks?</p>
",https://stackoverflow.com/questions/73068089/jmeter-mobile-internet-not-working-after-configuring-with-systems-ip-port-as,['jmeter'],51,False,0,1
Load (Performance) Testing of Single Page Application (SPA),"<p>I want to perform Load (Performance) Testing of Single Page Application (SPA). Also want to record the performance metrics. I have found that JMeter performs load testing for API calls but not actual browser for SPA.</p>
<p>Could you please suggest any opensource or paid alternatives which i can use to perform load testing of SPA for concurrent 500 users.</p>
<p>Thanks</p>
",https://stackoverflow.com/questions/74202823/load-performance-testing-of-single-page-application-spa,"['testing', 'jmeter', 'load', 'performance-testing']",357,True,0,1
I am automating a login script for perdormance teating in j meter,"<p>I want to make script using jmeter for performance testing of login page . The authorization type is code and code challenge method is sh256. How could I fetch code challenge code verifier and state or noance values daynamically.
The script is successfull for 1 single user but failing for multiple can any one help? Also I am using blazemeter to record script..</p>
",https://stackoverflow.com/questions/72353660/i-am-automating-a-login-script-for-perdormance-teating-in-j-meter,"['authentication', 'jmeter', 'performance-testing', 'blazemeter', 'pkce']",19,False,0,1
How would I use Pythons thread class to sync operations across threads,"<p>I was just reading through the threading API in Python 3 and I don't see a method of syncing threads.  In my case I'm creating performance testing in a Server and Client environment so I might want to use the thread class call this test with N users:</p>
<pre><code>def tDoTest( ):
    doSync()   # Wait for all thread creation
    doLogin()
    doSync()   # Wait for all users to login
    startTest()
    create100Rows()
    endTest()
    doSync()   # Wait for completion
    doLogout()
</code></pre>
<p>I was hoping there was a built in way to handle this that I missed.</p>
",https://stackoverflow.com/questions/71682519/how-would-i-use-pythons-thread-class-to-sync-operations-across-threads,"['python-3.x', 'multithreading']",34,False,0,2
while performance testing application using jmeter with prometheous how to monitor cloud servers?,"<p>How to monitor web-based application for performance testing using JMeter and servers are cloud servers (AWS) doesn't have IP Address, Username and password? How to monitor AWS servers need to check CPU, MEMORY, NETWORK and DISK? How to find out the root cause analysis suggest me free tools as an alternative to App Dynamics?</p>
<p>can anyone please help me</p>
",https://stackoverflow.com/questions/74920533/while-performance-testing-application-using-jmeter-with-prometheous-how-to-monit,"['performance', 'performance-testing', 'google-cloud-monitoring']",56,False,0,1
net.Read Problems during receiving,"<p>I feel that there may be a problem when the receiving server returns. Relevant code follows:</p>
<pre class=""lang-golang prettyprint-override""><code>const RecvBufferSize = 1024 * 64

for {
        readBuff := make([]byte, RecvBufferSize)
        n, err := udp_client.conn.Read(readBuff)
        if err != nil {
            log.Error(&quot;socket recv error.&quot;, zap.String(&quot;errMsg&quot;, err.Error()))
            return
        }

        select {
        case udp_client.recvMessage &lt;- readBuff[:n]:
        case &lt;-udp_client.closeTest:
            log.Info(&quot;close recvFrom&quot;, zap.String(&quot;Stack&quot;, string(debug.Stack())))
            close(udp_client.recvMessage)
            return
        }
    }
</code></pre>
<p>Each time this code receives the information returned by the server, it will re apply for an address of []byte. Will this put pressure on the GC when the received data volume is compared? Is there any good solution?</p>
<p><a href=""https://i.stack.imgur.com/0hG9T.jpg"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/0hG9T.jpg"" alt=""enter image description here"" /></a>I'm using Go for performance testing.</p>
",https://stackoverflow.com/questions/72602922/net-read-problems-during-receiving,"['sockets', 'go', 'testing']",50,False,0,0
GUI based load testing for Blazor Application,"<p>Blazor is a new Microsoft technology that we have used to build Blazor App.</p>
<p>We want to do GUI based performance testing simulating user action like login.</p>
<p>Traditional load testing tool like Jmeter, NeoLoad which we were using for web app testing fails here as Blazor makes socket calls instead of http calls.</p>
<p>Can anyone please suggest a tool which can help me here.</p>
<p>Regards,
Abhishek</p>
",https://stackoverflow.com/questions/70616026/gui-based-load-testing-for-blazor-application,"['blazor', 'performance-testing']",1185,False,2,1
FastAPI sync vs async performance testing,"<p>I wrote simple fastapi server in which I want to do performance testing. Which means that I would like to test async vs. sync endpoint, but I got always the same results. Which concept I don't understand or what I am doing wrong?</p>
<pre><code>from fastapi import FastAPI
import time
import asyncio
app = FastAPI()


@app.get(&quot;/hello&quot;)
def say_hello():
    time.sleep(5)


@app.get(&quot;/hello-async&quot;)
async def say_hello():
    await asyncio.sleep(5)
</code></pre>
<p>I run server like this:
gunicorn main:app --workers=4 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000</p>
<p>And do performance testing:</p>
<pre><code>ab -n 80 -c 8 http://localhost:8000/hello-async
ab -n 80 -c 8 http://localhost:8000/hello
</code></pre>
<p>And got this kind of results:</p>
<pre><code>This is ApacheBench, Version 2.3 &lt;$Revision: 1879490 $&gt;
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient).....done


Server Software:        uvicorn
Server Hostname:        localhost
Server Port:            8000

Document Path:          /hello-async
Document Length:        4 bytes

Concurrency Level:      8
Time taken for tests:   55.016 seconds
Complete requests:      80
Failed requests:        0
Total transferred:      10240 bytes
HTML transferred:       320 bytes
Requests per second:    1.45 [#/sec] (mean)
Time per request:       5501.634 [ms] (mean)
Time per request:       687.704 [ms] (mean, across all concurrent requests)
Transfer rate:          0.18 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.1      0       1
Processing:  5000 5001   0.6   5001    5003
Waiting:     5000 5001   0.6   5001    5003
Total:       5000 5001   0.6   5001    5003

Percentage of the requests served within a certain time (ms)
  50%   5001
  66%   5002
  75%   5002
  80%   5002
  90%   5002
  95%   5002
  98%   5003
  99%   5003
 100%   5003 (longest request)
</code></pre>
<p>I wanted to simulate I/O operation, if I call API or database I want to se how much faster is async approach. What happened now I got the same time taken for tests.</p>
<p>If I would do CPU intensive operation I would understand that I will got the same result. What I am doing wrong?</p>
<p>Also in syncing approach the web server is limited to number threads which are spawned, but then what is theoretical limit of async approach? Also how can I test limits number of spawned threads in syncing approach and in async approach what is the limit of event loop.</p>
",https://stackoverflow.com/questions/72907106/fastapi-sync-vs-async-performance-testing,"['performance', 'testing', 'fastapi']",834,False,2,0
How can I test web performance for PHP website on localhost?,"<p>I'm building a web application using PHP, I'm about to finish it, but I decided to test the load time using the Chrome developer tools (network-tab), and I realized that there are some stylesheets and images that take more time than my PHP script do.</p>
<p>It seems like the default for throttling option in the <code>network</code> tab is set to <code>slow 3G</code>, and the page loads completely in <code>5.74s</code> while disabling cache.</p>
<p>If caching is enabled, it takes <code>2.5s</code> on the same slow 3G option, but once I make it on the option <code>no-throttling</code> with disabled cache the load time becomes much faster like <code>480ms</code>.</p>
<p>So, is performance testing relying on the worst-case or on the normal case (<code>fast 3G</code> caching enabled), and what is the ideal load time for the worst-case scenario (i.e. <code>slow 3G</code> with caching disabled).</p>
<p>I've searched about these options and what is the one that I should go with, I know that caching should be enabled, but I don't know if this applies when it comes to performance testing.</p>
<p><strong>Note</strong>:
The project is running on localhost with XAMPP</p>
",https://stackoverflow.com/questions/71140379/how-can-i-test-web-performance-for-php-website-on-localhost,"['php', 'performance', 'developer-tools']",518,False,2,0
Same user on each iteration checkbox in Jmeter should be selected or deselected for performance testing?,"<p>Same user on each iteration checkbox : If this check box is checked, then the session/cookie will be same throughout the execution.</p>
<p>Same user on each iteration checkbox : If this check box is unchecked, then you should get a new session/cookie every time</p>
<p>This all i understand, but i do not get which is useful from this both and which one not for the performance testing?</p>
",https://stackoverflow.com/questions/74639177/same-user-on-each-iteration-checkbox-in-jmeter-should-be-selected-or-deselected,['jmeter'],198,True,-1,1
Jmeter HTTP Request sample and SkipToken,"<p>I am using HTTP request sampler for API performance testing. My APIs might return a response containing the  skiptoken
If response contains the skiptoken, I need to call the API again using the skip token and capture the performance metrics. I required calling the API until there are no skiptoken available in the response.
Please let me know how I can implement this in JMeter</p>
",https://stackoverflow.com/questions/72083890/jmeter-http-request-sample-and-skiptoken,['jmeter'],54,False,0,2
Auth token handling for Gatling,"<p>Doing performance testing of API using Gatling.</p>
<p>Scenario:
Login (authToken will be generated in header)
For GET, POST, PUT request, need to pass that generated authToken in header</p>
<p>Here's my code snippet:</p>
<pre><code>package apitest

import scala.concurrent.duration.*
import io.gatling.core.Predef.*
import io.gatling.http.Predef.*
import io.gatling.jdbc.Predef.*
import scala.language.postfixOps

class TestEnv4trial extends Simulation {

    var e1: String = &quot;https://testenv1-dev.net&quot;
    var e2: String = &quot;https://testenv2-dev.net&quot;

    var BaseUrl: String = e1

    var pwd: String = &quot;pass123&quot;

    // Users
    var admin: String = &quot;admin123&quot;

    val httpProtocol = http
        .baseUrl(BaseUrl)
        .inferHtmlResources()

    val login_headers = Map(
        &quot;Accept&quot; -&gt; &quot;&quot;&quot;*/*&quot;&quot;&quot;,
        &quot;Connection&quot; -&gt; &quot;keep-alive&quot;,
        &quot;Content-Type&quot; -&gt; &quot;application/x-www-form-urlencoded;charset=UTF-8&quot;
    )

    val scn1 = scenario(&quot;Admin Login&quot;)
        .exec(http(&quot;Login Admin&quot;)
            .post({BaseUrl} + &quot;/api/user/login&quot;)
            .formParam(&quot;username&quot;, admin123)
            .formParam(&quot;password&quot;, pass123)
            .check(jsonPath(&quot;$.authToken&quot;).saveAs(&quot;tokenId&quot;)))
        .exec { session =&gt; println(session(&quot;tokenId&quot;).as[String]); session } //authToken getting printed

    val common_headers = Map(
        &quot;Accept&quot; -&gt; &quot;&quot;&quot;*/*&quot;&quot;&quot;,
        &quot;Accept-Encoding&quot; -&gt; &quot;gzip, deflate, br&quot;,
        &quot;Accept-Language&quot; -&gt; &quot;en-GB,en;q=0.9,en-US;q=0.8&quot;,
        &quot;Authorization&quot; -&gt; &quot;Bearer &quot; + $tokenId, //With hardcoded authToken works. Need to pass generated authToken in prev scenario here.
        &quot;Connection&quot; -&gt; &quot;keep-alive&quot;,
    )

    val scn2 = scenario(&quot;All Employees&quot;)
            .exec(http(&quot;All Employees&quot;)
            .post(&quot;/api/employee/lists/&quot;)
            .headers(common_headers)
            .body(RawFileBody(&quot;test/TestEnv4trial/employees_request.json&quot;)).asJson)

    setUp(
        scn1.inject(atOnceUsers(1)).protocols(httpProtocol),
        scn2.inject(atOnceUsers(1)).protocols(httpProtocol))
}
</code></pre>
<p>When I hardcode authToken generated in scn1 in common_headers, scn2 works.
But when I use tokenId, its not able to identify tokenId.</p>
<p>How do I pass saved key tokenId in common_headers?</p>
<p>Thanks.</p>
",https://stackoverflow.com/questions/73295010/auth-token-handling-for-gatling,"['scala', 'authentication', 'gatling']",614,False,0,1
.doIfEquals not working with gatling version 3.7.6,"<p>I have been using the gatling version 3.6.1 in my application for the performance testing. Recently I upgraded the version to 3.7.6 and observed that all the conditional statements were not working.
The below doIfEquals condition is not evaluating to true even if the value of index variable, stored in session is 1. On reverting it to previous version, I am not running into this issue.</p>
<pre><code>.doIfEquals(&quot;${index}&quot;, 1) {
//logic 
}
</code></pre>
",https://stackoverflow.com/questions/73147577/doifequals-not-working-with-gatling-version-3-7-6,"['performance-testing', 'gatling', 'scala-gatling', 'maven-gatling-plugin']",57,False,0,1
Dealing with variables in multiple classes Python Locust,"<p>I am trying to write a Locust performance testing task simple one. I have two sequential HTTP task set if I write those in one class it works fine. However I want to split it two classes as below. One variable from the first class [ inside method] I need to use in another class. Can you guys help me how can I achieve it. code below</p>
<pre><code># FIRST CLASS
from locust import SequentialTaskSet
class MySeqTask1(SequentialTaskSet):

@task
def get_status1(self):
    r = self.client.get(&quot;/200&quot;)
    print(&quot;1. Status of 200&quot;)
    self.data = 20 # ***VARIABLE TO BE SHARED TO SECOND CLASS***

#SECOND CLASS 
from locust import SequentialTaskSet, HttpUser, constant, task,FastHttpUser
from sampleLocust import MySeqTask1


class MySeqTask2(SequentialTaskSet):

@task
def get_status3(self):
    obj = MySeqTask1(self)
    self.client.get(f&quot;/301&quot;)
    print(&quot;3. Status of 301&quot;)
    print(obj.data) # ***USING VARIABLE FROM FIRST CLASS***

class MyLoadTest(FastHttpUser):
   host = &quot;https://http.cat&quot;
   tasks = [MySeqTask1,MySeqTask2]
   wait_time = constant(1)
</code></pre>
<p>I am getting below error .</p>
<pre><code>   Command to run the program : locust -f utils/Baseclassone.py --headless -u 1 -r 1 -t 1m


print(obj.data) # ***USING VARIABLE FROM FIRST CLASS***
AttributeError: 'MySeqTask1' object has no attribute 'data'
</code></pre>
",https://stackoverflow.com/questions/73497374/dealing-with-variables-in-multiple-classes-python-locust,"['python', 'class', 'variables', 'locust']",508,True,0,1
Dynamics 365 CE User Scenarios Performance Testing with EasyRepro,"<p>Anyone knows how we can achieve or do a performance testing (stress/load) with a Dynamics 365 CE (Sales) with EasyRepro? I know this tool is capable of this, just need to find ways on how we can simulate the test cases from EasyRepro to be run concurrent users for the perf test.</p>
<p>User Scenarios will also include testing the custom plug-ins and workflow for the CRM.</p>
<p>Thank you.</p>
",https://stackoverflow.com/questions/72655633/dynamics-365-ce-user-scenarios-performance-testing-with-easyrepro,"['selenium', 'dynamics-crm', 'easyrepro']",84,False,0,0
log producer docker container,"<p>I am trying to do performance testing with aws firelens. I have a json file with 10 sample log messages. I want to be able to produce docker logs at a set rate. ex: 10,000 log messages/sec from a docker container that will be consumed by aws firelens log collector.</p>
<p>Is there any open source projects that already does this? Can any of you help with creating this container?</p>
",https://stackoverflow.com/questions/73536018/log-producer-docker-container,"['amazon-web-services', 'docker', 'dockerfile', 'firelens']",75,True,0,1
How to generate random name in Jmeter?,"<p>I want to generate a random name that will be used in the HTTP request in Jmeter for my APIs performance testing. The name would get changed for every thread.</p>
<p><strong>format : &quot;gpt_OverTimePayUsage_&lt;some_random_number&gt;&quot;</strong></p>
<p>The &lt;some_random_number&gt; would change as the thread would change.</p>
<p>I thought of using the JSR2223 pre-processor for each HTTP request and using Java as the language. But I am not sure how to go forward.</p>
",https://stackoverflow.com/questions/70649095/how-to-generate-random-name-in-jmeter,['jmeter'],100,True,0,1
MySQL performance issue for concurrent users,"<p>When I am running a query on MySQL database, it is taking around 3 sec. When we execute the performance testing for 50 concurrent users, then the same query is taking 120 sec.</p>
<p>The query joins multiple tables with an order by clause and a limit condition.</p>
<p>We are using RDS instance (16 GB memory, 4 vCPU).</p>
<p>Can any one suggest how to improve the performance in this case?</p>
<p>Query:</p>
<pre><code>SELECT 
    person0_.person_id AS person_i1_131_,
    person0_.uuid AS uuid2_131_,
    person0_.gender AS gender3_131_

    CASE
        WHEN
            EXISTS( SELECT * FROM patient p WHERE p.patient_id = person0_.person_id)
        THEN 1
        ELSE 0
    END AS formula1_,
    CASE
        WHEN person0_1_.patient_id IS NOT NULL THEN 1
        WHEN person0_.person_id IS NOT NULL THEN 0
    END AS clazz_
FROM
    person person0_
        LEFT OUTER JOIN
    patient person0_1_ ON person0_.person_id = person0_1_.patient_id
        INNER JOIN
    person_attribute attributes1_ ON person0_.person_id = attributes1_.person_id
        CROSS JOIN
    person_attribute_type personattr2_
WHERE
    attributes1_.person_attribute_type_id = personattr2_.person_attribute_type_id
        AND personattr2_.name = 'PersonImageAttribute'
        AND (person0_.person_id IN (SELECT 
            person3_.person_id
        FROM
            person person3_
                INNER JOIN
            person_attribute attributes4_ ON person3_.person_id = attributes4_.person_id
                CROSS JOIN
            person_attribute_type personattr5_
        WHERE
            attributes4_.person_attribute_type_id = personattr5_.person_attribute_type_id
                AND personattr5_.name = 'LocationAttribute'
                AND (attributes4_.value IN ('d31fe20e-6736-42ff-a3ed-b3e622e80842'))))
ORDER BY person0_1_.date_changed , person0_1_.patient_id
LIMIT 25
</code></pre>
<p><strong>Plan</strong>
<a href=""https://i.stack.imgur.com/sToaE.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/sToaE.png"" alt=""enter image description here"" /></a></p>
",https://stackoverflow.com/questions/71396227/mysql-performance-issue-for-concurrent-users,"['mysql', 'query-optimization', 'mysql-5.7']",194,False,0,2
Important - Jmeter -UI endpoint - response time deferring from developer tool response time,"<p>For performance testing testing Jmeter UI - endpoint - response time deferring from developer tool loading time</p>
<p>Ex Jmeter - endpoint response time is 615 Ms where in developer tool shows (Load: 13.30 s) Finish: 18.98 s</p>
<p>Note : Jmeter capturing 35 backend call/ Developer tool capturing 104 backend call</p>
<p>why jmeter couldn't capture all developer tool backend calls?</p>
<p>why jmeter couldn't capture all developer tool backend calls? do we have any solution for this issue</p>
",https://stackoverflow.com/questions/74497639/important-jmeter-ui-endpoint-response-time-deferring-from-developer-tool-re,"['jmeter', 'jmeter-plugins', 'jmeter-5.0', 'jmeter-4.0', 'blazemeter']",31,True,1,2
Jmeter not navigating to next controller,"<p>I am doing a performance testing in Jmeter I have added the controller and request, but my problem is when I run the script the requests are not automatically/manually navigating to the next controller</p>
<p>Scripts <a href=""https://i.stack.imgur.com/2QpIT.png"" rel=""nofollow noreferrer"">here</a></p>
<p>Script results <a href=""https://i.stack.imgur.com/yBtID.png"" rel=""nofollow noreferrer"">here</a></p>
<p>I my case the scripts <em><strong>jmeter_login_and_view_dashboard</strong></em> running without any issues but is not navigation to next controller <em><strong>login checker</strong></em> or <em><strong>actions per login</strong></em></p>
<p>I don't know what I am missing</p>
<p>Thanks in advance</p>
",https://stackoverflow.com/questions/71938380/jmeter-not-navigating-to-next-controller,"['jmeter', 'jmeter-plugins', 'jmeter-5.0', 'jmeter-3.2', 'jmeter-maven-plugin']",77,False,0,1
Why gossip_payload_buffer_size increases?,"<p>I am doing performance testing on a Hyperledger Fabric-based application. In order to increase the throughput, I changed the value of BatchTimeout of the channels. Could someone please explain why the gossip_payload_buffer_size metric is increasing up to 41 when the load is high? when the load is very low it is 0. This only happened when I changed the default value of BatchTimeout of the channel.</p>
<p><a href=""https://hyperledger-fabric.readthedocs.io/en/release-2.2/metrics_reference.html#:%7E:text=gossip_payload_buffer_size"" rel=""nofollow noreferrer"">https://hyperledger-fabric.readthedocs.io/en/release-2.2/metrics_reference.html#:~:text=gossip_payload_buffer_size</a></p>
",https://stackoverflow.com/questions/73956242/why-gossip-payload-buffer-size-increases,"['blockchain', 'hyperledger-fabric', 'performance-testing', 'hyperledger']",61,True,-1,1
SWIFT Message Testing using Jmeter,"<p>I need help, I have been told to do performance testing using Jmeter on IBM MQ for <strong>SWIFT message types, they are the format or schema used to send messages to financial institutions on the SWIFT network</strong>.</p>
<p>Has anyone had done any testing using jmeter, I need help or sample code how we can do testing using Jmeter for SWIFT Message, looks like we need to change the data during run time.
<a href=""https://www.iso20022.org/15022/uhb/finmt541.htm"" rel=""nofollow noreferrer"">https://www.iso20022.org/15022/uhb/finmt541.htm</a></p>
",https://stackoverflow.com/questions/72801220/swift-message-testing-using-jmeter,['jmeter'],151,True,0,1
How to record blazemeter script for 3 different scenarios and run in JMeter for 3 different users,"<p>I am using JMeter for Load and Performance testing. I have 3 scenarios to test as follows;</p>
<p>Importing Files<br />
Downloading Reports<br />
Submitting Form</p>
<p>I have recorded this script with one user.
Now I want to run these three scenarios at a same time with 3 threads for one scenario.
I can add 3 as a value in threads but how to make all the three action running at a time?
Any suggestions?</p>
<p>Is this the way
<a href=""https://i.stack.imgur.com/1U54i.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/1U54i.png"" alt=""enter image description here"" /></a></p>
",https://stackoverflow.com/questions/72301694/how-to-record-blazemeter-script-for-3-different-scenarios-and-run-in-jmeter-for,"['jmeter', 'performance-testing', 'load-testing', 'blazemeter']",87,False,-1,1
What is best practises to managed Jmeter script with csv file with usere id and password?,"<p>I am bit new to Jmeter and in performance testing world.
I am bit strugling with best practises with test data where user id and password is saved in .csv file.</p>
<p>I know it is not good parcise to have user id and password in srouce code respository.
But how to manage test data if I want to used 10 use id and passowrd for logins in my Jmeter script.
I have plan to run these test in pipeline?</p>
<p>Any sugestion?</p>
",https://stackoverflow.com/questions/74897114/what-is-best-practises-to-managed-jmeter-script-with-csv-file-with-usere-id-and,"['jmeter', 'repository', 'pipeline', 'test-data']",11,False,0,0
502 bad gateway error on AWS kubernetes cluster with nodejs application,"<p>Getting 502 bad gateway error while doing performance testing
it occurs randomly on random API only 2-3 times in a 30 min execution</p>
<p><a href=""https://i.stack.imgur.com/VlVHi.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/VlVHi.png"" alt=""enter image description here"" /></a></p>
<p>ingress logs show this error
11.150.71.00 - - [22/Dec/2022:10:44:17 +0000] &quot;POST /api/quotes/test HTTP/1.1&quot; 502 150 &quot;-&quot; &quot;AmazonAPIGateway_hodcqxftdw&quot; 1466 0.030 [cpq-cpq-server-service-9001] [] 11.150.71.177:9001 0 0.028 502 1322918b6f840892739d4dcf194e2226</p>
<p>I have added keep alive time for ingress still no success,
CPU and Memory both are stable there is no spike</p>
<p>Ingress.yml</p>
<pre><code>apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: testIngress
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/auth-tls-secret: &quot;test/test-secret&quot;
    nginx.ingress.kubernetes.io/auth-tls-verify-client: &quot;off&quot;
spec:
  rules:
  - host: test.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: testService
            port:
              number: 9001
</code></pre>
",https://stackoverflow.com/questions/74931139/502-bad-gateway-error-on-aws-kubernetes-cluster-with-nodejs-application,"['node.js', 'amazon-web-services', 'kubernetes', 'kubernetes-ingress', 'nginx-ingress']",81,False,0,0
How to do Performance Testing of Android SDK using JMeter?,"<p>There is an Ezviz SDK which is available and open source: <a href=""https://open.ys7.com/doc/en/4.x/android-sdk-en.html"" rel=""nofollow noreferrer"">https://open.ys7.com/doc/en/4.x/android-sdk-en.html</a></p>
<p>This SDK has been integrated inside Android APP. The link that I have shared has all the steps to integrate and call the SDK functions using Android Studio. Some of the functions are listed below:</p>
<pre><code>    /** * Replace the APP_KEY as the one you applied.  */
    EZGlobalSDK.initLib(this, APP_KEY);

    EZGlobalSDK.getInstance().setAccessToken(String accessToken);

    EZGlobalSDK.getInstance().logout();
</code></pre>
<p>How can I create the scripts using JMeter which can call this SDK Functions? I want to do the Performance Testing of this SDK with Android App?</p>
",https://stackoverflow.com/questions/72516929/how-to-do-performance-testing-of-android-sdk-using-jmeter,"['android', 'jmeter', 'sdk']",118,False,0,1
Mobile application Load testing,"<p>I want to do the load and performance testing for mobile app like wtapp,facebook separate apk. so is there any method to do the load testing using jmeter.</p>
<p>As I have seen jmeter proxy setup in mobile application but there are recording mobile web application. I want test the separate application not browser dependent.</p>
<p>I want to record the separate apk for example.. i will open wtapp and login into wtapp those API calls should be recorded in jmeter.</p>
",https://stackoverflow.com/questions/74532871/mobile-application-load-testing,"['mobile', 'jmeter', 'performance-testing', 'load-testing']",33,False,0,1
How to get multiple values output from multiple fields with one _search request?,"<p>On a performance testing project where ELK stack is used to collect and process API test data streams(samples/document go under one index) it would be good if we could get multiple aggregated results with only one _search request, like the count of successful requests AND average response time AND various percentiles, etc.
Is it possible to create such a DSL query or do we have to execute multiple searches like one to get the count of successful requests, another one for percentiles, etc?</p>
",https://stackoverflow.com/questions/73642483/how-to-get-multiple-values-output-from-multiple-fields-with-one-search-request,"['elasticsearch', 'elasticsearch-dsl']",23,True,0,1
Jmeter the response file saved doesn&#39;t equal to total result of executed request,"<p>I'm doing a performance testing with an API for download PDF file from the server. And use <code>Save Responses to a file</code> component to inspect the download file after the result is saved.
I tried to download 75 user and got all success response. But when I open the folder that I saved the result I found only 73 PDF file saved. Is there any missing configuration that I have to do to got all the result ? version I'm using is <strong>5.4.3</strong>.
Here is my configuration for response saved to the file.
<a href=""https://i.stack.imgur.com/wYcLJ.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/wYcLJ.png"" alt=""enter image description here"" /></a></p>
",https://stackoverflow.com/questions/74038098/jmeter-the-response-file-saved-doesnt-equal-to-total-result-of-executed-request,"['performance', 'jmeter', 'performance-testing']",56,True,0,2
Client Server Logs Shows Public IP instead of Spoof IP in Jmeter,"<p>As the title says, I have been tasked to do Load and Performance Testing on a Client's Server, I have followed all steps, made additional IPs and added it to the system, and entered the same IPs in Jmeter using CSV dataset, and Debug Postproccessor shows that the request is being sent with the correct IPs. I am doing this over wifi, so hopefully that isn't the issue.
Any help is appreciated.</p>
<p>System config
OS: Windows 10 64 bit
Ram: 16gb
Jmeter Version 5.4.3</p>
",https://stackoverflow.com/questions/73583749/client-server-logs-shows-public-ip-instead-of-spoof-ip-in-jmeter,"['jmeter', 'performance-testing']",12,False,0,1
JMETER Performance Testing - Dynamic Payload,"<p>While doing performance testing via JMETER, I encountered one usecase where the POST request call is taking the dynamic data from the website. So in that case when we run our script it fails as that data is no more available on the website.</p>
<p>Payload looks like given below. It is a POST CALL and the payload is changing everytime.</p>
<p>{&quot;marketId&quot;:&quot;U-16662943&quot;,&quot;price&quot;:{&quot;up&quot;:98,&quot;down&quot;:100,&quot;dec&quot;:&quot;1.98&quot;},&quot;side&quot;:&quot;HOME&quot;,&quot;line&quot;:0,&quot;selectionids&quot;:[&quot;W2-1&quot;]}</p>
<p>Could anyone suggest how we can make this payload dynamic when we create a script in JMETER?</p>
",https://stackoverflow.com/questions/72118601/jmeter-performance-testing-dynamic-payload,"['performance', 'testing', 'jmeter', 'performance-testing']",161,True,1,1
How to loop through JSON request in JMETER,"<p>I am using jmeter for performance testing &amp; stuck at a point. I have to process a request with multiple users &amp; before I process the request to an API endpoint, I have to iterate on all users &amp; need to update the &quot;ConsentDate&quot; to system.DateTime. So please help me with a solution, i am a beginner to the jmeter framework.</p>
<p>I am trying to take help of <strong>JSR223 PreProcessor</strong> .
Please find the screen shot.
<a href=""https://i.stack.imgur.com/ZCvaV.jpg"" rel=""nofollow noreferrer"">Jmeter</a></p>
<p>I am reading the json from a CSV file &amp; My request structure looks like below,</p>
<pre><code>{
&quot;Company&quot;: {
    &quot;User&quot;: {
        &quot;u1&quot;: {
            &quot;id&quot;: &quot;1001&quot;,
            &quot;consent&quot;: &quot;Yes&quot;,
            &quot;consentDate&quot;: &quot;2020-03-14T17:44:56.224Z&quot;
        },
        &quot;u2&quot;: {
            &quot;id&quot;: &quot;1002&quot;,
            &quot;consent&quot;: &quot;No&quot;,
            &quot;consentDate&quot;: &quot;2020-03-14T17:44:56.224Z&quot;
        }
    }
}
</code></pre>
<p>}</p>
",https://stackoverflow.com/questions/71468083/how-to-loop-through-json-request-in-jmeter,['jmeter'],642,True,0,1
Dynamic token handling of a gis application,"<p>I m doing performance testing of a gis application using jmeter in which lot of map tiles load as i login to the application.each tile is a http request containing a dynamic token in its header which expires in 15 mins.I know handling of dynamic token using regex where i replace the token with a regex but problem here is that there are huge no.of map tiles so replacing each token one by one is not feasible option...can anyone suggest how do I change all the token at once or any other solution?</p>
",https://stackoverflow.com/questions/73786062/dynamic-token-handling-of-a-gis-application,"['dynamic', 'jmeter', 'token']",34,False,-1,1
Monitor scale on Azure,"<p>I have a request pipeline that goes <code>app-service</code> &gt; <code>app-service</code> &gt; <code>cosmosDB</code> (then returns). We are currently in performance testing for said pipeline and hitting it with about 10k requests per minute. Something that we've noticed is that the longer the test goes on, the worse performance gets, so our response was to enable autoscale on the <code>app services</code> and on <code>cosmosDB</code>. Unfortunately, this hasn't impacted performance, and I'd like to see if the autoscale is even working.</p>
<p><strong>TL;DR</strong></p>
<p>Is there a log for how many instances of a resource are active [from autoscale] at a given time?</p>
",https://stackoverflow.com/questions/74719689/monitor-scale-on-azure,"['azure', 'azure-functions', 'azure-cosmosdb', 'scale', 'azure-application-insights']",179,True,0,1
Not able to add to cart product for Magento 2 website using JMeter,"<p>I am doing performance testing using JMeter for Magento website. In this script I am covering end to end flow like user logged in and then add one product in cart then checkout place order. Now after successful login request , add to cart request is not executing successfully. It is not giving error but product is not showing in cart after this request.
Also there is one dynamic variable name form_key. This value is showing form_key=deleted after successfully login request.</p>
<p><a href=""https://i.stack.imgur.com/F97Hw.png"" rel=""nofollow noreferrer"">enter image description here</a>
<a href=""https://i.stack.imgur.com/C9OwM.png"" rel=""nofollow noreferrer"">enter image description here</a></p>
<p>Product should be visible in cart.</p>
",https://stackoverflow.com/questions/74782686/not-able-to-add-to-cart-product-for-magento-2-website-using-jmeter,"['jmeter', 'performance-testing', 'magento2']",99,False,0,1
Apache Ignite is slow with Hibernate L2 Replicated Cache,"<p>I'm trying to set up Apache Ignite 2.13 for Hibernate L2 Cache in a Spring Application.</p>
<p>I have it working but compared to Ehcache is really slow (x2 latency). As far as I understand, the replicated cache mode in Ignite works in the same JVM as the application so no network latency is implied.</p>
<p>I also know that performance testing should be done in a distributed environment for Ignite, but even with many instances deployed in Kubernetes, latency is high.</p>
<p>Am I missing something?</p>
<p>I let attached logs from Statistics and my ignite.xml configuration</p>
<pre><code>2022-09-23 13:24:25.268  INFO [xxxx] 1 --- [io-9000-exec-10] i.StatisticalLoggingSessionEventListener : Session Metrics {
    513900 nanoseconds spent acquiring 1 JDBC connections;
    0 nanoseconds spent releasing 0 JDBC connections;
    278500 nanoseconds spent preparing 1 JDBC statements;
    1175200 nanoseconds spent executing 1 JDBC statements;
    0 nanoseconds spent executing 0 JDBC batches;
    0 nanoseconds spent performing 0 L2C puts;
    80603200 nanoseconds spent performing 490 L2C hits;
    0 nanoseconds spent performing 0 L2C misses;
    3686600 nanoseconds spent executing 1 flushes (flushing a total of 306 entities and 573 collections);
    328100 nanoseconds spent executing 1 partial-flushes (flushing a total of 1 entities and 1 collections)
}
</code></pre>
<pre><code>&lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
       xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:util=&quot;http://www.springframework.org/schema/util&quot;
       xsi:schemaLocation=&quot;http://www.springframework.org/schema/beans
    http://www.springframework.org/schema/beans/spring-beans-3.1.xsd http://www.springframework.org/schema/util https://www.springframework.org/schema/util/spring-util.xsd&quot;&gt;

    &lt;bean id=&quot;hibernateCache&quot; class=&quot;org.apache.ignite.configuration.CacheConfiguration&quot; abstract=&quot;true&quot;&gt;
        &lt;property name=&quot;cacheMode&quot; value=&quot;REPLICATED&quot;/&gt;
        &lt;property name=&quot;atomicityMode&quot; value=&quot;ATOMIC&quot;/&gt;
        &lt;property name=&quot;writeSynchronizationMode&quot; value=&quot;FULL_ASYNC&quot;/&gt;
        &lt;property name=&quot;onheapCacheEnabled&quot; value=&quot;true&quot;/&gt;

        &lt;property name=&quot;evictionPolicyFactory&quot;&gt;
            &lt;bean class=&quot;org.apache.ignite.cache.eviction.lru.LruEvictionPolicyFactory&quot;&gt;
                &lt;!-- 1 GB--&gt;
                &lt;property name=&quot;maxSize&quot; value=&quot;900000000&quot;/&gt;
                &lt;property name=&quot;maxMemorySize&quot; value=&quot;1000000000&quot;/&gt;
            &lt;/bean&gt;
        &lt;/property&gt;
        &lt;property name=&quot;expiryPolicyFactory&quot;&gt;
            &lt;bean class=&quot;javax.cache.expiry.CreatedExpiryPolicy&quot; factory-method=&quot;factoryOf&quot;&gt;
                &lt;constructor-arg&gt;
                    &lt;bean class=&quot;javax.cache.expiry.Duration&quot;&gt;
                        &lt;constructor-arg value=&quot;MINUTES&quot;/&gt;
                        &lt;constructor-arg value=&quot;10&quot;/&gt;
                    &lt;/bean&gt;
                &lt;/constructor-arg&gt;
            &lt;/bean&gt;
        &lt;/property&gt;
    &lt;/bean&gt;

    &lt;bean id=&quot;ignite.cfg&quot; class=&quot;org.apache.ignite.configuration.IgniteConfiguration&quot;&gt;
        &lt;property name=&quot;clientMode&quot; value=&quot;false&quot;/&gt;
        &lt;property name=&quot;igniteInstanceName&quot; value=&quot;hibernate-grid&quot;/&gt;
        &lt;property name=&quot;metricsLogFrequency&quot; value=&quot;0&quot;/&gt;
        &lt;property name=&quot;discoverySpi&quot;&gt;
            &lt;bean class=&quot;org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi&quot;&gt;
                &lt;property name=&quot;ipFinder&quot;&gt;
                    &lt;bean class=&quot;org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder&quot;&gt;
                    &lt;/bean&gt;
                &lt;/property&gt;
            &lt;/bean&gt;
        &lt;/property&gt;
        &lt;property name=&quot;cacheConfiguration&quot;&gt;
            &lt;list&gt;
                &lt;bean parent=&quot;hibernateCache&quot;&gt;
                    &lt;property name=&quot;name&quot; value=&quot;com.example.model0&quot;/&gt;
                &lt;/bean&gt;
                &lt;bean parent=&quot;hibernateCache&quot;&gt;
                    &lt;property name=&quot;name&quot; value=&quot;com.example.model1&quot;/&gt;
                &lt;/bean&gt;
                &lt;bean parent=&quot;hibernateCache&quot;&gt;
                    &lt;property name=&quot;name&quot; value=&quot;com.example.modelN&quot;/&gt;
                &lt;/bean&gt;
                &lt;bean parent=&quot;hibernateCache&quot;&gt;
                    &lt;property name=&quot;name&quot; value=&quot;default-update-timestamps-region&quot;/&gt;
                &lt;/bean&gt;
                &lt;bean parent=&quot;hibernateCache&quot;&gt;
                    &lt;property name=&quot;name&quot; value=&quot;default-query-results-region&quot;/&gt;
                &lt;/bean&gt;
            &lt;/list&gt;
        &lt;/property&gt;
    &lt;/bean&gt;
&lt;/beans&gt;
</code></pre>
",https://stackoverflow.com/questions/73828621/apache-ignite-is-slow-with-hibernate-l2-replicated-cache,"['spring', 'hibernate', 'caching', 'ignite']",70,False,0,0
how to extract token generated by js script (challenge.flood.io),"<p>I am currently studying Gatling for performance testing, I am new to both. Making the task, I have stuck on the step when I need to get a token to pass it to parameter to get to the other page.
The difficulty for me is that the token is absent in the body, it is generated by a script, so I cannot get it with ...check(css(... or check(regex(...</p>
<p><a href=""https://i.stack.imgur.com/rj9B1.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/rj9B1.png"" alt=""enter image description here"" /></a></p>
<p>I tryed to get the token by css and regex, getting empty result</p>
<pre><code>.exec(
  http(&quot;Step 5 page&quot;)
    .get(&quot;${redirection}&quot;)
    .check(status.is(200))
    .check(substring(&quot;Step 5&quot;))
    .check(css(&quot;input[name='challenger[step_id]']&quot;, &quot;value&quot;).find.saveAs(&quot;step_id&quot;))
    .check(css(&quot;input[name='challenger[step_number]']&quot;, &quot;value&quot;).find.saveAs(&quot;step_number&quot;))
    .check(css(&quot;input[name='commit']&quot;, &quot;value&quot;).find.saveAs(&quot;commit&quot;))
    .check(css(&quot;span.token&quot;).find.saveAs(&quot;one_time_token&quot;)))
</code></pre>
<p>How can I get the token?</p>
",https://stackoverflow.com/questions/74504332/how-to-extract-token-generated-by-js-script-challenge-flood-io,"['performance-testing', 'gatling', 'scala-gatling']",39,True,0,1
Does affinity colocation work with Ignite Thin client?,"<p>In <a href=""https://ignite.apache.org/docs/2.11.1/data-modeling/affinity-collocation"" rel=""nofollow noreferrer"">the docs</a> I could find examples of the affinity colocation config only for thick client. Does this feature works with thin client? Any config examples, please?</p>
<p>In my app I use key-value API to work with Ignite Cache.</p>
<p>I tried to simply make AffinityKey as a key of for my put/get operations (see code below). I used clientId to store values of a particular client on the same node. But performance testing didn't show any improvements with <code>getAll</code> timings.</p>
<p>I suspect that something is wrong with my configuration:</p>
<pre><code>@Bean
    ClientConfiguration igniteThinClientConfiguration(IgniteProperties igniteProperties) {
        ClientConfiguration clientConfiguration = new ClientConfiguration();
        clientConfiguration.setTimeout(igniteProperties.getTimeout());
        clientConfiguration.setAddresses(igniteProperties.getAddresses());
        clientConfiguration.setPartitionAwarenessEnabled(igniteProperties.isPartitionAwareness());
        return clientConfiguration;
    }
</code></pre>
<pre><code>private static ClientCacheConfiguration cacheConfig(String cacheName, String cacheGroup, String dataRegion) {
        ClientCacheConfiguration cfg = new ClientCacheConfiguration();
        cfg.setName(cacheName);
        cfg.setCacheMode(CacheMode.PARTITIONED);
        cfg.setBackups(0);
        cfg.setExpiryPolicy(new TouchedExpiryPolicy(new Duration(TimeUnit.HOURS, 6)));
        cfg.setStatisticsEnabled(true);
        cfg.setDefaultLockTimeout(3000L);
        cfg.setGroupName(cacheGroup);
        cfg.setDataRegionName(dataRegion);
        return cfg;
    }
</code></pre>
<pre><code>IgniteClient igniteClient = Ignition.startClient(igniteConfiguration);
ClientCache&lt;AffinityKey&lt;Long&gt;, PaymentReceiptResponse&gt; receiptCache = igniteClient.getOrCreateCache(cacheConfig(...));
...
receiptCache.put(new AffinityKey&lt;&gt;(123L, &quot;clientId&quot;), value)
...
Set&lt;AffinityKey&lt;String&gt;&gt; keys = ...;
receiptCache.getAll(keys)
</code></pre>
",https://stackoverflow.com/questions/72882492/does-affinity-colocation-work-with-ignite-thin-client,"['java', 'ignite']",100,True,0,1
How can I speed up the import speed when using NebulaGraph Exchange to import data into NebulaGraph database?,"<p>I'm testing the Nebula Graph database against different data sets, currently using the Twitter data set. I want to import larger data sets for performance testing, but the import with NebulaGraph importer was not so fast. So I plan to use the Spark tool NebulaGraph Exchange.</p>
<p>Question is, how I can speed up the import process when importing CSV data into Nebula Graph with Exchange?</p>
<p>Part of my configuration is as follows. Some of the parameters have been replaced with fake information to ensure data security, but the Exchange parameters remain unchanged.</p>
<pre><code>{
  # Spark configuration
  spark: {
    app: {
      name: NebulaGraph Exchange 3.3.0
    }
    driver: {
      cores: 1
      maxResultSize: 1G
    }
    executor: {
        memory:1G
    }

    cores: {
      max: 16
    }
  }

  # NebulaGraph configuration
  nebula: {
    address:{
      # Specify the IP addresses and ports for Graph and Meta services.
      # If there are multiple addresses, the format is &quot;ip1:port&quot;,&quot;ip2:port&quot;,&quot;ip3:port&quot;.
      # Addresses are separated by commas.
      graph:[&quot;127.0.0.1:9669&quot;]
      meta:[&quot;127.0.0.1:9559&quot;]
    }

    # The account entered must have write permission for the NebulaGraph space.
    user: ********
    pswd: *******

    # Fill in the name of the graph space you want to write data to in the NebulaGraph.
    space: basketballplayer
    connection: {
      timeout: 3000
      retry: 3
    }
    execution: {
      retry: 3
    }
    error: {
      max: 32
      output: /tmp/errors
    }
    rate: {
      limit: 1024
      timeout: 1000
    }
  }

  # Processing vertexes
  tags: [
    # Set the information about the Tag player.
    {
      # Specify the Tag name defined in NebulaGraph.
      name: player
      type: {
        # Specify the data source file format to CSV.
        source: csv

        # Specify how to import the data into NebulaGraph: Client or SST.
        sink: client
      }

      # Specify the path to the CSV file.
      # If the file is stored in HDFS, use double quotation marks to enclose the file path, starting with hdfs://. For example: &quot;hdfs://ip:port/xx/xx&quot;.
      # If the file is stored locally, use double quotation marks to enclose the file path, starting with file://. For example: &quot;file:///tmp/xx.csv&quot;.
      path: &quot;hdfs://10.0.*.*:9000/data/vertex_player.csv&quot;

      # If the CSV file does not have a header, use [_c0, _c1, _c2, ..., _cn] to represent its header and indicate the columns as the source of the property values.
      # If the CSV file has headers, use the actual column names.
      fields: [_c1, _c2]

      # Specify the column names in the player table in fields, and their corresponding values are specified as properties in the NebulaGraph.
      # The sequence of fields and nebula.fields must correspond to each other.
      nebula.fields: [age, name]

      # Specify a column of data in the table as the source of vertex VID in the NebulaGraph.
      # The value of vertex must be the same as the column names in the above fields or csv.fields.
      # Currently, NebulaGraph 3.3.0 supports only strings or integers of VID.
      vertex: {
        field:_c0
        # policy:hash
      }

      # The delimiter specified. The default value is comma.
      separator: &quot;,&quot;

      # If the CSV file has a header, set the header to true.
      # If the CSV file does not have a header, set the header to false. The default value is false.
      header: false

      # The number of data written to NebulaGraph in a single batch.
      batch: 256

      # The number of Spark partitions.
      partition: 32
    }

    # Set the information about the Tag Team.
    {
      # Specify the Tag name defined in NebulaGraph.
      name: team
      type: {
        # Specify the data source file format to CSV.
        source: csv

        # Specify how to import the data into NebulaGraph: Client or SST.
        sink: client
      }

      # Specify the path to the CSV file.
      # If the file is stored in HDFS, use double quotation marks to enclose the file path, starting with hdfs://. For example: &quot;hdfs://ip:port/xx/xx&quot;.
      # If the file is stored locally, use double quotation marks to enclose the file path, starting with file://. For example: &quot;file:///tmp/xx.csv&quot;.
      path: &quot;hdfs://192.168.*.*:9000/data/vertex_team.csv&quot;

      # If the CSV file does not have a header, use [_c0, _c1, _c2, ..., _cn] to represent its header and indicate the columns as the source of the property values.
      # If the CSV file has headers, use the actual column names.
      fields: [_c1]

      # Specify the column names in the player table in fields, and their corresponding values are specified as properties in the NebulaGraph.
      # The sequence of fields and nebula.fields must correspond to each other.
      nebula.fields: [name]

      # Specify a column of data in the table as the source of VIDs in the NebulaGraph.
      # The value of vertex must be the same as the column names in the above fields or csv.fields.
      # Currently, NebulaGraph 3.3.0 supports only strings or integers of VID.
      vertex: {
        field:_c0
        # policy:hash
      }

      # The delimiter specified. The default value is comma.
      separator: &quot;,&quot;

      # If the CSV file has a header, set the header to true.
      # If the CSV file does not have a header, set the header to false. The default value is false.
      header: false

      # The number of data written to NebulaGraph in a single batch.
      batch: 256

      # The number of Spark partitions.
      partition: 32
    }


    # If more vertexes need to be added, refer to the previous configuration to add them.
  ]
  # Processing edges
  edges: [
    # Set the information about the Edge Type follow.
    {
      # Specify the Edge Type name defined in NebulaGraph.
      name: follow
      type: {
        # Specify the data source file format to CSV.
        source: csv

        # Specify how to import the data into NebulaGraph: Client or SST.
        sink: client
      }

      # Specify the path to the CSV file.
      # If the file is stored in HDFS, use double quotation marks to enclose the file path, starting with hdfs://. For example: &quot;hdfs://ip:port/xx/xx&quot;.
      # If the file is stored locally, use double quotation marks to enclose the file path, starting with file://. For example: &quot;file:///tmp/xx.csv&quot;.
      path: &quot;hdfs://10.0.*.*:9000/data/edge_follow.csv&quot;

      fields: [_c2]

      nebula.fields: [degree]
      source: {
        field: _c0
      }
      target: {
        field: _c1
      }
      separator: &quot;,&quot;
      header: false
      batch: 256
      partition: 32
    }

    {
      name: serve
      type: {
        source: csv

        sink: client
      }

      path: &quot;hdfs://192.168.*.*:9000/data/edge_serve.csv&quot;

      fields: [_c2,_c3]

      nebula.fields: [start_year, end_year]
      source: {
        field: _c0
      }
      target: {
        field: _c1
      }
      separator: &quot;,&quot;
      header: false
      batch: 256
      partition: 32
    }

  ]
}
</code></pre>
",https://stackoverflow.com/questions/74938085/how-can-i-speed-up-the-import-speed-when-using-nebulagraph-exchange-to-import-da,"['apache-spark', 'nebula-graph']",39,False,0,0
Need help to login oauth secured webapplication using Jmeter,"<p>I am trying to use record and playback to perform performance testing of OAuth-secured aplication. But I am not able to capture access token as it is getting generated with help of AWS Cognito.
I have also tried to use Selenium to login to web application, but Chrome is opening just for a sec and getting closed automatically without executing further code, and not even throwing any error.</p>
<p>I need help. How should I proceed with it?</p>
<p>I am using JMeter 5.5.
Thanks in advance.</p>
<ol>
<li>Login using selenium - browser is getting closed in few seconds</li>
<li>try setting up AWS SDK for java</li>
</ol>
",https://stackoverflow.com/questions/74889419/need-help-to-login-oauth-secured-webapplication-using-jmeter,['jmeter'],25,False,0,1
How can i create a graph/tree programmatically to generate test data,"<p>I have a need for generating data for performance testing for an application which has data with lot of relations between entities. Here is example.</p>
<pre><code>DivA                                     
DivA[Payroll,HR,IT] 
Payroll[Location,Classification,files]
HR[Location,Training,Compliance]
IT[Clearance,Experience,Compliance]
Location[City,Country]
Classification[ExemptionType,Expiry date]
....
</code></pre>
<p>From above &quot;schema&quot;</p>
<p>I need to generate data using following algorithm</p>
<ol>
<li>Create parent entity (Ex: Consumer Electronics Division )</li>
<li>Populate all children (Ex: Consumer Electronics Division [Payroll,HR,IT] )</li>
<li>Check if children has more children (Ex: Consumer Electronics Division [Payroll[Location,Classification,files],HR [Location,Training,Compliance],IT[Clearance,Experience,Compliance]]
....
keep going until you don't find any more children.</li>
</ol>
<p>Is there any algorithm/Data structure that helps to create data like this easily?</p>
<p>Thank you!</p>
",https://stackoverflow.com/questions/72068580/how-can-i-create-a-graph-tree-programmatically-to-generate-test-data,"['python', 'algorithm', 'tree', 'data-science']",99,False,0,1
JMeter request rate drops every 10 minutes,"<p>I use JMeter for HTTP-based performance testing in Kubernetes. Each JMeter instance has more than 80GB memory.</p>
<p>Everything works fine, but, every 10 minutes, the request rate drops from ~101Requests/Second to ~95Requests/Second:</p>
<pre><code>summary +   3116 in 00:00:30 =  103.9/s Avg:    20 Min:     0 Max:   293 Err:     0 (0.00%) Active: 20 Started: 20 Finished: 0
summary =  58661 in 00:10:13 =   95.6/s Avg:    29 Min:     0 Max:  2625 Err:    23 (0.04%)
summary +   2883 in 00:00:30 =   96.0/s Avg:    24 Min:     0 Max:  2330 Err:     0 (0.00%) Active: 20 Started: 20 Finished: 0
summary =  61544 in 00:10:43 =   95.6/s Avg:    28 Min:     0 Max:  2625 Err:    23 (0.04%)
summary +   3097 in 00:00:30 =  103.2/s Avg:    20 Min:     0 Max:   319 Err:     0 (0.00%) Active: 20 Started: 20 Finished: 0
</code></pre>
<p>I have no idea why the request rate is decreasing. I also measure the latency between JMeter and the SUT, but I can't see any increasing latency or anything. Also, the HTTP response code between JMeter and the SUT is always 200. Memory usage is ~30GB, so each instance has more than enough memory. CPU usage is ~80% per instance.</p>
<p>Any ideas?</p>
",https://stackoverflow.com/questions/72500105/jmeter-request-rate-drops-every-10-minutes,"['performance', 'kubernetes', 'jmeter', 'benchmarking', 'jmeter-5.0']",146,True,0,2
Facing issues in IBM MQ testing using JMeter,"<p>I am working on IBM MQ Performance testing using JMeter. Currently while executing the script i am facing error message. I am able to connect this IBM MQ using RHF utility manually. But in JMeter, i am getting below error. May i know how to fix this error.</p>
<p>Error :</p>
<p>Response message:javax.script.ScriptException: com.ibm.msg.client.jms.DetailedIllegalStateException: JMSWMQ0018: Failed to connect to queue manager 'CLDACEAPD' with connection mode 'Client' and host name '172.XX.XX.XX(1414)'.
Check the queue manager is started and if running in client mode, check there is a listener running. Please see the linked exception for more information.</p>
",https://stackoverflow.com/questions/71497259/facing-issues-in-ibm-mq-testing-using-jmeter,['jmeter'],188,False,0,1
RU Usage High for simple Mongo API $group Operation in Azure CosmosDB,"<p>We're attempting to migrate from a MongoDB to CosmosDB using the Mongo API.  In performance testing, we've noticed that a simple count operation on a Collection results in extremely high RU usage.  After removing the $group operation, <strong>The RU usage drops from 8,586.56 to 11.39</strong>.  Both executions also used the same indexes in the <code>$match</code> phase of the operation.  Would like to know why there's such a huge difference.  Is this a performance problem with CosmosDB?</p>
<p>In the code, we're simply executing a <code>collection.countDocuments(whereQuery)</code> which the MongoAPI is converting to:</p>
<pre><code>{ 'aggregate' : 'NewOffers', 'pipeline' : [{ '$match' : { 'statusCode' : { '$in' : [0.0] } } }, { '$group' : { '_id' : 1.0, 'n' : { '$sum' : 1.0 } } }]
</code></pre>
<p>QueryStats with $group:</p>
<pre><code>{
    &quot;command&quot; : &quot;db.runCommand({explain: { 'aggregate' : 'NewOffers', 'pipeline' : [{ '$match' : { 'statusCode' : { '$in' : [0.0] } } }, { '$group' : { '_id' : 1.0, 'n' : { '$sum' : 1.0 } } }], 'explain' : true, 'cursor' : { }, 'lsid' : { 'id' : CSUUID('9714164a-f211-4a8f-a885-4457f9edf257') }, '$readPreference' : { 'mode' : 'secondaryPreferred' }, '$db' : 'myDb' }})&quot;,
    &quot;stages&quot; : [ 
        {
            &quot;stage&quot; : &quot;$aggregateQuery&quot;,
            &quot;timeInclusiveMS&quot; : 361.1143,
            &quot;timeExclusiveMS&quot; : 0.0613,
            &quot;in&quot; : 1,
            &quot;out&quot; : 1,
            &quot;dependency&quot; : {
                &quot;getNextPageCount&quot; : 1,
                &quot;count&quot; : 2,
                &quot;time&quot; : 361.053,
                &quot;bytes&quot; : NumberLong(101)
            },
            &quot;details&quot; : {
                &quot;database&quot; : &quot;myDb&quot;,
                &quot;collection&quot; : &quot;NewOffers&quot;,
                &quot;query&quot; : {
                    &quot;statusCode&quot; : {
                        &quot;$in&quot; : [ 
                            0.0
                        ]
                    }
                },
                &quot;indexUsage&quot; : {
                    &quot;pathsIndexed&quot; : {
                        &quot;individualIndexes&quot; : [ 
                            &quot;statusCode&quot;
                        ],
                        &quot;compoundIndexes&quot; : []
                    },
                    &quot;pathsNotIndexed&quot; : {
                        &quot;individualIndexes&quot; : [],
                        &quot;compoundIndexes&quot; : []
                    }
                },
                &quot;aggregate&quot; : {
                    &quot;_id&quot; : 1.0,
                    &quot;n&quot; : {
                        &quot;$sum&quot; : 1.0
                    }
                },
                &quot;shardInformation&quot; : [ 
                    {
                        &quot;activityId&quot; : &quot;eadabacc-383a-4cd7-b5ce-6abe4f5ce577&quot;,
                        &quot;shardKeyRangeId&quot; : &quot;[,0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) move next&quot;,
                        &quot;durationMS&quot; : 333.0191,
                        &quot;preemptions&quot; : 0,
                        &quot;outputDocumentCount&quot; : 1,
                        &quot;retrievedDocumentCount&quot; : 35590
                    }, 
                    {
                        &quot;activityId&quot; : &quot;703bef9a-62a4-4fc7-bcbc-85e7a35b3741&quot;,
                        &quot;shardKeyRangeId&quot; : &quot;[0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF,1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE) move next&quot;,
                        &quot;durationMS&quot; : 333.8226,
                        &quot;preemptions&quot; : 0,
                        &quot;outputDocumentCount&quot; : 1,
                        &quot;retrievedDocumentCount&quot; : 35660
                    }, 
                    {
                        &quot;activityId&quot; : &quot;a182b7ba-0565-4461-8d45-ac6f45a84d4f&quot;,
                        &quot;shardKeyRangeId&quot; : &quot;[1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE,2FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD) move next&quot;,
                        &quot;durationMS&quot; : 343.3216,
                        &quot;preemptions&quot; : 0,
                        &quot;outputDocumentCount&quot; : 1,
                        &quot;retrievedDocumentCount&quot; : 35741
                    }, 
                    {
                        &quot;activityId&quot; : &quot;4ddd60d5-d3c9-44d4-bbb8-397b8c51bcfb&quot;,
                        &quot;shardKeyRangeId&quot; : &quot;[2FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD,FF) move next&quot;,
                        &quot;durationMS&quot; : 347.9444,
                        &quot;preemptions&quot; : 0,
                        &quot;outputDocumentCount&quot; : 1,
                        &quot;retrievedDocumentCount&quot; : 35215
                    }
                ],
                &quot;queryMetrics&quot; : {
                    &quot;retrievedDocumentCount&quot; : 142206,
                    &quot;retrievedDocumentSizeBytes&quot; : 380079234,
                    &quot;outputDocumentCount&quot; : 4,
                    &quot;outputDocumentSizeBytes&quot; : 496,
                    &quot;indexHitRatio&quot; : 0.0,
                    &quot;totalQueryExecutionTimeMS&quot; : 1317.74,
                    &quot;queryPreparationTimes&quot; : {
                        &quot;queryCompilationTimeMS&quot; : 0.86,
                        &quot;logicalPlanBuildTimeMS&quot; : 0.21,
                        &quot;physicalPlanBuildTimeMS&quot; : 0.47,
                        &quot;queryOptimizationTimeMS&quot; : 0
                    },
                    &quot;indexLookupTimeMS&quot; : 0.59,
                    &quot;documentLoadTimeMS&quot; : 802.01,
                    &quot;vmExecutionTimeMS&quot; : 1315.04,
                    &quot;runtimeExecutionTimes&quot; : {
                        &quot;queryEngineExecutionTimeMS&quot; : 512.4,
                        &quot;systemFunctionExecutionTimeMS&quot; : 101.12,
                        &quot;userDefinedFunctionExecutionTimeMS&quot; : 0
                    },
                    &quot;documentWriteTimeMS&quot; : 0.04
                }
            }
        }
    ],
    &quot;estimatedDelayFromRateLimitingInMilliseconds&quot; : 0.0,
    &quot;retriedDueToRateLimiting&quot; : false,
    &quot;totalRequestCharge&quot; : 8586.56,
    &quot;continuation&quot; : {
        &quot;hasMore&quot; : false
    },
    &quot;ok&quot; : 1.0
}
</code></pre>
<p>Executions stats after removing the <code>$group</code> stage</p>
<pre><code>{
    &quot;command&quot; : &quot;db.runCommand({explain: { 'aggregate' : 'NewOffers', 'pipeline' : [{ '$match' : { 'statusCode' : { '$in' : [0.0] } } }], 'explain' : true, 'cursor' : { }, 'lsid' : { 'id' : CSUUID('9714164a-f211-4a8f-a885-4457f9edf257') }, '$readPreference' : { 'mode' : 'secondaryPreferred' }, '$db' : 'myDb' }})&quot;,
    &quot;stages&quot; : [ 
        {
            &quot;stage&quot; : &quot;$query&quot;,
            &quot;timeInclusiveMS&quot; : 76.5114,
            &quot;timeExclusiveMS&quot; : 76.5114,
            &quot;in&quot; : 101,
            &quot;out&quot; : 101,
            &quot;dependency&quot; : {
                &quot;getNextPageCount&quot; : 1,
                &quot;count&quot; : 1,
                &quot;time&quot; : 0.0,
                &quot;bytes&quot; : NumberLong(185745)
            },
            &quot;details&quot; : {
                &quot;database&quot; : &quot;myDb&quot;,
                &quot;collection&quot; : &quot;NewOffers&quot;,
                &quot;query&quot; : {
                    &quot;statusCode&quot; : {
                        &quot;$in&quot; : [ 
                            0.0
                        ]
                    }
                },
                &quot;indexUsage&quot; : {
                    &quot;pathsIndexed&quot; : {
                        &quot;individualIndexes&quot; : [ 
                            &quot;statusCode&quot;
                        ],
                        &quot;compoundIndexes&quot; : []
                    },
                    &quot;pathsNotIndexed&quot; : {
                        &quot;individualIndexes&quot; : [],
                        &quot;compoundIndexes&quot; : []
                    }
                },
                &quot;shardInformation&quot; : [ 
                    {
                        &quot;activityId&quot; : &quot;930a2e5b-68aa-49f7-b04b-6e7607d917db&quot;,
                        &quot;shardKeyRangeId&quot; : &quot;[,0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) move next&quot;,
                        &quot;durationMS&quot; : 29.7279,
                        &quot;preemptions&quot; : 0,
                        &quot;outputDocumentCount&quot; : 101,
                        &quot;retrievedDocumentCount&quot; : 101
                    }, 
                    {
                        &quot;activityId&quot; : &quot;5697fd05-f12f-4bb4-8c0d-377debe1f890&quot;,
                        &quot;shardKeyRangeId&quot; : &quot;[0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF,1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE) move next&quot;,
                        &quot;durationMS&quot; : 7.4769,
                        &quot;preemptions&quot; : 0,
                        &quot;outputDocumentCount&quot; : 101,
                        &quot;retrievedDocumentCount&quot; : 101
                    }, 
                    {
                        &quot;activityId&quot; : &quot;6a2733b2-1b25-4098-a50e-f6e53ac09398&quot;,
                        &quot;shardKeyRangeId&quot; : &quot;[1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE,2FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD) move next&quot;,
                        &quot;durationMS&quot; : 28.7704,
                        &quot;preemptions&quot; : 0,
                        &quot;outputDocumentCount&quot; : 101,
                        &quot;retrievedDocumentCount&quot; : 101
                    }, 
                    {
                        &quot;activityId&quot; : &quot;34913339-b43e-473e-a5bd-fdfc84eb88ff&quot;,
                        &quot;shardKeyRangeId&quot; : &quot;[2FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD,FF) move next&quot;,
                        &quot;durationMS&quot; : 34.9221,
                        &quot;preemptions&quot; : 0,
                        &quot;outputDocumentCount&quot; : 101,
                        &quot;retrievedDocumentCount&quot; : 101
                    }
                ],
                &quot;queryMetrics&quot; : {
                    &quot;retrievedDocumentCount&quot; : 404,
                    &quot;retrievedDocumentSizeBytes&quot; : 1051338,
                    &quot;outputDocumentCount&quot; : 404,
                    &quot;outputDocumentSizeBytes&quot; : 706377,
                    &quot;indexHitRatio&quot; : 1.0,
                    &quot;totalQueryExecutionTimeMS&quot; : 18.86,
                    &quot;queryPreparationTimes&quot; : {
                        &quot;queryCompilationTimeMS&quot; : 0.24,
                        &quot;logicalPlanBuildTimeMS&quot; : 0.12,
                        &quot;physicalPlanBuildTimeMS&quot; : 0.43,
                        &quot;queryOptimizationTimeMS&quot; : 0
                    },
                    &quot;indexLookupTimeMS&quot; : 0.34,
                    &quot;documentLoadTimeMS&quot; : 2.54,
                    &quot;vmExecutionTimeMS&quot; : 16.4799,
                    &quot;runtimeExecutionTimes&quot; : {
                        &quot;queryEngineExecutionTimeMS&quot; : 0.7,
                        &quot;systemFunctionExecutionTimeMS&quot; : 0.36,
                        &quot;userDefinedFunctionExecutionTimeMS&quot; : 0
                    },
                    &quot;documentWriteTimeMS&quot; : 12.8999
                }
            }
        }
    ],
    &quot;estimatedDelayFromRateLimitingInMilliseconds&quot; : 0.0,
    &quot;retriedDueToRateLimiting&quot; : false,
    &quot;totalRequestCharge&quot; : 11.39,
    &quot;continuation&quot; : {
        &quot;hasMore&quot; : true,
        &quot;$comment&quot; : &quot;Command did not fully drain, to fully drain add explain option {\&quot;executionStatistics\&quot;: true }.&quot;
    },
    &quot;ok&quot; : 1.0
}
</code></pre>
",https://stackoverflow.com/questions/71918129/ru-usage-high-for-simple-mongo-api-group-operation-in-azure-cosmosdb,"['mongodb', 'azure-cosmosdb']",208,True,0,1
Validating JSON object in If controller - JMeter,"<p>I am new to performance testing. I am trying a script and want to know the expression on how to validate if a JSON object is present in response or not.</p>
<p>consider two samplers. In first sampler response I am receiving a JSON object. Sometimes it will be empty and sometimes it might have single or multiple objects. Now I want to check if response is there or not. If response is there I want to run second sampler, else not. Is there any expression to check just if response is there or not while ignoring its value.</p>
",https://stackoverflow.com/questions/73958565/validating-json-object-in-if-controller-jmeter,"['json', 'jmeter', 'performance-testing']",163,False,0,1
stackoverflow db schema - multi-column join SLOW with EXISTS,"<p>I'm doing some performance testing and the StackOverflow2010 DB is great for this.</p>
<p>Looking here for testing multi-column joins <a href=""https://stackoverflow.com/questions/1136380/sql-where-in-clause-multiple-columns"">SQL WHERE.. IN clause multiple columns</a></p>
<p>The StackOverflow DB is available here: <a href=""https://www.brentozar.com/archive/2015/10/how-to-download-the-stack-overflow-database-via-bittorrent/"" rel=""nofollow noreferrer"">https://www.brentozar.com/archive/2015/10/how-to-download-the-stack-overflow-database-via-bittorrent/</a></p>
<p>I'm trying to query for Comments for Posts for specific users:</p>
<pre class=""lang-sql prettyprint-override""><code>-- get users id &lt; 5
SELECT *
FROM [Users]
WHERE Id &lt; 5;

-- get posts for those users
SELECT *
FROM [Posts]
WHERE [OwnerUserId] IN (SELECT [Id] FROM [Users] WHERE Id &lt; 5);

-- get comments for these posts 
SELECT *
FROM [Comments]
WHERE [PostId] IN (SELECT [Id]
                   FROM [Posts]
                   WHERE [OwnerUserId] IN (SELECT [Id] FROM [Users] WHERE Id &lt; 5))
  AND [UserId] IN (SELECT [OwnerUserId]
                   FROM [Posts]
                   WHERE [OwnerUserId] IN (SELECT [Id] FROM [Users] WHERE Id &lt; 5));

-- THIS version seems to select ALL comments and takes forever!
SELECT *
FROM [Comments]
WHERE EXISTS (SELECT *
              FROM [Posts]
              WHERE [OwnerUserId] IN (SELECT [Id] FROM [Users] WHERE Id &lt; 5));
</code></pre>
<p>The <code>IN</code> query works but it selects some Comments that the <code>OwnerUserId</code> didn't make (orphans).</p>
<p>The <code>EXISTS</code> query (which seems to be the correct way) seems to select ALL comments and takes forever!</p>
<p>Any ideas? The reason for this is explained here: <a href=""https://sproket.github.io/Persism/n+1.html"" rel=""nofollow noreferrer"">https://sproket.github.io/Persism/n+1.html</a></p>
",https://stackoverflow.com/questions/70606954/stackoverflow-db-schema-multi-column-join-slow-with-exists,"['sql-server', 'database']",61,True,0,1
Apache camel don&#180;t use all the dynamic queues created,"<p>I'm using apache camel for consuming an IBM Mq, I use jms for that, everything is ok that works fine, but in the performance testing the api create a lot of dynamic queues but just use once, I've used a lot of properties for solve this problem but I didn't get it yet. my api use a pattern InOut so the responses are in queue in a dynamic queue, when exist a lot of them, for example my api create 50 dynamic queues, but just use 3 of them.</p>
<p>Here are the properties I used to solve it, but didn´t work for me:
-maxConcurrentConsumers
-conccurrentConsumers
-threads</p>
",https://stackoverflow.com/questions/73015886/apache-camel-don%c2%b4t-use-all-the-dynamic-queues-created,"['java', 'apache-camel']",104,True,2,1
Karate Performance testing : Getting build failure with error &quot;Unrecognized VM option &#39;UseBiasedLocking&#39;,"<p>I am trying to reuse Karate tests for performance testing with Gatling and Scala.
I have configured everything as described in documentation. But then when I run the mvn command I am getting error &quot;Unrecognized VM option 'UseBiasedLocking' Error: Could not create the Java Virtual Machine.&quot;
mvn command used to run tests: mvn test-compile gatling:test</p>
<p>Tried with looking at Env path variables and running the mvn command with different options. But still getting same error</p>
<p>Failed to execute goal io.gatling:gatling-maven-plugin:4.1.5:test (default-cli) on project PerformanceTesting: Gatling failed.: Process exited with an error: 1 (Exit value: 1)</p>
<p>Below is the POM file
<a href=""https://i.stack.imgur.com/RDPHI.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/RDPHI.png"" alt=""POM File"" /></a></p>
<p>Scala File
<a href=""https://i.stack.imgur.com/7NkSV.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/7NkSV.png"" alt=""scala file"" /></a></p>
",https://stackoverflow.com/questions/74287752/karate-performance-testing-getting-build-failure-with-error-unrecognized-vm-o,['karate'],198,True,1,1
I get &quot;no simulations to run&quot; error when I try to reuse a karate DSL test for Gatling performance testing,"<p>At the moment I am creating a POC for Karate-Gatling integration. As we already have many Karate tests it is pretty straightforward to use Gatling for performance testing.</p>
<p>Unfortunately, I always get the no simulation to run error message.</p>
<p>I was searching for a solution both here and in the Q&amp;A section of the Karate DSL Udemy course, but the reason was always a typo. I have checked the code multiple times, even asked my colleague to check it, but I did not notice any typo.</p>
<p>I would really appreciate it if you could help me.</p>
<p>Here is the code:
pom.xml</p>
<pre><code>&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.adamos.tests.common&lt;/groupId&gt;
    &lt;artifactId&gt;karate-api-tests&lt;/artifactId&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;

    &lt;properties&gt;
        &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
        &lt;maven.compiler.target&gt;17&lt;/maven.compiler.target&gt;
        &lt;maven.compiler.source&gt;17&lt;/maven.compiler.source&gt;
        &lt;java.version&gt;17&lt;/java.version&gt;
        &lt;maven.compiler.version&gt;3.6.0&lt;/maven.compiler.version&gt;
        &lt;karate.version&gt;1.2.0.RC1&lt;/karate.version&gt;
        &lt;gatling.version&gt;1.1.0&lt;/gatling.version&gt;
        &lt;gatling.plugin.version&gt;4.1.5&lt;/gatling.plugin.version&gt;
        &lt;maven.surefire.version&gt;2.22.2&lt;/maven.surefire.version&gt;
    &lt;/properties&gt;
    &lt;dependencies&gt;
        &lt;!--        &lt;dependency&gt;--&gt;
        &lt;!--            &lt;groupId&gt;com.intuit.karate&lt;/groupId&gt;--&gt;
        &lt;!--            &lt;artifactId&gt;karate-apache&lt;/artifactId&gt;--&gt;
        &lt;!--            &lt;version&gt;${karate.version}&lt;/version&gt;--&gt;
        &lt;!--            &lt;scope&gt;test&lt;/scope&gt;--&gt;
        &lt;!--        &lt;/dependency&gt;--&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;com.intuit.karate&lt;/groupId&gt;
            &lt;artifactId&gt;karate-junit5&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;org.jsoup&lt;/groupId&gt;
            &lt;artifactId&gt;jsoup&lt;/artifactId&gt;
            &lt;version&gt;1.14.3&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;!-- https://mvnrepository.com/artifact/net.masterthought/cucumber-reporting --&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;net.masterthought&lt;/groupId&gt;
            &lt;artifactId&gt;cucumber-reporting&lt;/artifactId&gt;
            &lt;version&gt;5.7.0&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;!-- https://mvnrepository.com/artifact/com.intuit.karate/karate-gatling --&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;com.intuit.karate&lt;/groupId&gt;
            &lt;artifactId&gt;karate-gatling&lt;/artifactId&gt;
            &lt;version&gt;${gatling.version}&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;io.gatling&lt;/groupId&gt;
            &lt;artifactId&gt;gatling-maven-plugin&lt;/artifactId&gt;
            &lt;version&gt;${gatling.plugin.version}&lt;/version&gt;
            &lt;type&gt;maven-plugin&lt;/type&gt;
        &lt;/dependency&gt;

    &lt;/dependencies&gt;
    &lt;build&gt;
        &lt;testResources&gt;
            &lt;testResource&gt;
                &lt;directory&gt;src/test/java&lt;/directory&gt;
                &lt;excludes&gt;
                    &lt;exclude&gt;**/*.java&lt;/exclude&gt;
                &lt;/excludes&gt;
            &lt;/testResource&gt;
        &lt;/testResources&gt;
        &lt;plugins&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                &lt;version&gt;${maven.compiler.version}&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;encoding&gt;UTF-8&lt;/encoding&gt;
                    &lt;source&gt;${java.version}&lt;/source&gt;
                    &lt;target&gt;${java.version}&lt;/target&gt;
                    &lt;compilerArgument&gt;-Werror&lt;/compilerArgument&gt;
                &lt;/configuration&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;${gatling.plugin.version}&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;simulationsFolder&gt;src/test/java/com/adamos/tests/performance&lt;/simulationsFolder&gt;
                    &lt;configFolder&gt;src/test/java/com/adamos/tests/performance/data&lt;/configFolder&gt;
                &lt;/configuration&gt;
            &lt;/plugin&gt;
        &lt;/plugins&gt;
    &lt;/build&gt;
&lt;/project&gt;
</code></pre>
<p>SubscriptionsTest.scala</p>
<pre><code>package com.adamos.tests.performance.permission_service.subscriptions

import com.intuit.karate.gatling.PreDef.{karateFeature, karateProtocol}
import io.gatling.core.Predef.{Simulation, constantUsersPerSec, scenario}

import scala.concurrent.duration.DurationInt

class PerfTest extends Simulation {

//     val protocol = karateProtocol(
 //           //Merging the DELETE calls in the report
 //           &quot;/permissions/subscriptions/{id}&quot; -&gt; Nil
 //   )
    val protocol = karateProtocol()


    protocol.nameResolver = (req, ctx) =&gt; req.getHeader(&quot;karate-name&quot;)
    //protocol.runner.karateEnv(&quot;perf&quot;)

    //val tokenFeeder = Iterator.continually(Map(&quot;token&quot; -&gt; CreateTokens.getNextToken()))

    val create = scenario(&quot;Create, read, update, delete subscriptions&quot;)
        //.feed(tokenFeeder)
        .exec(karateFeature(&quot;classpath:com/adamos/tests/features/permission_service/subscriptions/subscriptions_crud.feature&quot;))

    setUp(
        create.inject(
            constantUsersPerSec(10) during (1 seconds),
            constantUsersPerSec(10) during (1 seconds) randomized,
            constantUsersPerSec(10) during (1 seconds)
            // nothingFor(2 seconds),  //Pause for a given duration.
            // atOnceUsers(5), //Injects a given number of users at once.
            // rampUsers(10) during (5 seconds), //Injects a given number of users distributed evenly on a time window of a given duration.
            // constantUsersPerSec(20) during (15 seconds), //Injects users at a constant rate, defined in users per second, during a given duration. Users will be injected at regular intervals.
            // constantUsersPerSec(20) during (15 seconds) randomized, //Injects users at a constant rate, defined in users per second, during a given duration. Users will be injected at randomized intervals.
            // rampUsersPerSec(10) to 20 during (10 minutes),  //Injects users from starting rate to target rate, defined in users per second, during a given duration. Users will be injected at regular intervals.
            // rampUsersPerSec(10) to 20 during (10 minutes) randomized, //Injects users from starting rate to target rate, defined in users per second, during a given duration. Users will be injected at randomized intervals.

        ).protocols(protocol)
    )

}
</code></pre>
<p>subscriptions_crud.feature:</p>
<pre><code>Feature: CRUD single subscription


  Background:
    * url baseUrl + '/permission-service/v0.1/subscriptions'
    * configure headers = ({'Authorization': tokens.adamosAdminToken})

    # define valid subscription
    * def subscription =
    &quot;&quot;&quot;
    {
      tenantId: #(credentials.tenantId),
      appId: adamos-client-test,
      enabled: false,
      additionalProvisioningAllowedCallbackUrls: [],
      additionalProvisioningAllowedLogoutUrls: [],
      additionalProvisioningAllowedWebOrigins: []
    }
    &quot;&quot;&quot;

  @key=ADMQ-1249
  Scenario: get, create, update, and delete a valid subscription as admin
    # create a subscription
    Given param admin = true
    And request subscription
    When method POST
    Then status 201
    # verify created subscription correctness
    And match $.tenant.id == subscription.tenantId
    And match $.app.id == subscription.appId
    And match $.enabled == subscription.enabled
    Then def createdSub = $

    # get created subscription
    Given param admin = true
    And path createdSub.id
    When method GET
    Then status 200
    And match $ contains createdSub

    # update subscription
    * set subscription.enabled = true
    Given param admin = true
    And path createdSub.id
    And request subscription
    When method PUT
    Then status 200
    * set createdSub.enabled = true
    And match $ contains createdSub

    # delete subscription
    Given param admin = true
    And path createdSub.id
    When method DELETE
    Then status 204

    # verify subscription is deleted
    Given param admin = true
    And path createdSub.id
    When method GET
    Then status 404

  # bug https://adamos.atlassian.net/browse/CSA-2693
  @ignore
  @key=ADMQ-1250
  Scenario: Get update and delete non existing subscriptions as admin
    # get subscription
    Given param admin = true
    And path &quot;error&quot;
    When method GET
    Then status 404

    # put subscription
    Given param admin = true
    Given path &quot;error&quot;
    Given request subscription
    When method PUT
    Then status 404

    # delete subscription
    Given param admin = true
    And path &quot;error&quot;
    When method DELETE
    Then status 404

  @key=ADMQ-1251
  Scenario: get, create, update, and delete are disabled for users
    # get subscription
    Given path &quot;irrelevant&quot;
    When method GET
    Then status 403

    # post subscription
    Given request subscription
    When method POST
    Then status 403

    # put subscription
    Given path &quot;irrelevant&quot;
    Given request subscription
    When method PUT
    Then status 403

    # delete subscription
    Given path &quot;irrelevant&quot;
    When method DELETE
    Then status 403

  @ignore
  @delete #called by other feature
  Scenario: delete a subscription by {id}
    # delete subscription
    Given param admin = true
    And path id
    When method DELETE
    Then status 204
</code></pre>
",https://stackoverflow.com/questions/71825977/i-get-no-simulations-to-run-error-when-i-try-to-reuse-a-karate-dsl-test-for-ga,['karate'],1536,True,1,2
JMeter - IBM MQ - Connections Issue,"<p>We have been doing performance testing of an application that uses IBM MQ. Through JMeter we are injecting the payload via a JMS Publisher. However, when running the test it can be observed that the connections from the JMeter threads are not being released. This effects the ability to reach the throughput and test failure due to the accumulation of threads. Is there a better alternative than using the JMS Publisher? Or is there setting there that needs to be enabled in order to release the connection once the request has been sent?</p>
<p><a href=""https://i.stack.imgur.com/f6ygv.png"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/f6ygv.png"" alt=""enter image description here"" /></a></p>
<p><a href=""https://www.blazemeter.com/blog/ibm-mq-tutorial"" rel=""nofollow noreferrer"">https://www.blazemeter.com/blog/ibm-mq-tutorial</a> - Is this the best practice to implement testing IBM MQ?</p>
",https://stackoverflow.com/questions/73741944/jmeter-ibm-mq-connections-issue,"['jmeter', 'performance-testing', 'ibm-mq']",122,False,0,1
Alert on top 10 postgres query by count,"<p>I have a datadog dashboard tracking the top 20 slow queries.
Imagine a scenario - a new deployment causes a query to pop up on the top 20 dashboard.
How can I get DD to alert me on this new query?
Recently we had an incident where a new query popped up and started consuming a lot of resources and causing a SEV1 incident. It would have helped immensely to be alerted earlier so we could take the right action.
We don't have the luxury of a performance-testing environment.
Would I have to write something custom ( which would compare snapshots from today and yesterday and if something shows up alert?)?</p>
",https://stackoverflow.com/questions/74856874/alert-on-top-10-postgres-query-by-count,['datadog'],22,False,0,0
How to perform load testing of .net tcp binding WCF services(Any tools or approach)?,"<p>We are working on one of the project and our requirement is to perform load/performance testing of wcf services hosted in windows where client uses .net tcp binding to communicate with the services.
We generally use Jmeter and Gatling for any load testing but as far as we know, these tools does not support TCP protocol services. We did some research and found some tools like like Visual studio 2010 ultimate edition which can be used for load testing of wcf services.
can anyone suggest anything/provide any assistance regarding the same e.g. tools, approach or  any references?
Any help would be greatly appreciated. Thank you.</p>
",https://stackoverflow.com/questions/71437806/how-to-perform-load-testing-of-net-tcp-binding-wcf-servicesany-tools-or-approa,"['.net', 'wcf', 'tcp']",251,False,0,1
Why does the wrk of the host press the nginx of the virtual machine get different results which vary widely?,"<p>I'm doing performance testing and using wrk for the first time. My goal is to make the guest's CPU usage of nginx threads as high as possible. But I find the wrk results often vary widely with same wrk parameters as follows:</p>
<pre><code>wrk -c 200 -t 12 -d 10 https://192.168.122.110:443/index.html
</code></pre>
<p>Several results are obtained as follows with everything unchanged.</p>
<pre><code>[root@localhost nicstat-1.95]# wrk -c 200 -t 12 -d 10 https://192.168.122.110:443/index.html
Running 10s test @ https://192.168.122.110:443/index.html
  12 threads and 200 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.22ms  604.26us  24.59ms   97.86%
    Req/Sec     7.25k   487.64    11.37k    96.43%
  870313 requests in 10.10s, 705.50MB read
Requests/sec:  86171.61
Transfer/sec:     69.85MB 
</code></pre>
<pre><code>[root@localhost nicstat-1.95]# wrk -c 200 -t 12 -d 10 https://192.168.122.110:443/index.html
Running 10s test @ https://192.168.122.110:443/index.html
  12 threads and 200 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.44ms  287.96us  41.76ms   79.43%
    Req/Sec    11.07k     0.93k   16.99k    75.45%
  1333786 requests in 10.10s, 1.06GB read
Requests/sec: 132059.89
Transfer/sec:    107.05MB
</code></pre>
<pre><code>[root@localhost nicstat-1.95]# wrk -c 200 -t 12 -d 10 https://192.168.122.110:443/index.html
Running 10s test @ https://192.168.122.110:443/index.html
  12 threads and 200 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.19ms  288.69us  26.82ms   80.27%
    Req/Sec    13.42k     1.57k   17.62k    73.66%
  1617255 requests in 10.10s, 1.28GB read
Requests/sec: 160129.08
Transfer/sec:    129.80MB
</code></pre>
<p>I check that the memory is enough and wait I/O time is around 0%. I use the nicstat to obtain the virtual machine NIC usage. The NIC utility usage rate reaches 100% in the third result above and the other two are all below 100%.</p>
<p>I don't know why the wrk results vary widely.</p>
<p>Thanks.</p>
",https://stackoverflow.com/questions/72988635/why-does-the-wrk-of-the-host-press-the-nginx-of-the-virtual-machine-get-differen,"['nginx', 'virtual-machine', 'wrk']",48,False,0,0
Any option to use Ruby-Cucumber-selenium scripts for recording Jmeter scripts?,"<p>For my functional tests I have Ruby -Cucumber scripts which used selenium webdriver.
For my performance testing instead of manually recording the script for the website navigation, I want to use existing function test automation.
Is there any way to integrate this?</p>
<p>Is there any plug-in or way to integrate them?</p>
<p>Thanks in advance!</p>
<p>Tried before: Have used one jemeyer session, with Blazemeter plugin in this session, started recording, in second Jmeter session opened, in that used simple selenium scripts  to execute to open chrome browser, navigation to the website.
But with this approach there was some bizarre error which didn’t go anywhere so looking for altérnate approach.</p>
",https://stackoverflow.com/questions/74891855/any-option-to-use-ruby-cucumber-selenium-scripts-for-recording-jmeter-scripts,"['ruby', 'selenium-webdriver', 'jmeter', 'cucumber', 'load-testing']",10,False,0,0
Thread configuration in spring boot with embedded tomcat,"<p>I have spring boot application with embedded tomcat and Java melody configured to it using dependency in pom.xml.</p>
<p>I am doing performance testing for my application but problem is no matter how big load is i.e 30hits per second or 500hits per second. Number of threads in java melody in not going beyond 25-30.</p>
<p>Is their any default configuration in spring boot which is limiting the threads opening or any resources depend like memory or cpu ? I am not using any thread configuration in my application which means by default it will have 200 threads if i am not wrong.
Please suggest.
Note : I am running my application with 5gb memory and 2 vCPU.</p>
",https://stackoverflow.com/questions/70670334/thread-configuration-in-spring-boot-with-embedded-tomcat,"['java', 'multithreading', 'spring-boot', 'tomcat', 'threadpool']",282,False,1,0
Is there a way to treat fields as @Transient in a configurable way?,"<p>We have a Database not owned by us, it deploys to production only after performance testing and CR requirements, etc, and it is a bottle neck. Lower environments don't have the same restrictions.</p>
<p>When making model changes, our code base is ready for production well before the DB, and can't be deployed until the DB is ready, otherwise new columns included in <code>SELECT</code> or <code>INSERT</code> queries will not exist and cause errors. This causes a holding pattern, general headaches, etc.</p>
<p>Fortunately, <code>@Transient</code> works perfectly to unblock prod, but it would be deployed to all environments. Ideally, we could make that behaviour configurable so for example only production would treat those fields as <code>@Transient</code></p>
<pre><code>@Getter
@Entity
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = &quot;INCOME&quot;, schema = &quot;dbo&quot;)
public class Income {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = INCOME_ID)
    private long incomeId;

    @Column(name = RELATED_ID, insertable = false, updatable = false)
    @Transient
    private Long relatedId; 
</code></pre>
<p>Any suggestions or possible approaches?</p>
",https://stackoverflow.com/questions/72103215/is-there-a-way-to-treat-fields-as-transient-in-a-configurable-way,"['java', 'sql', 'spring', 'hibernate', 'jpa']",59,True,1,1
Jmeter run all thread groups after one thread group(token generation) exection,"<p>I am (new to) doing API performance testing in Jmeter, and I have a Token Generation thread group that needs to be ran before all other thread groups(A,B,C). However I also want A B and C thread groups to be ran simultaneously. So how I want it to be executed is:</p>
<ol>
<li>Token Generation</li>
<li>A &amp; B &amp; C</li>
</ol>
<p>I am aware that checking the Run Thread Groups consecutively on Test Plan will allow me to run Token Generation first(as I placed it as the first thread group in the list), however it would executed is:</p>
<ol>
<li>Token Generation</li>
<li>A</li>
<li>B</li>
<li>C</li>
</ol>
<p>any help&amp; hints are appreaciated. Thanks in advance!</p>
",https://stackoverflow.com/questions/74575962/jmeter-run-all-thread-groups-after-one-thread-grouptoken-generation-exection,"['jmeter', 'jmeter-5.0', 'web-api-testing']",133,True,1,1
Corda Jmeter Performance testing takes more time for first sampler inside Thread group (all are Java Request Samplers),"<p>I followed <a href=""https://docs.r3.com/en/platform/corda/4.9/enterprise/performance-testing/jmeter-samplers.html"" rel=""nofollow noreferrer"">https://docs.r3.com/en/platform/corda/4.9/enterprise/performance-testing/jmeter-samplers.html</a> &amp; used</p>
<p><em><strong>JAVA request samplers</strong></em> instead of http samplers, so that the Corda flow class can be invoked directly. But the result behaviour is like, for the first run after the node is restarted, all samplers take significantly more <strong>Sample time</strong> than the second run.</p>
<ol>
<li><p>I would like to know the reasons behind it, like whether it is due to first call of rpc connection to corda node?</p>
</li>
<li><p>If so, does it need to effect on all samplers in a thread group (since all samplers call - FlowInvoke inside)</p>
</li>
<li><p>Is there some other time result type which is more efficient than sample time to check on?</p>
</li>
</ol>
",https://stackoverflow.com/questions/74953584/corda-jmeter-performance-testing-takes-more-time-for-first-sampler-inside-thread,"['java', 'performance', 'testing', 'jmeter', 'corda']",43,False,0,0
Can dotnet crank be used for CI/CD pipeline automation testing,"<p>I am pretty new to automation testing and testing. I am researching if I can use dot net crank and how to use it in my project for API's performance testing.</p>
<p>So far, I have understood that it can be used to run benchmarks locally, on different platforms/machines - windows/Linux and results can be stored in JSON file/SQL server database, etc.</p>
<p>I have the below questions:</p>
<ol>
<li><p>Can it be integrated into the CI/CD pipeline so that for every run, I can generate the test results, or does it need to be run manually only?</p>
</li>
<li><p>Is there a better way/tool to compare the results of current vs. previous runs rather than doing a manual comparison?</p>
</li>
</ol>
",https://stackoverflow.com/questions/73970765/can-dotnet-crank-be-used-for-ci-cd-pipeline-automation-testing,"['.net', 'microbenchmark', 'benchmarkdotnet', 'crank']",75,False,0,0
"Sales force application load testing using JMeter, one of the requests has got response of invalid JSON message","<p>We are using JMeter for salesforce application performance testing and the request information is sent using parameters and one of the parameters holds the Json message and when we execute the request we are getting  as</p>
<p>/{&quot;event&quot;:{&quot;descriptor&quot;:&quot;markup://aura:systemError&quot;,&quot;attributes&quot;:{&quot;values&quot;:{&quot;message&quot;:&quot;[AuraClientInputException from server] Unexpected request input. Expected input format: &quot;Data in a request must be a valid JSON Object and must be in the expected format.&quot;.&quot;}}</p>
<p>when i have validated the request using Json format validator it is valid json however when take the request sent from the view result tree it is not a valid json, something went wrong or JMeter has modified the message. anybody has faced this issue any solution is appreciated.</p>
",https://stackoverflow.com/questions/72537287/sales-force-application-load-testing-using-jmeter-one-of-the-requests-has-got-r,"['jmeter', 'performance-testing', 'jmeter-5.0']",262,False,0,1
What scala-library dependenecy version can be used with Gradle 7.2 for Gatling performance testing,"<p>I am trying to do performance testing for my API using Gatling and Scala.
Below are the plugins/libraries I am using</p>
<blockquote>
<p>gradle version  : 7.2</p>
</blockquote>
<blockquote>
<p>gradle.plugin.com.github.lkishalmi.gatling:gradle-gatling-plugin:3.3.0</p>
</blockquote>
<blockquote>
<p>dependency :  gatling 'org.scala-lang:scala-library:2.13.10'</p>
</blockquote>
<p>I get the below error when I try to resolve dependencies</p>
<pre><code>A problem occurred evaluating project ':performance-test'.
&gt; Could not find method compile() for arguments [org.scala-lang:scala-library:2.13.10] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
</code></pre>
<p>My guess is that the scala version 2.13.10 is not compatible with the gradle version 7.2. I tried changing the scala version to latest and many others, but nothing seems to work.</p>
<p>I have also seen another project using gradle 6.6 and scala version 2.12.2 which works. In my case I can't downgrade the gradle version, unfortunately.</p>
<p>Does anyone know what scala version is compatible with gradle 7.2?</p>
",https://stackoverflow.com/questions/74297576/what-scala-library-dependenecy-version-can-be-used-with-gradle-7-2-for-gatling-p,"['scala', 'gradle', 'gatling']",169,True,0,1
How can I combine both C# and TypeScript/k6 in a single Visual Studio solution deployed to Azure DevOps?,"<p>We have a Visual Studio solution containing multiple projects.
Till now, they have all been in C#.
However, we decided:</p>
<ol>
<li>We want to add performance testing;</li>
<li>We want to use k6 as the performance testing tool;</li>
<li>We want to write the tests in TypeScript; and</li>
<li>The performance tests should live in the same repo and preferably the same solution as what it is testing.</li>
</ol>
<p>Locally, I've successfully created a TypeScript project in Visual Studio 2022 within the Visual Studio solution we wish to test.  While I don't know how to execute these tests from Visual Studio itself instead of the command line, I don't presently care about that.</p>
<p>I've pushed the performance tests to our Azure DevOps repo and created a pull request.
In order to complete the PR and merge to master, the build must succeed, and this is where I am presently stuck.</p>
<p>I've added 'Install Node.js' and 'Install TypeScript' to the azure-pipelines.yml and those tasks appear to work, but ultimately the build jobs fail.</p>
<p>My yaml file currently looks like this:</p>
<pre><code># ASP.NET Core (.NET Framework)
# Build and test ASP.NET Core projects targeting the full .NET Framework.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core

trigger:
- master

variables:
  solution: '**/*.sln'
  buildPlatform: 'Any CPU'
  buildConfiguration: 'Release'

jobs:
- job: buildServer
  pool:
    vmImage: 'windows-2022'
  steps:
    - task: NodeTool@0
      displayName: 'Install Node.js'
      inputs:
        versionSpec: 16.x
    - script: npm install --save-dev typescript
      displayName: 'Install TypeScript'

    - task: UseDotNet@2
      displayName: 'Install .NET 6 SDK'
      inputs:
        packageType: 'sdk'
        version: '6.0.x'
        performMultiLevelLookup: true

    - task: DotNetCoreCLI@2
      displayName: 'dotnet restore'
      inputs:
        command: 'restore'
        feedsToUse: 'config'
        nugetConfigPath: 'NuGet.config'
        verbosityRestore: 'Normal'

    - task: VSBuild@1
      inputs:
        solution: '$(solution)'
        msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation=&quot;$(build.artifactStagingDirectory)\WebApp.zip&quot; /p:DeployIisAppPath=&quot;Default Web Site&quot;'
        platform: '$(buildPlatform)'
        configuration: '$(buildConfiguration)'

    - task: VSTest@2
      inputs:
        testSelector: 'testAssemblies'
        testAssemblyVer2: |
          **\bin\$(BuildConfiguration)\**\Enpal.SalesforceCache.Test.dll
          !**\xunit.runner.visualstudio.testadapter.dll
          !**\xunit.runner.visualstudio.dotnetcore.testadapter.dll
        searchFolder: '$(System.DefaultWorkingDirectory)'
        runTestsInIsolation: true
        codeCoverageEnabled: true

    - task: PublishTestResults@2
      inputs:
        testResultsFormat: 'XUnit'
        testResultsFiles: '**/TEST-*.xml'
        searchFolder: '$(Agent.TempDirectory)\TestResults'

    - task: ArchiveFiles@2
      inputs:
        rootFolderOrFile: '$(Build.BinariesDirectory)'
        includeRootFolder: true
        archiveType: 'zip'
        archiveFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip'
        replaceExistingArchive: true

    - task: PublishBuildArtifacts@1
      inputs:
        PathtoPublish: '$(Build.ArtifactStagingDirectory)'
        ArtifactName: 'drop'
        publishLocation: 'Container'

- job: buildAndPushClientNuget
  pool:
    vmImage: 'windows-2022'
  steps:
  - task: NodeTool@0
    displayName: 'Install Node.js'
    inputs:
      versionSpec: 16.x
  - script: npm install --save-dev typescript
    displayName: 'Install TypeScript'

  - task: UseDotNet@2
    displayName: 'Install .NET 6 SDK'
    inputs:
      packageType: 'sdk'
      version: '6.0.x'
      performMultiLevelLookup: true

  - task: NuGetToolInstaller@1

  - task: DotNetCoreCLI@2
    displayName: 'dotnet restore'
    inputs:
      command: 'restore'
      feedsToUse: 'config'
      nugetConfigPath: 'NuGet.config'
      verbosityRestore: 'Normal'

  # Build nuget
  - task: DotNetCoreCLI@2
    displayName: 'dotnet pack'
    inputs:
      command: 'custom'
      custom: 'pack'
      arguments: '-c $(buildConfiguration) -o $(Build.ArtifactStagingDirectory) -p:Build=$(Build.BuildId) --include-symbols'

  # publish artifacts
  - task: PublishBuildArtifacts@1
    inputs:
      PathtoPublish: '$(Build.ArtifactStagingDirectory)'
      ArtifactName: 'drop'
      publishLocation: 'Container'

  # Publish nuget
  - task: NuGetCommand@2
    condition: ne(variables['Build.Reason'], 'PullRequest')
    inputs:
      command: 'push'
      packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
      nuGetFeedType: 'internal'
      publishVstsFeed: 'enpal'

  # Publish symbols
  - task: PublishSymbols@2
    condition: ne(variables['Build.Reason'], 'PullRequest')
    inputs:
      SearchPattern: '**/bin/**/*.pdb'
      SymbolServerType: 'TeamServices'
      DetailedLog: false

</code></pre>
<p>The buildServer/VSBuild task fails with:</p>
<pre><code>&quot;D:\a\1\s\SalesforceCache.sln&quot; (default target) (1) -&gt;
&quot;D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj&quot; (default target) (6) -&gt;
(ResolveAssemblyReferences target) -&gt; 
  C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277: Found conflicts between different versions of &quot;Microsoft.AspNetCore.Mvc.Core&quot; that could not be resolved. [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277: There was a conflict between &quot;Microsoft.AspNetCore.Mvc.Core, Version=2.2.5.0, Culture=neutral, PublicKeyToken=adb9793829ddae60&quot; and &quot;Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60&quot;. [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:     &quot;Microsoft.AspNetCore.Mvc.Core, Version=2.2.5.0, Culture=neutral, PublicKeyToken=adb9793829ddae60&quot; was chosen because it was primary and &quot;Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60&quot; was not. [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:     References which depend on &quot;Microsoft.AspNetCore.Mvc.Core, Version=2.2.5.0, Culture=neutral, PublicKeyToken=adb9793829ddae60&quot; [C:\Users\VssAdministrator\.nuget\packages\microsoft.aspnetcore.mvc.core\2.2.5\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Core.dll]. [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:         C:\Users\VssAdministrator\.nuget\packages\microsoft.aspnetcore.mvc.core\2.2.5\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Core.dll [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:           Project file item includes which caused reference &quot;C:\Users\VssAdministrator\.nuget\packages\microsoft.aspnetcore.mvc.core\2.2.5\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Core.dll&quot;. [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:             C:\Users\VssAdministrator\.nuget\packages\microsoft.aspnetcore.mvc.core\2.2.5\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Core.dll [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:     References which depend on &quot;Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60&quot; []. [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:         D:\a\1\s\Enpal.SalesforceCache.Client\bin\Release\net6.0\Enpal.SalesforceCache.Client.dll [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:           Project file item includes which caused reference &quot;D:\a\1\s\Enpal.SalesforceCache.Client\bin\Release\net6.0\Enpal.SalesforceCache.Client.dll&quot;. [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:             D:\a\1\s\Enpal.SalesforceCache.Client\bin\Release\net6.0\Enpal.SalesforceCache.Client.dll [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]


&quot;D:\a\1\s\SalesforceCache.sln&quot; (default target) (1) -&gt;
&quot;D:\a\1\s\SalesforceCache.PerformanceTest\SalesforceCache.PerformanceTest.njsproj&quot; (default target) (8) -&gt;
(CoreCompile target) -&gt; 
  C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VisualStudio\v17.0\Node.js Tools\Microsoft.NodejsToolsV2.targets(64,5): error : TypeScript compiler is not installed. Please execute 'npm install --save-dev typescript' [D:\a\1\s\SalesforceCache.PerformanceTest\SalesforceCache.PerformanceTest.njsproj]

    560 Warning(s)
    1 Error(s)

Time Elapsed 00:00:45.57
##[error]Process 'msbuild.exe' exited with code '1'.
Finishing: VSBuild
</code></pre>
<p>You'll note 'npm install --save-dev typescript' has already been executed in the earlier script and that succeeded.</p>
<p>Then buildAndPushClientNuget/dotnet pack fails with:</p>
<pre><code>  Successfully created package 'D:\a\1\a\Enpal.SalesforceCache.Client.1.0.0.51800.nupkg'.
  Successfully created package 'D:\a\1\a\Enpal.SalesforceCache.Client.1.0.0.51800.symbols.nupkg'.
C:\hostedtoolcache\windows\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277: Found conflicts between different versions of &quot;Microsoft.AspNetCore.Mvc.Core&quot; that could not be resolved. [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\hostedtoolcache\windows\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277: There was a conflict between &quot;Microsoft.AspNetCore.Mvc.Core, Version=2.2.5.0, Culture=neutral, PublicKeyToken=adb9793829ddae60&quot; and &quot;Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60&quot;. [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\hostedtoolcache\windows\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:     &quot;Microsoft.AspNetCore.Mvc.Core, Version=2.2.5.0, Culture=neutral, PublicKeyToken=adb9793829ddae60&quot; was chosen because it was primary and &quot;Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60&quot; was not. [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\hostedtoolcache\windows\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:     References which depend on &quot;Microsoft.AspNetCore.Mvc.Core, Version=2.2.5.0, Culture=neutral, PublicKeyToken=adb9793829ddae60&quot; [C:\Users\VssAdministrator\.nuget\packages\microsoft.aspnetcore.mvc.core\2.2.5\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Core.dll]. [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\hostedtoolcache\windows\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:         C:\Users\VssAdministrator\.nuget\packages\microsoft.aspnetcore.mvc.core\2.2.5\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Core.dll [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\hostedtoolcache\windows\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:           Project file item includes which caused reference &quot;C:\Users\VssAdministrator\.nuget\packages\microsoft.aspnetcore.mvc.core\2.2.5\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Core.dll&quot;. [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\hostedtoolcache\windows\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:             C:\Users\VssAdministrator\.nuget\packages\microsoft.aspnetcore.mvc.core\2.2.5\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Core.dll [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\hostedtoolcache\windows\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:     References which depend on &quot;Microsoft.AspNetCore.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60&quot; []. [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\hostedtoolcache\windows\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:         D:\a\1\s\Enpal.SalesforceCache.Client\bin\Release\net6.0\Enpal.SalesforceCache.Client.dll [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\hostedtoolcache\windows\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:           Project file item includes which caused reference &quot;D:\a\1\s\Enpal.SalesforceCache.Client\bin\Release\net6.0\Enpal.SalesforceCache.Client.dll&quot;. [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
C:\hostedtoolcache\windows\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(2302,5): warning MSB3277:             D:\a\1\s\Enpal.SalesforceCache.Client\bin\Release\net6.0\Enpal.SalesforceCache.Client.dll [D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\Enpal.SalesforceCache.Client.AspNet.csproj]
  Enpal.SalesforceCache.Client.AspNet -&gt; D:\a\1\s\Enpal.SalesforceCache.Client.AspNet\bin\Release\net6.0\Enpal.SalesforceCache.Client.AspNet.dll
  Successfully created package 'D:\a\1\a\Enpal.SalesforceCache.Client.AspNet.1.0.0.51800.nupkg'.
  Successfully created package 'D:\a\1\a\Enpal.SalesforceCache.Client.AspNet.1.0.0.51800.symbols.nupkg'.
  Enpal.SalesforceCache.Client.Helper -&gt; D:\a\1\s\Enpal.SalesforceCache.Client.Helper\bin\Release\net6.0\Enpal.SalesforceCache.Client.Helper.dll
  Successfully created package 'D:\a\1\a\Enpal.SalesforceCache.Client.Helper.1.0.0.51800.nupkg'.
  Successfully created package 'D:\a\1\a\Enpal.SalesforceCache.Client.Helper.1.0.0.51800.symbols.nupkg'.
##[error]Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1
Info: Azure Pipelines hosted agents have been updated and now contain .Net 5.x SDK/Runtime along with the older .Net Core version which are currently lts. Unless you have locked down a SDK version for your project(s), 5.x SDK might be picked up which might have breaking behavior as compared to previous versions. You can learn more about the breaking changes here: https://docs.microsoft.com/en-us/dotnet/core/tools/ and https://docs.microsoft.com/en-us/dotnet/core/compatibility/ . To learn about more such changes and troubleshoot, refer here: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/dotnet-core-cli?view=azure-devops#troubleshooting
##[error]Dotnet command failed with non-zero exit code on the following projects : 
Finishing: dotnet pack
</code></pre>
<p>No idea what to make of it, but the warnings precede adding k6 and while annoying and it would be great to get rid of them, they seem harmless.</p>
<p>How can I fix the pipeline so the build will succeed?</p>
<p>(Actually executing the tests as part of my build process is still an open concern, but I'm not necessarily looking for that answer here.)</p>
",https://stackoverflow.com/questions/74288057/how-can-i-combine-both-c-and-typescript-k6-in-a-single-visual-studio-solution-d,"['c#', 'typescript', 'azure-devops', 'azure-pipelines', 'k6']",234,False,0,1
Troubleshooting 11205 Errors,"<p>Hello everyone and thanks for the help in advance. I have a web application that is an endpoint for Twilio phone api to make calls to. The endpoint makes three SQL database calls using EntityFramework Core. The server is running Windows Server 2022. The database calls are really not terribly intensive The calling application to my api (Twilio) has a timeout of 10 seconds which to me is inconceivable this is happening. But I need to start troubleshooting this problem and really don't know how to get started (that includes understanding IIS logs).   The controller:</p>
<pre><code>        [HttpPost]
    public TwiMLResult InboundVoice(IncomingVoice model)
    {
        var response = new VoiceResponse();

        GetForwardingNumber getForwardingNumber = new GetForwardingNumber();
        string forwardingPhone = getForwardingNumber.forwardingNumber.ToString();

        GetPatientsByPhoneNumberAsync getPatientsByPhoneNumberAsync = new GetPatientsByPhoneNumberAsync();

            LoginboundVoiceAsync loginboundVoiceAsync = new LoginboundVoiceAsync();
            var voicetask = loginboundVoiceAsync.LoginboundVoice(model);

        var task = getPatientsByPhoneNumberAsync.GetPatientsByPhoneNumber(model.From);

        response.Say(&quot;Calls may be recorded for quality assurance.&quot;);

        response.Dial(forwardingPhone);

        return TwiML(response);

    }
</code></pre>
<p>I'm pretty clueless regarding performance testing, so I really don't know where to get started.   can post the subroutine code if needed.  Any help would be appreciated.</p>
",https://stackoverflow.com/questions/73451390/troubleshooting-11205-errors,"['asp.net-mvc', 'entity-framework-6']",20,False,0,0
How to add parameters to a HttpRequest programatically in JMeter,"<p>I use JMeter in our product performance testing now.</p>
<p>I have a performace test scenario below:</p>
<ol>
<li>Exract 1000 unique IDs from a request A.</li>
<li>Add the 1000 unique IDs to next request B as &quot;form parameters&quot;. check the request B response time.</li>
</ol>
<p>The request B is like:</p>
<p>Method: Post</p>
<p>URL:  <a href=""http://www.aaa.com/abc/def"" rel=""nofollow noreferrer"">http://www.aaa.com/abc/def</a></p>
<p>Form parameters:</p>
<p>para1  :   value1</p>
<p>para2  :   value2</p>
<p>ID     :   ID1</p>
<p>ID     :   ID2</p>
<p>ID     :   ID3</p>
<p>......</p>
<p>ID     :   ID1000</p>
<p>I know this request isn't a Canonical usage of http request. but it is used in our product for years.</p>
<p>Now I get the 1000 unique IDs from request A with the help of &quot;regular expression extractor&quot;,</p>
<p>My question is:
how to pass the variables to request B, and set the 1000 IDs as &quot;form parameters&quot; of request B?</p>
",https://stackoverflow.com/questions/71978368/how-to-add-parameters-to-a-httprequest-programatically-in-jmeter,['jmeter'],569,True,0,1
