RE: XPath Extractor Issue

2007-05-04 Thread Matthew Coventon
Shawn, The variable it passes in is vars. You can do vars.put(name, value). Name/value should both be strings afaik. You can then refer to the variable as usual ... ${name}. Regards, Matt C. -Original Message- From: Shawn Heeley [mailto:[EMAIL PROTECTED] Sent: Friday, May 04, 2007 3:

RE: XPath Extractor Issue

2007-05-04 Thread Shawn Heeley
Hi all, Is it possible to "push" variables from a Beanshell PreProcessor? I need to do some processing inside a Beanshell script which is called from a BeanShell PreProcessor. I know the PreProcessor passes in var, ctx, etc. Is there a var.set or equivalent? I can't seem to get it to work. Th

RE: XPath Extractor Issue

2007-05-04 Thread Matthew Coventon
Hmm ... I guess I'm not familiar with how JMeter would handle this. The XPath would select all the nodes. These have child nodes, so JMeter must have some behavior defined as to what to put in the variable (maybe it put's nothing). Maybe someone can answer this. In the mean time try doing //ch

RE: XPath Extractor Issue

2007-05-04 Thread Shawn Heeley
Hi Matt, So I tried going back to the Xpath Extractor option. I still have the following XML block coming in: 0> 0 4 3 1 4 I've setup the following Xpath Extractor: Reference Name: grid_val Xpath query: //challenge/item Default Value: not_found When I use my BeanShell PreProcessor (on

RE: I need help with the recording with protocol https

2007-05-04 Thread Matthew Coventon
JMeter cannot record HTTPS. I think several people (myself included) use Badboy (http://www.badboy.com.au/) to record against HTTPS sites. Badboy can export to JMeter. Regards, Matt C. -Original Message- From: Johanna Briseno [mailto:[EMAIL PROTECTED] Sent: Friday, May 04, 2007 11:29

I need help with the recording with protocol https

2007-05-04 Thread Johanna Briseno
Somebody can say to me how to record the events in JMETER on protocol https. I make all the steps but I understood that the problem is https. I must generate another configuration? I must take another step? Thanks Johanna

Martin Ruschak/Szg/PorscheInt ist außer Haus.

2007-05-04 Thread Martin Ruschak
Ich werde ab 04.05.2007 nicht im Büro sein. Ich kehre zurück am 21.05.2007. Bitte wenden sie sich in meiner Abwesenheit an Herrn Zecha Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: XPath Extractor Issue

2007-05-04 Thread Matthew Coventon
I'm a little rusty on my XPath but I think you should be using single "/" everywhere and take out the "/*" at the end. So: /soapenv:Envelope/soapenv:Body/getChallengeReturn/challenge Alternatively you could try //challenge which would give you all challenge elements in the document. Regards, Ma

RE: XPath Extractor Issue

2007-05-04 Thread Shawn Heeley
No, our code defines the soapenv namespace. I think I must have mistyped in my email. I've figured out a way to get it done with regex. I use the following: <(challenge*)[^>]*>.*? This sticks everything between and including the block within a single string which I've been able to pick apart i

Re: XPath Extractor Issue

2007-05-04 Thread jens
> 0 > 043 m>14 Inside the XPath Extractor, I have the following: //soapenv:Envelope//soapenv:Body//getChallengeReturn//challenge/* ^^^ shouldn't this be "//soap:Envelope"? Regards, Jens - To unsubscribe, e-mail: [EMAIL

XPath Extractor Issue

2007-05-04 Thread Shawn Heeley
Hi folks, I'm new to JMeter. This is my first attempt at using it to performance test a Web Services application. I have a web services call that results in an XML body response. In the response is the following (I'm paraphrasing this): 0 04314 Before the next web services request, I need

Does JMeter report TPS?

2007-05-04 Thread Matt
Hi guys, Been using JMeter for a while now and think it does a great job. I don't seem to be able to see output for Transactions Per Second anywhere for each of the HTTP transactions. Am I missing something obvious? if not, anyone know of an easy way to output this? Thanks, Matt

Re: I'm not understanding the "Generate Summary Results" output

2007-05-04 Thread sebb
The Min Max and Avg are calculated on individual sample times. On 04/05/07, Ivan Neto <[EMAIL PROTECTED]> wrote: Hi Oliver! Thanks for your answer! On 5/4/07, Oliver Erlewein (DSLWN) <[EMAIL PROTECTED] > wrote: > > Hi Ivan, > > Not quite sure whether this is what you're after but here goes...

Re: how to calculate the 99.9% Line

2007-05-04 Thread sebb
org.apache.jmeter.visualizers.StatVisualizer and org.apache.jorphan.math.StatCalculator are the main classes involved. StatVisualiser is the one that defines the percentage; at present that is fixed to 0.9. On 04/05/07, Chen, Song <[EMAIL PROTECTED]> wrote: Yes, I just want to get the result

Re: Creating Random Names or Characters

2007-05-04 Thread chris
in your BeanShellFunction.bshrc file, you can define following method (i use it in my testplans and it works perfectly): // generates a random string with length n // string consists of number, uppercase letters and lowercase letters String generateRandomString(int n) { char[] pw = new char[

Re: how to get value from HTML

2007-05-04 Thread chris
use regex extractor (post processor), like this: reference name: productID regex: "productID" value="([0-9]+)" template: $1$ match no: 1 default value: not_found you now have access to your product id with ${productID} //chris