Hi, Kyle, and all,
Kyle, you really nail down the problem, the out put turn out great, and again,
thanks. Jmtere takes backslash in front of comma.
Sincerely yours,
Avian Liao
-Original Message-
From: Kyle McAbee [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 12:40 PM
T
Dear Avian Liao and JMeter Users:
If the sample you put in your last message is exact, you added a backslash and
replaced the comma with a double quote. Does the function need the new double
quote? Try using a backslash in front of a comma. Like this:
\,
Function in Message 1:
${__javaScrip
Hi, all users, sebb,
I did what you suggest-- use "\" to escape "," in parameters
${__javaScript('${convert}'.replace(/ref%3A%3AEvent_LC%5B(\w*-\w*-\w*-\w*-\w*)%5D/"\""ref::Event_LC[$1]"),showScript)}
but still get the same error message:
2004/12/09 12:11:26 ERROR - jmeter.threads.JMeterThread:
Use "\" to escape "," in parameters.
On Thu, 9 Dec 2004 14:01:40 -0500, Liao, Avian <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When I use javaScript function, I have the foolowing error message, I try to
> test my javascript outside the Jmeter, and it works fine. sowhat is wrong
> when I copy ov
Hi,
When I use javaScript function, I have the foolowing error message, I try to
test my javascript outside the Jmeter, and it works fine. sowhat is wrong
when I copy over to Jmeter. ${convert} is my variable, and I am positive that
this varibale exists.
${__javaScript('${convert}'.repla
Very well put, as usual.
One other thing you can do is use the __log() function to show how a
string is being interpreted:
i.e. instead of:
${__function(P1,P2)}
try (spaces inserted for clarity):
${__function(${__log(P1)} , ${__log(P2)})}
This will log the value of P1 and P2 to jmet
On Wed, 8 Dec 2004 23:18:31 -0200, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I used to work with HttpUnit on my application and it works very well to
> test
> my projects.
> Now I need to load test a web application, so I am looking at JMeter.
> The bigger problem is it do no
hi all,
In my application 2 requets are going..(order doen't matter) and response of
both requests are collectively rendered on single page.
how to achieve this while making script for that in Jmeter?
how to use post processor save result in file/or any other way..to capture
response in one file??
8 matches
Mail list logo