You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Senthil Subbiah <ss...@ketera.com> on 2004/10/27 03:50:44 UTC

What are the JavaScript functions that I can use in Jmeter?

Hi All,

What are the JavaScript functions that I can use in Jmeter?
In the docs its given as date, time, math functions can be use.

I need to do a string replacement before I send that parameter to the
request.
Can you please suggest me how to do this?

Thanks
Senthil

Re: What are the JavaScript functions that I can use in Jmeter?

Posted by nlunebur <nl...@lisasoft.com>.
hi senthil,
as according the the docs 
(http://jakarta.apache.org/jmeter/usermanual/functions.html)
you can use any javascript functions u wish, the ones mentioned there 
are only examples.

i am not familiar with javscript so u will have to look up how to do 
string replacement
(i think it is something like 'Hello'.replace('ello', 'i'), which would 
give the output 'Hi', you'll have to look it up).

hope this helps!
nicole

Senthil Subbiah wrote:

>Hi All,
>
>What are the JavaScript functions that I can use in Jmeter?
>In the docs its given as date, time, math functions can be use.
>
>I need to do a string replacement before I send that parameter to the
>request.
>Can you please suggest me how to do this?
>
>Thanks
>Senthil
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org