New answers tagged

0

The Grinder is a free Java-based load-testing framework available under a BSD-style open-source license. It was developed by Paco Gomez and is maintained by Philip Aston. Over the years, the community has also contributed many improvements, fixes, and translations. The Grinder consists of: The Grinder Console - This GUI application controls various Grinder ...


3

Although you can do it directly with Jmeter but as you mentioned above there is so much that you will have to do for it and you will require to have strong knowledge of Java & Jmeter. OR You can do it the easy way. Use Blazemeter. Blazemeter has a Chrome extension using which you can record user actions in Chrome and then export the test script. Those ...


0

Firstly its not a right move to performance test a live application. You can take performance test as equivalent to hacking. Live applications are made very much secure and usually it doesn't allows requests from proxy ip servers and have firewall issues. Bette you try scripting some demo applications for your learning purpose.. Now the second part if you ...


0

If you're using Jmeter for performance testing, you'd want to be informed that Jmeter doesn't open browser instances when sending web requests to the server. How Jmeter works is, it takes all the web requests (http(s)) and hits them to the server. It doesn't open any physical browser on the client side for it. It uses its own virtual browser if any. For ...


2

The only way to get the reason is looking into jmeter.log file and taking a thread dump using jstack command to see where it hangs and why. You can also add the following line to user.properties file: jmeter.save.saveservice.autoflush=true and look into .jtl results file to see whether it is being updated. You can also open it with the listener of your ...


9

Open you test plan in the Jmeter GUI and check the HTTP Response Timeout limit. For this, in Jmeter, Open the TEST Plan Got to the HTTP Request Sampler under Threads In the Timeouts section set the Response Timeout limit and Save the Test Plan. Now try to run your test from the command line. It will stop the test after the timeout limit is reached!


0

Add Beanshell PostProcessor as a child of the request which must be successful and put the following code into "Script" area: if (!prev.isSuccessful()) { prev.setStopThread(true); } where prev stands for associated parent SampleResult See How to Use BeanShell: JMeter's Favorite Built-in Component guide for more information on using Beanshell in your ...


1

Problem solved by this steps: Changed cookie Policy to compatible Changed cookie Implementation to HC3CookieHandler and the last but not least, Internet Explorer Driver has got some problems with getting cookies named, changed to Chrome Driver and now everything works


0

It might be the case when application expects one more header which is "Authorization" (i.e. it is added when browser asks for credentials with popup). So if your API endpoint assumes a form of username/password authentication - provide the credentials via HTTP Authorization Manager. See How to Use HTTP Basic Authentication in JMeter guide for example usage. ...


0

Just one change worked for me Jmeter 2.13. In Screen 1 change ${Var_ViewState} to ${jsfViewState} since you are using ${ViewState} in Screen 2 change that to ${jsfViewState} Note Checking Tidy (tolerant parser) doesn't work. my xpath query was string(//input[@id='javax.faces.ViewState']/@value) I used the jmeter proxy recording to ...


0

If its a web application and can be accessed via a web browser, I'd prefer to use Blazemeter (Chrome Extension). I would record my test script using Blazemeter and then export the test plan (jmx file). And then simply open that test plan in Jmeter, make changes if required, increase/decrease threads and add listeners. Then, save the test plan and hit ...


0

Jmeter is an awesome open source tool for performance testing websites and web applications. I like to use Jmeter for my performance tests. BUT I prefer to have an isolated phase for performance testing. I would never execute performance tests in development phase. The reason behind this being in the development phase there the project is not completely ...


0

I always use Blazemeter's Chrome Extension to record my performance test scripts for Jmeter. It is a simple plugin for Google Chrome using will you will be able to record what you browser in Chrome as you are browsing it. What even better is that it will also record the required sessions, cookies and and variable/field input hence making it possible for you ...


7

After a lot of Googling and trial and error I found out that a tag in the JMX file that Blazemeter's Chrome Extension generates was creating a problem. The JMX file included a <hashTree/> in several places and this tag was causing the JMX file to not being read by Jmeter in non GUI mode. So I removed this tag and tried to run the test and got a hell ...



Top 50 recent answers are included