Re: JMeter Ant Task - Ramp up property

2010-03-11 Thread Deepak Shetty
your build file isnt valid xml. You can open the file in IE or FF and see regards deepak On Thu, Mar 11, 2010 at 8:31 PM, Anamika aaa anamika...@gmail.com wrote: thank you for the reply i tried implementing the same but when i am running the ant build i am getting premature end of file

Re: getting apache thread count.. how?

2010-03-12 Thread Deepak Shetty
a count of the exact amount of threads its receiving.. it has other useful info like cpu, but not thread count. what do the people here use for reporting/monitoring the apache info (on the server side) thanks! On Thu, Mar 11, 2010 at 6:22 PM, Deepak Shetty shet...@gmail.com wrote: Use

Re: localhost kernel: possible SYN flooding on port 80. Sending cookies

2010-03-12 Thread Deepak Shetty
1. Do you have assertions on your test that verify your response? JMeter will only flag HTTP errors. It cant flag application errors unless you have assertions. Or you might temporarily run in GUI mode with a view results tree or use a simple listener to write out the response data and inspect

Re: localhost kernel: possible SYN flooding on port 80. Sending cookies

2010-03-13 Thread Deepak Shetty
someone that had the same type of error, and I believe you (Deepak) suggested splitting the load between to machines: I did this, and still got the same errors..although fewer ones. any suggestions? On Fri, Mar 12, 2010 at 5:28 PM, Deepak Shetty shet...@gmail.com wrote: 1. Do you have

Re: Jmeter Beginner

2010-03-14 Thread Deepak Shetty
http://jakarta.apache.org/jmeter/usermanual/index.html http://jakarta.apache.org/jmeter/usermanual/index.htmlAfter that you can use Google . On Sun, Mar 14, 2010 at 2:41 AM, rpkishore rpkish...@yahoo.com wrote: Hi Everyone, Can anyone please tell me where to start in Jmeter tutorial, I'm new

Re: I thought i was starting to understand jmeter, then this situation happens...

2010-03-15 Thread Deepak Shetty
understand something. can anyone help shed some light on this? On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty shet...@gmail.com wrote: http://jakarta.apache.org/jmeter/usermanual/index.html http://jakarta.apache.org/jmeter/usermanual/index.htmlAfter that you can use Google . On Sun

Re: I thought i was starting to understand jmeter, then this situation happens...

2010-03-15 Thread Deepak Shetty
-connections = 5000 sooo that could be the reason! and I'll change that... but I still have the same webserver at the office, with typical cisco 2950 switches, and no errors to indicate if there is a bottleneck... why have such a low threadcount. On Mon, Mar 15, 2010 at 12:27 PM, Deepak Shetty

Re: How to search for text within a PDF?

2010-03-15 Thread Deepak Shetty
deepak On Thu, Mar 11, 2010 at 8:36 PM, Deepak Shetty shet...@gmail.com wrote: 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

Re: Error in listener (view tree result)

2010-03-16 Thread Deepak Shetty
this is probably an OS related problem. Check how to increase number of open files/ socket for the OS you are running on (usually ulimit) On Tue, Mar 16, 2010 at 8:58 PM, deeviya deeviya.1...@gmail.com wrote: Hi, Thanks sebb. I tried googling for the issue I m getting in the log

Re: JMeter and JPetStore application

2010-03-17 Thread Deepak Shetty
Hi check your browser proxy settings (they should point to jmeter ) and. Bypass proxy for local address should be unchecked for IE or No Proxy for should be blank if using FF. regards deepak On Wed, Mar 17, 2010 at 8:56 AM, Saurabh Gupta stonecold.saur...@gmail.comwrote: Hi Jean. WAS is using

Re: JMeter and JPetStore application

2010-03-17 Thread Deepak Shetty
, 2010 at 9:33 PM, Deepak Shetty shet...@gmail.com wrote: Hi check your browser proxy settings (they should point to jmeter ) and. Bypass proxy for local address should be unchecked for IE or No Proxy for should be blank if using FF. regards deepak On Wed, Mar 17, 2010 at 8:56 AM

Re: Starting threads in threads

2010-03-17 Thread Deepak Shetty
Hi whether or not you can use more than 1 thread will depend on the implementation (basically whether they share cookies , because if they do then you should use 1 thread or be prepared to write some complicated code). You cant start 1 thread from the other in JMeter but you can make a thread wait

Re: Help on Test EJB server with Java Request

2010-03-17 Thread Deepak Shetty
You probably have a suppressed exception somewhere (you need to print out the exception so you can see whats wrong). Typically you should get some JNDI exception or NameNotFoundException, you dont normally get null. If you have this working from a standalone java class, see what is there in the

Re: How to Parse Web Service Response to Delimited Text

2010-03-17 Thread Deepak Shetty
Hi concat function didnt seem to work (if you can get it to work on JMeter then great). Im assuming you only have 1 car element per response Write 4 XPATH extractors , that extract into variables /CarsQueryResponse/cars/car/name/text() --carName /CarsQueryResponse/cars/car/year/text() --year

Re: How to Parse Web Service Response to Delimited Text

2010-03-17 Thread Deepak Shetty
regards deepak On Wed, Mar 17, 2010 at 1:54 PM, Deepak Shetty shet...@gmail.com wrote: Hi concat function didnt seem to work (if you can get it to work on JMeter then great). Im assuming you only have 1 car element per response Write 4 XPATH extractors , that extract into variables

Re: How to Parse Web Service Response to Delimited Text

2010-03-17 Thread Deepak Shetty
Extractors and Bean Shell Listeners. Thank you Deepak. I wonder how do make this listener work only for valid responses not for SoapFaults, should that be part of my script code ? On Wed, Mar 17, 2010 at 3:54 PM, Deepak Shetty shet...@gmail.com wrote: Hi concat function didnt seem

Re: Starting threads in threads

2010-03-18 Thread Deepak Shetty
created two thread groups and got stuck at this first step that deepak mentioned (session cookie sharing between the equivalent threads of the 2 groups). how would you approach this issue? thanks in advance. On 3/17/10, Deepak Shetty shet...@gmail.com wrote: Hi whether or not you can use

Re: Getting Session Expired Message for the load test of a HTTPS web application using JMeter

2010-03-18 Thread Deepak Shetty
Hi been discussed multiple times in these forums in various forms, typically you have Reedirect Automatically instead of follow redirects or your login didnt succeed or you didnt send back the correct session id . Your test also has a URL Rewriting Modifier and a cookie manager , you normally need

Re: Getting Session Expired Message for the load test of a HTTPS web application using JMeter

2010-03-18 Thread Deepak Shetty
correlation properly? Thanks rajesh Deepak Shetty wrote: Hi been discussed multiple times in these forums in various forms, typically you have Reedirect Automatically instead of follow redirects or your login didnt succeed or you didnt send back the correct session id . Your test also

Re: parameters question

2010-03-19 Thread Deepak Shetty
If you want to dynamically change the number of parameters that you submit on a request, the only way I know is a beanshell preprocessor on the sampler whoich does a sampler.addArgument(key,value); You can read the extracted values from the vars object in beanshell and you can always use a Debug

Re: parameters question

2010-03-19 Thread Deepak Shetty
=unchecked and Include equals unchecked, though this wont work for POST http://theworkaholic.blogspot.com/2010/03/dynamic-parameters-in-jmeter.html regards deepak On Fri, Mar 19, 2010 at 3:42 PM, Deepak Shetty shet...@gmail.com wrote: If you want to dynamically change the number of parameters

Re: Reg NTLM Authorization Manager

2010-03-19 Thread Deepak Shetty
Hi From a brief reading of http://davenport.sourceforge.net/ntlm.html http://davenport.sourceforge.net/ntlm.htmlThe NTLMv2 Response Step 2 *The Unicode uppercase username is concatenated *with the Unicode authentication target (the domain or server name specified in the Target Name field of the

Re: Getting Session Expired Message for the load test of a HTTPS web application using JMeter

2010-03-22 Thread Deepak Shetty
do now..shall i record with badboy the requests..or how can i extract the value of JSESSIONID from the cookie and attach it to the url.. note m not getting anyerror as all signals are green Deepak Shetty wrote: Hi First using a browser trace tool like liveHttpHeaders for FF figure

Re: Reg NTLM Authorization Manager

2010-03-22 Thread Deepak Shetty
hi Source code should probably be in HTTPClient , not in JMeter . You might want to check directly using httpclient api's (not via jmeter) Again , whether or not IE or FF change the case of the entered text , a user can enter his username in any case right? Also what version of NTLM ? Did you also

Re: How to use a main Duration Assertion over multiple HTTP threads ?

2010-03-22 Thread Deepak Shetty
Hi The following works Thread Group +Transaction Controller(Generate Parent Sample = yes) ++Simple Controller +++Sample1 ++Simple Controller +++Sample2 +++Sample3 +++Sample4 ++Duration Assertion (child of transaction controller, main sample only) Only disadvantage is it will change the

Re: Typed variable declaration error opening AQSession with BeanShell Sampler

2010-03-22 Thread Deepak Shetty
try catch blocks printing exception stacktraces and liberal print and log statements :) If your code is working in eclipse then its probably classpath libraries/ property files that are available in your eclipse project but not to JMeter. On Mon, Mar 22, 2010 at 9:12 AM, Peter

Re: FW: How to setup JMeter to run Remote Server through proxy.

2010-03-22 Thread Deepak Shetty
Im not exactly sure what you want to do. Do you a. Want to have JMeter use a proxy for its test? OR b. Want to run JMeter in distributed mode AND use a proxy when making HTTP requests? if a.) then 1. is your proxy working correctly? From the machine where you are running JMeter , launch a browser

Re: Spring REST @PathVariable with JMeter

2010-03-22 Thread Deepak Shetty
Feed Items rc=500 rm=Internal Server Error tn=ClientServices Users 1-1 dt=text by=5106/ Deepak Shetty wrote: whats the ${UUID} you have in your path? You probably want this to be a user id correct? where should this user id be got from? Do you have a working request to this REST service

Re: Reg NTLM Authorization Manager

2010-03-23 Thread Deepak Shetty
hi A user can enter the username in any case and it gets through NTLM So if a user enters his username in all CAPS , IE still sends the version the application expects ? I think im missing something here though I cant place it. I guess a better place to check would be HTTPClient forums (assuming

Re: Typed variable declaration error opening AQSession with BeanShell Sampler

2010-03-23 Thread Deepak Shetty
Did you catch Throwable or Exception ? On Mon, Mar 22, 2010 at 11:37 PM, Peter peterg1...@gmail.com wrote: thanks for your hints. During init AQjmsSession javax.transaction.Transaction is referenced, whereas there was shown no dependency. Adding jta.jar to lib/ext solved the problem. btw:

Re: Beanshell PostProcessor Variables

2010-03-23 Thread Deepak Shetty
Hi one way is to print out for e.g. ctx.getClass().getName() which gives org.apache.jmeter.threads.JMeterContext which leads to http://jakarta.apache.org/jmeter/api/org/apache/jmeter/threads/JMeterContext.html regards deepak On Tue, Mar 23, 2010 at 10:25 AM, Prakash Viswanathan

Re: JMeter Variables and Threads

2010-03-23 Thread Deepak Shetty
1. Why do you want to do this? The CSV Data Set variable is available everywhere in the thread why do you want to reassign it to some other variable.Read also when UDV's are processed http://jakarta.apache.org/jmeter/usermanual/component_reference.html#User_Defined_Variables . 2. You are making

Re: confused again about users/threads

2010-03-24 Thread Deepak Shetty
Hi Deja Vu :) Each thread corresponds to a potential simultaneous request so 500 threads should be 500 potential simultaneous requests to the server. A loop would be a sequential request in the same thread so your test should have had 500 requests being made simultaneously and a total of 500*5*1

Re: confused again about users/threads

2010-03-24 Thread Deepak Shetty
go about explaining this behavior??? its making me feel i'm truly in another dimension with different physical properties...LOL humbly yours... will On Wed, Mar 24, 2010 at 1:40 PM, Deepak Shetty shet...@gmail.com wrote: Hi Deja Vu :) Each thread corresponds to a potential simultaneous

Re: Ensure number of requests per second

2010-03-26 Thread Deepak Shetty
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Constant_Throughput_Timeris what you use . However 7 requests per second doesnt really indicate how many of those you want concurrently, presumably you do want 7. So you would have 7 threads . Then you would say you need a

Re: Adding parameters to a Http Sampler dynamically

2010-03-27 Thread Deepak Shetty
hi this was just answered in the archives And written up here http://theworkaholic.blogspot.com/2010/03/dynamic-parameters-in-jmeter.html regards deepak On Sat, Mar 27, 2010 at 5:42 AM, prasanna bhat prasannabha...@gmail.comwrote: Hi, I'm a novice JMeter user. From my knowledge of fiddling

Re: Adding parameters to a Http Sampler dynamically

2010-03-27 Thread Deepak Shetty
Great. Note that you could use a BSF post processor as well and use any of the languages it supports regards deepak On Sat, Mar 27, 2010 at 11:21 AM, prasanna bhat prasannabha...@gmail.comwrote: Thanks Deepak. It was really helpful. -Prasanna On Sat, Mar 27, 2010 at 9:29 PM, Deepak Shetty

Re: Adding parameters to a Http Sampler dynamically

2010-03-28 Thread Deepak Shetty
information on BSF, particularly how to use Java in BSF, any pointers on this will be of great help. Thanks, Prasanna And On Sun, Mar 28, 2010 at 2:47 AM, Deepak Shetty shet...@gmail.com wrote: Great. Note that you could use a BSF post processor as well and use any of the languages

Re: BeanShell PreProcessor question

2010-03-29 Thread Deepak Shetty
I think your question is you are using ${randomword} in 3 samplers and the first two are the same but the third one differs and you need to use the same value for all 3 samplers? If so I would assume that your pre processor got executed again . If your preprocessor is not the child of a sample and

Re: BeanShell PreProcessor question

2010-03-29 Thread Deepak Shetty
, it looks like it is executed for every Sampler in my case for every Search. I''ve attached my test plan. 2010/3/29 Deepak Shetty shet...@gmail.com I think your question is you are using ${randomword} in 3 samplers and the first two are the same but the third one differs and you need to use

Re: BeanShell PreProcessor question

2010-03-29 Thread Deepak Shetty
/BeanShell.jmx.html I'm continuing to play with it. 2010/3/29 Deepak Shetty shet...@gmail.com Attachments dont come through. you will have to upload somewhere and post a link. Like I said you probably need to create this pre processor as a child of the first sampler.. regards deepak On Mon

Re: XSL + JTL Logs getting error content not allowed

2010-03-29 Thread Deepak Shetty
There is a problem in either your JTL file or your xslt (if you wrote a custom one). if the .jtl file is not too big you can load it in any browser, if it is big then you probably need to write some code that will validate it (unless you have some obvious problem that the .jtl file is using CSV

Re: Jmeter AJAX Testing

2010-03-29 Thread Deepak Shetty
An AJAX request is still an HTTP request so yes JMeter can be used. How easy or difficult depends on what the AJAX does and what exactly you want it to do. If you are looking to do functional testing then Selenium/QTP/Watir are probably better choices, for Load testing scenarios, JMeter should

Re: Regex Help Please

2010-03-29 Thread Deepak Shetty
You need to use single line mode (check the jmeter docs on regexes - http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Response_Assertionand http://jakarta.apache.org/jmeter/usermanual/regular_expressions.html ) (?s)[']RequestId([^']*)\s*[^]*request-form should work regards

Re: Debugging JMeter

2010-04-01 Thread Deepak Shetty
If your script is complex enough that you cant easily detect problems visually then perhaps you can write it as a java class that can be called from beanshell ? Its what I do after I get tired of adding print statements after every line :). regards deepak On Thu, Apr 1, 2010 at 3:40 AM, Noel

Re: Jmeter basics please

2010-04-02 Thread Deepak Shetty
...@gmail.com wrote: HI Deepak, Thanks for providing link to me now i came to know difference between load and performance testing. I wnat to perform load,performance and capacity testing for a web site. can you guide me how to do that. Thanks in advance. Naga Deepak Shetty wrote: Take

Re: Using TELNET in Jmeter

2010-04-05 Thread Deepak Shetty
any java api can be called form a Beanshell or Java sampler. So you'd need to write code us9ing commons-net and call it from either of these samplers On Sun, Apr 4, 2010 at 11:43 PM, ManjuBN bnma...@gmail.com wrote: I am trying to connect to remote server using Putty or TELNET ex(Telnet

Re: Jmeter Secured Webservice

2010-04-05 Thread Deepak Shetty
if its basic authentication then it should work with the authorization manager... On Mon, Apr 5, 2010 at 7:40 PM, Arun Sakthi arunsak...@gmail.com wrote: Hi, I'm trying to test a webservice in my company which is secured. When I mean as secured, its prompting for user credentials even to

Re: Jmeter Secured Webservice

2010-04-05 Thread Deepak Shetty
? On Mon, Apr 5, 2010 at 9:52 PM, Deepak Shetty shet...@gmail.com wrote: if its basic authentication then it should work with the authorization manager... On Mon, Apr 5, 2010 at 7:40 PM, Arun Sakthi arunsak...@gmail.com wrote: Hi, I'm trying to test a webservice in my company

Re: Using TELNET in Jmeter

2010-04-06 Thread Deepak Shetty
On Tue, Apr 6, 2010 at 10:01 AM, aprakash abhijit.prakas...@gmail.comwrote: Hi Deepak can u provide any sample for the same,it would be really appreciated Deepak Shetty wrote: any java api can be called form a Beanshell or Java sampler. So you'd need to write code us9ing commons-net

Re: Calling one test from another test

2010-04-06 Thread Deepak Shetty
Hi look at include controllers and module controllers regards deepak On Tue, Apr 6, 2010 at 1:26 PM, Janine DeBeradinis jdeberadi...@higherone.com wrote: Hello - Can you please tell me if it is possible to call one test from another test using JMter? I have looked through the documentation

Re: Customizing the evaluation order of assertions?

2010-04-06 Thread Deepak Shetty
Hi I dont think there is any way to do this. I had to do something similar and I ended up resolving the order while generating the result (i.e. a custom stylesheet which picked out the assertions in the order that I wanted). Whats the reason behind wanting the order other than you know if the

Re: Error with 18.1.6 WebService(SOAP) Request

2010-04-06 Thread Deepak Shetty
Hi 1. Look at the example http://www.w3schools.com/webservices/tempconvert.asmx?op=CelsiusToFahrenheit From ?xml.. onwards . (change the value of the celsiusstring/celcius to the value you want to convert 2. what warning? regards deepak On Tue, Apr 6, 2010 at 8:53 PM, kSridhar123

Re: Calling one test from another test

2010-04-07 Thread Deepak Shetty
. Thanks. Janine -Original Message- From: Deepak Shetty [mailto:shet...@gmail.com] Sent: Tuesday, April 06, 2010 4:34 PM To: JMeter Users List Subject: Re: Calling one test from another test Hi look at include controllers and module controllers regards deepak On Tue, Apr 6

Re: rewrite absolute URLs containing '/../'?

2010-04-07 Thread Deepak Shetty
Jmeter fetches URL's that you ask to fetch (so you can format them any which way you want), so where are you seeing this problem? in redirects (you can deal with this by writing a little code instead of needing to change Jmeter code)? Jmeter Code should be in

Re: rewrite absolute URLs containing '/../'?

2010-04-07 Thread Deepak Shetty
Tomcat or the client that interprets it as what one sees in 2) (in which case the fix is indeed easier in JMeter). Hope the above explains my motivation On Wed, Apr 7, 2010 at 10:01 AM, Deepak Shetty shet...@gmail.com wrote: Jmeter fetches URL's that you ask to fetch (so you can format

Re: Error with 18.1.6 WebService(SOAP) Request

2010-04-07 Thread Deepak Shetty
. Response message: java.lang.NoClassDefFoundError: javax/mail/MessagingException. Surprisingly i do not see any Request / Response Data in the Result Tree. Does it mean it is not getting generate properly. Where do we check Web Service Load Errors? Thanks in advance. Deepak Shetty wrote

Re: Jmeter replace

2010-04-07 Thread Deepak Shetty
if your code is literal then you havent closed the quote str = ${MyVar} Check if there are beanshell errors. if not check that you dont have any whitespace in the xml(or change the replace all to be a regexp that will match) regards deepak On Wed, Apr 7, 2010 at 12:49 PM, s...@icarinae.com

Re: Jmeter replace

2010-04-07 Thread Deepak Shetty
Hi You should probably use str = vars.get(MyVar); str=str.replaceAll(timestamp111/timestamp, timestamp222timestamp); regards deepak On Wed, Apr 7, 2010 at 1:01 PM, Deepak Shetty shet...@gmail.com wrote: if your code is literal then you havent closed the quote str = ${MyVar} Check

Re: Request Parameters Not Included in PUT Request

2010-04-08 Thread Deepak Shetty
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Request * Method Handling: * The POST and PUT request methods work similarly, except that the PUT method does not support multipart requests. The PUT method body must be provided as one of the following: - define the

Re: Getting 90%line data in the reports generated from ant

2010-04-09 Thread Deepak Shetty
You'll have to modify the XSLT. I believe this has been discussed before on the archives. A search reveals http://www.mail-archive.com/jmeter-user@jakarta.apache.org/msg05400.html regards deepak On Fri, Apr 9, 2010 at 8:55 AM, prasanna bhat prasannabha...@gmail.comwrote: Hi, I'm using ant

Re: passing variables between 2 samplers

2010-04-09 Thread Deepak Shetty
Hi you have two options a. return the data you want so that its present in the response and use any of the post-processor extractors to extract out the data b. Set this value into the JMeterVariables so that its accessible as ${VAR_NAME} . to access JmeterVariables in a JavaSampler use

Re: Getting 90%line data in the reports generated from ant

2010-04-11 Thread Deepak Shetty
($sortedresponsetimes[1])/time[$k] / and from the build.xml i got to know that i'm using xalan_2_7_1.jar. the issue is still not fixed. Can you please provide me some inputs on this? Your time is very much appreciated. Thanks, Prasanna On Fri, Apr 9, 2010 at 10:07 PM, Deepak Shetty shet

Re: passing variables between 2 samplers

2010-04-12 Thread Deepak Shetty
Hi Ok great that it works. FYI for the Post Processor option, you must first ensure that the data is present in the JavaSamplers response. (In the returning SampleResult setResponseData) . You can verify that the value is being returned in View results tree response tab. Once you have returned it

Re: Unable to import large aggregate report in jmeter UI, on linux OS

2010-04-12 Thread Deepak Shetty
Hi bigger files are best processed by loading them to database. What errors did you get in jmeter.log (after heap size increase)? Try starting Jmeter with a console (use jmeter.cmd instead of jmeterw) and see what happens . if it seems to get stuck , you can take a thread dump (pause + ctrl

Re: Getting 90%line data in the reports generated from ant

2010-04-12 Thread Deepak Shetty
google docs. Thanks for your time. Regards, Prasanna On Mon, Apr 12, 2010 at 12:12 AM, Deepak Shetty shet...@gmail.com wrote: Hi post your XSLT somewhere and provide a link to it, I dont think the sample would work with 1.0 , I usually use Saxon instead of xalan. regards

Re: Flex load testing

2010-04-12 Thread Deepak Shetty
Hi these are the requests that will download the file (which is a static file download and will be fast). If you perform some operations which call server side components then additional calls should get recorded , then the problem is there. You can cross check with something like fiddler , what

Re: Flex load testing

2010-04-12 Thread Deepak Shetty
realistic. -Original Message- From: Deepak Shetty [mailto:shet...@gmail.com] Sent: Monday, April 12, 2010 4:06 PM To: JMeter Users List Subject: Re: Flex load testing Hi these are the requests that will download the file (which is a static file download and will be fast). If you

Re: JMeter Cookie Question

2010-04-12 Thread Deepak Shetty
Hi Isnt this a bug in the app http://[snip]/obrareq.cgi can only set cookies scoped to /obrareq.cgi or / If this is a single sign on solution as it looks that it is , then you need to configure it to scope cookies to '/' regards deepak On Mon, Apr 12, 2010 at 6:29 PM, jason.f.da...@kp.org wrote:

Re: Jmeter - Dynamic URL - How to record Script and Run.

2010-04-13 Thread Deepak Shetty
The generated url should be available in the previous request. you have to extract it out , using a post-processor into a variable (usually a regex extractor) and then use that variable as the path in the next request. Similar problems have been discussed multiple times in the mail archives.

Re: User defined variables

2010-04-13 Thread Deepak Shetty
should have worked . There might be a case mismatch or whitespace or something in the UDV. if you have verified that then what is your exact Test Structure and definition?(also did you get any errors in jmeter.log) On Tue, Apr 13, 2010 at 2:49 AM, ben.cuthb...@hsbcib.com wrote: All Could how

Re: User defined variables

2010-04-13 Thread Deepak Shetty
. Is there a template anywhere that I can base my GUI code off? Regards __ Deepak Shetty shet...@gmail.com

Re: Jmeter javascript

2010-04-13 Thread Deepak Shetty
hi you cant execute javascript. However what is visually displayed is irrelevant, there must be a save function or submit function that sends some data to the server which should get recorded - as long as you send the same data the cart will be emptied. regards deepak On Tue, Apr 13, 2010 at

Re: How to get the analyze result of custom Java Request?

2010-04-13 Thread Deepak Shetty
You can add them as variablkes JMeterContextService. getContext().getVariables().put(clientToServer,String.valueOf(clientToServer)); JMeterContextService. getContext().getVariables().put(ServerToClient,String.valueOf(ServerToClient)); and use sample_variables to be

Re: Question on Ramp Up period

2010-04-14 Thread Deepak Shetty
Hi Other factors to consider is a. What are you trying to test For e.g. Suppose your application deadlocks sometimes and you need to simulate this. In this case you might not want a ramp up time , you actually do want your application to be hit at the same time . On the other hand if you are

Re: JMeter and SOAP with Attachment

2010-04-21 Thread Deepak Shetty
Yes if you use your favorite webservice toolkit and a java sampler. There is no direct support in the samplers (atleast the current versions). You might want to look at SOAPUI regards deepak On Wed, Apr 21, 2010 at 1:52 PM, Viggo Navarsete vi...@tracetracker.comwrote: Hi, is it possible to

Re: HTTP POST redirection issue

2010-04-22 Thread Deepak Shetty
Hi This makes any further post-processing and continuation impossible. Youll have to extract the URL from the location header (using regular expression post processor) and then make an explicit request to it (if its a bug in JMeter , till its fixed) regards deepak On Thu, Apr 22, 2010 at 12:24

Re: Jmeter Cookie problem

2010-04-22 Thread Deepak Shetty
Ensure you have follow redirects instead of redirect automatically. Using View Results tree check whether the cookie gets set and whether JMeter is passing it back On Wed, Apr 21, 2010 at 11:46 PM, Anamika aaa anamika...@gmail.com wrote: Hi , I am trying to test a web application using HTTPS

Re: Jmeter test, configure proxy from a url

2010-04-22 Thread Deepak Shetty
Hi a check whether apache httpclient lets you configure different proxies (It didnt , the last I remember) - If this is yes you might be able to use the HTTPClient sampler. If not then the only way I can think of is use a proxy like fiddler which can itself chain to upstream proxies (your actual

Re: Working with dynamic links (HTML Link Parser) (Websphere portal 6.0)

2010-04-22 Thread Deepak Shetty
Shouldnt be any difference from any other web app . Dynamic links almost always need a regex post processor or an XPATH post processor. A link parser is probably not appropriate. Do you have a specific problem? regards deepak On Thu, Apr 22, 2010 at 1:38 PM, daviddavid david_cao2...@yahoo.com

Re: Working with dynamic links (HTML Link Parser) (Websphere portal 6.0)

2010-04-22 Thread Deepak Shetty
me detail example about it? Thank you very much. David Deepak Shetty wrote: Shouldnt be any difference from any other web app . Dynamic links almost always need a regex post processor or an XPATH post processor. A link parser is probably not appropriate. Do you have a specific

Re: Working with dynamic links (HTML Link Parser) (Websphere portal 6.0)

2010-04-22 Thread Deepak Shetty
, 2010 at 7:19 PM, Deepak Shetty shet...@gmail.com wrote: Hi I havent worked specifically with WebSphere (WebLogic being my thing), but this really doesnt matter , its a web -application and the principles are the same. You have to first note what your app does on the browser (you can use

Re: JMeter UI freezes on startup when jar in its classpath is huge

2010-04-23 Thread Deepak Shetty
In addition such jars should only be in jmeter/lib not lib/ext regards deepak On Fri, Apr 23, 2010 at 10:29 PM, Deepak Shetty shet...@gmail.com wrote: hi weblogic.jar isnt needed use wlclient.jar which should be in server/lib regards deepak On Fri, Apr 23, 2010 at 10:24 PM, Setya jse

Re: JMeter UI freezes on startup when jar in its classpath is huge

2010-04-24 Thread Deepak Shetty
what are you getting in the logs? Also as mentioned move your jars to the lib directory (that should be able to prevent the startup freeze). If you arent getting anything then run jmeter with console (jmeter.cmd) and take a threaddump (ctrl + pause break on the console window i.e. the command

Re: Jmeter Cookie problem

2010-04-27 Thread Deepak Shetty
, Deepak Shetty shet...@gmail.com wrote: Ensure you have follow redirects instead of redirect automatically. Using View Results tree check whether the cookie gets set and whether JMeter is passing it back On Wed, Apr 21, 2010 at 11:46 PM, Anamika aaa anamika

Re: Pleas help me in the cookie scenario with jmeter

2010-04-27 Thread Deepak Shetty
1. Record a script for one login , replace username/password by variables . Parameterise using User parameters or CSV. Identify all dynamic values and replace with variables. 2. Jmeter doesnt use any cache unless you add it(A HTTP Cache Manager) to your script (and even then it probably wont

Re: jmeter uploading a file

2010-04-28 Thread Deepak Shetty
My reading is that this shouldnt really make a difference . do you know what error you get on the server side? Replaying it fails also. What does the HTTP sampler have? And do you get any errors in the logs? Is the file shown correctly in the send files with request? if you give an absolute path

Re: Jmeter Cookie problem

2010-04-30 Thread Deepak Shetty
, Apr 27, 2010 at 10:14 PM, Deepak Shetty shet...@gmail.com wrote: 1) JMeter does not support or execute javascript. However this is not necessarily a problem because some applications do display a noscript message (which is perhaps what you are seeing) and autosubmit the form

Re: Jmeter and Orbeon Forms

2010-05-04 Thread Deepak Shetty
Hi I dont think you'll find anyone with experience on Orebon specifically(but its no different from any other webapp with dynamically named fields ). Looking through the site demo it seems that a POSt translates to two requests, both of which have dynamic data , plus field names etc are also

Re: Can Jmeter record Rich Modal Window actions.

2010-05-05 Thread Deepak Shetty
JMeter records HTTP requests and responses. Since a modal dhtml window is (normally) pure client side, there is nothing to record. However when the user clicks ok , presumably some http request will be made , which JMeter will record, thats the important one So My script is failing. Various

Re: Can Jmeter record Rich Modal Window actions.

2010-05-05 Thread Deepak Shetty
Here, when user clicks OK, we are calling a method to save a specific set of data to DB. If an HTTP request is made , it will be recorded. the only exception may be if its HTTPS(i believe you need the nightly build or something, search the mail archives) or if your proxy isnt setup correctly.

Re: Increasing the no of Threads/ Users dynamically

2010-05-10 Thread Deepak Shetty
use separate threadgroups or http://code.google.com/p/jmeter-plugins/wiki/SteppingThreadGroup Some mails in the mail archives deal with this On Mon, May 10, 2010 at 6:49 AM, raj4smiles rajiniganth.jagadee...@bt.comwrote: Hi, I have a requirement like. I should start load testing on a

Re: Inserting dynamic values in the application

2010-05-12 Thread Deepak Shetty
Create a CSV file which has two columns with the data (acocunt number, mobile number) Use a CSV dataset config element and define the variables here as accountNumber,mobileNumber In your sampler which sends the value use ${accountNumber} or ${mobileNumber} instead of the recorded value Use debug

Re: HTTP Request Sampler configuration for REST

2010-05-12 Thread Deepak Shetty
The HTTPSampler probably can only use the types that form can use are application/x-www-form-urlencoded or multipart/form-data . So I dont think what you want is currently supported The mime type against the file parameter , should be the mime-type of the file - text/xml or whatever not of the

Re: How to extract the hidden values from JSP page??

2010-05-12 Thread Deepak Shetty
Now they are using JSP and the project id is been displayed in the URL itself. which means it must be in the previous page (on which the link is clicked or it is formed by javascript or being sent as part of a redirect). Inspect the HTML in your browser. On Wed, May 12, 2010 at 10:12 PM, Nithya

Re: Inserting dynamic values in the application

2010-05-13 Thread Deepak Shetty
the dynamic values are being inserted.Is it possible to make JMeter to fetch the dynamic data from the database. Hope I am not confusing you.Thanks in Advance. Regards, Praveen. -Original Message- From: Deepak Shetty [mailto:shet...@gmail.com] Sent: Wednesday, May 12, 2010 8:26 PM

Re: Is their any way to display the User defined messages in Jmeter?

2010-05-13 Thread Deepak Shetty
Depends on where/when you want the message displayed . If you have a fixed message (depending on success failure), you should probably do this when you interpret the results (for e.g. in the Stylesheet if using XML + XSLT). On Thu, May 13, 2010 at 4:37 AM, GautamPr

Re: Cookie Manager woes

2010-05-13 Thread Deepak Shetty
possibly you havent specified the data correctly in the Cookie Manager e.g. domain should be blah.com (exactly) path should be / or /blah secure should be blank On Thu, May 13, 2010 at 7:39 AM, jacobd ja...@aimatch.com wrote: Hey everyone. Im having trouble with using the cookie manager

Re: Ordered execution of multiple thread groups

2010-05-15 Thread Deepak Shetty
Specify it on the test plan On May 15, 2010 10:15 AM, prasanna bhat prasannabha...@gmail.com wrote: Hi, I have a use case where in the entire test case has to be split into multiple thread groups. Say: +Thread Group 1: ++Components + Thread Group 2 ++Components +Thread Group 3 ++

Re: Monitor Listner in JBoss

2010-05-19 Thread Deepak Shetty
No as far as I know - unless you are willing to write and deploy a status servlet on JBOSS that can return the data in the same way as the tomcat status servlet (I believe you would need to interact with the mbeans to get the same data out) , or you run JBoss with Tomcat Embedded regards deepak

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