Re: Random word modifier

2002-01-11 Thread Sebastian De Brugrari

Hello mr chan,
I,m currently using jmeter to do some testing and one of the problems i was 
having was that every concuurrent user i had to chang a parameter like id or 
name.
So i would be very greatfull if i could use your upgrade.

Sebastian




>From: "Roland Chan" <[EMAIL PROTECTED]>
>Reply-To: "JMeter Users List" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Random word modifier
>Date: Thu, 10 Jan 2002 15:27:11 -0500
>
>I've written a regular modifier for the modification manager that allows
>you to put a random, single, natural sounding word in place of
>parameters used in web test samples.  Is this of value as a
>contribution?  If so, how should I go about adding it?
>
>Thanks,
>Roland




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Please help me with this app!!

2002-01-11 Thread Alex Colic

Hi,

I have been trying for over a week to get JMeter to stress test my site. So
far I have been completely unsuccessful. As long as I use only one thread
group and only one thread everything is fine, but add another thread or
another thread group and I keep getting exceptions in the system.out.

I have a very simple web application. User logs in, selects something, goes
to another page, what they selected is pulled out of the session and shown
to a user, user clicks ok, data is updated and then user is logged out.
Sound simple to me, although, I use the session a lot.

I have created a threadgroup that has:

A Cookie Manager and web testing controllers to represent the above pages.
With these web controllers I specify the page path and the parameters to
send. When I run JMeter with more than one thread I get errors such as:

java.io.FileNotFoundException:
http://PopWebSvr:80/pwWorkRequestExpress/wrNavigation.do
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection
.java:545)
at
sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnect
ion.java:810)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.saveConnectionCookies(HT
TPSampler.java:496)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
438)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
164)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:275)
at java.lang.Thread.run(Thread.java:484).

And, the page that can't been found does exist. Some time pages are found
and some type they are not. And it looks like after the error is found the
thread is exiting. My servlets keep a list of objects that have attached
themsleves and these objects are removed after the user logs out. I am
starting to find user objects not being removed via the log out page.

Any help is highly appreciated. I would like to figure out how to use this
product.

Thanks

Alex





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


Cookie Manager & Struts?

2002-01-11 Thread Roland Chan

Not 100% on how to correctly use the cookie manager, could someone
please give an example of how to use this correctly.

I have a struts application for which I created a thread group, added
the cookie manager, and web test samples all beneath a simple
controller.  The test simulates a login, and then one other business
action.  The login works fine (1st struts action -- in which case I am
assuming the cookie manager correctly used the JSESSIONID), however,
when it tries to proceed with the next business action (2nd struts
action) it no longer has any knowledge of the current session and I
receive an IO Exception.

Does anyone else experience this sort of behavior.  Any advice would be
appreciated.

Regards,
Roland


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Cookie Manager & Struts?

2002-01-11 Thread Roland Chan

Small correction to my previous post, my cookie manager is at the thread
group level.

-Original Message-
From: Roland Chan [mailto:[EMAIL PROTECTED]] 
Sent: January 11, 2002 3:47 PM
To: 'JMeter Users List'
Subject: Cookie Manager & Struts?

Not 100% on how to correctly use the cookie manager, could someone
please give an example of how to use this correctly.

I have a struts application for which I created a thread group, added
the cookie manager, and web test samples all beneath a simple
controller.  The test simulates a login, and then one other business
action.  The login works fine (1st struts action -- in which case I am
assuming the cookie manager correctly used the JSESSIONID), however,
when it tries to proceed with the next business action (2nd struts
action) it no longer has any knowledge of the current session and I
receive an IO Exception.

Does anyone else experience this sort of behavior.  Any advice would be
appreciated.

Regards,
Roland


--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Cookie Manager & Struts?

2002-01-11 Thread Alex Colic

If you figure out how to do this please forward the info to me. I am trying
to do the same thing and I have been unsuccessful.

Alex

-Original Message-
From: Roland Chan [mailto:[EMAIL PROTECTED]]
Sent: January 11, 2002 3:47 PM
To: 'JMeter Users List'
Subject: Cookie Manager & Struts?


Not 100% on how to correctly use the cookie manager, could someone
please give an example of how to use this correctly.

I have a struts application for which I created a thread group, added
the cookie manager, and web test samples all beneath a simple
controller.  The test simulates a login, and then one other business
action.  The login works fine (1st struts action -- in which case I am
assuming the cookie manager correctly used the JSESSIONID), however,
when it tries to proceed with the next business action (2nd struts
action) it no longer has any knowledge of the current session and I
receive an IO Exception.

Does anyone else experience this sort of behavior.  Any advice would be
appreciated.

Regards,
Roland


--
To unsubscribe, e-mail:

For additional commands, e-mail:




--
To unsubscribe, e-mail:   
For additional commands, e-mail: