is JMeterUtils class there to stay?

2009-05-21 Thread viet nguyen
I'm using JMEterUtils class in my java sampler. Is the class part of the public api? -- View this message in context: http://www.nabble.com/is-JMeterUtils-class-there-to-stay--tp23653355p23653355.html Sent from the JMeter - User mailing list archive at Nabble.com.

java class test

2009-05-21 Thread YESU GROVER
Hello, I want to test a simple java class file in which a program is writen to add sum of two numbers . Please do let me know steps required to test this. Thanks Yesu

Re: is JMeterUtils class there to stay?

2009-05-21 Thread sebb
Yes. On 21/05/2009, viet nguyen viet@gmail.com wrote: I'm using JMEterUtils class in my java sampler. Is the class part of the public api? -- View this message in context: http://www.nabble.com/is-JMeterUtils-class-there-to-stay--tp23653355p23653355.html Sent from the JMeter -

how to escape special characters in response assertion

2009-05-21 Thread Sree ...
Hi I was executing some scripts in JMeter, one of them contains Response assertion but my response assertion fails everytime if it contains special characters say / ' : etc.. I need to put some escape character for each of the special characters but i dont know what it should be Can someone

User Defined Beanshell Function

2009-05-21 Thread Noel O'Brien
Hi All, Is it possible to define a beanshell function that I can use throughout my test in the same way as the built in functions, e.g. instead of using ${__threadNum()} I can use ${__encrypt(raw string)} ? -- Regards, Noel

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

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

2009-05-21 Thread Andyy
Evening, When performance testing what are the benefits to using Ant versus the command line in non GUI Mode??? Or vise versa??? Cheers.. -- View this message in context: http://www.nabble.com/Performance-Testing-with-JMeter-on-the-cmd-line-or-Anttp23656302p23656302.html Sent from the

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: how to escape special characters in response assertion

2009-05-21 Thread Sree ...
yeah that worked.. thanks On Thu, May 21, 2009 at 9:53 PM, Deepak Shetty shet...@gmail.com wrote: 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

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

2009-05-21 Thread Andyy
Hi Deepak, Cheers for the reply. And tell me thou in terms of Stress Testing I would see the advantages you added as minor (as i may not want to include them in my build be manual monitoring its progress and results too large to convert to html) whereas on the downside Ant itself will require

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

2009-05-21 Thread Deepak Shetty
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 issues that wouldnt have happened on the command line.we pass environment specific parameters etc

Re: User Defined Beanshell Function

2009-05-21 Thread sebb
On 21/05/2009, Noel O'Brien nobr...@newbay.com wrote: Hi All, Is it possible to define a beanshell function that I can use throughout my test in the same way as the built in functions, e.g. instead of using ${__threadNum()} I can use ${__encrypt(raw string)} ? You can define a Beanhell

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

2009-05-21 Thread Andyy
I get you, that makes sense. I've actually been using ant all along but have been getting out of memory errors and taught Ant might have something to do with it. I ran jprofiler on it and It seems the beanshell variables are using an increasing amount of memory to the point of it causing an out

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

2009-05-21 Thread Deepak Shetty
Hi you can write a preprocessor or a listener to null out or remove the variables. I assume you are doing something iteratively? You might experiment with the reset bsh.interpreter flag For out of memory jvmarg value=-Xmx1024m/ -- max Heap size , you have set it to 1 GB

RE: Can Jmeter be run from Fitnesse

2009-05-21 Thread Mark Hetchler
I have run JMeter from fitnesse without any problems. My fixture ran a pre-defined test, computed the stats from the log file, then finally passed those values back up to Fitnesse. But since we run everything from TeamCity anyway, I found it simpler to just have TeamCity run a Groovy script

Re: java class test

2009-05-21 Thread sebb
On 21/05/2009, YESU GROVER yesu.grove...@gmail.com wrote: Hello, I want to test a simple java class file in which a program is writen to add sum of two numbers . Please do let me know steps required to test this. Thanks Yesu

Re: java class test

2009-05-21 Thread drubix
While jmeter is certainly capable of performing a test like that, it's not really what it was designed for. In the long run, you'd be better off learning a unit testing tool (such as JUnit) which is specifically designed for performing this kind of testing. Drew YESU GROVER wrote: Hello,