JMeter and rate limiting with TC IPtables

2009-09-03 Thread Oliver Erlewein [DATACOM]
Hi all, I throttled the bandwidth on a Ubuntu box for a test. The script looks something like this (snippets): tc qdisc add dev eth0 handle : ingress tc filter add dev eth0 parent : protocol ip prio 50 u32 match ip src 172.xx.xx.0/24 \ police rate 34Kbits

How to switch/use to another Java installation?

2009-09-03 Thread Ben Stover
Assume I have multiple Java installations on my computer. How does JMeter decide which Java installation it uses? How can I tell JMeter to use another installation? What is the minimum Java version required for JMeter v2.3.x ? Ben

Difference between User Parameters and User Defined Variables ?

2009-09-03 Thread Ben Stover
What is the difference between the sections User Parameters and User Defined Variables ? As far as I can see in both panels I can enter a variable name and its value. So why are there two different panels for such declarations? Ben

Re: Newbie, guidance on WMS

2009-09-03 Thread Adrian Speteanu
true, you can use either method for what you said you need, but in this case, saving the file on the test machine will significantly increase the stress on the test environment (quality image files mean lots of space and that means disk usage). if you run the test with fewer requests and see that

Re: How to switch/use to another Java installation?

2009-09-03 Thread sebb
On 03/09/2009, Ben Stover bxsto...@yahoo.co.uk wrote: Assume I have multiple Java installations on my computer. How does JMeter decide which Java installation it uses? Same as for any other Java application - which ever it finds first on the path. How can I tell JMeter to use another

Re: Difference between User Parameters and User Defined Variables ?

2009-09-03 Thread sebb
On 03/09/2009, Ben Stover bxsto...@yahoo.co.uk wrote: What is the difference between the sections User Parameters and User Defined Variables ? As far as I can see in both panels I can enter a variable name and its value. Yes. So why are there two different panels for such declarations?

Re: How to switch/use to another Java installation?

2009-09-03 Thread Noel O'Brien
Hi, Looking in jmeter.sh, only one command is present: java $SERVER $JVM_ARGS -jar `dirname $0`/ApacheJMeter.jar $@ Since the path to `java` is not specified, the first java executable found in $PATH will be used to execute JMeter. you can find out exactly which version of java this is by

Re: How to switch/use to another Java installation?

2009-09-03 Thread Noel O'Brien
Regarding the minimum version of Java, I think it's 1.5, but I may be wrong. Regards, Noel - Ben Stover bxsto...@yahoo.co.uk wrote: Assume I have multiple Java installations on my computer. How does JMeter decide which Java installation it uses? How can I tell JMeter to use

Re: Newbie, guidance on WMS

2009-09-03 Thread sebb
On 03/09/2009, Adrian Speteanu asp.ad...@gmail.com wrote: true, you can use either method for what you said you need, but in this case, saving the file on the test machine will significantly increase the stress on the test environment (quality image files mean lots of space and that means

Re: How to switch/use to another Java installation?

2009-09-03 Thread sebb
On 03/09/2009, Noel O'Brien nobr...@newbay.com wrote: Regarding the minimum version of Java, I think it's 1.5, but I may be wrong. For 2.3.4 (current release) it's 1.4; the next version will require 1.5+ Regards, Noel - Ben Stover bxsto...@yahoo.co.uk wrote: Assume I have

How to copy/clone ThreadGroup or single esections WITH all settings inside to another *.jmx TestPlan?

2009-09-03 Thread Ben Stover
Assume I have setup a comprehensive Testplan with a lot of ThreadGroups and many detail settings. Now I want to do the following: 1.) Copy/Clone one complete ThreadGroup to another TestPlan WITH ALL setting values inside or 2.) Copy/clone only one section (e.g. Counter,

Re: How to copy/clone ThreadGroup or single esections WITH all settings inside to another *.jmx TestPlan?

2009-09-03 Thread Noel O'Brien
Right click on a single element (e.g. Thread Group) and Save Selection As... Then in the second test plan, right click on the parent of where you want the element (Test Plan is your importing a Thread Group) and select Merge Regards, Noel - Ben Stover bxsto...@yahoo.co.uk wrote:

Re: How to copy/clone ThreadGroup or single esections WITH all settings inside to another *.jmx TestPlan?

2009-09-03 Thread Deepak Shetty
while it doesnt directly address your problem , I assume you are aware of Include Controllers and Module controllers. regards deepak On Thu, Sep 3, 2009 at 6:35 AM, Ben Stover bxsto...@yahoo.co.uk wrote: Assume I have setup a comprehensive Testplan with a lot of ThreadGroups and many detail

Need access to the Windows Shell

2009-09-03 Thread b1g0af
I'm running JMeter on a windows box, and I need access to the Windows Shell. However, I don't see a way to do that. I've searched and searched for an answer to no avail. Really I need to send a Windows Custom Command to a windows service. If I could get access to the windows command line, that'd

Re: Need access to the Windows Shell

2009-09-03 Thread Deepak Shetty
write a windows file (.wsc or .cmd or whatever) , use a BSH/Java sampler and use Java's Runtime.exec regards deepak On Thu, Sep 3, 2009 at 11:12 AM, b1g0af msm...@vsync.com wrote: I'm running JMeter on a windows box, and I need access to the Windows Shell. However, I don't see a way to do

Re: Need access to the Windows Shell

2009-09-03 Thread b1g0af
With some fiddling, I was able to get it to work. For the record, I used the BSF Sampler with the Scripting Language set to beanshell. In the Script To Run multi-line text box, I have: Runtime.getRuntime().exec(blah blah blah); Where blah blah blah is either the command you would normally type

Re: Need access to the Windows Shell

2009-09-03 Thread Deepak Shetty
Just one caveat , Runtime.exec spawns a process and returns immediately. If you need to wait till the process or .cmd has finished you'll have to put in a delay or poll etc. regards deepak On Thu, Sep 3, 2009 at 1:49 PM, b1g0af msm...@vsync.com wrote: With some fiddling, I was able to get it

Re: Jmeter ASP.net

2009-09-03 Thread Keet
I have compared the sever logs for both the browser and jmeter requests and both requests are the same. When the initial POST to default.aspx is successful a redirect occurs to main.aspx From the server logs both the inital POST and subsequent GET messages are identical(minus some Google

Re: Need access to the Windows Shell

2009-09-03 Thread sebb
On 03/09/2009, b1g0af msm...@vsync.com wrote: With some fiddling, I was able to get it to work. For the record, I used the BSF Sampler with the Scripting Language set to beanshell. You could also have just used the BeanShell Sampler ... In the Script To Run multi-line text box, I have:

Re: Jmeter ASP.net

2009-09-03 Thread Deepak Shetty
Hi you should probably compare from the jmeter view results tree v/s live http headers or fiddler on browser so that you can compare responses etc as well. In the log you've posted there are differences for e.g. ASPXAUTH is missing regards deepak On Thu, Sep 3, 2009 at 5:13 PM, Keet