Re: Website Test-Values

2008-11-21 Thread Andrey Beznogov
Hi, if you need some general information on performance and load testing, there are a few links on jmeter wiki pages you could check. http://wiki.apache.org/jakarta-jmeter/ You could start by reading User Experience, not Metrics Series series http://www.perftestplus.com/pubs.htm and

Re: Skip remaining samples if an assertion fails but don't stop the Thread

2008-11-21 Thread Andrey Beznogov
Hi, you could use the If controller. http://jakarta.apache.org/jmeter/usermanual/component_reference.html#If_Controller If an Assertion for some Sample fails, that Sample will be marked as failed. Using that, your test plan may be something like * 1. * If (${JMeterThread.last_sample_ok}) * *

Re: Website Test-Values

2008-11-20 Thread Andrey Beznogov
Hi, as usual, you should start by reading the first few sections of the user manual. You should at least read the Building a Web Test Plan http://jakarta.apache.org/jmeter/usermanual/build-web-test-plan.html All your questions are answered there and in other beginners sections of the manual.

Re: How to attach a file along with a request?

2008-11-19 Thread Andrey Beznogov
Hi, add a listener (View Results Tree is nice for quick tests) and check the response you get. Also look into the bin/jmeter.log file and check if you get any errors. Did you set the right MIME Type for your file attachment? Do you need something special set in the header? You should probably

Re: JDBC Request- It's possible extract fileds values?

2008-11-01 Thread Andrey Beznogov
Hi, you probably used \d* as regexp and $1$ as template - in that case the regexp will be found but no group will be extracted. If that is what you did, change regexp/template to (\d*)/$0$ OR (\d*)/$1$ to correctly extract the found value. If that is not the case, please submit the full

Re: How to generate random dates

2008-10-24 Thread Andrey Beznogov
();)} but when I use this it doesn't evaulate. Does anyone have anything 'out-of-the-box' that works ? TIA hiro On Thu, 2008-10-23 at 16:05 +0400, Andrey Beznogov wrote: Hi, the best way would be probably randomizing the Time part (the number of milliseconds since 1970/01/01) of the Date

Re: How to generate random dates

2008-10-23 Thread Andrey Beznogov
Hi, the best way would be probably randomizing the Time part (the number of milliseconds since 1970/01/01) of the Date(). For example in javascript var mydate=new Date(); mydate.setTime(mydate.getTime()*Math.random()); mydate.toUTCString(); will output a date string in UTC format (like Sat, 19

Re: How do i record Multiple HTTP Request on single thread.

2008-10-07 Thread Andrey Beznogov
Hi, Recording Controller is NOT a request - it is actually a folder which contains requests. After you recorded something, just click the little blue switch icon just to the left of the Recording Controller icon to see its child nodes - which are the actual single HTTP requests recorded by proxy.

Re: There is a problem When i run Recorded Test plan

2008-09-22 Thread Andrey Beznogov
Hi, you are right - try adding a HTTP Cookie Manager to your Thread Group if you need to use cookies in your test plan. To do it, right click on your Thread Group, and then Add Config Element HTTP Cookie Manager. Config Elements are not added automatically when you record the plan by proxy.

Re: functional testing on web application with jmeter

2008-09-18 Thread Andrey Beznogov
Hi, 1) JMeter is designed for load testing. While you could use it for functional testing, it would be much more convenient to use some other tool for that. 2) Successful statuses do not mean much without assertions. For example, you probably forgot to add the HTTP Cookie Manager to your test

Re: loop interaption

2008-09-18 Thread Andrey Beznogov
Hi, If you need your loop to run until some condition is met, then use the While controller http://jakarta.apache.org/jmeter/usermanual/component_reference.html#While_Controller Regards, Andrey On Thu, Sep 18, 2008 at 1:20 PM, l_u_c_f_e_r_13 [EMAIL PROTECTED] wrote: Is it some way to stop

Re: loop interaption

2008-09-18 Thread Andrey Beznogov
test, or stop current thread, I just need switch to next iteration. TIA Andrey Beznogov wrote: Hi, If you need your loop to run until some condition is met, then use the While controller http://jakarta.apache.org/jmeter/usermanual/component_reference.html#While_Controller Regards

Re: Regular Expression with =

2008-09-17 Thread Andrey Beznogov
Hi, I may be mistaken, but I think that Regular Expression Extractor does no such encoding. It returns this: MjI4Mzg4NTU3NDhkMGQyNmI2NGQzZTQuNDIyNzQ4OTk%3D probably means that you passed the found value to the HTTP Request sampler POST parameters, and then looked up the request parameters as

Re: response for a page is not coming

2008-09-10 Thread Andrey Beznogov
Hi, session ids you are talking about are most likely cookies. Add a HTTP Cookie Manager to your test plan to store your cookies. Regards, Andrey On Wed, Sep 10, 2008 at 12:27 PM, wenqatesh [EMAIL PROTECTED] wrote: hi all, i recorded an application with a http protocol. it contains a

Re: response for a page is not coming

2008-09-10 Thread Andrey Beznogov
more? thanks in advance venkadesh Andrey Beznogov wrote: Hi, session ids you are talking about are most likely cookies. Add a HTTP Cookie Manager to your test plan to store your cookies. Regards, Andrey On Wed, Sep 10, 2008 at 12:27 PM, wenqatesh [EMAIL PROTECTED] wrote: hi all

Re: simultaneous http requests

2008-08-29 Thread Andrey Beznogov
Hi, if you want to make a test plan which should send out independent requests, one every 5 seconds, set up your thread group as following: Thread Group --- Your Request here And the Thread Groups options should be set to Number of threads(users) = Number of requests to send out (lets call it

Re: simultaneous http requests

2008-08-29 Thread Andrey Beznogov
and one from thread group. Maybe what I'm trying to do is simple not possible. -Original Message- From: Andrey Beznogov [mailto:[EMAIL PROTECTED] Sent: 29 August 2008 13:19 To: JMeter Users List Subject: Re: simultaneous http requests Hi, if you want to make a test plan which should

Re: Regarding CSV data Config file

2008-08-27 Thread Andrey Beznogov
Hi, it was discussed a few times already - you should definitely search through the mail archives first before posting the questions. Anyway, here is a link to the last thread on this topic

Re: Response code: 302

2008-08-22 Thread Andrey Beznogov
, Jose -Original Message- From: Andrey Beznogov [mailto:[EMAIL PROTECTED] Sent: Jueves, 21 de Agosto de 2008 10:36 a.m. To: JMeter Users List Subject: Re: Response code: 302 Hi, add a View Results Tree Listener to your Test Plan. Set its options to record everything (just

Re: regarding view state

2008-08-22 Thread Andrey Beznogov
Hi, your question does not make much sense. What kind of application are you talking about? Is it a web application? Never mind on how it works server side, how does it look from client side? It probably uses some session cookies, right? Did you include the HTTP Cookie Manager in your test plan?

Re: Session ID changes for a POST request

2008-08-22 Thread Andrey Beznogov
Hi, please check the HTTP Request Sampler which generates the POST request . If its Path is set to /gate.do;jsessionid=927141B2B85E34E8F586B1FEC7CED71C?action=index, then thats where the problem is. I am not sure if it will work, but try changing it to /gate.do?action=index. Regards, Andrey

Re: Response code: 302

2008-08-21 Thread Andrey Beznogov
Hi, add a View Results Tree Listener to your Test Plan. Set its options to record everything (just check all of them). All the request made during the run will be recorded there. Set the Number of Threads and Loop Count for your Thread Group to 1, so that you will have the minimal number of

Re: Regarding Jmeter thread group

2008-08-14 Thread Andrey Beznogov
Hi, I might be mistaken, but I think that the JMeter thread groups are independent. Meaning that you cannot make one group start when the other one has ended. You should probably use only one thread group here: Thread Group - 100 iterations -- HTTP Cookie Manager (to hold your session cookies)

Re: Again about 90% line calculations

2008-08-07 Thread Andrey Beznogov
Hi, I looked into the code, and it seems that that graphs class is org.apache.jmeter.visualizers.DistributionGraph. It seems that in the end the 90% value is calculated by calling the getPercentPoint(0.90) method of an instance of org.apache.jorphan.math.StatCalculator class: /** * This class

Re: Automatic Form Filler

2008-08-07 Thread Andrey Beznogov
Hi, do you mean that the form is dynamic (depends on the user session), and the next POST can have a different number of parameters for different threads depending on the response which contains that form? Why do you need to use those dummies? If the form is the same for all users, you should

Re: Automatic Form Filler

2008-08-07 Thread Andrey Beznogov
plan fill it out, and submit it. Do you better understand what I mean now? -Original Message- From: Andrey Beznogov [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 3:34 AM To: JMeter Users List Subject: Re: Automatic Form Filler Hi, do you mean that the form is dynamic

Re: Completion time for each thread?

2008-08-05 Thread Andrey Beznogov
Hi, well I am not sure about your settings, but by default this kind of information is logged in bin/jmeter.log file. For example here are a few lines from mine .. 2008/08/05 12:56:45 INFO - jmeter.threads.JMeterThread: Thread Thread Group 1-1 started 2008/08/05 12:56:47 INFO -

Re: Counter in multiple ThreadGroup iterations

2008-08-05 Thread Andrey Beznogov
Hi, this is working as intended - Counter will live on with the thread(s), and is only set to its starting value once - when it is first referenced. It will keep its value from loop to loop. What are you using it for? Regards, Andrey On Tue, Aug 5, 2008 at 1:28 PM, mburns [EMAIL PROTECTED]

Re: Counter in multiple ThreadGroup iterations

2008-08-05 Thread Andrey Beznogov
solution. My next try will be to write url-variables within the BSF Postprocessor, and pass those to a For-Each Controller. Or is there a better way? Regards, Max Am 05.08.2008 um 12:00 schrieb Andrey Beznogov: Hi, this is working as intended - Counter will live on with the thread(s

Re: looping through CSV data file

2008-08-03 Thread Andrey Beznogov
Hi, you should probably use Once Only Contoller in this case. http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Once_Only_Controller Try putting your CVS Data Set Config inside and see if it will only read and set the varibales onece per thread. If it does not work, you will

Re: Infinite While Controller

2008-08-01 Thread Andrey Beznogov
Hi, quoting http://jakarta.apache.org/jmeter/usermanual/functions.html#what_can_do Note that variables cannot currently be nested; i.e ${Var${N}} does not work. The __V (variable) function (versions after 2.2) can be used to do this: ${__V(Var${N})}. In earlier JMeter versions one can use

Re: Remote servers and ramp up

2008-08-01 Thread Andrey Beznogov
Hi, trying to synchronize the request generation by different servers is probably too hard to implement. It is easier - and probably more realistic if we think about user generated requests - to just insert a (Once Only Controller - Uniform Random Timer) as the first element of your tests

Re: Question about ResponseAssertion

2008-07-29 Thread Andrey Beznogov
Hi, it seems that you need more control over your assertion logic. Imo you should better try BeanShell Assertion http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShell_Assertion where you can assert the response any way you want by writing some Java script to process

Re: requests per second limited to ~10

2008-07-29 Thread Andrey Beznogov
Hi, according to your chart, the average response time is about 6 seconds. Which mean that - if we assume that there is no wait time between the requests - every thread which is alive is generating 1 request per 6 seconds. And your 60 threads that are alive at the same time are generating 60*(1

Re: Question about CSV DataSet Config file which is staying always on the same line

2008-07-24 Thread Andrey Beznogov
Hi, http://jakarta.apache.org/jmeter/usermanual/component_reference.html#CSV_Data_Set_Config This element will only read one line from the file for each Thread/Loop iteration, and will set the variables which will not change during that iteration. You should use something else if you want to

Re: Window Authentication Pop Up

2008-07-24 Thread Andrey Beznogov
Hi, you should probably use HTTP Authentication Manager http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Authorization_Manager Regards, Andrey On Thu, Jul 24, 2008 at 1:39 PM, Amit Rajoriya [EMAIL PROTECTED] wrote: HI All!! I have just started exploring Jmeter. I

Re: Correctly using sql query call

2008-07-17 Thread Andrey Beznogov
Hi, this is how it works. JMeter has a map (i.e. a list of key/value pairs) of variables, a separate one for every thread/loop. When you run the RegExp Extractor, you are basically adding more key/value pairs to that map. If, for example, you set the RegExp Extractor options like Reference

Re: 3600 Threads with a rampup of 3600 seconds?

2008-07-10 Thread Andrey Beznogov
Hello, there are some very nice (and short too ;)) publications on that topic. You could start by reading Part 4: Modeling Groups of Users of the User Experience, not Metrics Series. PDF file of that article http://www.perftestplus.com/resources/UENM4.pdf Home page of the series (scroll down,

Re: Branching in tests

2008-07-08 Thread Andrey Beznogov
my BeanShell Sampler then? Should I add it to the Switch Controller as a child? How do I show JMeter that the returned value should be passed to the Switch? Regards, Andrey On Mon, Jul 7, 2008 at 8:15 PM, sebb [EMAIL PROTECTED] wrote: On 07/07/2008, Andrey Beznogov [EMAIL PROTECTED] wrote: Hi

Re: external java script function

2008-07-08 Thread Andrey Beznogov
Hi, I never tried it myself, but as I understand you can use the BSF Sampler element, which can process the JavaScript you put into it. http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BSF_Sampler I hope that helps. Andrey On Mon, Jul 7, 2008 at 7:30 PM, cham [EMAIL

Re: Starting threads per second, rather than a fixed number

2008-07-08 Thread Andrey Beznogov
Hi, Mmm I am not sure I understand what you mean, but the Constant Throughput Timer might be the element you would like to use in that case. It will pause the samples in threads so that only about X requests per minute are sent.

Re: Starting threads per second, rather than a fixed number

2008-07-08 Thread Andrey Beznogov
a thread every 10 seconds. JMeter basic behavior is to set the number of threads. There is no direct way to know how many threads will required. Any ideas welcome! JM -Original Message- From: Andrey Beznogov [mailto:[EMAIL PROTECTED] Sent: 08 July 2008 11:21 To: JMeter Users

Branching in tests

2008-07-07 Thread Andrey Beznogov
Hello. I was trying to prepare some tests using JMeter, and its seems that existing logic controllers are just not enough. In my test plan, I wanted to have some branching - i.e. I wanted to group together some test branches (Simple Controllers with some HTTP Requests inside) under some

Re: Capturing transaction ID?

2008-07-07 Thread Andrey Beznogov
Hi, what about Listener View Results Tree element? It will capture all the requests, and you could check the requests parameters (to see if your RegExp found what you need, if not you will see Abel rules! somewhere in request) and response html etc. Just add one Listener View Results Tree to

Re: Branching in tests

2008-07-07 Thread Andrey Beznogov
. Regards, Andrey On Mon, Jul 7, 2008 at 4:35 PM, Ronan Klyne [EMAIL PROTECTED] wrote: Andrey Beznogov wrote: Hello. I was trying to prepare some tests using JMeter, and its seems that existing logic controllers are just not enough. In my test plan, I wanted to have some branching - i.e. I