Hello,
Sometimes I do find-and-replace in notepad with my JMeter script and save
it.
Everything works fine, but still I have doubts.
Is it okay to edit and save JMeter script with Notepad?
--
View this message in context:
http://www.nabble.com/Is-it-ok-to-edit-JMeter-script-in-Notepad-tp25151
So, how can I output some text into the Tree View?
I understand that "Listeners only show samples and Assertion failures."
So maybe I can create a BeanShell/Java sampler that will output my text?
I'm confused on how to do it :(
Andrey Simonov wrote:
>
> Solution fou
Hi,
Could you please advice a smart way to do the below.
I'm getting a certain number as a result of an SQL query at the end of each
test. I need a way to output an average value of this variable after all
runs are completed (to tree or to file).
Any help will be appreciated!
--
View this mess
e application is launched, they
> change the folder1 to folderX and I only have to change one variable.
> This makes things a lot easier then to edit all samples with a text
> editor (or manually).
>
> Don't know if this is what you were looking for, but I doubt there is
> a b
me?
sebb-2-2 wrote:
>
> On 18/08/2009, Andrey Simonov wrote:
>>
>> > What did you expect to happen?
>> > What actually happened?
>>
>>
>> 1. I've created HTTP Req Def element to Test Plan
>> 2. Entered Server Name and server port
>&
e
blank server port
folder = /folder2/page
The actual HTTP request was:
server:port/folder2/page
I was expecting the request to be:
sever:port/folder1/folder2/page
sebb-2-2 wrote:
>
> On 18/08/2009, Andrey Simonov wrote:
>>
>> > Yes, try it.
>>
>> I have tried
> Yes, try it.
I have tried it, it did not work. That is exactly the reason why I have
created this post.
sebb-2-2 wrote:
>
> On 18/08/2009, Andrey Simonov wrote:
>>
>> Hello,
>>
>> I have a question regarding HTTP Request Defaults - is there any way to
>
Hello,
I have a question regarding HTTP Request Defaults - is there any way to
specify a default folder in this element or anywhere else?
Currently only server name and port are defaulted. But all my server
requests go like
server:port/folder1/folder2
So is there any way not to specify folder1
//en.wikipedia.org/wiki/Beanshell
>
> Regards,
> Noel
>
> - "Andrey Simonov" wrote:
>>
>> > Google: java convert string to integer
>>
>> What if I don't know that Beanshell = Javascript = Java?
>>
>> That is not ob
able to tell me this 3 hours ago??..
I'm happy it works, but it's so simple and I'm not a JMeter specialist, so I
regret a DAY wasted on this simple thing - just to evaluate a variable from
SQL response.
sebb-2-2 wrote:
>
> On 17/08/2009, Andrey Simonov wrote:
>>
&g
> Google: java convert string to integer
What if I don't know that Beanshell = Javascript = Java?
That is not obvious for me. Anyway I hope someday you get punished for such
a behaviour.
sebb-2-2 wrote:
>
> On 17/08/2009, Andrey Simonov wrote:
>>
>> If it returns
able to tell me this 3 hours ago??..
I'm happy it works, but it's so simple and I'm not a JMeter specialist, so I
regret a DAY wasted on this simple thing - just to evaluate a variable from
SQL response.
Andrey Simonov wrote:
>
> If it returns a string, why is an error me
If it returns a string, why is an error message about objects?
Why can't I compare two strings?
How do I convert string to int or compare strings?
I could not find this in internet in 10 mins.
sebb-2-2 wrote:
>
> On 17/08/2009, Andrey Simonov wrote:
>>
>> We
either stop answering or give me a working example.
sebb-2-2 wrote:
>
> On 17/08/2009, Andrey Simonov wrote:
>>
>> > http://jakarta.apache.org/jmeter/demos/BeanShellAssertion.bsh
>>
>>
>> sebb, you are very stubborn and you don't want to understa
t;) < 30 Then {
Failure=true }
I get the following error:
Assertion failure message: org.apache.jorphan.util.JMeterException: Error
invoking bsh method: eval Parse error at line 1, column 8. Encountered: .
Why?
sebb-2-2 wrote:
>
> On 17/08/2009, Andrey Simonov wrote:
>>
>
5 Then Failed, Else Passed"
sebb-2-2 wrote:
>
> On 17/08/2009, Andrey Simonov wrote:
>>
>> sebb
>>
>> You are not answering my question. You are confusing me with people who
>> do
>> not read manuals before asking questions.
>>
>>
No, you didn't. The reference to generic help you gave me does not contain
this.
I need a sample BSF/BSH Assetion script that evaluates a variable, please.
Say, "If variable > 5 Then Failed, Else Passed"
sebb-2-2 wrote:
>
> On 17/08/2009, Andrey Simonov wrote:
>&g
works, of course.
I need a sample BSF/BSH script that evaluates a variable and send a message
to some listener.
sebb-2-2 wrote:
>
> On 17/08/2009, Andrey Simonov wrote:
>>
>> Yes, but please can you give me an example?
>>
>> I have spent half a day of Frid
appreciated.
sebb-2-2 wrote:
>
> On 17/08/2009, Andrey Simonov wrote:
>>
>> That's not what I meant. I meant is there an assertion that can
>> conveniently
>> parse SQL results?
>>
>> E.g. my results are: table headers and 4 values. How do I chec
appreciated.
sebb-2-2 wrote:
>
> On 17/08/2009, Andrey Simonov wrote:
>>
>> That's not what I meant. I meant is there an assertion that can
>> conveniently
>> parse SQL results?
>>
>> E.g. my results are: table headers and 4 values. How do I check th
Hi sebb,
Thank you for your answer!
Could you please give me an example on how to do it:
> add an Assertion than fails when variable > 5 (e.g. using
> BeanShell or BSF Assertion)
or point me to a site where I can find such examples?
sebb-2-2 wrote:
>
> On 17/08/2009, Andrey
That's not what I meant. I meant is there an assertion that can conveniently
parse SQL results?
E.g. my results are: table headers and 4 values. How do I check that e.g.
"Average" is < 30?
sebb-2-2 wrote:
>
> On 17/08/2009, Andrey Simonov wrote:
>>
>&
Hi sjunejo,
You are doing this other way round, I think.
My suggestion is to create a list of variables either in the Test Plan or
User Defined Variables elements and use these variables as names for Thread
Groups.
So Thread Groups will be called like ${Test1}, ${Test2}, etc.
Actually I haven'
Hi Bharat,
According to my experience, to use JMeter with HTTPs you need the Bad Boy
tool to record the scripts. Meaning that JMeter proxy is not designed to
record such requests (I think it's in Help).
In my case I have created scripts that could work with HTTP environment and
another branch of
Hi!
Is there any sort of response assertion for JDBC requests?
Or it's RegExp Extractor only?
If there is a way (maybe via BSF request), please provide an example :)
--
View this message in context:
http://www.nabble.com/JDBC-Response-Assertion-tp25002488p25002488.html
Sent from the JMeter -
Hello,
Could you please tell me, how can I output certain messages to Tree View
Listener?
I need to do the the following:
If {variable} is > 5 then Output "Timeout expired"
Maybe this can be done into another listener, but anyway, how do I output
message into JMeter?
Thank you.
--
View this
26 matches
Mail list logo