jmeter

Can apache-jmeter check the return value of a URL for a correct response?

The set up for apache-jmeter allows for a URL to be sent to a web-server on multiple threads. I'm interested in first determining if the response codes are 200-500 and then whether the returned content is the expected content. Is this detailed configuration possible? ...

JMeter - successfull HTTPS recording?

Greetings, I'm utilizing Jmeter 2.3, which now supports "attempt HTTPS spoofing" under the Proxy Server element. I've tried on several different servers, and have had no success. Has anyone been able to successfully record from an HTTPS source with this setting? Or barring successfully recording, can anyone share a work-around? When...

JMeter Tests and Non-Static GET/POST Parameters

What's the best strategy to use when writing JMeters tests against a web application where the values of certain query-string and post variables are going to change for each run. Quick, common, example You go to a Web Page Enter some information into a form Click Save Behind the scenes, a new record is entered in the database You want...

jmeter and java webservice

Hi I am trying to test a stress test a webservice using jmeter but the requests keep stopping after around 4 hours. I submit 10 requests per second from JMeter. The webservice is still functioning properly after jmeter completes. I am using only 1 soap request and i do not specify to rad the soap response. Does anyone have any idea why...

How to ignore login and logout requests in JMeter?

I'm trying to test the performance of our webapp with JMeter. The login procedure includes some external dependencies that can't be reproduced during the test, so I've programmed an alternate login. As this alternate login request is not part of the normal workflow I would like to exclude the login request from the JMeter results because...

JMeter crashes XP when performing JDBC request

I'm using JMeter 2.3.2 and XP SP3. When I try a JDBC request, XP crashes. This is not very convenient. This is the first time I've used JMeter, so I'm looking for inspiration as to where to look. Its with a fairly simple JDBC request (simple select, without parameters, aggregated report etc). The database is SQL server, the correct ja...

How do I pass a variable from one Thread Group to another in JMeter

I have a JMeter test with 2 Thread Groups - the first is a single thread (which creates some inventory) and the second has multiple threads (which purchase all the inventory). I use BeanShell Assertions and XPath Extractors to parse the returned value (which is XML) and store variables (such as the ids of the items to be purchased). Bu...

functional testing a JMS message queue with JMeter

I've got a REST service that in response to a request, posts a message on a JMS queue. All of the main http functional testing is done using JMeter, so I was wondering if anyone has successfully pulled a JMS message off an existing queue in JMeter? ...

What is the highest number of threads that is reasonable to simultaneously run in Jmeter?

I want to use the highest possible number of threads (to use less computers) but without making the bottleneck to be in the client. ...

Jmeter - Regex issue with embedded variable and $

Greetings, In Jmeter's regex component, I am running into an issue when the expression has both a variable AND a literal '$'. It always returns as fail. When I replace the variable with a hardcoded value, it works fine. I have verified the variable is returning the expected value in previous call. Failed Expression: (variable and lit...

JMeter - saving results + configuring "graph results" time span

Hi, I am using JMeter and have 2 questions (I have read the FAQ + Wiki etc): I use the Graph Results listener. It seems to have a fixed span, e.g. 2 hours (just guessing - this is not indicated anywhere AFAIK), after which it wraps around and starts drawing on same canvas from the left again. Hence after a long weekend run it only sho...

How can I see a page error in jMeter?

How can I see a Error in jMeter? In other words if a test fail how is possible to see the page returned with error ? Regards ...

How can I test a JBossMQ JMS Queue with JMeter

I'd like to use JMeter test that I can send a message to a JBossMQ (JBoss 4.2.3 JMS Queue). If I get that far then I will be able to build some load and other tests. JBoss is pretty much straight out of the box and is a server called servername. Since there are some queues set up by default, lets use Queue A which according to ${JBOSS_H...

Testing Struts application - Token Problem.

Hi, I'm using JMeter to test a Struts application that uses the saveToken and isTokenValid mehods. I have a page to select a list of items and then a page to update 1 of the items. Whe token is set going to the update page but somehow changes when I submit the form. Any Ideas? Note: I follow the same path with the JMeter test as I d...

jmeter - able to render PDF?

Is there an add-on or a config setting that will allow Jmeter to Render PDF output? I am testing a web tool that exports report data to various outputs (excel, pdf, csv, etc.) and would love to setup an assertion to verify all outputs return the same value. The hitch is that Jmeter can't render pdf. Any thoughts? ...

Jmeter - how to implement another java class

Greetings all, In another post I asked about rendering PDF in Jmeter, and it would seem the solution is to use iText. Using iText requires installing another library and referencing it. Does anyone know how to do this? I can't find a tutorial. Much thanks. iText is also dependent upon bouncycastle iText: http://www.1t3xt.com/downloads...

how to make jmeter output graphs

I am not a jmeter expert, but I understand it can display graphs and save the data in .xml files. Is there a way to have jmeter actually create JPG, GIF or PNG files (or whatever format that can be embedded in html?) Added later: I need a solution that works in a batch run ...

jMeter Server Mode - Windows can not find "rmiregistry"

When I try to execute jMeter in server mode I get this exception: "Windows can not find 'rmiregistry'". I dont know how to solve this, I googled about it, but i didnt find anything related to my problem. ...

Regex newbie question on start and end of captures

I need some help with regular expressions. Please see the example below. I am capturing specific rid values that are contained between between this ","children":[ and ending with this }]}]} as shown below. My problem is that the block shown below repeats itself several times and I want all rids between the start of ","childre...

DRY for JMeter tests

Is there a way to modularize JMeter tests. I have recorded several use cases for our application. Each of them is in a separate thread group in the same test plan. To control the workflow I wrote some primitives (e.g. postprocessor elements) that are used in many of these thread groups. Is there a way not to copy these elements into e...