Re: how to change dynamic id

2010-12-06 Thread black gaff
Please see the manual: http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#How_do_I_parameterize_my_JMeter_test_cases.3F -- View this message in context: http://jmeter.512774.n5.nabble.com/how-to-change-dynamic-id-tp3290990p3294300.html Sent from the JMeter - User mailing list archive at

Re: Listeners with the Module Controller

2010-12-02 Thread black gaff
Good followup question. If it's IN the 'module' being included, the listener shows results. So, I *could* use this to get results written to a file, but doesn't offer nearly as much flexibility as the original scenario. -- View this message in context:

Re: Listeners with the Module Controller

2010-12-02 Thread black gaff
Thanks, Deepak. I'll file an issue later today. The structure you suggest is a good work around (I've verified it works), it just has the downside of being a bulkier script structure. -- View this message in context:

Re: Listeners with the Module Controller

2010-12-02 Thread black gaff
Thanks, Sebb - that makes sense. -- View this message in context: http://jmeter.512774.n5.nabble.com/Listeners-with-the-Module-Controller-tp3286750p3289923.html Sent from the JMeter - User mailing list archive at Nabble.com. -

Listeners with the Module Controller

2010-11-30 Thread black gaff
Greetings, I have a listener (Aggregate Report) as a child to a Module controller. On run, the listener doesn't show any results, although the controller and requests are running (as verified by a listener at the Thread Group Level). I've noticed the listener will work if it's a SIBLING to the

Re: need help in proxy server

2010-11-29 Thread black gaff
Silly question, but you are starting the Jmeter recording proxy before accessing a website in IE8, correct? -- View this message in context: http://jmeter.512774.n5.nabble.com/need-help-in-proxy-server-tp3281041p3285427.html Sent from the JMeter - User mailing list archive at Nabble.com.

Re: Unable to login with jmeter

2010-11-29 Thread black gaff
have you tried adding a cookie manager? -- View this message in context: http://jmeter.512774.n5.nabble.com/Unable-to-login-with-jmeter-tp3276513p3285434.html Sent from the JMeter - User mailing list archive at Nabble.com. -

Re: How to avoid blank requests while recording?

2010-11-22 Thread black gaff
sudhakar wrote: Hi, i have only server name urs.microsoft.comand dont have any other info for blank request please tell me the syntax for exclude pattern. It also sounds like you have MSN Messenger running on your machine. In addition to the exclude, I would recommend turning

Re: Recording issues with jmeter 2.4

2010-11-02 Thread black gaff
You have an SSL issue that needs to be resolved. See this link: http://www.java-samples.com/showtutorial.php?tutorialid=210 -- View this message in context: http://jmeter.512774.n5.nabble.com/Recording-issues-with-jmeter-2-4-tp3247282p3247417.html Sent from the JMeter - User mailing list

RE: Getting the current listners

2010-10-29 Thread black gaff
I'm also new, so perhaps someone else can answer better, but I would think SampleListener would give you that. -- View this message in context: http://jmeter.512774.n5.nabble.com/Getting-the-current-listners-tp3236606p3242160.html Sent from the JMeter - User mailing list archive at Nabble.com.

Re: test a web app with multiple user logins

2010-10-28 Thread black gaff
You can create a CSV file of usernames and passwords. In your script, add a Config Element CSV Data Set Config. On this element, you define the file location and the variable names that reference each column. In this case, 'username' and 'password'. Then, on your login page, you simply have

Re: Can Sampler of Http Request implement WebService(SOAP) Request??

2010-10-28 Thread black gaff
snail wrote: I planned to use the WebService(SOAP) Request, but it has limitation that Parsing XML is CPU intensive. Therefore, do not set the thread count too high,10 threads will consume 100%. That's odd...I've been testing SOAP requests for the last several months and have not

Re: regular expression extractor long page

2010-10-26 Thread black gaff
Few things: 1. You don't need to escape the quotes 2. In your original regex, you aren't storing the digits within the variable - they need to be enclosed with paren () ([0-9]{1,6}) 3. I don't believe PERL supports {1,6} the way you are using it. The regex fails in RegexBuddy. 4. This will

Re: Response code 302 - Moved Temporarily

2010-10-26 Thread black gaff
Please post to a new thread, but it sounds like your server is failing under load. -- View this message in context: http://jmeter.512774.n5.nabble.com/regular-expression-extractor-long-page-tp3237090p3237321.html Sent from the JMeter - User mailing list archive at Nabble.com.

Re: DateTime stamp in ISO format

2010-10-26 Thread black gaff
you could also use the __time function to achieve this http://jakarta.apache.org/jmeter/usermanual/functions.html#__time -- View this message in context: http://jmeter.512774.n5.nabble.com/DateTime-stamp-in-ISO-format-tp3237193p3237325.html Sent from the JMeter - User mailing list archive at

Re: Getting the current listners

2010-10-26 Thread black gaff
I believe you want sampleListener.sampleOccurred() http://www.javadocexamples.com/org/apache/jmeter/samplers/SampleListener/sampleOccurred%28SampleEvent%20e%29.html -- View this message in context: http://jmeter.512774.n5.nabble.com/Getting-the-current-listners-tp3236606p3237330.html Sent

Re: How to mask/encrypt values sent as an HTTP request parameter

2010-10-22 Thread black gaff
sebb-2-2 wrote: If you are able to code in Java, then you should be able to use the BeanShell Post-Processor to redact the contents of the SampleResult (held in the 'prev' variable). something like: prev.setSampleData(prev.getSampleData().replace(secret,**)) Similarly if the

Re: Should there be difference in response time if we replay the recorded proxy script and follow same steps manually at the same machine.

2010-10-19 Thread black gaff
Jmeter does not render the page the way a browser does. Your browser will download and render all embedded files, including images, style sheets, javascript, etc. Jmeter does none of these things. Jmeter also has a speed advantage because it's not human, and as soon as one request is finished

Re: How to execute a Java method from the JMeter GUI

2010-10-15 Thread black gaff
This was fantastically helpful - thanks. -- View this message in context: http://jmeter.512774.n5.nabble.com/How-to-execute-a-Java-method-from-the-JMeter-GUI-tp3212388p3214122.html Sent from the JMeter - User mailing list archive at Nabble.com.

Re: can I use a test result as an input in another test?

2010-10-15 Thread black gaff
Peter wrote: my question is can I pass the value I got for requestId to another test? so here is the scenario test1 - call webserver - get the value of 'requestId' test2 - use the value of requestId i got in test1 and make a different webservice call If Test1 and Test2 are in the

How to mask/encrypt values sent as an HTTP request parameter

2010-10-05 Thread black gaff
In short, does anyone know of a workaround to mask/encrypt values sent as an HTTP request parameter? My company has a rule that user name/passwords cannot be stored in scripts. In my JMeter scripts, I've gotten around this by passing the user name/password through the command line and storing

Re: Sending different parameter depending on the request on the authentication performance testing with JMeter

2010-10-05 Thread black gaff
Is the token actually required? There are several sites wherein if you simply delete the token, authentication is still granted. If it is needed, you may be able to do the following: Thread Group - GET Login page (do not submit login credentials) - - Regular Expression to extract the token -

Re: How to mask/encrypt values sent as an HTTP request parameter

2010-10-05 Thread black gaff
I realize the password could still be obtained with enough motivation. I'm working towards ensuring the password is written to the Log File nor visible in View Results Tree. It would be great if there was something like HTTP Authorization Manager or the Login Config Element that worked on HTTP

Re: How to mask/encrypt values sent as an HTTP request parameter

2010-10-05 Thread black gaff
It would seem I'm not making myself clear enough. I realize it's possible for someone who is super determined to get the password while Jmeter is running. Generally, the person who enters the password in the first place is the same person running the script. I've solved security issue #1 - no

Re: How to mask/encrypt values sent as an HTTP request parameter

2010-10-05 Thread black gaff
You cannot suppress anything shown in the View Results Tree. Just don't use it. I thought as much. It makes for a handy debug / teaching tool The data stored by the Simple Data Writer is configurable - e.g you could save just label, timestamp and elapsed. However, if the password is being

Re: How to mask/encrypt values sent as an HTTP request parameter

2010-10-05 Thread black gaff
sebb-2-2 wrote: If you are able to code in Java, then you should be able to use the BeanShell Post-Processor to redact the contents of the SampleResult (held in the 'prev' variable). something like: prev.setSampleData(prev.getSampleData().replace(secret,**)) Similarly if the

Any way to mask JDBC login credentials?

2010-07-09 Thread black gaff
I've created a script that does Oracle SQL requests, using the JDBC Connection Configuration config element. In the config element are fields for UserName and Password. The Password field is not masked, so if I share this file with anyone on my team, they can see my password. Is there a way to