load-testing

Visual Studio Load/Performance Tests - Parameterizing REST values in the URL

拥有回忆 提交于 2019-12-08 16:55:34
问题 I am starting out with Visual Studio 2012, and have been tasked with writing some load tests that hit REST services. Struggling because I'd like to parameterize a value that's in the URL, accessing a .csv file as a datasource. For example, I'd like the URL to be http://staging.company.com/OrderService.svc/GetOrderInfo/{{OrderId}} ...and use a .csv file to iterate through a list of OrderId's. There's a lot of info online about parameterizing values in the body of a request, and I've went

VisualStudio cloud-based load test socket exception 100% of requests - webtest alone works OK

[亡魂溺海] 提交于 2019-12-08 13:15:31
I am taking my first steps with visual studio enterprise load tests. I have created a webtest following this tutorial: https://www.visualstudio.com/en-us/docs/test/performance-testing/run-performance-tests-app-before-release The webtest works OK, hits my page properly and succeeds. However when I have created a load test with this webtest, each request fails (regardless of the number of users, even with 2 users) The error is A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed

Need Http Request not to respond until it finds a specific text in Jmeter

强颜欢笑 提交于 2019-12-08 10:42:42
问题 I have searched for the solution to my problem throughout the web, but couldn't find any. I need jmeter not to throw a response of an HTTP Request until it founds an specific text in response, because I have this request which takes so much time to respond and generate an specific text, but http request responds back immediately hence not find that specific text. How to do it? should I use some kind of logic controller, which one and how? As I am new to Jmeter so I need a proper guidance and

Tool suggestion for load testing a simple web page with submit button? [closed]

冷暖自知 提交于 2019-12-08 05:11:37
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I've written a simple order application that consists of a 1 page order-form containing a set of input fields and a submit button. The order form is loaded by invoking a URL (with data being passed via POST): http://localhost:8080/orderform.jsp The input fields of the order-form are populated with the POST data

Load testing end to end Solr performance

折月煮酒 提交于 2019-12-08 01:30:22
问题 We want to test the performance of Solr search engine at all tiers. So far i have used 'SolrMeter' to test the performance of Solr core under stress, SOAP UI + Load UI to to test the REST-Full service tier. We are now implementing the User interface tier. Which tool would you recommend to test the performance under stress of solr at this UI tier level? I can think of Selenium/Webdriver but was wondering if there was a dedicated tool for the same. 回答1: I recommend using jMeter. First use

How can I run a Node-js script in Artillery.i.o without including it in Load test scenario

岁酱吖の 提交于 2019-12-08 00:57:17
问题 I am to load test a scenario where user adds a contact in his addressbook. To do this user must first Log-In to his account. I have a Nodejs script ' AutoLogin.js ' that performs Log-In for the user and a json file ' contact.json ' which has necessary configuration and POST request parameters to add contact in addressbook. Artillery runs 'contact.json' file. { "config": { "target": "target url", "https": { "tls": { "rejectunauthorized": false } }, "phases": [ { "duration": 10, "arrivalRate":

Visual Studio Cloud Load Test Average Test Time Seems Long

£可爱£侵袭症+ 提交于 2019-12-07 16:42:40
问题 I have a WebAPI service that I put together to test throughput hosted in Azure. I have it set up to call Task.Delay with a configurable number (IE webservice/api/endpoint?delay=500). When I run against the endpoint via Fiddler, everything works as expected, delays, etc. I created a Load Test using VS Enterprise and used some of my free cloud load testing minutes to slam it with 500 concurrent users over 2 minutes. After multiple runs of the load test, it says the average test time is roughly

VS 2010 web Load Test- Set Unique value for each Virtual User from CSV

橙三吉。 提交于 2019-12-07 10:03:54
问题 I have 50 username and password in a CSV. I want to run a web Load Test where each Virtual user is assigned one unique value for the duration (1hr) of the load test for multiple iterations. How is this done in VS 2010 Ultimate edition. Thanks 回答1: Create and add a new WebTestPlugin in whose PreWebTest event you call the MoveDataTableCursor () method of the WebTest object, giving it the value of the $WebTestUserId context parameter (e.WebTest.Context.WebTestUserId). Also make sure that the

How do I load test a RabbitMQ server (Either using JMeter, python or any other tool..)?

我怕爱的太早我们不能终老 提交于 2019-12-07 07:59:00
问题 I have been given access to a RabbitMQ server to do a load test on it. I'm completely new to servers and AMQ protocol. I've been researching online to see what are some different methods. So far I'm investigating two methods. JMeter; I have found this project: https://github.com/jlavallee/JMeter-Rabbit-AMQP#build-dependencies . It gives me a jar file which I can create JMeter AMQP consumer and publisher, but I have no idea what to put in the fields. (virtual host vs host - dunno my ports -..)

Tool suggestion for load testing a simple web page with submit button? [closed]

吃可爱长大的小学妹 提交于 2019-12-06 16:01:25
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I've written a simple order application that consists of a 1 page order-form containing a set of input fields and a submit button. The order form is loaded by invoking a URL (with data being passed via POST): http://localhost:8080/orderform.jsp The input fields of the order-form are populated with the POST data and whilst the form is loading there some server side processing taking place e.g. retrieving data