Deepak Shetty wrote:
>
> You have to use one of the Post Processors (e.g. Regex) to extract this
> token from the Servers response into a variable and post the data back to
> the server whenever its needed
> regards
> deepak
>
Hey Deepak,
Thanks for the help, but the help feature in Jmeter is
I normally add a BSH pre processor. and use sampler.addArgument or write a
Utility java class and call out to it.
regards
deepak
On Thu, Jul 16, 2009 at 12:21 PM, Paul Rogers wrote:
> The web app Im currently testing has requests with a lot of
> parameters, which is getting difficult to understa
Hi
I believe the .bsh file should be in the bin directory . check your
jmeter.log for errors
This is the Structure I have and it seems to work
Thread Group
Http Request
HTTPHeaderManager
val1 ${GUID}
User Defined Variables
GUID ${__BeanShell(source("function.bsh"))}
What
The web app Im currently testing has requests with a lot of
parameters, which is getting difficult to understand.
I was thinking of overriding the http request to be a more specific
implementation of the request I need, and possibly the ability to do
some more logging.
Does this sound a reasonabl
I apologize .. but I must be missing something very basic here. As you
can see I'm just trying to see it work:
This is my function.bsh. It is in the same directory as the jmeter jmx:
return "this is a test";
This is the GUID user defined variable:
name=GUID value=${__BeanShell(source("function.
I made a mistake , it looks like iText doesnt extract text out of PDF's ,
you need something like http://incubator.apache.org/pdfbox/
There are some caveats to extracting text out of PDF, as well as there are
other libraries too i suppose...
regards
deepak
On Thu, Jul 16, 2009 at 11:49 AM, blackga
Thanks for the quick response - looks like I"ll get to learn BeanSheel and
iText.
Deepak Shetty wrote:
>
>>but is there a way to assert against text WITHIN the PDF
> If you really wanted to do this then you'd have to interpret the
> response(for any binary file) and check it
> in this case BSH
>but is there a way to assert against text WITHIN the PDF
If you really wanted to do this then you'd have to interpret the
response(for any binary file) and check it
in this case BSH Post Processor (or equivalent) plus iText (to parse the PDF
and get its text out)
regards
deepak
On Thu, Jul 16,
This is handy for asserting what KIND of file was returned, but is there a
way to assert against text WITHIN the PDF? IE, I want to create an assertion
that tells me if the rendered document contains the word "free bird".
The aforementioned solution involves using an HTTP sampler to retrieve
the
Also note that (from docs)
${__BeanShell(source("function.bsh"))} - processes the script in
function.bsh
is what you'd probably use to run a script...
regards
deepak
On Thu, Jul 16, 2009 at 11:23 AM, Deepak Shetty wrote:
> Hi
> >You mean that RANDOM_NAME contains actual beanshell code?
> Yes.
In the documentation
RANDOM_NAME is a variable whose value is the actual script contents that you
wish to run. (i.e. the code itself)
If your sampler is working fine , why not just do
vars.put("GUID", YOURCALCULATEDVALUE);
regards
deepak
On Thu, Jul 16, 2009 at 10:59 AM, S.D. wrote:
> Hello.
>
Hello.
I am a little confused by how to use the BSF Sampler. I'm hoping
someone can assist. I'm either misunderstanding the documentation or am
just not setting it up correctly.
I have a BSF Sampler that is attached to a groovy script file. The
sampler runs fine and I see the response.
I want t
>However what I think the op wants to do is performance
>test loading each tab, which is implemented in client side code
>(javascript).
Yep , I was replying to adrian.
I agree with the rest of your points.
On Thu, Jul 16, 2009 at 10:19 AM, Tony Lotts wrote:
> Deepak is right. However what I thi
Deepak is right. However what I think the op wants to do is performance
test loading each tab, which is implemented in client side code
(javascript).
The performance of executing client side code is based upon the user's own
machine, and browser; which is irrelevant to web application scalability
>how practical with you consider using the __javaScript() function in
>this type of situations? (or any other way to process client side
>actions when they are strictly needed)
I ran into this problem recently and decided to write java code that
simulated what the function does (generating complex
well since this question was re-re-asked (again :) ), here goes nothing:
how practical with you consider using the __javaScript() function in
this type of situations? (or any other way to process client side
actions when they are strictly needed)
( I am thinking of situations were the applicatio
What is it that you want to accomplish?
If this is for a scalability test, the performance of client side code
execution is irrelevant.
On Thu, Jul 16, 2009 at 2:10 AM, MITRAJ wrote:
>
> Tabs are loaded on demand and contents in the tab are pre-loaded..
>
> Thanks,
> Raj
>
> Noel O'Brien wrote:
17 matches
Mail list logo