Transaction Controller Bug

2009-04-23 Thread Deepak Shetty
Hi Im using JMeter 2.3.2. I have the following structure Thread Group Transaction Controller HTTP Request BeanShell preprocessor The Pre processor does a sampler.addArgument(test,value); If the Generate Parent Sample on the Transaction Controller is unchecked the

Re: Transaction Controller Bug

2009-04-25 Thread Deepak Shetty
Hi The BSH is getting executed in both cases, however sampler.addArgument only works when the Generate Parent Sample is unchecked regards deepak On Fri, Apr 24, 2009 at 7:23 AM, sebb seb...@gmail.com wrote: On 23/04/2009, Deepak Shetty shet...@gmail.com wrote: Hi Im using JMeter 2.3.2. I

Re: Transaction Controller Bug

2009-04-26 Thread Deepak Shetty
to the BSH code: if (sampler instanceof org.apache.jmeter.control.TransactionSampler) { sampler=sampler.getSubSampler(); } On 26/04/2009, Deepak Shetty shet...@gmail.com wrote: Hi The BSH is getting executed in both cases, however sampler.addArgument only works when the Generate

Bug when Module Controllers are named the same in the same transaction controller

2009-05-06 Thread Deepak Shetty
Hi I have the following structure Disabled Thread Group Simple Controller HTTP Request Thread Group Transaction Controller Module Controller named Test -- Using Simple Controller Defined above Module Controller named Test -- Using Simple Controller Defined above This

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-07 Thread Deepak Shetty
Hi Its 2.3.2 r665936 regards deepak On Thu, May 7, 2009 at 7:47 AM, sebb seb...@gmail.com wrote: Which version of JMeter are you using? On 07/05/2009, Deepak Shetty shet...@gmail.com wrote: Hi I have the following structure Disabled Thread Group Simple Controller HTTP

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-07 Thread Deepak Shetty
Hi just tried it out , it fails in both cases. regards deepak On Thu, May 7, 2009 at 8:56 AM, sebb seb...@gmail.com wrote: And are you using Generate parent sample or not on the Transaction Controller? On 07/05/2009, Deepak Shetty shet...@gmail.com wrote: Hi Its 2.3.2 r665936 regards

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-07 Thread Deepak Shetty
reproduce the fault. On 07/05/2009, Deepak Shetty shet...@gmail.com wrote: Hi just tried it out , it fails in both cases. regards deepak On Thu, May 7, 2009 at 8:56 AM, sebb seb...@gmail.com wrote: And are you using Generate parent sample or not on the Transaction

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-07 Thread Deepak Shetty
is not relevant and can be omitted. On 07/05/2009, Deepak Shetty shet...@gmail.com wrote: D'oh I forgot to tell you the most important part, this only happens when I run in command line mode regards deepak On Thu, May 7, 2009 at 9:15 AM, sebb seb...@gmail.com wrote: In that case

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-07 Thread Deepak Shetty
I meant that if I use two different thread groups I can have the module controller have the same name. (but just 1 per thread group with the same name) regards deepak On Thu, May 7, 2009 at 11:38 AM, sebb seb...@gmail.com wrote: On 07/05/2009, Deepak Shetty shet...@gmail.com wrote: Hi ok

Re: basic newbie question

2009-05-07 Thread Deepak Shetty
Hi have it included within the Name text field of your Test. e.g. In an HTTP request sampler you would have Request Page with ${Value_1} regards deepak On Thu, May 7, 2009 at 1:27 PM, Otwell, Christopher E (N-SAIC) christopher.e.otw...@lmco.com wrote: Hi, I'm very new to JMeter and trying to

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-08 Thread Deepak Shetty
Hi thanks. I wont be able to test out the fix anytime soon though , test writing is taking precedence :) regards deepak On Fri, May 8, 2009 at 10:27 AM, sebb seb...@gmail.com wrote: OK, I see. BTW, I think I have fixed the bug. On 07/05/2009, Deepak Shetty shet...@gmail.com wrote: I

Re: How to group multiple HTTP requests into one logical unit and measure its response time?

2009-05-08 Thread Deepak Shetty
Hi use the transaction controller from Under Add Logic Controller and create all your requests under it regards deepak On Fri, May 8, 2009 at 1:55 PM, Nguyen Dao mr.nguyen...@gmail.com wrote: Hi everyone, I am new to JMeter and new to the field of Software Testing. I have a problem that I

Re: Qry: Help needed to parameterize SOAP/XML-RPC sampler?

2009-05-09 Thread Deepak Shetty
Hi what do you want to parameterise and how do you want this data kept? If your structure of the SOAP request is the same and you only want to parameterise the data within the tag , you can still use a CSV data set along with a while loop . ( e.g. Thread group while controller

Re: Qry: Help needed to parameterize SOAP/XML-RPC sampler?

2009-05-10 Thread Deepak Shetty
request in a different flat file. My ultimate goal is to traverse one by one if the no of threads are more than one. Hope you understand my questions well. Regards Mohamed Niyas M +91 96633 29080 On Sat, May 9, 2009 at 8:29 PM, Deepak Shetty shet...@gmail.com wrote: Hi what do you

Re: ThreadGroup and User Login Account

2009-05-11 Thread Deepak Shetty
1. You can use a User Parameters Pre Processor to use a different username and password for each thread group. You can use a module controller so that you define the Login test in one place and just change the data you pass to it 2. Depends on your requirement. If you wish to test unique users

Re: Jmeter launcing prob

2009-05-12 Thread Deepak Shetty
hi its not the jar its the version of Java thats in your Path.(should be atleast java 1.4). Change your path to point to the correct veresion of java regards deepak On Mon, May 11, 2009 at 10:53 PM, gpub affablepr...@gmail.com wrote: Hi, Jmeter batch file is showing errors Exception in

Re: Jmeter launcing prob

2009-05-12 Thread Deepak Shetty
the version (using -version) regards deepak On Mon, May 11, 2009 at 11:11 PM, gpub affablepr...@gmail.com wrote: yes and how could i be suppose to do it.. -- Change your path to point to the correct version of java i already have version j2sdk-1_4_2_16 on my sys Deepak Shetty wrote

Re: Jmeter launcing prob

2009-05-12 Thread Deepak Shetty
Loading http://smcoraapp1.x.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndutil.jar from JAR cache Any idea ?? Deepak Shetty wrote: Multiple ways In unix export PATH=pathtoyourjava:$PATH In windows set PATH=pathtoyourjava;%PATH% and then launch jmeter from the same window

Re: Help

2009-05-12 Thread Deepak Shetty
Id say ask sebb for his bank details regards deepak On Tue, May 12, 2009 at 4:50 AM, Hembha, Ambanna ambanna.hem...@logica.comwrote: Hi all, If I need to get an instant technical support about Jmeter Tool whom should I contact? If it is payable also I'm ready for that. -Ambs

Re: Jmeter launcing prob

2009-05-12 Thread Deepak Shetty
serverHost=smcoraapp1.X.com serverPort=9003 Forms Applet version is : 60825 Loading http://smcoraapp1.x.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndutil.jar from JAR cache Deepak Shetty wrote: Hi perhaps Im missing something , how are you launching Jmeter (whatever you have sent

Re: Jmeter launcing prob

2009-05-13 Thread Deepak Shetty
Deepak Shetty wrote: Oracle Client does put its version of java on the PATH. Open a command window and do an echo %PATH% see which version of java is first. Alternately modify jmeter.bat where it is launching java and comment out the rest and just have a -version to see what version of java

Re: Does JMeter support these types of test cases?

2009-05-13 Thread Deepak Shetty
1. JMeter should be able to record anything your browser does (using the HTTP Proxy), so webservice calls yes, never tried RMI calls. 2. What do you mean? You can write Beanshell tests that can run arbitrary java code (plus plugins for junit tests etc).You could also write your own sampler There

Re: Does JMeter support these types of test cases?

2009-05-13 Thread Deepak Shetty
and then add and configur the Java Request samplers. Simples :) - Adrian -Original Message- From: Deepak Shetty [mailto:shet...@gmail.com] Sent: 13 May 2009 18:48 To: JMeter Users List Subject: Re: Does JMeter support these types of test

Re: how to process params after beeing read from file

2009-05-18 Thread Deepak Shetty
Hi add a beanshell preprocessor to your http sample and use a String value = vars.get(YOURVARNAME); //manipulate the string vars.put(YOURVARNAME, value); regards deepak On Mon, May 18, 2009 at 2:50 PM, Reuben A Christie chris...@knewco.comwrote: I have csv file with all parameters that I want

Re: How to generate a load of Y number of users using only X number of actual login accounts? (Where XY)

2009-05-20 Thread Deepak Shetty
Hi you seem to have conflicting requirements. What you are simulating wont be anything close to what the browser actually does (I believe IE doesn't send more than 2 requests in parallel to any one domain). you are planning to have the same session hit the server with multiple threads , which isnt

Re: how to escape special characters in response assertion

2009-05-21 Thread Deepak Shetty
hi use \ Basically the same one you would use in a Java regex. regards deepak On Thu, May 21, 2009 at 7:51 AM, Sree ... gattasrika...@gmail.com wrote: Hi I was executing some scripts in JMeter, one of them contains Response assertion but my response assertion fails everytime if it contains

Re: Performance Testing with JMeter on the cmd line or Ant???

2009-05-21 Thread Deepak Shetty
Well all the advantages that ANT provides (You can make the test part of your build, be notified of failures, generate the HTMl report by styling etc) I On Thu, May 21, 2009 at 9:29 AM, Andyy andlo...@gmail.com wrote: Evening, When performance testing what are the benefits to using Ant

Re: Performance Testing with JMeter on the cmd line or Ant???

2009-05-21 Thread Deepak Shetty
on the box. Reducing its availability to JMeter. Whereas running from the cmd line JMeter can make use of all available memory. So in terms of handling resources etc where would the advantages lie in Ant?? Thanks again, Andyy... Deepak Shetty wrote: Well all the advantages that ANT

Re: Performance Testing with JMeter on the cmd line or Ant???

2009-05-21 Thread Deepak Shetty
apologise for going off topic slightly) Thanks, Andyy... Deepak Shetty wrote: Jmeter only has as much memory as the Java VM (-Xmx) which is the same for ANT (though yes you would have ANT's footprint), I prefer ANT myself , more convenient , portable etc , havent had any memory

Re: JDBC connection error in Gui mode

2009-05-25 Thread Deepak Shetty
This name must match the value specified in Variable Name field in the JDBC Connection Configuration On Mon, May 25, 2009 at 9:10 PM, gpub affablepr...@gmail.com wrote: Hi, i was doing the intial setup for JDBC configuration, and earlier i was having the prob with jar as i was using 4 jars

Re: Configure and Run Jmeter tests automatically

2009-05-26 Thread Deepak Shetty
http://www.programmerplanet.org/pages/projects/jmeter-ant-task.php OR http://jakarta.apache.org/jmeter/usermanual/get-started.html 2.4.3 Non-GUI Mode (Command Line mode) *2.4.3 Non-GUI Mode (Comm and Line mode)* On Tue, May 26, 2009 at 12:48 PM, SUCIU Flori flori.su...@alcatel-lucent.com

Re: read data from file ( in loop ) and put into Variables

2009-05-28 Thread Deepak Shetty
Use CSV Data Set Config http://jakarta.apache.org/jmeter/usermanual/component_reference.html#CSV_Data_Set_Config regards deepak On Wed, May 27, 2009 at 11:40 PM, jmeter-user michal...@o2.pl wrote: Hello I need read data from file user.txt ( in loop ) and put into Variables: FILE :

Re: Regular expression extractor

2009-05-28 Thread Deepak Shetty
An XPATH extractor is probably easier? If you still want to try regex Id prbably try something like topic.*?(.*?)/topic regards deepak On Thu, May 28, 2009 at 5:48 PM, Maya Hague mhague94...@yahoo.com wrote: Hi, A xml/rpc soap response 3 responses. How do I get the third response into a

Re: Regular expression extractor

2009-05-28 Thread Deepak Shetty
Hi you are right , the square brackets shouldnt be present regards deepak On Thu, May 28, 2009 at 6:32 PM, drubix andrew.schr...@gmail.com wrote: Actually, on second thought, I'm not sure that's right. Make sure the regex extractor is acting on the Body of the response. drubix wrote:

Re: Regular expression extractor

2009-05-29 Thread Deepak Shetty
a charm. Thanks From: Deepak Shetty shet...@gmail.com To: JMeter Users List jmeter-user@jakarta.apache.org Sent: Thursday, May 28, 2009 9:39:33 PM Subject: Re: Regular expression extractor An XPATH extractor is probably easier? If you

Re: testing upload facility with Jmeter

2009-05-29 Thread Deepak Shetty
just create the requests under the thread group in the order you want them to run. On Fri, May 29, 2009 at 5:28 AM, Prashanth Mylvarabatla prashanth.mylvaraba...@gmail.com wrote: I would like to test the upload photo facility for a site. For example http://www.bigadda.com/login this is the

Re: Redirection problem

2009-06-01 Thread Deepak Shetty
Hi Use something that records browser actions (e.g. LiveHTTPHeaders for Firefox) , inspect the request log and create these requests manually in jmeter(with the data posted etc). regards deepak On Mon, Jun 1, 2009 at 5:56 AM, Suvendu_Mohapatra suvendu_mohapa...@satyam.com wrote: I have done

Re: Redirection problem

2009-06-01 Thread Deepak Shetty
team has not implemented the redirection process from http to https. If we will plug some code in the recording tool, then our problem will be solved. Any suggestion regarding this?? With Regards, Suvendu -Original Message- From: Deepak Shetty [mailto:shet...@gmail.com] Sent: Monday

Re: Redirection problem

2009-06-02 Thread Deepak Shetty
(which will redirect to another page which uses https protocol) With Regards, Suvendu -Original Message- From: Deepak Shetty [mailto:shet...@gmail.com] Sent: Tuesday, June 02, 2009 9:03 AM To: JMeter Users List Subject: Re: Redirection problem hi Auto/Follow redirect from Http

Re: unable to save test plan?

2009-06-02 Thread Deepak Shetty
how did you verify your JVM? Are there any spaces etc in the path to your jmeter install? On Tue, Jun 2, 2009 at 12:35 PM, Daniel Wood dw...@digitaljiggery.comwrote: Hi Folks- Just starting with JMeter and have run into a probably noob issue. I did check the online and mail list faq, but

Re: unable to save test plan?

2009-06-02 Thread Deepak Shetty
be a bit strong for what i did. I typed java -v from the command line. If you have another command, I'd be happy to run that and post the output for smarter eyes than mine. no spaces in the path or filename. Thanks for helping! daniel On Jun 2, 2009, at 12:49 PM, Deepak Shetty wrote: how did

Re: HTTP Request - Exclude Pattern for embedded URLs

2009-06-03 Thread Deepak Shetty
Can you inspect the .jtl file and check what message it generates(by saving the output to the file)? If its something unique , you can change the XSL file that jmeter ships with to provide you a custom report. Alternately , dont check the download embed resource and instead write Regex/XPATh

Re: Problem generating report in Ant using large result file

2009-06-03 Thread Deepak Shetty
Hi this used to apply years ago, but Saxon had the best memory usage at that time. For such large files , if you are only interested in some summary report, write your own SAX Event handler to generate your report, or preprocess this file to remove things you dont need. regards deepak On Wed, Jun

Re: Regular Expression Extractor and its Variables

2009-06-05 Thread Deepak Shetty
if (vars.get(${city_10}) == null) is wrong should be vars.get(city_10) Im sure theres a better way to do what you want though :) regards deepak On Fri, Jun 5, 2009 at 9:19 AM, mattlamignat mateusz_grode...@o2.pl wrote: This is my test plan: |-User Defined Variable |-HTTP Request

Re: Regular Expression Extractor and its Variables

2009-06-05 Thread Deepak Shetty
)); } and it's working! thank you Sir! I was suprised that this part was wrong because it was printing a.. :) anyway do you know that better way by any chance? :) Deepak Shetty wrote: if (vars.get(${city_10}) == null) is wrong should be vars.get(city_10) Im sure theres a better way

Re: How to get the current HTTP RequestName

2009-06-05 Thread Deepak Shetty
Hi in a beanshell preprocessor you could use sampler.getName(). not sure if you could call it as a function though.. regards deepak On Fri, Jun 5, 2009 at 12:29 PM, Sree ... gattasrika...@gmail.com wrote: Hi, When I use ${__javaScript(theadName,)} it returns me the Thread Group Name In a

Re: How to use different data sets in a loop or foreach controller for a single thread

2009-06-08 Thread Deepak Shetty
You have to make the variable name dependent on the iteration count and use __javaScript (or beanshell etc) to read the value . The problem you will run into is how to save the variable data e.g. you could use a User Parameters with a single user and mutliple variables like firstName_1,

Re: Problems extracting data using XPath extractor

2009-06-09 Thread Deepak Shetty
hi try //*[local-name()='Soda' ]/*[local-name()='Name' and contains(text(),'Coke')]/following-sibling::*[local-name()='ID']/text() I use XPATH Checker in firefox to test out my XPATH queries...( https://addons.mozilla.org/en-US/firefox/addon/1095) regards deepak On Mon, Jun 8, 2009 at 6:12 PM,

Re: Need Clarification on session info in Once only controller

2009-06-09 Thread Deepak Shetty
The 'session' is determined by the server - anytime you send it a sessionid (which isnt invalid or timed out) either encoded into the URL or as a cookie , the server will treat it as the same session. It has no direct relation to JMeter threads / controller etc. For eg: No of users is 2 Used Once

Re: Is there a replace function in JMeter?

2009-06-09 Thread Deepak Shetty
Beanshell can replace the file content (using java regexes) , however In each iteration for the same SOAP action I want to use different SOAP data Does the structure of your XML change or is just the value of some element/attribute? If the structure remains the same , then you are better of using

Re: Need Clarification on session info in Once only controller

2009-06-09 Thread Deepak Shetty
independently Please correct me if I am wrong Regards Ankush On Tue, Jun 9, 2009 at 9:54 PM, Deepak Shetty shet...@gmail.com wrote: The 'session' is determined by the server - anytime you send it a sessionid (which isnt invalid or timed out) either encoded into the URL or as a cookie

Re: User Parameter

2009-06-10 Thread Deepak Shetty
Hi Its pretty straight forward to use.. For your example , say you have login.csv with list of username,password Variable Names -- username,password You can then use ${username} and ${password} in your tests Delimiter -- , Allow quoted data -- If your usernames or passwords can contain commas then

Re: User Parameter

2009-06-11 Thread Deepak Shetty
-Original Message- From: Deepak Shetty [mailto:shet...@gmail.com] Sent: Wednesday, June 10, 2009 9:38 PM To: JMeter Users List Subject: Re: User Parameter Hi Its pretty straight forward to use.. For your example , say you have login.csv with list of username,password Variable Names

Re: http request property replacement

2009-06-13 Thread Deepak Shetty
Hi Im not sure if i understand your requirement correctly , but I assume this is what you want to do? Thread Group HttpRequest1 Regex Extractor to var1 HttpRequest2 , in the request parameters use ${var1} ? Does this work for you? If not Instead of Regex Extractor , you can use

Re: http request property replacement

2009-06-13 Thread Deepak Shetty
sorry I dont think i know how to do what you want On Sat, Jun 13, 2009 at 12:06 PM, Andre Arnold andrearn...@gmx.de wrote: Deepak Shetty schrieb: It would be useful if you could tell us what exactly you want to do with an example. regards deepak First thanks for your answer and sorry

Re: Regular Expression Extractor and its Variables

2009-06-15 Thread Deepak Shetty
independent of number of assertions to be made, more descriptive without needing to read the code regards deepak On Mon, Jun 15, 2009 at 11:29 AM, mattlamignat mateusz_grode...@o2.plwrote: I agree that would be more efficient to do all assertions useing BeanShell I have never used

Re: expected Response code: 500

2009-06-15 Thread Deepak Shetty
hi Can you try to put in a response assertion and assert that response code should be 500, regards deepak On Mon, Jun 15, 2009 at 11:34 AM, mattlamignat mateusz_grode...@o2.plwrote: I'm getting 'Response code: 500' responces for several SOAP/XML-RPC requests and they are expected responses.

Re: Populating HTTP request with values from page elements

2009-06-16 Thread Deepak Shetty
hi you use one of the Post Processor on the first request to extract the data (Regex, Xpath, Beanshell), you store the extracted value into a variable and then use ${variableName} in the next request. regards deepak On Tue, Jun 16, 2009 at 10:07 AM, Stromas, Aaron (NIH/OD) [C]

Re: Cookie Manager

2009-06-17 Thread Deepak Shetty
Hi this is correct behavior, you cant specify a different path for Set-Cookie than the path value you are requesting for(or parents of the path). Does this site work when you access it using a browser(use firefox plus livehttpheaders)? If so can you compare what you are getting in Set-Cookie (the

Re: building a string from a list of values

2009-06-18 Thread Deepak Shetty
hi you are probably better off with a beanshell preprocessor script that formats the string and adds it to the request regards deepak On Thu, Jun 18, 2009 at 8:37 AM, illogic qb...@mailinator.com wrote: I would like to build a string from a list of numbers. I'm working with the following

Re: Problem with script execution.

2009-06-18 Thread Deepak Shetty
Did you check if there were any errors on the server? Did all your samples have correct assertions(e.g. success messages that get displayed when your guarantor is created) to allow you to detect any errors on the Jmeter samplers? Using Results Tree you can verify that the request to create is

Re: Cookie Manager

2009-06-18 Thread Deepak Shetty
=9c28ee1630d6c16635be49ee9029b88b9f91b59c.e3yLaxaTbx0Qe34KaxaSbxyLaNz0n6jAmljGr5XDqQLvpAe; path=/eraservices Cache-Control: private Osso-Paranoid: false Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html -Original Message- From: Deepak Shetty [mailto:shet...@gmail.com] Sent: Wednesday, June 17, 2009 3

Re: Need help using Restlet with JMeter

2009-06-18 Thread Deepak Shetty
you should be able to specify proxyHost and port in the Eclipse window where you run junit (there is a text box for system parameters - under where you can specify command line arguments -Dhttp.proxyHost=*proxyhost* [-Dhttp.proxyPort=*portNumber*] regards deepak On Thu, Jun 18, 2009 at

Re: Java Sampler causing Memory Leak

2009-06-21 Thread Deepak Shetty
. How do you use it ? When I did the load test I removed the listeners and execute Jmeter without GUI. Regards Tomada Deepak Shetty wrote: hi just a couple of queries a. are you using different variable names each time? can you print out vars say using beanshell preprocessors

Re: Java Sampler causing Memory Leak

2009-06-21 Thread Deepak Shetty
it seems to be in the httpSampler part where there is the memory leak. However, I do not know how to be really sure. Regards Tomada Deepak Shetty wrote: Hi i mean use the beanshell pre processor for diagnostics. Right click the sample and add a beanshell pre processor

Re: Java Sampler causing Memory Leak

2009-06-22 Thread Deepak Shetty
it to the server. So can you please give me some advices about it ? I know that it will have to extend AbstractSamplerGUI to appear in the GUI but who does really know how the httpSampler is functionning ? Regards Tomada Deepak Shetty wrote: if it gives you just your xmlstream you should

Re: How to pass on Session id in case of Web Services

2009-06-22 Thread Deepak Shetty
depends on how you are getting the session id . Most webservices do not use the Server http session id, are you making a separate call to get the session id? regards deepak On Sun, Jun 21, 2009 at 10:48 PM, Rekha Malik rekha_ma...@infosys.comwrote: Hi, I am using JMeter for testing of web

Re: Loop controller question

2009-06-22 Thread Deepak Shetty
Hi you can with a ForEach Controller In Match no specify -1 for the Regex extractor Use a Foreach controller and in the input variable prefix specify the reference name of the RegEx extractor regards deepak On Mon, Jun 22, 2009 at 11:13 AM, Stromas, Aaron (NIH/OD) [C] stroma...@od.nih.gov wrote:

Re: Loop controller question

2009-06-22 Thread Deepak Shetty
${tuple_1_g1} Type ${tuple_1_g2} This defeats the whole rational of using the ForEach controller. Am missing something again? TIA. -a -Original Message- From: Deepak Shetty [mailtos:shet...@gmail.commailtos%3ashet...@gmail.com ] Sent: Monday, June 22, 2009 2:31 PM

Re: Error while launching JMeter 2.3.3

2009-06-23 Thread Deepak Shetty
you are probably using java 1.3, set your path to have the correct version of java(atleast 1.4).. regards deepak On Tue, Jun 23, 2009 at 1:33 AM, Anwaruddin Mohammad anwaruddi...@ocimumbio.com wrote: I did try to comment set DUMP=-XX:+ HeapDumpOnOutOfMemoryError, but following exception is

Re: Variances between automated and manual tests

2009-06-23 Thread Deepak Shetty
hi Some things to think about a. Are you including all resources in your jmeter tests (e.g. all embedded resources like css/images/javascript which may or may not be cached by the browser). b. Do you have assertions for all your tests that validate that your response is as expected (no error

Re: Variances between automated and manual tests

2009-06-23 Thread Deepak Shetty
of simulated jmeter users / threads per machine? Assuming Windows multi core environments. -Original Message- From: Deepak Shetty [mailto:shet...@gmail.com] Sent: Tuesday, June 23, 2009 10:57 AM To: JMeter Users List Subject: Re: Variances between automated and manual tests hi

Re: Excluding jpeg, js, png files while recording

2009-06-23 Thread Deepak Shetty
hi Depends on what you want out of your test and on other factors a. Do you want to find out if there are logical/functional problems when your application is accessed concurrently only, then you can exclude static files b. Do you want to see generally how your application responds to different

Re: wait time for response

2009-06-24 Thread Deepak Shetty
Typically you use Equals when you are asserting a response code or response message (and rarely response text unless it just returns something like success/false) So if you had a test that accesses a secured page without logging in you say in the Assertion choose Response Code , Equals and 401 in

Re: Assertions

2009-06-24 Thread Deepak Shetty
sorry for the repost, doing this to get the response in the correct thread Typically you use Equals when you are asserting a response code or response message (and rarely response text unless it just returns something like success/false) So if you had a test that accesses a secured page without

Re: Calculating average response time for each transactions when it contains many images

2009-07-06 Thread Deepak Shetty
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Request Retrieve All Embedded Resources from HTML Files However note that the browser behavior is mostly unpredictable and a function of various caches so the values you get here are just ballpark estimates . This wont

Re: Modifying data while filling forms and basic Jmeter help

2009-07-07 Thread Deepak Shetty
Its very difficult to diagnose your problem when the only information you provide is that it didnt work and you got an error Attach a View Results Tree listener and observe the requests you are making and the responses you are getting and see where the problem lies . Ensure that all your tests

Re: Help with response time (URL and Enbedded Resources)

2009-07-09 Thread Deepak Shetty
Hi asked many times on this list , you can look through the archives. The summarised answer is none of them(mostly somewhere in between or worst case slightly more) , and also depends on what you mean by response time. A browser would not download all files in a single thread (I believe IE's

Re: Modifying data while filling forms and basic Jmeter help

2009-07-09 Thread Deepak Shetty
a 404 means file not found. Observe the Requested URL and check whether the URL is right and the file really doesnt exist or if the URL is wrong. Directly typing this URL in the browser should give you the same error. Most browser incompatibilities are due to js/css which JMeter doesnt care about.

Re: Modifying data while filling forms and basic Jmeter help

2009-07-13 Thread Deepak Shetty
13, 2009 at 2:23 AM, phanikishan phanikis...@gmail.com wrote: Deepak Shetty wrote: a 404 means file not found. Observe the Requested URL and check whether the URL is right and the file really doesnt exist or if the URL is wrong. Directly typing this URL in the browser should give you

Re: How to distinguish performance drawback source

2009-07-14 Thread Deepak Shetty
hi possible problems that i can think of are a. You have loaded the Jmeter client with more load than it can handle (as a rule of thumb i wouldn't run more than 20-25 threads from a single client jmeter). You would need to distribute your test across multiple machines (You can check whether your

Re: Steps to record HTTP request

2009-07-14 Thread Deepak Shetty
Message- From: Deepak Shetty [mailto:shet...@gmail.com] Sent: Tuesday, July 14, 2009 11:04 PM To: JMeter Users List Subject: Re: Steps to record HTTP request Did you configure your browser to use your proxy server (and started the proxy server) ? On Tue, Jul 14, 2009 at 7:33 AM, Vijay vi

Re: Steps to record HTTP request

2009-07-14 Thread Deepak Shetty
this Thanks Vijay -Original Message- From: Deepak Shetty [mailto:shet...@gmail.com] Sent: Tuesday, July 14, 2009 11:31 PM To: JMeter Users List Subject: Re: Steps to record HTTP request Hi you just click the start button. Are you testing HTTP or HTTPS? If HTTPS did you check use

Re: Which Sampler to use to test RESTful Web Service?

2009-07-14 Thread Deepak Shetty
hi Sampler HTTP Request (with HTTPClient or the normal one) regards deepak On Tue, Jul 14, 2009 at 10:17 PM, Anwaruddin Mohammad anwaruddi...@ocimumbio.com wrote: Dear Team, I was told that JMeter can be used for testing RESTful webservice. I was wondering whether to use Sampler HTTP

Re: Steps to record HTTP request

2009-07-15 Thread Deepak Shetty
Message- From: Deepak Shetty [mailto:shet...@gmail.com] Sent: Wednesday, July 15, 2009 12:02 AM To: JMeter Users List Subject: Re: Steps to record HTTP request Hi I am accessing an application from the server machine using http protocol (just giving the ip address of the server machine

Re: Which Sampler to use to test RESTful Web Service?

2009-07-15 Thread Deepak Shetty
for this From: Deepak Shetty [shet...@gmail.com] Sent: Wednesday, July 15, 2009 11:03 AM To: JMeter Users List Subject: Re: Which Sampler to use to test RESTful Web Service? hi Sampler HTTP Request (with HTTPClient or the normal one) regards deepak On Tue, Jul 14, 2009 at 10:17 PM, Anwaruddin

Re: Modifying data while filling forms and basic Jmeter help

2009-07-15 Thread Deepak Shetty
You have to use one of the Post Processors (e.g. Regex) to extract this token from the Servers response into a variable and post the data back to the server whenever its needed regards deepak On Wed, Jul 15, 2009 at 2:33 AM, phanikishan phanikis...@gmail.com wrote: Deepak Shetty wrote

Re: JMeter and Ant Logging

2009-07-15 Thread Deepak Shetty
: Hi, thx for the response. Please note that the consoleappender is in comment (please note the cross sign at the beginning of the line #) and that the stdout is pointing to a FileAppender ! So basically I want to suppress that logs are coming in the console. Regards, S. Deepak

Re: How to distinguish performance drawback source

2009-07-15 Thread Deepak Shetty
ziohau...@gmail.com wrote: Deepak Shetty wrote: hi possible problems that i can think of are a. You have loaded the Jmeter client with more load than it can handle (as a rule of thumb i wouldn't run more than 20-25 threads from a single client jmeter). You would need to distribute

Re: Do Jmeter Support Java Script calls..?

2009-07-16 Thread Deepak Shetty
how practical with you consider using the __javaScript() function in this type of situations? (or any other way to process client side actions when they are strictly needed) I ran into this problem recently and decided to write java code that simulated what the function does (generating complex

Re: Do Jmeter Support Java Script calls..?

2009-07-16 Thread Deepak Shetty
investigation. On Thu, Jul 16, 2009 at 12:30 PM, Deepak Shetty shet...@gmail.com wrote: how practical with you consider using the __javaScript() function in this type of situations? (or any other way to process client side actions when they are strictly needed) I ran into this problem

Re: BSF Scripts and User Defined Variables

2009-07-16 Thread Deepak Shetty
In the documentation RANDOM_NAME is a variable whose value is the actual script contents that you wish to run. (i.e. the code itself) If your sampler is working fine , why not just do vars.put(GUID, YOURCALCULATEDVALUE); regards deepak On Thu, Jul 16, 2009 at 10:59 AM, S.D. sidd.da...@gmail.com

Re: BSF Scripts and User Defined Variables

2009-07-16 Thread Deepak Shetty
Also note that (from docs) ${__BeanShell(source(function.bsh))} - processes the script in function.bsh is what you'd probably use to run a script... regards deepak On Thu, Jul 16, 2009 at 11:23 AM, Deepak Shetty shet...@gmail.com wrote: Hi You mean that RANDOM_NAME contains actual beanshell

Re: asserting PDF responses?

2009-07-16 Thread Deepak Shetty
but is there a way to assert against text WITHIN the PDF If you really wanted to do this then you'd have to interpret the response(for any binary file) and check it in this case BSH Post Processor (or equivalent) plus iText (to parse the PDF and get its text out) regards deepak On Thu, Jul 16,

Re: asserting PDF responses?

2009-07-16 Thread Deepak Shetty
, blackgaff joseph.kill...@gmail.comwrote: Thanks for the quick response - looks like Ill get to learn BeanSheel and iText. Deepak Shetty wrote: but is there a way to assert against text WITHIN the PDF If you really wanted to do this then you'd have to interpret the response(for any binary

Re: BSF Scripts and User Defined Variables

2009-07-16 Thread Deepak Shetty
))} Thanks again for any insight. On Thu, 2009-07-16 at 11:27 -0700, Deepak Shetty wrote: Also note that (from docs) ${__BeanShell(source(function.bsh))} - processes the script in function.bsh is what you'd probably use to run a script... regards deepak

Re: overriding http request

2009-07-16 Thread Deepak Shetty
I normally add a BSH pre processor. and use sampler.addArgument or write a Utility java class and call out to it. regards deepak On Thu, Jul 16, 2009 at 12:21 PM, Paul Rogers paul.rog...@shaw.ca wrote: The web app Im currently testing has requests with a lot of parameters, which is getting

Re: Modifying data while filling forms and basic Jmeter help

2009-07-17 Thread Deepak Shetty
: Deepak Shetty wrote: You have to use one of the Post Processors (e.g. Regex) to extract this token from the Servers response into a variable and post the data back to the server whenever its needed regards deepak Hey Deepak, Thanks for the help, but the help feature in Jmeter

Re: Do we have a mechanism to execute test(s) specific amount of time ?

2009-07-17 Thread Deepak Shetty
does this work for you? http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Runtime_Controller On Fri, Jul 17, 2009 at 5:55 AM, Andrew Melnyk melnykena...@gmail.comwrote: Hi guys, I wonder if Jmeter provides a mechanism to set up test(s) execution time frame. For example, i

Re: Unique Identifiers for Test Samples?

2009-07-17 Thread Deepak Shetty
I use Jmeter User Parameters with Update once per iteration to achieve something similar. You can also use BSH and vars to set the variable and only update it whenever you want (each thread would have its own value ) regards deepak On Fri, Jul 17, 2009 at 12:18 PM, S.D. sidd.da...@gmail.com

  1   2   3   4   5   6   7   8   9   10   >