I think this is not answer to my question.

Please see below my question.

Hi,

I need help in preparing a thread group. I am not able to capture a
scenario in a 'Case' processing web/java application (Case 360) where a
query result needs to be dynamically used to open the next page.

Scenario:

1. Login and reach the home page.
2. The home page opens up with a link on the left. When the link is
clicked, it fetches the Cases on the right of the page.
3. Each fetched Case itself is a link and when one of the Cases is clicked,
a webpage opens up with its details.

While playing the first 2 steps are run successfully while at the 3rd step,
the Case does not open with its details; instead a message is returned that
'the case has been moved to other instance'.

Actually the application allows to move the cases out to other instance and
those moved out cases do not appear in the query result. The Case that
jmeter was trying to open had been moved out. However Jmeter had
pre-recorded the webpage parameters of the particular Case and hence it
gives the above message.

I have noticed that the step (HTTP Request) for clicking on case and
opening its details has stored parameters like:
Name              Values
---------              ----------
op                  ve
id                   3.164.164
wsn                QXBwZWFsc19NYWlu
state              210

Observed for each fetched case, there is a different value for 'state'.
When jmeter looks up for case with state as 210 (it was the case opened
while recording), it does not find 210 because it had been moved to other
instance.

Can you please let me know how I can make the script dynamic so that it
opens one of the fetched cases only and not the one that has been moved out.

If I get it correctly, the state needs to be extracted at one of the
previous steps and then its parameter value should be replaced with a
variable. However, I could not locate the value in any of the previous
steps.


Thanks,
Parul


On Fri, May 30, 2014 at 12:21 AM, Jeff Ohrstrom <[email protected]>
wrote:

> It's not related to timeout because then it would throw a socket timeout
> exception. I can't recall the full path.
>
> Anyhow, I came across this once when I was testing a service and i was
> actually using the wrong port. That is, the server can accept your
> connection, but instead of http being passed back and forth, the server
> replied with some other protocol. So for example your trying http:
> //myServer:22/myService (22 being the ssh port).  That's what was happening
> to me anyhow, that may or may not be your problem.
>
> > Date: Tue, 27 May 2014 21:21:44 -0700
> > From: [email protected]
> > To: [email protected]
> > Subject: Re: org.apache.http.NoHttpResponseException
> >
> > Seems issue related to timeout. Try to uncheck "Use KeepAlive" from
> sampler.
> >
> >
> >
> > --
> > View this message in context:
> http://jmeter.512774.n5.nabble.com/org-apache-http-NoHttpResponseException-tp5719349p5720137.html
> > Sent from the JMeter - User mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
>

Reply via email to