load-testing

JMeter - Trouble sending HTTP request with POST variable?

空扰寡人 提交于 2019-12-01 16:57:52
问题 I am trying to load test a java servlet that fetches records from an archive database. The servlet works as follows: 1-Reads in post variables from HTTP header 2-Uses variables to query database 3-Returns XML I have setup a test which I want to fire off HTTP requests with post variables however the test is not working, getting errors with J Meter. Screenshot 1 - Shows the structure of the test Screenshot 2 - Shows the CSV file I am reading from I have placed the CSV file in the same folder

JMeter - Trouble sending HTTP request with POST variable?

不羁的心 提交于 2019-12-01 16:46:18
I am trying to load test a java servlet that fetches records from an archive database. The servlet works as follows: 1-Reads in post variables from HTTP header 2-Uses variables to query database 3-Returns XML I have setup a test which I want to fire off HTTP requests with post variables however the test is not working, getting errors with J Meter. Screenshot 1 - Shows the structure of the test Screenshot 2 - Shows the CSV file I am reading from I have placed the CSV file in the same folder that my test plan is saved in! Screenshot 3 - Shows the HTTP request This is the error output: Thread

how to set counter of loop inside loop correctly inside jmeter?

妖精的绣舞 提交于 2019-12-01 15:54:35
问题 I have jmeter flow like this: ThreadGroup --Sampler to get the number of items and store to vars("numItem",XYZ) --LoopController on $numItem -----Sampler to get number of subItem and store to vars("numSubitem", ABC) -----LoopController on $numSubitem -----LoopCounter -----Sampler: print out the current counter from loopCounter For example, the number of item = 2 and subItem = 10, my loopCounter print out will be 0 - 19. I have checked the checkbout "Track counter independently for each user"

Selenium how to access two controls of same css class

我们两清 提交于 2019-12-01 12:42:04
问题 I am doing testing using selenium ide. My objective is to verify the following 1) Max and Min length property of text boxes. 2) Verify the texts of the labels My html code is as below: <div class="control-group"> <label class="control-label" for="input01">Email</label> <div class="controls"> <input name="data[Salon][username]" class="span4" id="username" placeholder="Username or Email" type="text"/> </div> </div> <div class="control-group"> <label class="control-label" for="input01">Password<

MSTest - Run “LoadTests” and Write Results to SQL Server Database

血红的双手。 提交于 2019-12-01 12:16:57
If you want to configure your VS "Load Tests" to write the results to a database server, you use the following instructions . If you want to run your "Load Tests" through powershell on a separate machine( think TFS 2018 release step ), you use the following instructions . I would like to do both, on multiple machines, in a automated manner, but there's not a great deal of documentation on this, I can run my tests like this: .\mstest /testcontainer:"C:\XXX\ABC.loadtest" But the results are kicked out to a "TRX" file rather than being placed into a database( there is some discussion on this ).

Stress testing of node.js services [closed]

最后都变了- 提交于 2019-12-01 05:54:04
I'm building a stress testing framework for node.js services using node.js. Do you know relevant projects which I can use / look at? node.js projects that you've used and worked good? (latency, throughput etc..) Any best practices on that matter? Thanks! 来源: https://stackoverflow.com/questions/8702560/stress-testing-of-node-js-services

Test iteration setting in loadtest using vs 2010

时光毁灭记忆、已成空白 提交于 2019-12-01 01:50:33
I wanted to test my application for 250 concurrent users, I have some doubts about the load test setting. What should be the correct setting to achieve the above... I have set the Max user count as 250 and test iteration in run setting as 1, So will it send 250 virtual request ??? or I have to set the Max user count as 250 and test iteration in run setting as 250 Here are some explanations about load test settings: In the Constant Load Pattern you set how the load test will create your virtual users. If you Set Pattern = Constant then visual studio will create 250 virtual users without meaning

Using CSV file to read test data from

痞子三分冷 提交于 2019-11-30 13:24:07
问题 I need to test a various links of a site (no need to login) with 100's of users and loop it for some number of times using JMeter. I want to put those links in a "CSV file", so that all the links to be tested are read from file. How do I accomplish this task? 回答1: Prepare kind of csv-file with list of your test-params and use it to parametrize your test-samplers, using at least the following: CSV Data Set Config Look into the following links for details: How to get Jmeter to use CSV data for

How can I catch a “failed to decode JSON” error message in Perl?

前提是你 提交于 2019-11-30 12:43:18
So I am trying to load test a REST API which returns a JSON value. To do that I am creating multiple instances of the perl script. The Perl script basically calls that URL, and tries to decode_json . Obviously when substantial load is generated, it fails. Now the problem I face is- An error is displayed on command prompt but does not write that error message in a file. The error message is malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "Can't connect to 209...") at json_load_test.pl line 39. In all the three attempts below line 39 refers to:

Data driven load testing with Visual Studio - where are web tests generated?

廉价感情. 提交于 2019-11-30 09:52:17
问题 I have set up a Web Performance Test and Load Test project in Visual Studio 2013 that uses data driven web tests based on a local SQL Server data source. Eventually I would like to set up a test controller and test agents in order to distribute the load from multiple clients. My question is about the architecture of the controller and agents. Does each test agent also need access to the data source that generates content for the web tests or is the web test (and its dynamic parameters)