Krishnakanth | 1 Jan 2009 05:36
Picon

RE: JSP Processing Error, while clicking on Upload button.


Hi Sebb/Steve.

I am stilll facing this issue.

I have tried manually and not getting any error message
I have tried using Loadrunner, and not getting any error message
But with JMeter, I am getting the processing error message.

I am attching the screenshots ( I have edited wherever client name is there)

Can anyone please help me. I am running out of ideas with this.

I have even tried using Badboy, even then i am getting error message.

Thanks.
KK

Krishnakanth wrote:
> 
> Thanks Steve and Sebb.
> 
> Let me try that out and see whether the issue gets sorted out or not.
> 
> Thanks again.
> KK
> 
> Steve Kapinos wrote:
>> 
>> You will set or change the path in the http sampler in your test plan
(Continue reading)

ziohausam | 1 Jan 2009 15:33
Picon

Request Time Out


It seems that i miss many things in Jmeter.

I record actions successfully, then when i try to run what i have recorded.
i see all returned elements in green ( supposed to be Ok), but actually i
can see that all returned pages shows in the request panel "request time
out"

i can see in the originally recorded elements, all parameters passed and
every thing is recorded fine. why i get request time out when rerun the
recordings, and why jmeter doesn't show any thing in red in the tree
listener?

The developer says that the link calls a servlet and at the beginning of
this servlet he checks if session == null, he returns this 'time out'

how to work around this specially that the playing back the recorded actions
doesn't pass this time out
--

-- 
View this message in context: http://www.nabble.com/Request-Time-Out-tp21241746p21241746.html
Sent from the JMeter - User mailing list archive at Nabble.com.
sebb | 2 Jan 2009 13:42
Picon

Re: Request Time Out

On 01/01/2009, ziohausam <ziohausam <at> gmail.com> wrote:
>
>  It seems that i miss many things in Jmeter.
>
>  I record actions successfully, then when i try to run what i have recorded.
>  i see all returned elements in green ( supposed to be Ok), but actually i
>  can see that all returned pages shows in the request panel "request time
>  out"
>
>  i can see in the originally recorded elements, all parameters passed and
>  every thing is recorded fine. why i get request time out when rerun the
>  recordings, and why jmeter doesn't show any thing in red in the tree
>  listener?

The responses are shown as green because the request succeeded - i.e.
it returned an HTML page. Responses are only shown in red if the
request failed, e.g. server returned 404.

If you want to flag "failed" responses you will need to use a Response
Assertion.

>  The developer says that the link calls a servlet and at the beginning of
>  this servlet he checks if session == null, he returns this 'time out'

How are the sessions maintained? The client (browser or JMeter) must
provide the session to the server somehow; e.g. via a cookie or hidden
field.

Make sure that you have added a Cookie Manager to the script.

(Continue reading)

ziohausam | 2 Jan 2009 14:27
Picon

Re: Request Time Out


sebb-2-2 wrote:
> 
> The responses are shown as green because the request succeeded - i.e.
> it returned an HTML page. Responses are only shown in red if the
> request failed, e.g. server returned 404.
> 
> If you want to flag "failed" responses you will need to use a Response
> Assertion.
> 
Yes i got it. thanks

sebb-2-2 wrote:
> 
> How are the sessions maintained? The client (browser or JMeter) must
> provide the session to the server somehow; e.g. via a cookie or hidden
> field.
> Make sure that you have added a Cookie Manager to the script.
> If it still does not work, see:
> http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour
> 

I will try this. but i have a question. originally, i didn't create the test
plan manually, i have recorded it. and i thought that rerun the recorded
plan can figure out the differences between both. or at least it shall save
cookies automatically. why it chooses the session==null branch of the if
condition although it was recorded succesfully ?

Note: an info that might be helpfull. the session they use is an object it
is either null or not null. how can i let it continue when playing back and
(Continue reading)

sebb | 2 Jan 2009 14:31
Picon

Re: Request Time Out

On 02/01/2009, ziohausam <ziohausam <at> gmail.com> wrote:
>
>
>
>  sebb-2-2 wrote:
>  >
>  > The responses are shown as green because the request succeeded - i.e.
>  > it returned an HTML page. Responses are only shown in red if the
>  > request failed, e.g. server returned 404.
>  >
>  > If you want to flag "failed" responses you will need to use a Response
>  > Assertion.
>  >
>
> Yes i got it. thanks
>
>
>
>
>  sebb-2-2 wrote:
>  >
>  > How are the sessions maintained? The client (browser or JMeter) must
>  > provide the session to the server somehow; e.g. via a cookie or hidden
>  > field.
>  > Make sure that you have added a Cookie Manager to the script.
>  > If it still does not work, see:
>  > http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour
>  >
>
>
(Continue reading)

Ray Trejo | 2 Jan 2009 21:03

click a link with xpath type of action

Hi,

I am trying to click a link on a page with the text Test Process
Definition.  Is there a way to click a link using xpath or some sort of
regular expression?

The below html is from the page source. 

<a id="j_id14:processDefinitionList:15:processName" href="#"
onclick="if(typeof jsfcljs ==
'function'){jsfcljs(document.getElementById('j_id14'),'j_id14:processDef
initionList:15:processName,j_id14:processDefinitionList:15:processName',
'');}return false" class="latestVersion">

                                                          Test Process
Definition</a>

During execution of the thread I want to click this link to get to the
details of the next page.

When I use the recording controller, here is the information I get.  

http request

post

send parameters with the request

name            value

(Continue reading)

laredotornado | 2 Jan 2009 21:49
Picon

Java request never gets off the ground


Hi,

I'm using JMeter 2.3.2 on Windows XP.  I have a Java request ...

http://screencast.com/t/ll7mLlje557

and I set the number of threads to be 10, with ramp up period being one
second.  However, upon visiting Run -> Start, I see the green square in the
upper right of my JMeter window with a "0/10" next to it.  But after one
second, the results go to "0/0" and it doesn't appear the Java requests were
even executed.  However, there is nothing in my summary report or results
tree.

How can I troubleshoot what is going wrong?

Thanks, - Dave
--

-- 
View this message in context: http://www.nabble.com/Java-request-never-gets-off-the-ground-tp21258007p21258007.html
Sent from the JMeter - User mailing list archive at Nabble.com.
sebb | 2 Jan 2009 21:59
Picon

Re: Java request never gets off the ground

On 02/01/2009, laredotornado <laredotornado <at> gmail.com> wrote:
>
>  Hi,
>
>  I'm using JMeter 2.3.2 on Windows XP.  I have a Java request ...
>
>  http://screencast.com/t/ll7mLlje557
>
>  and I set the number of threads to be 10, with ramp up period being one
>  second.  However, upon visiting Run -> Start, I see the green square in the
>  upper right of my JMeter window with a "0/10" next to it.  But after one
>  second, the results go to "0/0" and it doesn't appear the Java requests were
>  even executed.  However, there is nothing in my summary report or results
>  tree.
>
>  How can I troubleshoot what is going wrong?
>

Check jmeter.log

>  Thanks, - Dave
>
> --
>  View this message in context: http://www.nabble.com/Java-request-never-gets-off-the-ground-tp21258007p21258007.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe <at> jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help <at> jakarta.apache.org
(Continue reading)

sebb | 3 Jan 2009 12:13
Picon

Re: click a link with xpath type of action

On 02/01/2009, Ray Trejo <ray.trejo <at> rackspace.com> wrote:
> Hi,
>
>  I am trying to click a link on a page with the text Test Process
>  Definition.  Is there a way to click a link using xpath or some sort of
>  regular expression?
>

Not directly.

Text can be extracted from an HTML page using XPath or RE, and the
result can be used in a sampler.

>
>  The below html is from the page source.
>
>
>
>  <a id="j_id14:processDefinitionList:15:processName" href="#"
>  onclick="if(typeof jsfcljs ==
>  'function'){jsfcljs(document.getElementById('j_id14'),'j_id14:processDef
>  initionList:15:processName,j_id14:processDefinitionList:15:processName',
>  '');}return false" class="latestVersion">
>
>                                                           Test Process
>  Definition</a>
>

The function jsfcljs() presumably does the work.

(Continue reading)

sebb | 3 Jan 2009 12:22
Picon

Re: how to "assert" a whole html page with some dynamic content

On 31/12/2008, yaroslav1 <slavko_h <at> yahoo.com> wrote:
>
>  Hi,
>
>  First for all - Happy New Year everyboby!
>
>  Here is a problem which I cannot solve a few days... :(
>
>  I'm trying to check a whole html page with some dynamic content.

That is going to be tricky and expensive - is it really necessary to
check everything?

I suggest you just check a few important parts of the page in the test itself.
If you really want to check the full page, use the Save Responses to a
File element to create a file with the full details and compare that
separately after the test has finished.

>  My approach is like:
>  1) make http-request;
>  2) by using regular-expression-extractor to create those variables (related
>  to the dynamic content);
>  3) usu response-assertion (with selected "Text Response" and "Equal"), into
>  "patterns to test" - copy-paste the full page from a response of the step
>  1), and to replace the dynamic content by variables from
>  regular-expression-extractors.
>  But this is does not work as expected.

Probably because of line endings.

(Continue reading)


Gmane