Re: Proxy Recording

2011-02-01 Thread Deepak Shetty
; Kaput > Kapil > -- > Sent using BlackBerry > > - Original Message - > From: Deepak Shetty [mailto:shet...@gmail.com] > Sent: Tuesday, February 01, 2011 07:19 PM > To: JMeter Users List > Subject: Re: Proxy Recording > > Hi > The answer was provided to you by

Re: Proxy Recording

2011-02-01 Thread Deepak Shetty
Hi The answer was provided to you by sebb - Jmeter cant record these protocols. you need to get the client jars and write java / beanshell test cases. regards deepak On Tue, Feb 1, 2011 at 5:27 AM, Jain, Kapil wrote: > Guys, I am still waiting for some suggestion from jmeter user list forum. > >

Re: what do my test results show?

2011-01-30 Thread Deepak Shetty
>at what point the website is starting to slow down and reaches breaking point This question is probably the subject of a reasonably large book so you might be better of looking it up there. The first thing you need to do is define what you mean by slow down and reaching breaking point a. Any error

Re: How to pass response assertion result to other controller

2011-01-29 Thread Deepak Shetty
Hi After the sampler with the assertion executes use http://jakarta.apache.org/jmeter/usermanual/component_reference.html ${JMeterThread.last_sample_ok} to check the value (you have to use this immediately (so if you need it later use it to set a variable or something immediately). Note that this c

Re: Consolidated test plan report by varying user load

2011-01-29 Thread Deepak Shetty
hi Im not sure I get what you are asking for. usually a thread simulates a user. By configuring the stepping thread group to say startup 50 threads every 30 minutes upto say 200 users then you get a single plan with every thirty minute interval representing an additional 50 users. so interval 0-30

Re: Running multiple jmeter slaves on one machine

2011-01-29 Thread Deepak Shetty
Hi not used it myself , but I believe this is possible http://jakarta.apache.org/jmeter/usermanual/remote-test.html Using a different port. On Sat, Jan 29, 2011 at 1:30 PM, Rob Schroder wrote: > Hi, > > I have a box with a ton of RAM. I'd like to run multiple jmeter slaves on > that box. Since

Re: Regular expression

2011-01-28 Thread Deepak Shetty
ect RE? > > -Original Message----- > From: Deepak Shetty [mailto:shet...@gmail.com] > Sent: 28 January 2011 17:37 > To: JMeter Users List > Subject: Re: Regular expression > > Template = $1$ > MatchNo=3 (0 if you want to select a value at random) - If you dont want > the &

Re: Regular expression

2011-01-28 Thread Deepak Shetty
wrote: > I am getting following entry in my html page which is changing dynamically. > > 2012 > 2013 > 2014 > > Here I want to capture middle value 2013 which is highlighted in red. I > have created RE but not capturing 2013. Can you please help me on creating > regular expression for this pleas

Re: Proxy Recording Problem

2011-01-28 Thread Deepak Shetty
Felix is right , you have to make the java app use your proxy http://info4tech.wordpress.com/2007/05/04/java-http-proxy-settings/ I dont get what you mean when you say your webapp launches a java application - is it an applet? or Java webstart? For an applet you have to goto control panel -- java

Re: HTTP Authorization does not work.

2011-01-28 Thread Deepak Shetty
It should have worked. Using View results tree see if the Authorization header is getting added. If so compare it with what SOAP UI sends (you might need to set up a tcp tunnel to intercept the results) regards deepak On Fri, Jan 28, 2011 at 5:11 AM, hrishikesh wrote: > > Shall i use some older

Re: Consolidated test plan report by varying user load

2011-01-27 Thread Deepak Shetty
Check stepping thread group / utlimate thread group on the same link On Thu, Jan 27, 2011 at 10:04 PM, rkedari wrote: > > thanks deepak, > > i am able to get "Response Times vs Threads" graph with the plugin. it is > really good. > but if you can help me out more... > I want to execute a test pl

Re: actual usage of Bean shell scripting in jmeter with example

2011-01-27 Thread Deepak Shetty
When any of the out of box stuff doesnt do what you want , this is an easy way to extend JMeter by writing some java code. You need to know some Java and you need to lookup the JMeter javadocs to figure out how to interact with Jmeter classes. search the mail archives. for practical examples. http:

Re: Consolidated test plan report by varying user load

2011-01-27 Thread Deepak Shetty
Hi Not tried it myself http://code.google.com/p/jmeter-plugins/ Stepping/UltimateThread Group along with ResponseTimesVsThreads graphs might be what you are looking for regards deepak On Thu, Jan 27, 2011 at 4:31 AM, rkedari wrote: > > Hi, > > Can we get single "View Results in Table" or "summa

Re: CSV Random data selection

2011-01-24 Thread Deepak Shetty
generate the random file in advance. On Mon, Jan 24, 2011 at 2:21 PM, Ravindra Gupta wrote: > Hi > > I have gone through several blogs in this forum on the same issue. Has > anyone figured out how to do it. > Kindly let me know your thoughts how it could be done. > My csv file has 10K+ values.

Re: Regulation Expression alternative

2011-01-24 Thread Deepak Shetty
what is it that you want to select? all the columns? that are not titles would be something like //tbody/tr/td/span (but this will flatten out the structure)? regards deepak On Mon, Jan 24, 2011 at 10:08 AM, thanh nguyen wrote: > Felix, > > I'll have look at the xpath. it looks interesting. But

Re: Regulation Expression alternative

2011-01-24 Thread Deepak Shetty
a. Two regular expressions might work better in some cases (the second works on the first) - hard to say without an example. b. XPATH extractor memory used might be an issue. Give an example of what you want to do On Mon, Jan 24, 2011 at 7:27 AM, thanh nguyen wrote: > Hi everyone, > > I have a bi

Re: "On error goto" behavior

2011-01-21 Thread Deepak Shetty
Ok i tried this ThreadGroup +Loop=10 +DebugSampler (with pre processor to initialise sessionExpired = false) +IfController(Condition = '${sessionExpired}' != 'true' , Evaluate for all Children=true) ++dummy Beanshell sampler0 +++Some Assertion that always fails ++dummy Beanshell sampler1 ++dummy Be

Re: "On error goto" behavior

2011-01-21 Thread Deepak Shetty
>Ok, but isn't it the case that listeners are only executed on the JMeter controller in distributed mode and not on the agents? It works for me :), since i always use multiple instances rather than distributed mode . Perhaps you could try adding a Beanshell assertion that always executes after the

Re: "On error goto" behavior

2011-01-21 Thread Deepak Shetty
assertions run after post processors I think On Fri, Jan 21, 2011 at 12:00 AM, Felix Frank wrote: > >> If specific error that you seem to have mentioned then you could try > adding > >> a BeanShell listener(scoped to the if statement) to set the variable. > >> > >> > http://jakarta.apache.org/jm

Re: "On error goto" behavior

2011-01-20 Thread Deepak Shetty
out of curiosity why does the session expire? you wont be giving that large think times and the next request would reset the clock? On Thu, Jan 20, 2011 at 4:53 PM, Deepak Shetty wrote: > hi > for any error or just the specfic error that you are looking for? > If specific error that

Re: "On error goto" behavior

2011-01-20 Thread Deepak Shetty
hi for any error or just the specfic error that you are looking for? If specific error that you seem to have mentioned then you could try adding a BeanShell listener(scoped to the if statement) to set the variable. http://jakarta.apache.org/jmeter/api/org/apache/jmeter/samplers/SampleResult.html#g

Re: HTTP Sampler - Post Variables same name with multiple values

2011-01-17 Thread Deepak Shetty
this variable directly into the http request at Parameter Name. > What you have to do in that case is uncheck the 'equals' and 'encode' > checkboxes: in that way the value of the parameter is sent as you created > it. > > PS are you using JMeter for testing QMP by

Re: Beginner In JMeter Plug-in Writer

2011-01-13 Thread Deepak Shetty
Ingram wrote: > Can I just import my class into JMS folder in JMeter since its basically a > JMS Message Listener, must I write a GUI interface for the Class? > > On Fri, Jan 14, 2011 at 12:13 AM, Deepak Shetty wrote: > > > hi > > Id probably download something like > >

Re: HTTP Sampler - Post Variables same name with multiple values

2011-01-13 Thread Deepak Shetty
hi use a BeanShell pre processor (remove these values from the sampler); sampler.addArgument("var1","value1"); sampler.addArgument("var1","value2"); An example which uses the regex extractor and adds values http://theworkaholic.blogspot.com/2010/03/dynamic-parameters-in-jmeter.html regards deepa

Re: Beginner In JMeter Plug-in Writer

2011-01-13 Thread Deepak Shetty
hi Id probably download something like http://code.google.com/p/jmeter-plugins/ and look at their source to see how to implement the listener :) Jmeters code is also open source so you can look at those listeners too for practical examples regards deepak On Wed, Jan 12, 2011 at 10:27 PM, Lance In

Re: How to pass # of threads/users to JMeter ant script

2011-01-13 Thread Deepak Shetty
Hi <*property name="run.threads" value="50" /*> and in the thread group ${__property(run.threads,,10)} //10 is default if the property didnt exist similar to http://theworkaholic.blogspot.com/2009/06/testing-multiple-environments-with.html regards deepak On Thu, Jan 13, 2011 at 1:09 PM

Re: Regex Help

2011-01-12 Thread Deepak Shetty
probably a bigger issue than performance but it was just a guess that he might need positional matches since the HTMN looks too generic to me. > On Wed, Jan 12, 2011 at 12:15 AM, Felix Frank wrote: > On 01/12/2011 06:52 AM, Deepak Shetty wrote: > > Hi > > > > Its

Re: does jmeter make any difference when run from Different OS with same configuration ?

2011-01-11 Thread Deepak Shetty
In theory it shouldnt. In practice the way VMs on different OS's handle threads/sockets/memory may impact the runtime behavior (in addition to code bugs , but these should be rare). On Tue, Jan 11, 2011 at 10:45 PM, rajivkumarnandvani < rajivkumarnandv...@gmail.com> wrote: > > Hi All, > > I know

Re: Regex Help

2011-01-11 Thread Deepak Shetty
Hi Its not clear what the boundaries are href="/mailer_accounts/([^"]*)"> wrote: > Hello regex experts, > > Can anybody tell me how I can use a regular expression to parse out the 505 > from the following string? Note: the 505 can be any number. But, the > boundaries will always be the same.

Re: Cookie header using Header manager

2011-01-10 Thread Deepak Shetty
use a Beanshell pre processor under your http sampler Untested code import org.apache.jmeter.protocol.http.control.Cookie; Cookie c = new Cookie(name,vars.get("csvconfigvariablename"),domain,path,secure,expires); sampler.getCookieManager().add(c); regards deepak On Mon, Jan 10, 2011 at 3:27 PM, P

Re: Single Jmeter instance produces better throughput than multiple

2011-01-06 Thread Deepak Shetty
Hi >I can see from Jmeter.log file that all the threads gets activated Which doesnt mean that the server sees that many . if you could check on your server the total number of concurrent connection you saw in either case. if your average times are increasing as seen on the server then I would guess

Re: Single Jmeter instance produces better throughput than multiple

2011-01-06 Thread Deepak Shetty
it's possible your 0 rampup combined with a single sampler , no iteration might give you invalid results - Your server may not be seeing 50 concurrent connections in the first case. How much do the min/avg/max response times vary ? On Thu, Jan 6, 2011 at 6:26 PM, Ravindra Gupta wrote: > Hi All

Re: What are the limitations of J Meter

2011-01-06 Thread Deepak Shetty
yes http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf(slightly dated) On Thu, Jan 6, 2011 at 11:30 AM, chinni20 wrote: > > Hi Deepak and Felix, > > Both of you Thank You guys! > > I have one more question. > Is J Meter is recordable?What I mean to say is Can I record

Re: What are the limitations of J Meter

2011-01-05 Thread Deepak Shetty
well you usually do get that off the 1000 , 100 will do search , another 100 will perform ordering flow , the rest browse the site or something similar to that. >It's MUCH easier to try and find the maximum tolerable load measured in (e.g.) page interactions per second. Yes but you cant really do

Re: Difference between 'Throughput' and 'Average' ?

2011-01-05 Thread Deepak Shetty
You arent factoring in number of threads Lets say you have 1 thread makes 10 requests each takes 3 seconds Avg time = 3 seconds Throughput = 0.3 request per seconds. Lets say now you have 10 threads each make 10 request and each request takes 3 seconds (because the load is light , your server take

Re: What are the limitations of J Meter

2011-01-04 Thread Deepak Shetty
you should be able to do what you want with JMeter (but I'd use more than one machine to simulate 1000 users - atleast 4) You might need to do some calculations based on your app though. 1000 users logged in but how many requests in parallel to the server(factoring in your AJAX calls as well) and

Re: What are the limitations of J Meter

2011-01-04 Thread Deepak Shetty
Jmeter isnt a browser. Hence the concept of refreshing parts of a page is irrelevant when you are conducting a test in JMeter. Can Jmeter send the same http request that the AJAX call would have made - yes But do you want to test if your javascript fires the AJAX call - No Jmeter doesnt do this Do

Re: What are the limitations of J Meter

2011-01-04 Thread Deepak Shetty
hi http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/201006.mbox/%3caanlktindatmv6alleelkxrr3sb6zevwsvayvgz88o...@mail.gmail.com%3e regards deepak On Tue, Jan 4, 2011 at 2:00 PM, chinni20 wrote: > > Hi Deepak, > > Thanks for your response! > > I got the answers for Questions 1 & 3

Re: What are the limitations of J Meter

2011-01-04 Thread Deepak Shetty
search the mail archives , there are many discussions of the same topic (ajax, concurrent users). The answer to both your questions is it depends. http://wiki.apache.org/jakarta-jmeter/HowManyThreads For the third question read the manual or wiki e.g. http://jakarta.apache.org/jmeter/usermanual/j

Re: __javascript substring or replace

2011-01-03 Thread Deepak Shetty
Hi try ${__javaScript(vars.get("DataPointStr_" + ${dpIndex}).replace(" search.website.com"\,""),newVar)} usually people forget to escape commas (the one in the replace function has to be escaped otherwise the parser thinks that the first parameter has ended >also, there may be some otherapproach

Re: Multiple Jmeter Instances

2010-12-27 Thread Deepak Shetty
and two-four cpu's? I doubt you can accurately simulate 1000 threads unless you have reasonable think times in your test. Check with perfmon , it should tell you that your Jmeter client is overloaded. regards deepak On Mon, Dec 27, 2010 at 12:11 PM, alwaysbmore wrote: > > This is a: > Windows S

Re: Multiple Jmeter Instances

2010-12-27 Thread Deepak Shetty
hi as before you arent able to generate a load of 1000 threads from a single server. if you post some hardware/OS specs of the machine from which you are running JMeter (including JVM) we might be able to confirm (you might be able to get more out of your single instance by following the recommenda

Re: Multiple Jmeter Instances

2010-12-27 Thread Deepak Shetty
if the problem was that your load wasnt being properly distributed on the servers due to sticky IP's you would expect the times to be higher on the single instance than on multiple instances. 1000+ threads will probably not work accurately on a single machine unless it has good hardware and is wel

Re: pass in parameters via the URL in the path

2010-12-23 Thread Deepak Shetty
Hi then your problem is that you have placed your Post processor (regex or otherwise) incorrectly under the thread group or something causing it to not execute. Post the structure of your test with and without the Debug Sampler . http://jakarta.apache.org/jmeter/usermanual/component_reference.html#

Re: pass in parameters via the URL in the path

2010-12-23 Thread Deepak Shetty
Hi it should work. Did you put a debug sampler + view results tree listener and check the value of the ID variable? Possibly you havent extracted this out correctly. you can find messages in the mail archives that deal with this or look at http://theworkaholic.blogspot.com/2010/08/jmeter-with-sprin

Re: ***Need help in regular expression extractor***

2010-12-21 Thread Deepak Shetty
hi this doesnt have the that you have posted which your regex was attempting to match. >I have checked the response and I am getting the string what i am expecting. where did you check this? the string you are expecting doesnt show in the document you included in your email. moreover that doesnt

Re: ***Need help in regular expression extractor***

2010-12-20 Thread Deepak Shetty
; expression extractor's reference name. Please refer attached response of > the > post processor debugger. > > Thanks > Sandeep > > On Tue, Dec 21, 2010 at 12:38 PM, Deepak Shetty [via JMeter] < > ml-node+3313082-955563762-146...@n5.nabble.com > > > > &g

Re: ***Need help in regular expression extractor***

2010-12-20 Thread Deepak Shetty
Anthony's regex should work.(your option 3) Can you confirm a. Your regex post processor is a child of the sampler that is returning the form value b. Add a debug sampler immediately following the above sampler. Add a view results tree listener. Check the response of the sampler has the form exactl

Re: SSL setup issue

2010-12-20 Thread Deepak Shetty
you need to figure out what your application needs first. Is some client certificate installed only in IE? is there some sort of NTLM authentication etc. speak to a developer regards deepak On Mon, Dec 20, 2010 at 11:46 AM, Akash Pancholi wrote: > My IE user agent is Mozilla/4.0, same as in tes

Re: Monitoring Other Values During Test?

2010-12-15 Thread Deepak Shetty
an all in one > > > solution. Run the test, see the results. Not have to merge 3 > different > > > graphs and csv files, etc. > > > > > > I am using the jmeter-plugins from the google projects page to graph > > > cpu/memory/disk io over time, and I wou

Re: Monitoring Other Values During Test?

2010-12-15 Thread Deepak Shetty
Hi My 2 cents. i wouldnt do it this way. Most app servers have low impact monitoring tools that run within the app server that allow them to write JMX data to files in various combinations (especially alerting kind of JMX - notify if free connections fall to < 3 or something) so I am not really in

Re: Shared variable among threads in single group

2010-12-14 Thread Deepak Shetty
Any > suggestions? > > Thanks, > Josh > > On Thu, Dec 9, 2010 at 7:31 PM, Deepak Shetty wrote: > > > hi > > a. so within a thread , a timestamp will always increment so that isnt a > > problem. however the question is , is the following scenario valid? > > &

Re: Monitoring Other Values During Test?

2010-12-10 Thread Deepak Shetty
see the source code for http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Monitor_Results . On Fri, Dec 10, 2010 at 12:04 PM, Josh Abts wrote: > Is it possible to monitor other values somehow during a JMeter test? > > For example I may want to graph load average over time i

Re: Shared variable among threads in single group

2010-12-09 Thread Deepak Shetty
dentifier that would be unique for each run > through the CSV list or would that be as simple as an actual counter? > > I will have to look over that code when I am back at my dev pc. > > Thanks again for your input! > > On Thu, Dec 9, 2010 at 7:31 PM, Deepak Shetty wrote: > &

Re: Shared variable among threads in single group

2010-12-09 Thread Deepak Shetty
t; This would be acceptable. It would also be nice if the time was > configurable (could specify a starting time and the amount by which each > successive entry should increment, but that wouldn't be necessary. > > Thanks again Deepak! > > On Thu, Dec 9, 2010 at 6:53 PM, Deepak Shet

Re: Shared variable among threads in single group

2010-12-09 Thread Deepak Shetty
rsistence > that is the issue. > > Any ideas, samples/pointers? > > Thanks for the help! > Josh > > On Thu, Dec 9, 2010 at 4:59 PM, Deepak Shetty wrote: > > > Hi > > variables arent shared across threads (even in the same thread group) > > Properties

Re: Shared variable among threads in single group

2010-12-09 Thread Deepak Shetty
Hi variables arent shared across threads (even in the same thread group) Properties are shared , but when you use multiple threads then you need some way to synchronize access so that only one thread increments the counter at any one time. You could do this with Beanshell , but possibly it will be

Re: https request problem

2010-12-06 Thread Deepak Shetty
hi if your application needs authentication , what type of authentication (form , basic, digest?). How are session ids maintained , if cookies do you have a cookie manager? . Finally in your HTTPS sampler have you specified protocol as "https" and port as the https port number (443 if you dont see

Re: REGEX grouping issue

2010-12-06 Thread Deepak Shetty
_centro) > I've put in on a user variable, no hope > 2) The same value of the case 1); I 've put it on a second regex extractor: > Reference name: recupera_centro2 > Regex: ${__regexFunction( value=\"([0-9]{1,2})\">([ABCDEFGHILMNOPRSTUVZ12\. > \'\/]{6,15}),

Re: problem while executing a thread group in loops

2010-12-06 Thread Deepak Shetty
taking the request JDBC > request 2 and http request 2 with the values listed in csv file > from 2nd loop > > rgds > > Sudheer > > On Mon, Dec 6, 2010 at 3:08 PM, Deepak Shetty wrote: > > > Put a debug sampler and check if your values are being read

Re: problem while executing a thread group in loops

2010-12-06 Thread Deepak Shetty
Put a debug sampler and check if your values are being read correctly from the CSV - probably thats why your while controller doesnt execute. Check Jmeter.log for errors regards deepak On Mon, Dec 6, 2010 at 12:51 AM, sudheer reddy wrote: > Hi All > > > > I am facing a problem while execu

Re: Listeners with the Module Controller

2010-12-02 Thread Deepak Shetty
hi you might raise it as a bug (I think this behavior might be designed). The alternative is to use (I guess this should work , but i didnt try) Simple Controller +ModuleController +Listener which gives the same flexibility. regards deepak On Thu, Dec 2, 2010 at 8:03 AM, black gaff wrote: > >

Re: Jmeter Non GUI mode

2010-12-02 Thread Deepak Shetty
what sebb said. However out of curiosity - is each sample taking longer than the corresponding one in GUI mode ? or the samples take the same time but the test doesnt terminate ? On Thu, Dec 2, 2010 at 12:36 AM, rkannan wrote: > > Yes I'm running the tests in same machine. > > Results are same.

Re: how to capture chinesse character

2010-12-02 Thread Deepak Shetty
Its possible you arent able to display the characters (due to a lack of a font capable of showing unicode characters or something). Did you try writing to file(using a suitable encoding) and inspecting the binary to see what characters were written? On Thu, Dec 2, 2010 at 3:42 AM, Sangeetha M wr

Re: Jmeter Non GUI mode

2010-12-02 Thread Deepak Shetty
Im assuming it takes a lot lesser in GUI mode on the same machine? Is the result the same (in terms of number of samples and success/failures and you also have proper assertions that verify success) between Gui and non GUI? On Wed, Dec 1, 2010 at 11:19 PM, rkannan wrote: > > Hi all, > > When i

Re: Listeners with the Module Controller

2010-12-01 Thread Deepak Shetty
Hi Interesting - since the module controller will be replaced I dont know whats the 'right' behavior - i can see why the listener might not work . What happens if the Listener is in the 'module' being included ? regards deepak On Tue, Nov 30, 2010 at 12:52 PM, black gaff wrote: > > Greetings, >

Re: REGEX grouping issue

2010-12-01 Thread Deepak Shetty
Also I havent tested the regex's please verify them . regards deepak On Wed, Dec 1, 2010 at 8:32 PM, Deepak Shetty wrote: > Any reason why you dont like the XPATH extractor? (My experience is that > XPATH expressions are much easier to write and understand and fit most of > the c

Re: REGEX grouping issue

2010-12-01 Thread Deepak Shetty
at 11:09 AM, Michele Mase' wrote: > Nice idea the plan b! > How could I extract the value using a second regex? > Could you post an useful example? > > Regards > Michele > > On Tue, Nov 30, 2010 at 4:49 PM, Deepak Shetty wrote: > > a)should be easier to jus

Re: Cannot get Summary Report or View Results Tree without Debug Sampler

2010-11-30 Thread Deepak Shetty
Your test is very non standard looking (for e.g. I have never seen a pre processor outside a test plan I suppose it means it gets executed for everything under the test plan i.e. multiple times , probably not what you want) - you usually put this as a child of the sampler (the one before which u wa

Re: Running set ratio of requests

2010-11-30 Thread Deepak Shetty
Hi to answer the first part - it might be better to do this more declaratively. You would need to combine the Constant Throughput Timer and the Constant Throughput Controller http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Throughput_Controller Then you want 11 requests per sec

Re: REGEX grouping issue

2010-11-30 Thread Deepak Shetty
a)should be easier to just use an XPATH extractor //sele...@name="VB_idCprel"]/option/@value You would however need to generate a random number to select a value from this b. You can also use a regex to extract out the select you are interested in and another regex to extract out the option values

Re: configuring JVM_ARGS on linux

2010-11-26 Thread Deepak Shetty
, Deepak Shetty wrote: > Thats funny - the parameters you see should impact garbage collection (on > Sun JVM) . > What JVM are you running (inclusive of version) - XX parameters may not be > supported on all versions / OS/ and are subject to change (and valid only > for SUN) - chec

Re: configuring JVM_ARGS on linux

2010-11-26 Thread Deepak Shetty
Thats funny - the parameters you see should impact garbage collection (on Sun JVM) . What JVM are you running (inclusive of version) - XX parameters may not be supported on all versions / OS/ and are subject to change (and valid only for SUN) - check the documents However they should have no impac

Re: JVM tuning

2010-11-25 Thread Deepak Shetty
, vineeta vashistha < vineeta.vashis...@appulse.com> wrote: > No I am looking for JVM tuning parameters for application server (Jboss) > > On Fri, Nov 26, 2010 at 11:51 AM, Deepak Shetty wrote: > > > Hi > > > > im assuming you mean your jmeter client is sufferin

Re: JVM tuning

2010-11-25 Thread Deepak Shetty
Hi im assuming you mean your jmeter client is suffering? Whats your heap size? How many threads are you running on JMeter? Reduce memory consumption by http://jakarta.apache.org/jmeter/usermanual/best-practices.html#lean_mean regards deepak On Thu, Nov 25, 2010 at 10:18 PM, vineeta vashistha <

Re: regular expression extractor and HTML table

2010-11-25 Thread Deepak Shetty
Hi http://jakarta.apache.org/jmeter/usermanual/regular_expressions.html well if your regular expression is something like ([^<]*) Then $1$ represents the template (i.e. each () expression is assigned a number and you use $number$ to represent what you want returned) The matchNo represents which va

Re: difference between time and latency time?

2010-11-23 Thread Deepak Shetty
Hi >so that i get quite the processing time when running the services plus jmeter on localhost. you'd almost never do this. Your CPU and memory is limited so running a load test from the same machine on which the application is hosted will usually give you extremely poor results. You can't eliminat

Re: Need helping creating a md5 hash

2010-11-20 Thread Deepak Shetty
Hi you can use the Beanshell as Pre Processor of the next sampler(so it will execute before you need it) or you can attach it as a listener to the sampler on which your regex post processor is extracting out the value (so it will execute after the post processor)- You can also attach it as a post p

Re: Need helping creating a md5 hash

2010-11-20 Thread Deepak Shetty
hi if you extracted from a regex , it would be a String. you can also use the log object to print out values into jmeter.log - or a debug sampler (but if you say you can see the value correctly in next sampler then it should be ok) regards deepak On Sat, Nov 20, 2010 at 10:36 PM, 5942marine wrot

Re: Need helping creating a md5 hash

2010-11-20 Thread Deepak Shetty
hi there seems to be an error . Can you print out the value of time? or is there more to the error in the log? Run jmeter with jmeter.bat instead of jmeterw and use print("*" + text + "*"); right after you get it Im assuming you are running on java 1.5(which is what I tested on)? regards deepak

Re: Need helping creating a md5 hash

2010-11-20 Thread Deepak Shetty
>vars.put("stimehash",md5hash); vars.put expects a string as the value , not a byte[] . You have to use vars.putObject("stimehash",md5hash); However if you intend using this in any following HTTPSampler then you need to figure out what the String representation is (some people convert the byte[] a

Re: Need helping creating a md5 hash

2010-11-20 Thread Deepak Shetty
The code below is meant to be put in a beanshell (pre/post/listener/sampler) On Sat, Nov 20, 2010 at 4:23 AM, Deepak Shetty wrote: > Hi > import java.security.MessageDigest; > > String text = vars.get("text"); //assuming this is where your > variable is >

Re: Need helping creating a md5 hash

2010-11-20 Thread Deepak Shetty
Hi import java.security.MessageDigest; String text = vars.get("text"); //assuming this is where your variable is MessageDigest md = MessageDigest.getInstance("MD5"); byte[] md5hash = new byte[32]; md.update(text.getBytes("utf-8"), 0, text.length()); md5hash

Re: Loop Count vs Number of Threads

2010-11-19 Thread Deepak Shetty
> The first scenario has a loop count of 10, wouldn't that also load 100 No . The number of threads in the threadgroup is the maximum number of connections the server will see at any point. The loop simply iterates but at any given time not more than 10 requests will be made in parallel. >there a

Re: Multipule Global CSV Data Sets

2010-11-16 Thread Deepak Shetty
Look at sharing mode in CSV Dataset config which describes how each thread would get data from the file. However when you have mutliple CSV files then it depends on whether rows are interrelated , independent and/or mutually exclusive and I cant make out from your example -- it looks like they shou

Re: JMeter - Retrieve All Embedded Resource From HTML files

2010-11-16 Thread Deepak Shetty
ow do we generate the load ? Is our method of > generating the load mentioned above is correct? > > regards, > Amit > > > > > > > > > From: Deepak Shetty > To: JMeter Users List > Sent: Tue, November 16, 2010 2:49:29 PM >

Re: JMeter - Retrieve All Embedded Resource From HTML files

2010-11-16 Thread Deepak Shetty
>shall we consider 55 requests sent to the server ( 5 Threads * >11(Number of subrequests)) and use this number to calculate the throughput and >Avg. res time? Usually no. The request normally refers to the number of pages a user sees. However since the Request Embedded downloads resources seria

Re: Parallel Requests / Nested ThreadGroups

2010-11-15 Thread Deepak Shetty
or modify Jmeter source code so that download embedded resources allows you to specify the number of threads to use in parallel regards deepak On Mon, Nov 15, 2010 at 4:05 PM, Deepak Shetty wrote: > This has been discussed in various forms. > > Short answer - This cant be done out o

Re: Parallel Requests / Nested ThreadGroups

2010-11-15 Thread Deepak Shetty
This has been discussed in various forms. Short answer - This cant be done out of the box in JMeter. Side question - Does your application actually need this ? If the two parallel requests the browser makes are fairly independent (i.e. they dont really lock the same resources or query the same ro

Re: How to capture Postdata parameters....

2010-11-12 Thread Deepak Shetty
look through the HTML code and see how the url is constructed , the id must be part of the HTML or javascript or a cookie. On Fri, Nov 12, 2010 at 5:24 AM, Sivaprasad Chintam wrote: > Hi, > > I have a sampler which is sending a request : > > > > WindowID=657856&X-requsted-with=xmlhttprequest&htt

Re: Parallel Requests / Nested ThreadGroups

2010-11-12 Thread Deepak Shetty
on the test plan element check Run thread groups consecutively regards deepak On Fri, Nov 12, 2010 at 3:09 AM, Ivan Rodriguez < ivan.rodrig...@cybercomgroup.com> wrote: > Hello! > > I'm wondering how do I make several Threadgroups run sequentially. > So that only one is running at any given mom

Re: Populating a csv and reading a random column from it

2010-11-11 Thread Deepak Shetty
hi great. However just fyi, the constant throughput timer(not controller) is what is usually used when you need some constant throughput - however you must have enough capacity on the client to generate this throughput(or more) and your server should be able to maintain it. regards deepak On Thu,

Re: Different string for each Loop

2010-11-10 Thread Deepak Shetty
vs > MyMethod) except for timestamps and thread ids. > > On Wed, Nov 10, 2010 at 6:20 PM, Deepak Shetty wrote: > > did you check jmeter.log for errors? > > > > > > On Wed, Nov 10, 2010 at 9:05 AM, Andrei Ghimus wrote: > > > >> I've just te

Re: Different string for each Loop

2010-11-10 Thread Deepak Shetty
alling a custom method (written by me). I'm referencing the SFF > identically as in the above example and the behavior changes: it only > reads the first line. > > On Wed, Nov 10, 2010 at 5:46 PM, Deepak Shetty wrote: > > Tested string from file too , works f

Re: Different string for each Loop

2010-11-10 Thread Deepak Shetty
Tested string from file too , works fine ThreadGroup +Loop Controller ++Sampler (Name = ${_StringFromFile(c:/test.csv)} ) View Results Tree perhaps you should explain your test structure or upload a stripped down version of your test script that is failing and give us a link regards deepak On We

Re: Different string for each Loop

2010-11-10 Thread Deepak Shetty
xt line on each new Loop iteration. > > > On Wed, Nov 10, 2010 at 4:44 PM, Deepak Shetty wrote: > > ThreadGroup > > +LoopController(n times) > > ++Sampler > > ++CSV Data Set Config > > > > works just fine . If it isnt you probably didnt configure the C

Re: Different string for each Loop

2010-11-10 Thread Deepak Shetty
ThreadGroup +LoopController(n times) ++Sampler ++CSV Data Set Config works just fine . If it isnt you probably didnt configure the CSV Data Set Config correctly - did you check jmeter.log? If you specified a relative path, its relative to the location of the script. regards deepak On Wed, Nov 10

Re: timestamps out of sync with system clock

2010-11-09 Thread Deepak Shetty
hi JMeter does use the system clock afaik. What makes you think it doesnt or that it is getting out of sync? regards deepak On Tue, Nov 9, 2010 at 4:43 AM, Andrej van der Zee < andrejvander...@gmail.com> wrote: > Hi, > > We experienced that JMeter's timestamps get out-of-sync with the > system cl

Re: BeanShell Listener results

2010-11-09 Thread Deepak Shetty
wrote: > >>>>> > >>>>> Hi, > >>>>> I'm sorry - I just don't get it in the link you provided. I'd like to > >>>>> configure an output file\log file only for the BeanShell Listener. > >>>>>Looks > >>

Re: declare sample_variables in the testplan

2010-11-09 Thread Deepak Shetty
s found in the Jmeter website, > is there any Jmeter example elsewhere? > > thank you > > Thanh > > On Mon, Nov 8, 2010 at 10:57 PM, Deepak Shetty wrote: > > > what are you trying to do? > > I usually change this from ANT while invoking the test > >

<    1   2   3   4   5   6   7   8   9   10   >