Re: external java script function

2008-07-10 Thread cham
gt; It can also pass parameters to that file. > > You may have to write a wrapper script and/or adapt the command-line > script available from the JSLint website. > > I suggest you start with a simple "Hello World" type script and > proceed from there. > > On 10/

Re: external java script function

2008-07-10 Thread cham
y the script: > > AssertionResult.setFailureMessage("The assertion failed") ; > AssertionResult.setFailure(true); > > see: > > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BSF_Assertion > > On 09/07/2008, cham <[EMAIL PROTECTED]> wrote: >> >>

Re: Jmeter newbie problems !!!! helppppp

2008-07-09 Thread cham
:)) thanx. I understood these thigns. And I am using now a BeanShell to write my script. sebb-2-2 wrote: > > On 09/07/2008, cham <[EMAIL PROTECTED]> wrote: >> >> Hello, >> As I am a newbie in Jmeter, I cant understand how exactly I can write a >> script

Jmeter newbie problems !!!! helppppp

2008-07-09 Thread cham
Hello, As I am a newbie in Jmeter, I cant understand how exactly I can write a script in Jmeter. Let's say that I want to use "BSF PostProcessor" I read that we can insert a javaScript script. But I cant find any explanation on how we can do this? I just write my script directly ? And, what ab

Re: external java script function

2008-07-09 Thread cham
Did u try before to run javascript using BSF Assertion? Cham sebb-2-2 wrote: > > On 08/07/2008, cham <[EMAIL PROTECTED]> wrote: >> >> Hi again, >> actually what I am doing now is trying to validate the syntaxe of my >> sampler >> HTTP result. >

Using Java in BSF Sampler

2008-07-08 Thread cham
Hello, I am trying to wirte a function in java as I saw that BSF sampler supports java, but it didnt work. Jmeter cant find the java classes. Any ideas ? Thanx in advance -- View this message in context: http://www.nabble.com/Using-Java-in-BSF-Sampler-tp18342238p18342238.html Sent from the

Re: external java script function

2008-07-08 Thread cham
that read the result file and validate the syntaxe. I dont know if the implementation one of these methods is possible!!! Regards, Cham kirk-17 wrote: > > Hi, > > I've not found a good way to run JavaScript. Many of the interesting > scripts > rely on the DOM. JM

external java script function

2008-07-07 Thread cham
Hello eveybody, I have a js script that I need to call using the javascript function in JMeter. But I dont know how to call it? I understood that the users of jemeter can define their own functions but I dont know how. Any suggestions ? Thanx in advance -- View this message in context: htt