XPath Assertion does not support "matches()"

2009-07-17 Thread Noel O'Brien
Hi, I'm trying to use the XPath function "matches()" in my XPath assertions, but getting the following: Assertion failure message : TransformerException: Could not find function: matches for:matches(/feed/entry/link[1]/@href, ..) It looks like JMeter is invoking an XSLT 1.0 processor. I

Do we have a mechanism to execute test(s) specific amount of time ?

2009-07-17 Thread Andrew Melnyk
Hi guys, I wonder if Jmeter provides a mechanism to set up test(s) execution time frame. For example, i want test A to be executed for a 5 minutes.

Re: BSF Scripts and User Defined Variables

2009-07-17 Thread S.D.
Thank you for your help ! My jar files were in the wrong place. Once I figured it out it worked fine. On Thu, 2009-07-16 at 13:30 -0700, Deepak Shetty wrote: > Hi > I believe the .bsh file should be in the bin directory . check your > jmeter.log for errors > This is the Structure I have and it s

Re: Modifying data while filling forms and basic Jmeter help

2009-07-17 Thread Deepak Shetty
Hi Create a Regex Extraction Post Processor , give it a name like inputTimeStamp In regex expression type something like name=['"]token['"]\s*?value=['"]([^'"]*) -->test with some online regex tester. (this one is case sensitive and order of name and value matters) In template type $1$ --> extract

Re: Do we have a mechanism to execute test(s) specific amount of time ?

2009-07-17 Thread Deepak Shetty
does this work for you? http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Runtime_Controller On Fri, Jul 17, 2009 at 5:55 AM, Andrew Melnyk wrote: > Hi guys, > > I wonder if Jmeter provides a mechanism to set up test(s) execution time > frame. For example, i want test A to be e

Re: Do we have a mechanism to execute test(s) specific amount of time ?

2009-07-17 Thread Andrew Melnyk
Thanks Deepak, Just have figured out the thread group has the "scheduler" property where you can put start, end time as well as duration. 2009/7/17 Deepak Shetty > does this work for you? > > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Runtime_Controller > > On Fri, Jul

How to use response assertions for text maching

2009-07-17 Thread Paul Harris
Hi all, After creating a user a successmessage will display in my application like "Created a new user account. No e-mail has been sent." I want to capture it in response assertions. how can i do that I tried with so many ways like Text Response - Contains Text Response - Matches Text Resp

JMS Point-to-Point Sampler - Timeout takes only numbers no strings

2009-07-17 Thread Andre Arnold
Hi, A colleague of mine wondered about the JMS Point-to-Point Sampler's behaviour. Shouldn't the Timout field in the Sampler be configurable with variables (Strings) and not just take numbers. Is that a known bug or a feature? -

Re: How to use response assertions for text maching

2009-07-17 Thread Noel O'Brien
Hi, Checking that it's present in the response should be just: Response Assertion: 1. Select "Text Response" 2. Select "Contains" 3. In Pattern to Test simply add " Created a new user account\. No e-mail has been sent\. " (without quotes) More complex regexes can be construct

Unique Identifiers for Test Samples?

2009-07-17 Thread S.D.
Hello. I have a group of http request samplers. I would like to mark each sample in the group with a unique identifer. I have three different http request samples. I would like the label for the sample to be like below and have the guid be the same for each one. Thread Group |-User-Defined-Var

Load results into database

2009-07-17 Thread Tony Lotts
I'm looking for a system which will store JMeter results in a relational database. It's easy to load results from CSV. However loading XML result files is a bit more complicated. Has anyone here created, or come across a similar system (other than Jchav)? Thanks, Tony

Re: Unique Identifiers for Test Samples?

2009-07-17 Thread Deepak Shetty
I use Jmeter User Parameters with Update once per iteration to achieve something similar. You can also use BSH and vars to set the variable and only update it whenever you want (each thread would have its own value ) regards deepak On Fri, Jul 17, 2009 at 12:18 PM, S.D. wrote: > Hello. > > I hav