carlos.franco | 5 May 2003 11:01
Favicon

How to make requests that depends on responses


Hi all.

Is there a way (with Grinder 3) to make that my requests  depends on the 
response? I will make an example:

Supose that when I make a request the server gives me one list of, for example, 
cars, and I want to edit the information of one, but I don't know its ID, so I 
have to look into the response and look for it. Can I do that? Is there an 
example that could help me??

Thanks a lot.

Carlos

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
carlos.franco | 5 May 2003 20:13
Favicon

HTTP Response CODE

Hi all.

If I understand well, errors in data logs are Java errors, not HTTP errors 
(like, for example, 401 or 500). Is there a way to make that data logs send 
(like they do with Thread, Run, Test, Transaction time, Errors) the HTTP Code 
of the response?

Thanks a lot.

Carlos

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
sanjeev p | 6 May 2003 05:57
Picon
Favicon

Pls help...


Note: forwarded message attached.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
From: Note: forwarded message attached. __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com <chitra@...>
Subject: chitra@...
Date: 2003-05-06 03:48:32 GMT


Hi,

Do we have to set some options or something for Junit Plugin to Grinder 3.0.
When we plugged in the Junit test cases, it's saying that ".py" not available.

Herewith am attaching the properties file i used to run. The error shown is "grinder.py" is missing or cannot be read.



Pls address this query as early as possible

Regards,
Chitra
Attachment (grinder.properties): application/octet-stream, 744 bytes
(Continue reading)

dr | 6 May 2003 10:32
Picon
Favicon

adding to cart

hi,

i can't see why during a scenario (captured by the
tcpsniffer) which consists of logging then adding
object to cart for 100 simultaneous users, there is no
change in the cart content. In other words, during
grinder-use, if i log in to the online application and
see the cart content, i expect to find at least 3, 60
or 100 of that object in the shopping cart.

Thank you for your help  

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
JavaPortal UK | 6 May 2003 12:34
Picon

Problem with grinder-3.0-beta8...

Hi !
I am having a problem with grinder-3.0-beta8...
Running on a Dell Inspiron 7500 laptop with 384MB Memory (Celeron 466)
under the Window 2000 Server operating system.
After adding grinder.jar to my classpath,
I kick off the Console via net.grinder.Console
then kick off the Grinder via net.grinder.Grinder
Then via the sample hello-world.py script, the Grinder runs the 10 
tests, but the TPS figure keeps changing,
and the Console command window keeps throwing out the following 
exception at about 1 second intervals:
java.lang.NoClassDefFoundError
        at net.grinder.console.swingui.ConsoleUI.updateStateLabel
(ConsoleUI.java:442)
        at net.grinder.console.swingui.ConsoleUI.update
(ConsoleUI.java:466)
        at 
net.grinder.console.swingui.SwingDispatchedModelListener$1.run
(SwingDispatchedModelListener.java:48)
        at java.awt.event.InvocationEvent.dispatch
(InvocationEvent.java:154)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:131)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

(Continue reading)

Philip Aston | 6 May 2003 22:50

Re: Is it possible to customize the TCPProxy Recording?


Mihir,

Sanghani Mihir writes:
 > Philip, I have one doubt, Is it possible to customize the TCPProxy
 > recording? The reason is, I would like to partially/completely
 > automate the modification of recorded script. 
 >
 > <snip>
 >
 > I need to change the value (originally '1234') of all NVPair's
 > having NAME = 'BookID' with variable iBOOKID (changed from '1234'
 > to iBOOKID). The above is just an example of small change , however
 > in actual script, the changes are too many.
 > 
 > Is there any way by which we could customize grinder so that while recording
 > itself?, where 
 > Name = "BookID" , the value will be recorded as iBOOKID. i.e.
 > NVPair('BookID', iBOOKID )  (while recording itself)
 > 
 > If in case there is no provision to customize the above requirement
 > in grinder, I have a suggestion and hope it sounds feasible to you.
 > 
 > We can have an XML file (for e.g.. "Customize.xml") , which can contain
 > customization info like follows:
 > <Customize>
 > 	<url>Name="LIS/SaveBook.jsp"
 > 		<NVPair Name="BookID" Value ="iBOOKID" />
 > 	</url>
 > 	<url>Name="LIS/ViewBook.jsp"
(Continue reading)

Philip Aston | 6 May 2003 22:31

RE: Problem under Windows XP


Carlos Franco writes:
 > The application we have to test is IIS + Weblogic and the client
 > machines we can use to simulate load are windows XP. In order to
 > know witch open source tool we are going to use, we are making some
 > tests in our office, and we don't have windows 2000 server or
 > windows XP server. If we are using professional edition and no
 > server edition, can be a problem?

I doubt it. I use 2K professional with no problems (modulo multicast
issues).

Is anyone else using The Grinder with XP? Has anyone seen behaviour
like the following:

 > >carlos.franco@... writes:
 > > > I'm using grinder 2.8.6 with SDK 1.4.1_02 (the same result with SDK
 > > > 1.3.1_07) under windows XP SP1 (PIV 1.8GHz and 512MB Ram).
 > > >
 > > > If I try one simple test script (only two get http request) with
 > > > more than 20 thread (1 process, but the same if two process and
 > > > more than 10 threads) after 1 minute errors start (and some time
 > > > after, there are more errors than ok reponses). If I watch at logs,
 > > > I see java exceptions:
 > > >
 > > > net.grinder.plugin.http.HTTPHandlerException: Address in use:
 > connect,
 > >nested
 > > > exception: java.net.BindException: Address in use: connect
 > > > 	at net.grinder.plugin.http.HTTPClientHandler.sendRequest
(Continue reading)

Philip Aston | 6 May 2003 22:27

Re: Problems using grinder with a load balancer


Scott,

Scott Buchan writes:
 > I am getting errors while trying to use grinder with a load
 > balancer. Running the same script with the same load with no load
 > balancer works without any errors. My application runs on a
 > Weblogic 7.1 server. I have tried 3 different load balancers
 > (Alteon switch, using Apache with the weblogic plugin, and a
 > weblogic server acting as a proxy) which all give the same error
 > messages.
 > 
 > Has anyone else had problems with using a load balancer with grinder?
 > 
 > The error message is listed below:
 > 
 > 4/25/03 11:21:03 AM (thread 172 run 0): Aborted run, script threw class
 > HTTPClient.RetryException: Premature EOF encountered
 > 
 > HTTPClient.RetryException: Premature EOF encountered
 > 
 >         at
 > HTTPClient.StreamDemultiplexor.retry_requests(StreamDemultiplexor.java:526)
 > 
 >         at
 > HTTPClient.StreamDemultiplexor.close(StreamDemultiplexor.java:494)
 > 
 >         at HTTPClient.StreamDemultiplexor.read(StreamDemultiplexor.java:365)
 > 
 >         at HTTPClient.RespInputStream.read(RespInputStream.java:155)
(Continue reading)

Philip Aston | 6 May 2003 23:16

Re: Problem with grinder-3.0-beta8...


JavaPortal UK writes:
 > I am having a problem with grinder-3.0-beta8...
 > Running on a Dell Inspiron 7500 laptop with 384MB Memory (Celeron 466)
 > under the Window 2000 Server operating system.
 > After adding grinder.jar to my classpath,
 > I kick off the Console via net.grinder.Console
 > then kick off the Grinder via net.grinder.Grinder
 > Then via the sample hello-world.py script, the Grinder runs the 10 
 > tests, but the TPS figure keeps changing,
 > and the Console command window keeps throwing out the following 
 > exception at about 1 second intervals:
 > java.lang.NoClassDefFoundError
 >         at net.grinder.console.swingui.ConsoleUI.updateStateLabel
 > (ConsoleUI.java:442)
 >         at net.grinder.console.swingui.ConsoleUI.update
 > (ConsoleUI.java:466)

Unfortunately I slipped up for beta 8 and introduced a dependency on
the new colour constants in JDK 1.4.1. This will be rectified in the
next beta. In the meantime, please either use JDK 141 or regress to
beta 7.

- Phil

-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
(Continue reading)

Gert-Jan van de Streek | 7 May 2003 17:01
Picon
Favicon

cookies


Are cookies returned by the response on test1 sent by the
request for test2 automatically? The script I'm trying to 
run is:

grinder.plugin.parameter.followRedirects=true

grinder.test1.parameter.url=http://gagel.rf.rabobank.nl/webapp/examples/ping
grinder.test1.parameter.header.host=gagel.rf.rabobank.nl

grinder.test2.parameter.url=http://gagel.rf.rabobank.nl/webapp/examples/j_security_check
grinder.test2.parameter.post=D:/programs/grinder-2.8.6/examples/http/http-plugin-sniffer-post-5
grinder.test2.parameter.header.host=gagel.rf.rabobank.nl
grinder.test2.parameter.ok=Ping

I'm using 2.8.6 to test WebSphere Application Server.

Thanks in advance,

Gert-Jan van de Streek

--

-- 
Avisi BV 
http://www.avisi.nl
tel: 0313-482858
tel direkt: 06-22544660

-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
(Continue reading)


Gmane