Re: How to configure IE8 for Http Proxy Server

2010-01-26 Thread Deepak Shetty
http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf Is there any specific reason you are mentioning IE8? (Jmeter is not and does not drive a browser when you are running tests) On Tue, Jan 26, 2010 at 4:48 AM, Magukutti magesh.thanga...@gmail.comwrote: Hi, I'm new to

Re: Create test plan programmatically

2010-01-26 Thread Deepak Shetty
Why not use XSLT?. Also for the example you specify its easier to generate a CSV file and use that to drive the test. regards deepak On Tue, Jan 26, 2010 at 2:17 AM, Peter Goras peter.go...@yahoo.de wrote: Hi jmeter users! My goal is to write a java programm that automatically generates a

Re: Jmeter launching prob, urgent help needed

2010-01-27 Thread Deepak Shetty
It looks like your QTP installation has put a value JVM_ARGS in your environment variables in windows. These options are only valid for java 1.4 (and you seem to be running jmeter with atleast java 1.5), and shouldnt really be there for JMeter. Options a. Remove the JVM_ARGS variable from the

Re: JMeter running on localhost, not recording via a proxy server

2010-01-27 Thread Deepak Shetty
bypass and select No proxy for localhost?? dw Deepak Shetty wrote: check your proxy settings in your browser You might have something that says No proxy for localhost,127.0.0.1 or Bypass Proxy for localhost,127.0.0.1 regards deepak On Wed, Jan 27, 2010 at 10:45 AM, davidw

Re: Jmeter launching prob, urgent help needed

2010-01-27 Thread Deepak Shetty
provide your valuable comments Regards GP Deepak Shetty wrote: It looks like your QTP installation has put a value JVM_ARGS in your environment variables in windows. These options are only valid for java 1.4 (and you seem to be running jmeter with atleast java 1.5), and shouldnt

Re: std deviation

2010-01-27 Thread Deepak Shetty
You havent specified what the other parameters are for your response times? Are these all for 1 sample? Have you varied the number of threads or what ... On Wed, Jan 27, 2010 at 9:30 PM, maalamaal vemu...@hotmail.com wrote: so i can say that response time will go maximum to 2692+1068(3760)

Re: Jmeter launching prob, urgent help needed

2010-01-27 Thread Deepak Shetty
=(empty) in .bat file Can you please elaborate which line,where in and what exact to enter in .bat file ( exact wording ) uploaded the .bat file as .text, please do the necessary edits http://old.nabble.com/file/p27351900/jmeter.text jmeter.text Regards -- GP Deepak Shetty wrote: hi

Re: Jmeter launching prob, urgent help needed

2010-01-28 Thread Deepak Shetty
1.5.0_12) my view reads no info from the variable that are echoed. Jmeter's cmd prompt still gives message as in Bold letters Regards GP Deepak Shetty wrote: Just to confirm , you are launching jmeter by itself ...(not through QTP) On Wed, Jan 27, 2010 at 11:21 PM, Deepak Shetty shet

Re: Custom Java sampler not visible

2010-01-28 Thread Deepak Shetty
One problem a user had faced was he had compiled his java class using a different version of the JDK(1.6) than the version of java he was using to run JMeter (1.5). You could check that as well.. regards deepak On Thu, Jan 28, 2010 at 10:58 AM, sebb seb...@gmail.com wrote: On 28/01/2010,

Re: Jmeter launching prob, urgent help needed

2010-01-28 Thread Deepak Shetty
mailing list 44 minutes ago Regards GP Deepak Shetty wrote: One Last try edit JMeter.bat to add SET _JAVA_OPTIONS= just before the jmeter line. regards deepak On Thu, Jan 28, 2010 at 1:17 AM, gpub affablepr...@gmail.com wrote: hi Deepak, yes launching Jmeter from

Re: Jmeter launching prob, urgent help needed

2010-01-29 Thread Deepak Shetty
on with latest edited jmeter.bat file ? And what about that thing create new .BAT file which Sebb told me to do so and i have already posted my comment on that too waiting for that feedback too Regards GP Deepak Shetty wrote: hi which is fine, jmeter works without errors right

Re: Problem while replaying the script

2010-01-29 Thread Deepak Shetty
You have some problem in your test (assuming it works from the browser) *Caused by: java.net.ProtocolException: Server redirected too many times* Look at http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour and search a lot of messages in the mail archive for how to debug when your test

Re: RESTful testing, transfer results

2010-01-29 Thread Deepak Shetty
* Can I transfer the result header of a http request to the next step? (Parts of the Location: header) Yes. RegEx extractor with headers option *...and uses the username for http basic auth? I dont think this works directly. Might be able to workaround it though. 1. try passing

Re: Multiple load servers

2010-01-29 Thread Deepak Shetty
The points below are in decreasing order of preference in my opinion. On Fri, Jan 29, 2010 at 2:11 PM, Deepak Shetty shet...@gmail.com wrote: a. Run A as load and B as load (just schedule them to run together) and combine results b. Use the Macbook and let A and B generate load c. Let

Re: Protocol https with cetificate exception

2010-02-01 Thread Deepak Shetty
I believe this has already been asked once on the archives and you can use google to know the cause of this problem as well. e.g. http://www.java-samples.com/showtutorial.php?tutorialid=210 since you are probably using a self signed certificate or a certificate signed by your own CA regards

Re: Protocol https with cetificate exception

2010-02-01 Thread Deepak Shetty
I didnt notice it was a warn, what error are you getting? regards deepak On Mon, Feb 1, 2010 at 8:58 AM, Deepak Shetty shet...@gmail.com wrote: I believe this has already been asked once on the archives and you can use google to know the cause of this problem as well. e.g. http://www.java

Re: How to use XPath Assertion on a substring of the sampler response?

2010-02-01 Thread Deepak Shetty
BeanShell code would work. you could either write your assertions any way you want or you might try a. Use XPath Extractor to extract the string to a JMeter variable b. Write a BeanShell sampler which returns this variable as the response, c. Use the XPATH assertion as normal. for the above

Re: Problem while replaying the script

2010-02-02 Thread Deepak Shetty
to execute it. iam getting the following error in the jmeter log file jmeter.protocol.http.sampler.HTTPSampler: Error Response Code: 404 Can you please help in resolving the above issue. Regards, Suresh On Fri, Jan 29, 2010 at 11:21 PM, Deepak Shetty shet...@gmail.com wrote

Re: Grouping recorded requests

2010-02-02 Thread Deepak Shetty
Note that if I set Retrieve all embedded resources the image and .js requests aren't recorded. Which is ok, JMeter will fetch all embedded resources if this is checked on the recorded http samples The client needs to see how long it takes to get the entire contents of a given page. i.e. so I see

Re: reg beanshell preprocessor

2010-02-03 Thread Deepak Shetty
http://www.beanshell.org/ + Java documentation On Wed, Feb 3, 2010 at 2:21 AM, sudheer reddy gsudheer...@gmail.com wrote: Thankyou Haikal for your support and it is working can you tell where i can find more information about this beanshell scripting Thanks Regards On Wed, Feb 3, 2010

Re: Can JMeter handle 2K users of 30 mins web sessions?

2010-02-04 Thread Deepak Shetty
whether JMeter can scale to this type of load. yes. But your client machine may not be able to :). Your original work load works out to roughly 3 requests per minute per user or 6000 requests per minute. If each request takes say 5 seconds to complete that works out to about 500 requests being

Re: Is there a way to show 'StartTime' of each thread from 'view results in table' listener

2010-02-05 Thread Deepak Shetty
what is your question exactly? Do you want to know how to select the start time or how to format it for display (XSLT 2.0 or use a Java extension for whichever xslt engine you are using or see if exslt.org has a way to do this)? On Thu, Feb 4, 2010 at 2:32 PM, Maya Hague mhague94...@yahoo.com

Re: extract hidden form values and add them to a post request dynamically?

2010-02-05 Thread Deepak Shetty
hi you need to add a beanshell preprocessor which loops through the returned values and use sampler.addArgument(); httprequest1 +RegexExtract httprequest1 +BeanShell Pre Proc regards deepak On Fri, Feb 5, 2010 at 1:17 PM, Andreas Niemeyer andreas.nieme...@gutzmann.com wrote: Hi, I want to

Re: Exception on startup

2010-02-05 Thread Deepak Shetty
hi If you dont have jdk1.5 update 7 then open jmeter.bat and modify set DUMP=-XX:+HeapDumpOnOutOfMemoryError to set DUMP= If you have a later version of java, then check which version is being picked up when you run jmeter by having a java -version regards deepak On Fri, Feb 5, 2010 at 10:41

Re: Jmeter parameterization

2010-02-07 Thread Deepak Shetty
Can you tell me how to analyse the load testing of any application specifically web application Your question is too broad. as i know that its all about calculating the responses from the server periodically Well thats part of it , sometimes. I suggest you start a new thread and ask more

Re: How to enable third party cookies with in JMeter?

2010-02-08 Thread Deepak Shetty
you need to check the requests when cookies are being set (the 3rd party cookie) On Mon, Feb 8, 2010 at 10:47 AM, Kandagatla, Satya satya.kandaga...@cengage.com wrote: Sebb, Thank you very much for this help! I have the following request captured from JMeter results log: Please suggest me

Re: Using JMeter with a Java Swing Application

2010-02-09 Thread Deepak Shetty
You cannot use Jmeter for this. On Tue, Feb 9, 2010 at 4:01 PM, RBRB reza.bahman...@blackrock.com wrote: Has anyone used JMeter with a client-server Java application whose front-end is written in Swing? The application runs in Weblogic and accesses an Oracle database. The question is

Re: Using JMeter with a Java Swing Application

2010-02-09 Thread Deepak Shetty
and the control panel of JavaRequest has a combo-box that displays classes that JMeter has found in its lib/ext. Can someone write a custom sampler calling the entry-point class of the application under test? Deepak Shetty wrote: You cannot use Jmeter for this. On Tue, Feb 9, 2010 at 4:01 PM

Re: How to see a class name in Java Request control panel classname combo-box?

2010-02-10 Thread Deepak Shetty
did you implement JavaSamplerClient interface? regards deepak On Wed, Feb 10, 2010 at 11:27 AM, RBRB reza.bahman...@blackrock.com wrote: According to the documentation, if a jar file containing a java class is placed in lib/ext folder, the class name should be visible in the classname

Re: How to see a class name in Java Request control panel classname combo-box?

2010-02-10 Thread Deepak Shetty
yep http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Java_Request On Wed, Feb 10, 2010 at 11:41 AM, RBRB reza.bahman...@blackrock.com wrote: No, I did not. I was not aware of that. Is it discussed in the documentation? Deepak Shetty wrote: did you implement

Re: How can generate multiple reports with one .jtl file

2010-02-10 Thread Deepak Shetty
sure so long as you know what report you want to generate and are willing to write XSLTs for them. You can also parse the log files to generate reports (when the file may be too big). There are no out of the box additional reports that you can generate offline... regards deepak On Wed, Feb 10,

Re: How can generate multiple reports with one .jtl file

2010-02-10 Thread Deepak Shetty
. I have been doing it manually. Thanks From: Deepak Shetty shet...@gmail.com To: JMeter Users List jmeter-user@jakarta.apache.org Sent: Wed, February 10, 2010 3:20:39 PM Subject: Re: How can generate multiple reports with one .jtl file sure so long as you

Re: How can generate multiple reports with one .jtl file

2010-02-10 Thread Deepak Shetty
at 4:39 PM, Maya Hague mhague94...@yahoo.com wrote: Tried that -- doesn't work. Is there a setting in the jmeter.properties files that needs to be turned on? From: Deepak Shetty shet...@gmail.com To: JMeter Users List jmeter-user@jakarta.apache.org Sent

Re: Grouping recorded requests

2010-02-10 Thread Deepak Shetty
have to add a cookie manager, if cookies are used) Sorry for my English, i hope i am clear... Cordialement / Best regards Jean-Louis Pasturel -Message d'origine- De : Deepak Shetty [mailto:shet...@gmail.com] Envoyé : jeudi 4 février 2010 01:31 À : JMeter Users List

Re: __XPath problems

2010-02-11 Thread Deepak Shetty
try ${__XPath(prodcodes.xml, /root/code/text())}. Also upgrade to latest jmeter. CSV Data Set Config et al allocate one config item per thread. Im not sure what you mean by this. you can vary the sharing mode to arrive at different results. regards deepak On Thu, Feb 11, 2010 at 2:34 PM, Sonam

Re: __XPath problems

2010-02-11 Thread Deepak Shetty
Message- From: Deepak Shetty [mailto:shet...@gmail.com] Sent: Friday, 12 February 2010 10:36 AM To: JMeter Users List Subject: Re: __XPath problems /root/code/text() works on 2.3.4 On Thu, Feb 11, 2010 at 3:33 PM, Sonam Chauhan sonam.chau...@ce.com.au wrote: However you could just use

Re: Help-Jmeter varying loads

2010-02-12 Thread Deepak Shetty
See throughput controller. Something like Thread Group (50) Throughput controller (percent execution 50 , per user unchecked) Login flow (0.5*50=25) Throughput controller (percent execution 20 , per user unchecked) Add Item to cart (0.2 * 25 = 5)

Re: Dynamic mapping with Jmeter - Please help..

2010-02-17 Thread Deepak Shetty
Now HTTP Request2 should take the changed parameters and should change the details like price etc according to the dynamic prodID from CSV1 Assuming that the response of HTTPRequest1 generates the response which has he changed parameters you need, you would nede to useany of the Post processor

Re: Dynamic mapping with Jmeter - Please help..

2010-02-17 Thread Deepak Shetty
with this. Thank you. Regards, Rahul Deepak Shetty wrote: Now HTTP Request2 should take the changed parameters and should change the details like price etc according to the dynamic prodID from CSV1 Assuming that the response of HTTPRequest1 generates the response which has he changed

Re: How to get particular Id generated in a process from server??

2010-02-18 Thread Deepak Shetty
from server side. So that flight booking process is tested successfully for any no of users. So my requirement is to retrieve transaction id from response which is encrypted. Deepak Shetty wrote: see http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour on how to debug cases where

Re: response time is in mili sec but should be 30 sec or so

2010-02-18 Thread Deepak Shetty
asked and answered in various forms , please search mail archives All roads lead to http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour Usually your application needs authentication / session and you havent added a cookie manager. regards deepak On Thu, Feb 18, 2010 at 8:02 AM, Bhuiyan,

Re: Additional properties to be used globally

2010-02-18 Thread Deepak Shetty
Is there a way to do this, or would this be an feature that is not currently available. I dont believe there is such a feature. if you use -p , the property file must be present on all the remote servers (which must also be started with -p) , i think , not tested. I think this feature is useful

Re: Dynamic mapping with Jmeter - Please help..

2010-02-18 Thread Deepak Shetty
are most of type input type=text. Can you please elaborate on using a CSV file and how to write a sql query so that I can get some idea. If you can explain with some example that would be great.. Thank you. Regards, Rahul Author=Deepak Shetty I assume these 50 parameters are mostly

Re: Accessing JDBC Connection Configuration in BeanShell Post-Processor

2010-02-18 Thread Deepak Shetty
download the source code and check how the JDBCSampler does it. DataSourceElement.getConnection(datasourcename); (Not sure whether it will work) Why cant you use the JDBC sampler directly? regards deepak On Thu, Feb 18, 2010 at 10:59 PM, Peter peterg1...@gmail.com wrote: Hi! In my testplan

Re: how can i run Jemter if i had both java version 1.3 and java 1.4 instlled

2010-02-19 Thread Deepak Shetty
hi obviously you havent edited path in the correct place.You can also create a separate file like runJmeterw.cmd which has set JAVA_HOME=YOURJAVAHOME set PATH=%JAVA_HOME%\bin jmeterw and use that to run jmeter (or edit jmeter.bat to specify the value). This will only change the values for that

Re: add time to current time

2010-02-22 Thread Deepak Shetty
Hi in beanshell import java.util.Date; import java.text.SimpleDateFormat; long millis = System.currentTimeMillis() + 1500; // value you want to add Date d = new Date(millis); SimpleDateFormat sdf = new SimpleDateFormat(HH:mm:ss); String formattedDate = sdf.format(d); You could put the returned

Re: Testing a web application for multiple HTTP requests

2010-02-22 Thread Deepak Shetty
you normally need one of the post processors(Regex / XPATH) to extract out the data you want to post (assuming it is data that your application sends and not data that you enter) and use the variables that you set in the post processor in the next request. If these are parameters you have entered

Re: Out Of Memory issue

2010-02-22 Thread Deepak Shetty
remove the listener. When you say 35 transactions what are they? all http samplers? do you have any beanshell scripts / java code? When you say 5 scripts what do you mean? Also please confirm the exact exception you receive. On Sun, Feb 21, 2010 at 8:46 AM, TSurendar s9884906...@gmail.com wrote:

Re: HttpRequest POST with file

2010-02-22 Thread Deepak Shetty
its more likely that the file isnt getting picked up and hence not getting sent. I assume its an HTTP Sampler, with send files in request , multipart-form-data? or are you trying something else. you should also upgrade to 2.3.4 On Mon, Feb 22, 2010 at 3:29 PM, viggo viggo.navars...@gmail.com

Re: Total samples sent by Jmeter are not as per the configuration

2010-02-24 Thread Deepak Shetty
I'd suspect its an OutOfMemory. Can you check your logs? regards deepak On Wed, Feb 24, 2010 at 11:30 AM, sebb seb...@gmail.com wrote: On 24/02/2010, indireddysankar indireddysan...@gmail.com wrote: Hi, I have configured my test plan as below Number of threads 100 Ramp up time

Re: strange JMeter behaviour with POST request with Redirect Automatically

2010-02-24 Thread Deepak Shetty
Hi thats because JMeter doesnt get a chance to process cookies , and you application is configured to use url rewriting (thats why the jsessionid is in the url, it comes from your application) For testing websites with cookies you really shouldnt have Redirect Automatically (since thats not the

Re: Save an extracted regular expression

2010-02-24 Thread Deepak Shetty
Is there a way in step 14's regex extractor or some other means to say (or do something so that) the value sticks around in an unchanging variable? That is what happens , unless you yourself change the variable. is the regex extractor a child of request 14 (if not it may be that it gets executed

Re: How to configure Tomcat to log POST data?

2010-02-25 Thread Deepak Shetty
Not sure that it is useful directly in JMeter ,but post data can be tracked using http://wiki.orbeon.com/forms/doc/developer-guide/monitoring-http-requests regards deepak On Thu, Feb 25, 2010 at 5:49 PM, Janine Sisk jan...@furfly.net wrote: I'm relatively new to Tomcat and brand new to JMeter,

Re: How to measure the load time of a web page using Jmeter?

2010-02-25 Thread Deepak Shetty
You can only guess at the value using JMeter, you cant get an exact value (nor should you need it) since Jmeter is not a browser, and this figure will vary with a lot of factors (browser, network, returning user, users machine) see for e.g.

Re: How to measure the load time of a web page using Jmeter?

2010-02-25 Thread Deepak Shetty
The transaction controller is another way of grouping and summing requests. regards deepak On Thu, Feb 25, 2010 at 10:46 PM, Deepak Shetty shet...@gmail.com wrote: You can only guess at the value using JMeter, you cant get an exact value (nor should you need it) since Jmeter is not a browser

Re: Remotely monitoring Java Processes with JMeter

2010-02-25 Thread Deepak Shetty
Whats your java process, what does it do / which protocol does it respond to? On Thu, Feb 25, 2010 at 11:03 PM, Jatin Davey jasho...@cisco.com wrote: Hi All I had the following requirements to do some proactive monitoring on my performance test setup: 1. To consistently monitor the

Re: Remotely monitoring Java Processes with JMeter

2010-02-25 Thread Deepak Shetty
is MetaMatrix (open source: Teiid). Deepak Shetty wrote: Whats your java process, what does it do / which protocol does it respond to? - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional

Re: Can not open test plan created on another computer

2010-02-26 Thread Deepak Shetty
you seem to have a custom plugin se.six.jmeter.visualizer.statagg.StatAggResultCollector? can you check what libraries that needs to run? regards deepak On Fri, Feb 26, 2010 at 9:41 AM, Joe McBride jmcbr...@rackspace.com wrote: Here is the full log. It seems as though the attachment did not

Re: Question on incrementing a Post Variable

2010-02-26 Thread Deepak Shetty
Use a counter http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Counter You can loop using any of the looping constructs that JMeter provides (loop controller, while controller, specify it on the threadgroup etc) regards deepak On Fri, Feb 26, 2010 at 9:50 AM, 5942marine

Re: System.nanoTime() method in Jmeter

2010-02-26 Thread Deepak Shetty
Use JDK1.5 to run JMeter and use Beanshell / Jav Samplers/ Beanshell Pre Processors /Beanshell functions etc. e.g. ${__BeanShell(System.nanoTime())} http://jakarta.apache.org/jmeter/usermanual/functions.html#__BeanShell regards deepak On Fri, Feb 26, 2010 at 10:48 AM, Riaz Ahmed

Re: Question on incrementing a Post Variable

2010-02-26 Thread Deepak Shetty
hi ${__javaScript(${Counter} 20} Use a debug sampler to diagnose such cases regards deepak On Fri, Feb 26, 2010 at 12:31 PM, 5942marine jluken...@gmail.com wrote: Deepak Shetty wrote: Use a counter http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Counter You can

Re: Frequently used registration/login sequence

2010-03-01 Thread Deepak Shetty
Look at the module and include controllers regards deepak On Mon, Mar 1, 2010 at 8:47 AM, daniel.green october...@gmail.com wrote: Most of our thread groups require that we start with a rather tricky sequence for logging in or (failing that) registering. So far we've just been copying and

Re: Problem with the XPath assertion as data to be asserted conntains html tags

2010-03-01 Thread Deepak Shetty
There isnt any information to answer your question. What is the structure of your html that you are looking to assert? What XPATH assertion did you try? Did you enable the use tidy option? Put a View Results Tree Listener and check the response you are getting and Debug Samplers to check your

Re: Additional properties to be used globally

2010-03-01 Thread Deepak Shetty
This still needs the file physically present on all slaves correct? i.e. it doesn't automatically distribute the file/properties from the master? regards deepak On Mon, Mar 1, 2010 at 11:28 AM, sebb seb...@gmail.com wrote: On 18/02/2010, Deepak Shetty shet...@gmail.com wrote: Is there a way

Re: cache.html

2010-03-01 Thread Deepak Shetty
I run the test and everything is alright. No errors on Error % column. Merely means that there are no HTTP errors, not that there are no errors , unless you add good assertions to your test , you cannot rely on this column 1) How do I know which urls not to include in the test plan (*.png, *gif.

Re: Additional properties to be used globally

2010-03-01 Thread Deepak Shetty
ah ok , didnt know that, thanks regards deepak On Mon, Mar 1, 2010 at 4:56 PM, sebb seb...@gmail.com wrote: On 01/03/2010, Deepak Shetty shet...@gmail.com wrote: This still needs the file physically present on all slaves correct? i.e. it No. doesn't automatically distribute the file

Re: cache.html

2010-03-01 Thread Deepak Shetty
.cache.html' which is part of the url 3. Do you know a link that explains how can I extract this string using a post-processor and regex/xpath extractor? Is the post processor a child of the second http request? Thanks, Rodolfo On Mon, Mar 1, 2010 at 3:45 PM, Deepak Shetty shet...@gmail.com

Re: Problem with the XPath assertion as data to be asserted conntains html tags

2010-03-01 Thread Deepak Shetty
Hi if you have saved the data value you expect, then you need a regular assertion not an XPATH assertion(the value below is not an XPATH). On a separate note unless the data below is some generated value, your test is quite likely to break everytime there are minor development changes. Your test

Re: Problem with the XPath assertion as data to be asserted conntains html tags

2010-03-01 Thread Deepak Shetty
because an xpath expression would have a syntax like //p[text()='whatever] regards deepak On Mon, Mar 1, 2010 at 9:08 PM, Sagar G 123s...@gmail.com wrote: i have one question here..whyit it is not a XPATH assertion -- View this message in context:

Re: Problem with the XPath assertion as data to be asserted conntains html tags

2010-03-01 Thread Deepak Shetty
are you getting the p as an XML Node/Element or as a literal string (i.e. xml escaped). if XML Node/Element then what you have provided is not an XPATH expression and wont work. If its a literal string then you need to escape it. In view results tree, response data , in show as text what do you

Re: Problem with the XPath assertion as data to be asserted conntains html tags

2010-03-01 Thread Deepak Shetty
This is not a valid XPATH //something/inclusions=${Inclusion} //something/inclusions[text() = '${Inclusion}'] -- Take care of spaces, newlines etc. ${Inclusion} should be p i.e. unescaped Id still think a normal response assertion is the better way regards deepak On Mon, Mar 1, 2010 at 10:09

Re: Problem with the XPath assertion as data to be asserted conntains html tags

2010-03-01 Thread Deepak Shetty
Use \r\n or \n to match new lines in normal response assertions. Im not sure that it will work in XPATH assertions try it out. Also if you use single line mode you can use . or ? to match newlines try out some simple non whitespaced stuff and see that those are working (by hardcoding some response

Re: Problem with the XPath assertion as data to be asserted conntains html tags

2010-03-01 Thread Deepak Shetty
Wheat are you trying Response Assertions or XPATH assertions You need to first check what sort of newlines you use (\n or \r\n) and \n or \r\n will only work with for Response Assertions not XPATH. On Mon, Mar 1, 2010 at 10:58 PM, Sagar G 123s...@gmail.com wrote: i have tried with simple

Re: Problem with the XPath assertion as data to be asserted conntains html tags

2010-03-02 Thread Deepak Shetty
did you use single line mode? On Tue, Mar 2, 2010 at 12:37 AM, Sagar G 123s...@gmail.com wrote: yes it is \n and i am using response assertion not XPATH assertion -- View this message in context:

Re: Frequently used registration/login sequence

2010-03-02 Thread Deepak Shetty
2, 2010 at 12:38 PM, daniel.green october...@gmail.com wrote: daniel.green wrote: Deepak Shetty wrote: Look at the module and include controllers I appreciate your response, it was was exactly what I was looking for. I... 1. Created a login thread group. 2. Added

Re: JMeter Report generation using Hudson plugin

2010-03-03 Thread Deepak Shetty
http://wiki.hudson-ci.org/display/HUDSON/JMeter+Plugin On Wed, Mar 3, 2010 at 10:38 PM, Saurabh Gupta stonecold.saur...@gmail.comwrote: Hi Guys, Could you please let me know whether Hudson allows to run a Jmeter test and how to make reports using it ? -- Thanks, Saurabh

Re: Regex problem

2010-03-03 Thread Deepak Shetty
use an XPATH extractor not a regex, its easier for your case. Assuming the span is in a tr then //tr[td/span/@title=''*Report_2_1267603231425*']/td[position()=6]/text() -- Check what the cell number is , Im assuming it is is 6 based on the snippet you provided. You can test out XPath expressions

Re: doesn Jmeter record button clicks if the page doesn't reload onclick?

2010-03-03 Thread Deepak Shetty
http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour On Wed, Mar 3, 2010 at 10:14 PM, Jmeter_Curious megha.purkayas...@gmail.com wrote: Hi I've to load test a wicket-ajax based application where I've a situation that user will click on a '+' button and that will show him a text box

Re: Doubt about CSV Data Set Config

2010-03-03 Thread Deepak Shetty
If you observed that there are diffrent no of records in File1.csv,File3.csv File5.csv which implies different load. Probably incorrect. Assuming you mean load as concurrent load, the number of records in the CSV isn't important, the number of threads your Jmeter test has. I Just want to write

Re: PUT Request with Parameters

2010-03-04 Thread Deepak Shetty
If i remember correctly, you had to form the string yourself (name=value) and not use the name field in the sampler. Did you try that? Some mail archive message discussed this. On Thu, Mar 4, 2010 at 10:32 AM, Noel O'Brien nobr...@newbay.com wrote: Hi, I'm trying to send parameters with a PUT

Re: jmeter proxy and user delays

2010-03-08 Thread Deepak Shetty
I dont think you can do this at record time , you have to manually add the timer (though you can add a timer which is in scope for all requests) regards deepak On Mon, Mar 8, 2010 at 3:49 AM, Marco Laponder marco.lapon...@kewill.comwrote: HI everyone, I am trying to simulate the behaviour

Re: Which is better XPath v.s. Regular Expression Extractor

2010-03-08 Thread Deepak Shetty
XPath would generally use more memory is an accurate statement (since most engines need the creation of a tree structure first). But depending on the load you want to generate and the size of the pages it may not be significant. His concern comes from a scenario where there are say 10,000 hidden

Re: Question regarding iframe posts

2010-03-08 Thread Deepak Shetty
Frames will make separate HTTP requests even from the browser (you can use any browser trace tool to see this). There is no such thing as a subrequest. but we are having trouble figuring out what parameters are Use firebug/livehttheaders with firefox or Fiddler with IE and see what these are Is

Re: Question regarding iframe posts

2010-03-08 Thread Deepak Shetty
You cant assert on them or process their responses then , right? On Mon, Mar 8, 2010 at 12:22 PM, sebb seb...@gmail.com wrote: On 08/03/2010, Deepak Shetty shet...@gmail.com wrote: Frames will make separate HTTP requests even from the browser (you can use any browser trace tool to see

Re: Question regarding iframe posts

2010-03-08 Thread Deepak Shetty
embedded could be used to show what the frame URLs are. On 08/03/2010, Deepak Shetty shet...@gmail.com wrote: You cant assert on them or process their responses then , right? On Mon, Mar 8, 2010 at 12:22 PM, sebb seb...@gmail.com wrote: On 08/03/2010, Deepak Shetty shet...@gmail.com

Re: Questions on Capacity and Limitations of JMeter

2010-03-09 Thread Deepak Shetty
A lot of your questions are environment specific. JMeter can be run in client-slave or can be run separately on different machines and you can then aggregate the results, so there is no theoretical maximum for separate instances. Master Slave probably has a maximum but should be more than 1000

Re: Questions on Capacity and Limitations of JMeter

2010-03-09 Thread Deepak Shetty
Anything that commercial load test tools (e.g., LoadRunner) can do, but JMeter? Empty your wallet :) On Tue, Mar 9, 2010 at 7:22 PM, Deepak Shetty shet...@gmail.com wrote: A lot of your questions are environment specific. JMeter can be run in client-slave or can be run separately on different

Re: Questions on Capacity and Limitations of JMeter

2010-03-09 Thread Deepak Shetty
Do you mean you may have to create a separated script for each request even though.. No you record a script with all the requests. However request2 may need some data from Response 1 (e.g. lets say shopping cart id is set in Request - Response 1 . ) If you record the script , request2 will have

Re: a good script to start several jmeter instances, and how to kill my web server to find its threshold?

2010-03-10 Thread Deepak Shetty
#1 http://jakarta.apache.org/jmeter/usermanual/get-started.html See Running Jmeter and descriptions of the various scripts that JMeter provides See http://www.programmerplanet.org/pages/projects/jmeter-ant-task.php for an ANT script. ANT integrates with almost all java CI tools. #2 a bit confused

Re: Need help for https Certificate issue.

2010-03-10 Thread Deepak Shetty
I think this is already answered by sebb somewhere in the archives. If i remmeber correctly Use the other webservice sampler - SOAP/XML-RPC Request ...(it will ignore HTTPS errors i think). Search the mail archives. Your actual error is that your server certificate chain is not trusted from the

Re: Need help for https Certificate issue.

2010-03-10 Thread Deepak Shetty
http://osdir.com/ml/jmeter-user.jakarta.apache.org/2010-02/msg00012.html On Wed, Mar 10, 2010 at 1:13 PM, Deepak Shetty shet...@gmail.com wrote: I think this is already answered by sebb somewhere in the archives. If i remmeber correctly Use the other webservice sampler - SOAP/XML-RPC Request

Re: How to configure the plan to run different loads per area?

2010-03-10 Thread Deepak Shetty
Hi is there any particular reason you have multiple thread groups? If you only had 1 thread group you could use OnceOnlyController and ThroughPutController (and other controllers that you may want to use) Note that using a ThreadGroup for login needs additional work if you want to reuse that

Re: How to configure the plan to run different loads per area?

2010-03-10 Thread Deepak Shetty
In goes first? b) Using a Random Order Controller for each Area will may help me with the random order but what about percentages? c) How do you come up with a good Ramp up number? Regards and thanks for your ideas. Rodolfo On Wed, Mar 10, 2010 at 1:27 PM, Deepak Shetty shet...@gmail.com

Re: retrive the records returned by jdbc request

2010-03-10 Thread Deepak Shetty
You can directly specify the variable names in variable names textbox . OR You can use simple datawriter listener to write to file and then read that as a CSV(assuming you format it that way) OR You can use a beanshell post processor to process the data On Wed, Mar 10, 2010 at 5:17 PM, Maya

Re: How to defined a parameter for user agent

2010-03-11 Thread Deepak Shetty
hi Im not sure what you are trying to achieve here. The extractors are used to extract data from previous responses. The User-Agent is something the client sends, its not part of the response. You can define UserParameters if you want that have these values and send them as headers.. regards

Re: a good script to start several jmeter instances, and how to kill my web server to find its threshold?

2010-03-11 Thread Deepak Shetty
that? I think i read about grabbing the data from apache's ?Apache Module mod_status??? On Wed, Mar 10, 2010 at 4:09 PM, Deepak Shetty shet...@gmail.com wrote: #1 http://jakarta.apache.org/jmeter/usermanual/get-started.html See Running Jmeter and descriptions of the various scripts that JMeter

Re: JMeter Result Interpretation

2010-03-11 Thread Deepak Shetty
Jmeter by default only recognises HTTP errors. If you want it to recognise application errors you must tell it what those are using assertions. On Thu, Mar 11, 2010 at 8:56 AM, abhishekSharma abhishek...@lntinfotech.com wrote: I am using JMeter for the load testing of my application. When I

Re: How would you simulate 200 users logging in and performing HTTP Requests

2010-03-11 Thread Deepak Shetty
Use a constant throughput timer. Use other timers for random delays. regards deepak On Thu, Mar 11, 2010 at 3:01 PM, nzindian vj...@hotmail.com wrote: Hi, Does anyone have any ides on how I could construct a JMeter test plan for the following scenario: 1) 300 Users Log-in - Store their

Re: How to search for text within a PDF?

2010-03-11 Thread Deepak Shetty
There are some PDF to Text open source libraries in java (but I think it also depends on your PDF if the text can be extracted) + Beanshell assertion should allow you to do it regards deepak On Thu, Mar 11, 2010 at 6:42 PM, David Levine eniv...@gmail.com wrote: I've got a web application that

Re: How to search for text within a PDF?

2010-03-11 Thread Deepak Shetty
A google search reveals http://pdfbox.apache.org/ http://www.stefanochizzolini.it/en/projects/clown/features.html You should be able to call this from a beanshell assertion regards deepak On Thu, Mar 11, 2010 at 7:34 PM, Deepak Shetty shet...@gmail.com wrote: There are some PDF to Text open

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