Re: Iterate over files

2011-10-21 Thread chaitanya bhatt
Use the standard *BeanShell* commands: cat(); *cd*(); cp(); mv(); rm(); *dir *();; You can call external commands as exec("command"); Thanks Chaitanya M Bhatt http://www.performancecompetence.com On Fri, Oct 21, 2011 at 6:38 AM, Morten Kristiansen wrote: > Hi, > > I want to create a JMeter test

Re: SSL Cert Error

2011-10-19 Thread chaitanya bhatt
TesterinCo, 1. Have you tried recording this business case using different browsers (IE, Mozilla, Chrome). If not, then please try - you may get lucky. 2. When you were recording the business case via the browser, did you encounter a pop that prompted you to accept a certificate? 3. You can also t

Re: How to send '&' (ampersand) in a string as parameter in Jmeter

2011-02-15 Thread chaitanya bhatt
I think you should uncheck "ENCODE" option in the http sampler when you have special characters in the input value. -Chaitanya M Bhatt On Tue, Feb 15, 2011 at 6:29 PM, Piyush wrote: > Hello All, > > I am sending a string as parameter in HTTP request. > > String is: "First & Last" > But Jmeter c

Re: How to test if variable is null

2010-12-10 Thread chaitanya bhatt
How about using Bean shell? Chaitanya M Bhatt On Fri, Dec 10, 2010 at 9:58 PM, Mack Lobell wrote: > > Hi! > > I'm using a JDBC sampler to get data from a database. Sometimes the fields > in the databse is null and my variables in the sampler will also be null. If > I use the variable in a Respo

Re: Loop Count vs Number of Threads

2010-11-19 Thread chaitanya bhatt
If you are creating 100 threads with zero latency in the ramp up you will have more than 20-30 http connection threads created in the server, plus the concurrency would be very high causing your Database and Application resources to be locked and/or access to be queued. Whereas 10 threads with 10

Re: can't run jmeter on Ubuntu 10.04.1? error = java.lang.Throwable: Could not access /usr/share/jmeter/lib/junit at org.apache.jmeter.NewDriver.(NewDriver.java:96)

2010-10-13 Thread chaitanya bhatt
I guess similar issue has already been resolved in a jmeter thread before. Here is the link:: http://www.mail-archive.com/jmeter-user@jakarta.apache.org/msg29281.html -Chaitanya M Bhatt http://www.performancecompetence.com On Thu, Oct 14, 2010 at 5:07 AM, Kurt Wiseman wrote: > after typing "jmet

Re: Response Code 403 on Post Methods

2010-08-11 Thread chaitanya bhatt
What are the header fields set in your Header manager? -Chaitanya M Bhatt http://www.performancecompetence.com On Wed, Aug 11, 2010 at 7:08 PM, SanderW wrote: > > So if I'm correct your testplan looks like this? > > Test Plan > HTTP Cookie Manager > Thread Group > HTTP Request for login

Re: How to view SOAP Response in gZip Compressed format

2010-08-09 Thread chaitanya bhatt
Yes. It is indeed sent through the network in a compressed format and presented to you in a readable form in jmeter. And it is presented to you that way because, only deflated files can help you implement content checks and correlations in your scripts. As you said the server has responded to your

Re: How to view SOAP Response in gZip Compressed format

2010-08-09 Thread chaitanya bhatt
If you send "Accept-encoding: gzip, deflate", then your server response would be in gzip format. Don't worry about how information is presented to you in Jmeter, de-compression and/or compression happens internally just before message is sent/received. -Chaitanya M Bhat http://www.performancecompe

Re: Jmeter support for functionality Testing.

2010-07-27 Thread chaitanya bhatt
n i not use Jmeter for more functional testing integrating with some java > programs...? where it lags compare with selenium... > > Thanks & Regards, > > -Siva > > > > On Fri, Jul 23, 2010 at 5:08 PM, chaitanya bhatt > wrote: > > > Have you tried Selenium? If n

Re: Jmeter support for functionality Testing.

2010-07-23 Thread chaitanya bhatt
Have you tried Selenium? If not, then now is the time. Download Link: http://seleniumhq.org/download/ Its an industry standard open source tool used for functional automation testing of web applications. Also check out http://www.open2test.org to get frameworks built for Selenium. -Chaitanya M

Re: Beta testers for JMeter Plugins

2010-07-22 Thread chaitanya bhatt
You can forward it to me as well. -Chaitanya M Bhatt http://www.performancecompetence.com 2010/7/22 Andrey Pohilko > Hi all > > > > I've implemented new custom plugins: Ultimate Thread Group and Response > Times Over Time > > I need beta-testers, who'd like to help me make this plugins really t

Re: DB crash

2010-07-22 Thread chaitanya bhatt
Karsten, If your datasource interface is JDBC, then try fetching all the queries fired during the load test from the database trace logs and fire those SQL queries directly to the database tier using Jmeter's JDBC sampler. The reason why I insist people to follow this strip down approach is becaus

Re: GUI client might not reach server through SSH tunnel

2010-07-21 Thread chaitanya bhatt
Flik, Have you tried this without SSH tunneling(probably you might have to disable firewall for 1099 and 4000 ports. Trust me, its worth giving a try). The aim here is not the avoid using SSH but to determine if the problem is with SSH tunneling or whether its with the basic jmeter client-server c

Re: Many slaves or many threads?

2010-07-21 Thread chaitanya bhatt
You can monitor the CPU and memory utilization > > of slave machines and based on that may decide to add more threads or > > more slaves in the setup. > > > > Regards, > > Ragini Thakur > > > > > > -Original Message- > > From: chaitanya b

Re: Many slaves or many threads?

2010-07-21 Thread chaitanya bhatt
Jörg, It depends on the hardware configuration of the injector machines. 100 threads is perfectly sensible if your injector machine is a quad-core machine with at least 2-3 gigs of ram. But if you have a low configuration machine then even 100 threads might be too taxing for it. The key to find o

Re: unique Source IP Address

2010-07-20 Thread chaitanya bhatt
same source ip on all the > requests and that wud be the proxy server ip. Are you saying that your > application will not allow them to login? > Sent on my BlackBerry® from Vodafone > > -Original Message----- > From: chaitanya bhatt > Date: Tue, 20 Jul 2010 00:55:29 &

Re: unique Source IP Address

2010-07-19 Thread chaitanya bhatt
@Kirk: You are right. I guess the author of this thread should consider "Grinder" for load testing. It supports IP spoofing and its equally user friendly. -Chaitanya M Bhatt http://www.performancecompetence.com 2010/7/20 Kirk > you can setup aliases.. however, I doubt that you're going to get

Re: unique Source IP Address

2010-07-19 Thread chaitanya bhatt
The document clearly states the "OR" word. So, adding more NICs is just one approach. IPaliasing is another feasibly approach. In windows if you navigate to Network Connections>Select your network>TCP/IP>Advanced. You are provided with advanced options to enter aliases to your primary IP. As your n

Re: negative response times again

2010-07-08 Thread chaitanya bhatt
Are you by any possibility using Virtual Machines for load injection? -Chaitanya M Bhatt http://www.performancecompetence.com On Thu, Jul 8, 2010 at 5:13 PM, monpru wrote: > > Hi, > I got negative latency values in my last load test of a web service. I > searched the web and found that this mig

Re: Error occurred during CSV Data Set configuration or database request

2010-05-18 Thread chaitanya bhatt
rmissions should be granted to JMeter > then accessing to all required resources could be allowed. > > Thanks and best regards, > Flik > > On 5/18/10 4:04 PM, "chaitanya bhatt" wrote: > > If I were you I would start investigating if there are missing correlation >

Re: Error occurred during CSV Data Set configuration or database request

2010-05-18 Thread chaitanya bhatt
If I were you I would start investigating if there are missing correlation for session strings in the http and bean request samplers. -Chaitanya M Bhatt http://www.performancecomptence.com On Tue, May 18, 2010 at 1:18 AM, Flik Shen wrote: > Hi, > > I ran the test plan SimpleCsvReq.jmx under shell

Re: Constant throughput timer value in bytes/second

2010-05-04 Thread chaitanya bhatt
Use an open source tool called WANem(google this name and you will be able to find a link for downloading it) to serve your purpose. It can be used as a gateway between the load generator and AUT. Chaitanya M Bhatt On Tue, May 4, 2010 at 6:56 PM, Ivan Rancati wrote: > > I need to simulate a num

Re: Automated web testing tool

2010-04-29 Thread chaitanya bhatt
Have you heard of Selenium?...people looking out for functional automation testing solution generally prefer Selenium than any other open source web application testing framework. It also provides a solution for your requirement "Should be able to run any JavaScript..." It's licensed under Apache

Re: jmeter + amazon ec2 + load balancing (elb)

2010-04-26 Thread chaitanya bhatt
It's very kind of you to share this information. Thanks a ton! Chaitanya M Bhatt http://www.performancecompetence.com On Mon, Apr 26, 2010 at 11:18 PM, William Oberman wrote: > Someone from amazon cleared up some of my confusion about amazon's load > balancers (see the thread: > > https://devel

Re: Problem with Jmeter-server on Ubuntu 9.10

2010-04-22 Thread chaitanya bhatt
You are welcome. Enjoy testing. :) -Chaitanya M Bhatt http://www.performancecompetence.com On Thu, Apr 22, 2010 at 1:22 AM, abolkog wrote: > > Thankx alot > I replaced ubuntu.ubuntu domain on the hosts file with my IP address and it > works just fine. > Thankx so much > >

Re: Problem with Jmeter-server on Ubuntu 9.10

2010-04-21 Thread chaitanya bhatt
] line to /etc/hosts. Chaitanya M Bhatt http://www.performancecompetence.com On Thu, Apr 22, 2010 at 12:24 AM, abolkog wrote: > > yes on the same machine > > chaitanya bhatt wrote: > > > > is your server running on the same machine? > > -Chaitanya > > > > On Wed, Apr 21, 2010 at 11:

Re: Problem with Jmeter-server on Ubuntu 9.10

2010-04-21 Thread chaitanya bhatt
is your server running on the same machine? -Chaitanya On Wed, Apr 21, 2010 at 11:01 PM, abolkog wrote: > > I have problem starting Jmeter (V.2.3.4) on Ubuntu 9.10 > I get the following error message when i try to starte jmeter-server: > "Server failed to start: java.rmi.RemoteException: Cannot

Re: jmeter + amazon ec2 + load balancing (elb)

2010-04-21 Thread chaitanya bhatt
Or using a IP spoofing tool at the client side should server the purpose during load tests. -Chaitanya M Bhatt On Wed, Apr 21, 2010 at 6:07 PM, William Oberman wrote: > Brett: yes, I saw amazon recently added two levels of stickiness (load > balancer, and application). I have both disabled. I