Re: Cant I use Jmeter for .net applications???

2007-05-22 Thread Kyle Schmitt
I've used jmeter on a ton of .Net webapps for the company I work for. Your two biggest hurdles are viewstate and eventvalidation. You could argue endlessly about the efficacy and validity of those two things, but I digress. Many .Net webapps use them. Add the cookie manager, do all the other s

Re: problem using cookies

2007-01-29 Thread Kyle Schmitt
Well the script was originally recorded with jmeter's proxy (I reordered it per your suggestions, and it still does the same thing). A near duplicate is made with badboy, and that recorded script has the same issue. Walking through the login using firebug (a firefox plugin), I see the cookie set

problem using cookies

2007-01-29 Thread Kyle Schmitt
Hello all. I'm testing a website right now that uses javascript to set a cookie upon login. Now, this javascript is really simple, so I can easily trace it, and figure out the content of the cookie. I've setup a cookie manager, and added a cookie that should be identical to the one javascript sets

Re: Variance between JMeter response times and real users

2007-01-19 Thread Kyle Schmitt
Well from my limited experience, I'm going to say either your page is using redirects for non-authenticated users (and since your test isn't right you're just snagging the redirect each time), or because of a mis-set or missing variable (like viewstate or eventvalidation if your using dotnet) your

Re: Variable substitution for post/get variable names?

2007-01-19 Thread Kyle Schmitt
In the title for that sampler I use the ${variablename} just so I'll see it in my log, and it's replaced with what it should be. it's finding it well enough to insert it there - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: Variable substitution for post/get variable names?

2007-01-19 Thread Kyle Schmitt
Umm, looking at that page, it looks like it just covers pulling a variable out using a regex and applying it as the value for a get/post variable, but not the variable name itself. Perhaps I didn't word my original post right: I'm trying to do this right now, and when I view the log, in the query

Variable substitution for post/get variable names?

2007-01-19 Thread Kyle Schmitt
Is it possible to do variable substitution for post/get variable names? That is I have an http sampler, and it passes this query string for example: GENERATED_LINK_NAME.x=10&GENERATED_LINK_NAME.y=7 I'm using a regex extractor to grab the name of that varible (in this odd case the value the varia

Variable Substitution for cookies

2007-01-11 Thread Kyle Schmitt
I know that if I have a variable, say password=ncc1701, and I record a test, all instances of ncc1701 will be replaced with ${password}. Now I'm using a regular expression to pull out certain variables (like viewstate) from each page in my test, and passing it back on almost every page. The prob

Re: regular expression extractor

2007-01-05 Thread Kyle Schmitt
Well, probably you want (.*?) to make it not greedy... I'm a bit of a broken record, but I'll say, go to this web page http://jakarta.apache.org/oro/demo.html which is a demo applet for the regex engine that jmeter users. Use the default settings, copy and paste the source from the page you're t

Thread group ordering

2006-12-22 Thread Kyle Schmitt
So I'm trying to make a bit of a big test, that has multiple thread groups. The thing is, I wanted them to run one after the other, not simultaneously. The first thread group, which simulates 9 users, needs to complete before the second thread group, which simulates only one user, will work. Th

Re: Regular expressions help:

2006-12-20 Thread Kyle Schmitt
Give a bit more info about what you need to extract. I've just wrestled through a few Regex issues myself thanks to this list and the jakarta ORO demonstration applet (http://jakarta.apache.org/oro/demo.html). ORO is what jmeter uses for regexes, so that applet is a good way to see exactly what

Re: Proxy causing problems?

2006-12-13 Thread Kyle Schmitt
The only error in the jmeter log is a failed assertion result (I had it check that the response did not contain Server Error), and that the server returned an error code. The site is not public, it lives on my companies intranet. --Kyle --

Re: Proxy causing problems?

2006-12-12 Thread Kyle Schmitt
Nope. Just a SLEW of postbacks and some ajax. In some simpler tests on a different webapp, I had similar behavior when uploading files via the browser, but in that case the recorded script worked, even though the browser/webapp didn't during recording. --

Re: Proxy causing problems?

2006-12-12 Thread Kyle Schmitt
oops one more thing: the recorded script works properly for some of recording, even some of the parts that cause the webapp to error. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Proxy causing problems?

2006-12-12 Thread Kyle Schmitt
ou mean that the browser does not work properly via the proxy, or that the recorded test plan does not play back? On 12/12/06, Kyle Schmitt <[EMAIL PROTECTED]> wrote: > I've got an(other?!) odd issue: when I record using jmeter's proxy, > certain dynamic sites die that

Proxy causing problems?

2006-12-12 Thread Kyle Schmitt
I've got an(other?!) odd issue: when I record using jmeter's proxy, certain dynamic sites die that work otherwise. Obviously this makes recording and testing such sites difficult. Has anyone else come across behavior like this? Are there better proxies or known work-arounds to jmeter's builtin

Re: jmeter-server dies immediately?

2006-12-08 Thread Kyle Schmitt
Ahh. Here it is 2006/12/08 18:42:25 INFO - jmeter.engine.StandardJMeterEngine: Listeners will be started after enabling running version 2006/12/08 18:42:25 INFO - jmeter.engine.StandardJMeterEngine: To revert to the earlier behaviour, define jmeterengine.startlistenerslat er=false 2006/12

Re: Viewstates (Possibly OT)

2006-12-08 Thread Kyle Schmitt
Sadly no, none of the sites I'm testing can be publicly accessed. What I can find about the plans and sites that DO work vs those that don't is that it depends on the site (yes I'm on several testing-projects at once). For all, the viewstate and eventvalidation must be included, either recorded

jmeter-server dies immediately?

2006-12-08 Thread Kyle Schmitt
I'm trying to launch jmeter-server on a linux box and it keeps on dying. According to the process list and netstat rmiregistry is running and taking up port 1099. Given what's said in the manual, I thought maybe I could just re-launch jmeter using the -s flag. Still it dies immediately, with no

Re: Viewstates (Possibly OT)

2006-12-08 Thread Kyle Schmitt
Humm. I'm beginning to think viewstates are a sordid business. After much trial and error a few things seem to help the situation, that should have seemed obvious.. like I need to check the encode box when I pass the viewstate and eventvalidation variables back. Still it doesn't solve everythin

Viewstates (Possibly OT)

2006-12-07 Thread Kyle Schmitt
So I've got jmeter successfully grabbing the viewstate for each and every page that's popped in my test, and I've even got the eventvalidation variable going too. If I leave the hardcoded viewstate strings in the test, the test runs fine over and over as long as the data on the page is the same..

Re: Yet another extractor question

2006-12-06 Thread Kyle Schmitt
Well, my take would be to copy and paste a representative sample of the generated html into this applet(http://jakarta.apache.org/oro/demo.html), then write a regular expression that finds that number. (you probably already know that part) It's silly, but to see the result of the regex in my test

Re: another extractor question

2006-12-06 Thread Kyle Schmitt
Sibling extractors work on everything in scope? Wowzers. This test just got a fair amount simpler. Thanks again. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: another extractor question

2006-12-06 Thread Kyle Schmitt
Ha ha! The regex extraction that works for retrieving viewstate (just in case anyone was following this thread and wondering) Point the regular expression extractor at the body use the regular expression and don't forget to use the first group out of the variable. IE if you use the name myview

Re: another extractor question

2006-12-05 Thread Kyle Schmitt
Hum. I don't know if it would be in the body, but it makes sense, on second thought, that it wouldn't be in the url (it's post not get). > Reference Name: viewstate > O Body O Headers X URL does this mean you are checking against the URL? And yes, that meant it was checking against the URL, t

another extractor question

2006-12-05 Thread Kyle Schmitt
This should be obvious, but since when is should reality? OK, so I'm trying to extract the viewstate out of a dotnet app. Jmeter recorded it just fine, but of course, that recording won't quite work due to the viewstate stuff. So I figured, I'd just put a regex extractor in the sampler that retu

Re: [newbie] A couple of questions

2006-12-01 Thread Kyle Schmitt
If you want to make sure, use the applet on this page to test the regex, this is using the exact same lib as jmeter does http://jakarta.apache.org/oro/demo.html (it helped me a ton in the past two days) --Kyle - To unsubscribe,

Interleave controllers and User defined variables

2006-11-30 Thread Kyle Schmitt
Another probably newb question Is there a way to get user defined variables to work inside of interleave controllers? I tried plain User Defined Variables inside of the interleave, and when that didn't work, I tried using simple controllers to hold them, still no go. Some details: I've got

Re: regular expression extractor problems

2006-11-29 Thread Kyle Schmitt
Ahh, I found my problem using the http://jakarta.apache.org/oro/demo.html page's applet to test my regex (oro is a bit different than other regex engines I think..) This maybe a touch long, but I hope this will help other folks who've struggled with the regex extractor. My original was SelectRow

Re: regular expression extractor problems

2006-11-28 Thread Kyle Schmitt
Thanks! I'ts still not 100%, but closer. Now instead of a having ${product} show up in the log, at least it's blank.. If I'm referencing a ${variable} in a regex I don't need to escape it right? On 11/28/06, Daniel L. Gregoire <[EMAIL PROTECTED]> wrote: > Hey, I'm trying to use a regular exp

regular expression extractor problems

2006-11-28 Thread Kyle Schmitt
Hey, I'm trying to use a regular expression extractor, and it's just not working. Hopefully someone will be able to tell me what I'm doing wrong. The regex extractor is a child of an http sampler, and the variable it's supposed to set is used a few samplers later, but when it happens, I actually

Re: Jmeter crashing windows?

2006-11-28 Thread Kyle Schmitt
t, but you may not be taking advantage of it. I think the default for heap may be 256MB, as set in jmeter.bat. I'd make this value a bunch bigger if you haven't already. I have had problems with crashes when this was not sufficient for a very large script. -Original Message- Fr

Re: Jmeter crashing windows?

2006-11-28 Thread Kyle Schmitt
Wish I could use a different OS sometimes ;) No, the machine isn't running out of ram, It's got 2Gigs and shows free memory even. That said there are a bunch of listeners (assertion, graph, summary and view results in table) --Kyle On 11/28/06, sebb <[EMAIL PROTECTED]> wrote: Never seen this m

Jmeter crashing windows?

2006-11-28 Thread Kyle Schmitt
Jmeter is repeatedly crashing my XP Pro box (yes the jre is fully updated). It usually happens if I close jemter after it's been running for more than a day, or if I start recording via the built in proxy after jmeter was open for awhile. Anyone else have this experience? Any fixes? --Kyle --

Xpath extractors in Jmeter

2006-11-22 Thread Kyle Schmitt
Hi, I've got a quick q about xpath extractors in jmeter. Do they support functions like fn:starts-with()? I was trying to do something like this: /some/path/option[fn:starts-with(@value,'${group}')]/@value and it's throwing a "TransformerException: Prefix must resolve to a namespace: fn" Th