New answers tagged

0

Unfortunately, if you rely on JMeter GUI, the problem of code review is a bit inevitable. However, one alternative is to create your JMeter scripts using purely Java, which allows you not only for easy code review, but also to use any Java feature( polymorphism e.g.) to enhance how you construct the script. //JMeter Engine StandardJMeterEngine ...


0

If you're going to benchmark pieces of software (i.e. functions or classes) you could look a microbenchmark library for the programming language of your choice. For example for Java there is JMH project With regards to creating JMeter tests / running JMeter programatically it should be fairly easy as well as JMeter is free and open source and has quite ...


1

Found the cause of the error, Path was not given correctly in my sample pages. After giving the Path correctly, error was gone. Thanks all spending time on this. Update: The path was incorrect for the following Http request pages, so after changing the path, it worked fine


1

Yes it's possible to be a full stack QA. A full-stack QA engineer is comfortable working across all of the application layers, and will be familiar with large parts of its functionality. They will think about the many different aspects of product quality, such as functionality, usability, performance, security etc. Full stack QA engineers are easy to find ...


0

Somehow I fixed the error by putting the path correctly in Login page: login_frame_ajax.aspx For now I am getting 302 response code. The yellow padding error is gone from page.


0

There is Merge Results plugin which can be used for combining 2 or more .jtl results files, you can give them different prefixes and plot them onto one chart: There is BM.Sense cloud analysis service which basically does the same, but in the fancy web interface You can also put your JMeter test under continuous integration, for example using Jenkins. ...


0

Normally you don't need to perform manual correlation of the cookies, HTTP Cookie Manager should take care of them automatically. If it doesn't: Try setting "Cookie Policy" to something less restrictive, i.e. netscape Add the next line to user.properties file: CookieManager.check.cookies=false If you need to store cookies as JMeter Variables add the ...


1

As per 500 Internal Server Error description: The HyperText Transfer Protocol (HTTP) 500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request. This error response is a generic "catch-all" response. Sometimes, server administrators log error ...


0

If you have 1 thread (virtual user) and 1 iteration on Thread Group level each request will be executed only once: You can use __threadNum() function to determine current virtual user ID (number) and ${__jm__Thread Group__idx} variable to check current Thread Group's iteration. It might also be the case there are "stale" results, so make sure to Clear ...


0

You point jMeter proxy settings to your company proxy and your browser proxy to the local jMeter instance. Gets you a flow like: Browser -> jMeter -> Company Proxy -> Internet If you are testing from behind a firewall/proxy server, you may need to provide JMeter with the firewall/proxy server hostname and port number. To do so, run the jmeter[.bat] ...


0

Since JMeter 3.1 it's recommended to use JSR223 Test Elements and Groovy language for scripting so consider using __groovy() function, the relevant syntax would be: ${__groovy((vars.get('Total_users') as int) / 2)}


0

The relevant Thread Group configuration would be something like: You should create a CSV file and put your credentials there. Then you can load the file using CSV Data Set Config JMeter doesn't click any buttons or type anything into inputs, it acts on HTTP protocol level, to wit it sends associated HTTP Requests and waits for responses. When you click a ...


0

If you really want to use regular expressions for this, here you go: input type="hidden" name="paymentId" value="(\d+)" Demo (assumes RegExp Tester more of the View Results Tree listener): However be informed that using regular expressions for parsing HTML is not the best idea as regular expressions are very sensitive to markup changes and extra space or ...


0

I would suggest using the CSS JQuery Extractor: On CSS/JQuery Expression you locate HTML node and on Attribute you will extract the value of a given attribute (name in your case).


0

You can add a Beenshell Preprocessor to run arbitrary code before the thread group. In it, you can access JMeter variables. // Note: JMeter variables are Strings // you will need add some casting for and to Integer vars.put( "currentNumberOfUsers", vars.get("Total_users") * 0.5 ); Then you can access currentNumberOfUsers on the ThreadGroup that ...


0

The error can have many causes. Some steps you may take to diagnoses are: Use latest version of JMeter Enable DEBUG mode in JMeter Set Connection timeout Delay Thread Creation Disable Parallel Downloads Configure trusted and client SSL certs Tweak JMeter SSL configuration Enable stale connection check Enable HTTP Keep-Alive on web servers Check the load ...


Top 50 recent answers are included