Raidery | 1 Sep 2003 15:02
Favicon

cookie's question about grinder

Hello, 
can you help me solve the following problem:
I need to sign in a website that using redirect,this website need  cookie and session,when I sign in with uses a file containing POST data to send,the server return a cookie,then redirect ,return to server this cookie,but the grinder lost the cookie when redirect,so sign in is  failed,how can I do ?thanks
this is example:red words need back to server
 
cookie=:JSESSIONID=tEq6xuHy3jZg
null=:HTTP/1.1 200 OK
Date=:Mon, 01 Sep 2003 12:38:00 GMT
Server=:Apache/1.3.27 (Unix) Resin/2.1.10
Cache-Control=:private
Content-Language=:en-US
Set-Cookie=:__cookie_temp_client_data__=BclzfKbE9OE/vs+d00IfOj6d6UeuNofK; domain=abc.com; path=/
Set-Cookie=:JSESSIONID=tEq6xuHy3jZg; domain=abc.com; path=/
Keep-Alive=:timeout=10, max=200
Connection=:Keep-Alive
Transfer-Encoding=:chunked
Content-Type=:text/html; charset=GBK
 
 
                                                andiyang
                                              2003.09.01
CHIDIPI, RAMJEE (SBCSI | 2 Sep 2003 19:21
Picon

About Grinder agent Starting problem


C:\>java net.grinder.Grinder
Exception in thread "main" java.lang.NoClassDefFoundError:
net/grinder/Grinder

I am having problem starting the Agent. Could you help me out?

There are the processed I have done till now.
1) Downloaded all the Files into C:\Program Files\grinder\

2) I created a run.bat file to set the CLASSPATH 

set classpath=%classpath%C:\Program Files\grinder-3.0-beta9\lib\grinder.jar;

3) I run 
Java net.grinder.Console
I get the Grinder console

4) I run

C:\>java net.grinder.Grinder
Exception in thread "main" java.lang.NoClassDefFoundError:
net/grinder/Grinder

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
David Hentchel | 3 Sep 2003 14:00

RE: Grinder-use digest, Vol 1 #381 - 1 msg

>
> I am having problem starting the Agent. Could you help me out?
>
> There are the processed I have done till now.
> 1) Downloaded all the Files into C:\Program Files\grinder\
>
> 2) I created a run.bat file to set the CLASSPATH
>
> set classpath=%classpath%C:\Program Files\grinder-3.0-beta9\lib\grinder.jar;
                          ^^
This may seem obvious, but you need to verify that your existing classpath
variable has
a ";" character at the end. The message is telling you that grinder.jar is not
in your
classpath. Add 'echo %classpath% to your .bat file to make sure.

>
> 3) I run
> Java net.grinder.Console
> I get the Grinder console
>
> 4) I run
>
> C:\>java net.grinder.Grinder
> Exception in thread "main" java.lang.NoClassDefFoundError:
> net/grinder/Grinder
>
>
>
>
> --__--__--
>
> _______________________________________________
> Grinder-use mailing list
> Grinder-use@...
> https://lists.sourceforge.net/lists/listinfo/grinder-use
>
>
> End of Grinder-use Digest

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
rlomas | 4 Sep 2003 00:41
Picon

Help with -ssl option


I\'m doing the next:

D:\\>java net.grinder.TCPSniffer -ssl

Initialising SSL sniffer engine with the parameters:

   Request filter:  net.grinder.tools.tcpsniffer.EchoFilter

   Response filter: net.grinder.tools.tcpsniffer.EchoFilter

   Local host:       localhost

   Local port:       8001

   Remote host:      localhost

   Remote port:      7001

   (SSL setup could take a few seconds)

Could not initialise engine:

java.security.NoSuchAlgorithmException: Algorithm SSL not available

        at com.sun.net.ssl.SunJSSE_b.a(DashoA6275)

        at com.sun.net.ssl.SSLContext.getInstance(DashoA6275)

        at net.grinder.tools.tcpsniffer.SnifferSSLSocketFactory.<init>(SnifferSSLSocketFactory.java:86)

        at java.lang.Class.newInstance0(Native Method)

        at java.lang.Class.newInstance(Unknown Source)

        at net.grinder.TCPSniffer.<init>(TCPSniffer.java:263)

        at net.grinder.TCPSniffer.main(TCPSniffer.java:61)

I already downloaded and installed jsse, my grinder version is 2.8.3, may java_home is C:\\jdk\\jre

, my claspath is C:\\HTTPClient-JSSE.jar;C:\\grinder\\lib\\grinder.jar;

PLEASE HELP!!! ¿what am I doing wrong?

and please ¿can you copy to rlomas@...?
--
CION Computación Integral S.A. de C. V.

Ricardo Lomas Guerra

E-mail: rlomas@...

Teléfono: 5582-4898

Celular: 044-55-2513-9744

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
rlomas | 4 Sep 2003 01:11
Picon

Help, help, help


I\\\'m doing the next: 

D:\\\\>java net.grinder.TCPSniffer -ssl 

Initialising SSL sniffer engine with the parameters: 

Request filter: net.grinder.tools.tcpsniffer.EchoFilter 

Response filter: net.grinder.tools.tcpsniffer.EchoFilter 

Local host: localhost 

Local port: 8001 

Remote host: localhost 

Remote port: 7001 

(SSL setup could take a few seconds) 

Could not initialise engine: 

java.security.NoSuchAlgorithmException: Algorithm SSL not available 

at com.sun.net.ssl.SunJSSE_b.a(DashoA6275) 

at com.sun.net.ssl.SSLContext.getInstance(DashoA6275) 

at
net.grinder.tools.tcpsniffer.SnifferSSLSocketFactory.<init>(SnifferSSLSocketFactory.java:86) 

at java.lang.Class.newInstance0(Native Method) 

at java.lang.Class.newInstance(Unknown Source) 

at net.grinder.TCPSniffer.<init>(TCPSniffer.java:263) 

at net.grinder.TCPSniffer.main(TCPSniffer.java:61) 

I already downloaded and installed jsse, my grinder version is 2.8.3, may java_home is C:\\\\jdk\\\\jre ,
my claspath is C:\\\\HTTPClient-JSSE.jar;C:\\\\grinder\\\\lib\\\\grinder.jar; 

PLEASE HELP!!! ¿what am I doing wrong? 

and please ¿can you copy to rlomas@...? 

--

-- 
--
CION Computación Integral S.A. de C. V.

Ricardo Lomas Guerra

E-mail: rlomas@...

Teléfono: 5582-4898

Celular: 044-55-2513-9744

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
cao cao | 4 Sep 2003 03:28

analysis method

Sir,
    Can  you tell me how to analyse the result of The Grinder.
   
    Thank you very much!
 
 
Cao
 
Sep 4,2003
 
rlomas | 4 Sep 2003 23:33
Picon

Help: javax.net.ssl.SSLHandshakeException: no cipher suites in common


Uso:

   grinder 2.8.3

   classpath C:\\grinder\\lib\\grinder.jar;

I hope somebody can help me with this exception.

when I use java_home=C:\\j2sdk1.4.0\\jre I get the next

D:\\GrinderScripts>java net.grinder.TCPSniffer -proxy -localHost

192.168.1.189 -ssl

Initialising SSL sniffer engine with the parameters:

   Request filter:  net.grinder.tools.tcpsniffer.EchoFilter

   Response filter: net.grinder.tools.tcpsniffer.EchoFilter

   Local host:       192.168.1.189

   Local port:       8001

   Listening as an HTTPS proxy

   (SSL setup could take a few seconds)

Engine initialised, listening on port 8001

javax.net.ssl.SSLHandshakeException: no cipher suites in common

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA6275)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)

        at com.sun.net.ssl.internal.ssl.ServerHandshaker.b(DashoA6275)

        at com.sun.net.ssl.internal.ssl.ServerHandshaker.a(DashoA6275)

        at

com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage(DashoA6275)

        at

com.sun.net.ssl.internal.ssl.Handshaker.process_record(DashoA6275)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)

        at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA6275)

        at

net.grinder.tools.tcpsniffer.StreamThread.run(StreamThread.java:92)

        at java.lang.Thread.run(Thread.java:536)

--- 192.168.1.189:3822->spiga:9443 opened --

--- spiga:9443->192.168.1.189:3822 opened --

--- 192.168.1.189:3822->spiga:9443 closed --

--- spiga:9443->192.168.1.189:3822 closed --

When I use    java_home C:\\jdk\\jre  (for j2sdk1_3_1_09) I got the next:

D:\\GrinderScripts>java net.grinder.TCPSniffer -proxy -localHost 192.168.1.189 -ssl

Initialising SSL sniffer engine with the parameters:

   Request filter:  net.grinder.tools.tcpsniffer.EchoFilter

   Response filter: net.grinder.tools.tcpsniffer.EchoFilter

   Local host:       192.168.1.189

   Local port:       8001

   Listening as an HTTPS proxy

   (SSL setup could take a few seconds)

Engine initialised, listening on port 8001

javax.net.ssl.SSLHandshakeException: no cipher suites in common

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA6275)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)

        at com.sun.net.ssl.internal.ssl.ServerHandshaker.b(DashoA6275)

        at com.sun.net.ssl.internal.ssl.ServerHandshaker.a(DashoA6275)

        at com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage(DashoA6275)

        at com.sun.net.ssl.internal.ssl.Handshaker.process_record(DashoA6275)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)

        at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA6275)

        at net.grinder.tools.tcpsniffer.StreamThread.run(StreamThread.java:92)

        at java.lang.Thread.run(Thread.java:536)

javax.net.ssl.SSLException: Unsupported SSL v2.0 ClientHello

--- 192.168.1.189:4011->spiga:9443 opened --

--- spiga:9443->192.168.1.189:4011 opened --

--- 192.168.1.189:4014->spiga:9443 opened --

--- spiga:9443->192.168.1.189:4014 opened --

--- 192.168.1.189:4011->spiga:9443 closed --

        at com.sun.net.ssl.internal.ssl.InputRecord.read(DashoA6275)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)

        at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA6275)

        at net.grinder.tools.tcpsniffer.StreamThread.run(StreamThread.java:92)

        at java.lang.Thread.run(Thread.java:536)

--- 192.168.1.189:4014->spiga:9443 closed --

--- spiga:9443->192.168.1.189:4011 closed --

--- spiga:9443->192.168.1.189:4014 closed --

Thanks for your help

--
CION Computación Integral S.A. de C. V.

Ricardo Lomas Guerra

E-mail: rlomas@...

Teléfono: 5582-4898

Celular: 044-55-2513-9744

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Philip Aston | 6 Sep 2003 08:02

RE: Which Script to Edit

Both of them!

The httpscript module contains the overall flow of your scenario. It imports the
httpscript_test module that contains the details of each test.

- Phil

 > -----Original Message-----
 > From: David L. Wasler [mailto:dwasler@...]
 > Sent: 29 August 2003 17:07
 > To: grinder user
 > Subject: [Grinder-use] Which Script to Edit
 > 
 > 
 > Hello:
 > 
 > Still learning Grinder3.0 beta.
 > 
 > I used the HTTPProxy to created a script.
 > 
 > Next I need to edit the script.
 > Question I found two scripts 
 > httpscript.py and httpscript_test.py
 > Which one do I edit for testing, I think the
 > httpscript_test.
 > 
 > How do I change the name of the scripts I create.
 > 
 > Cheers
 > DLWasler
 > 
 > 
 > __________________________________
 > Do you Yahoo!?
 > Yahoo! SiteBuilder - Free, easy-to-use web site design software
 > http://sitebuilder.yahoo.com
 > 
 > 
 > -------------------------------------------------------
 > This sf.net email is sponsored by:ThinkGeek
 > Welcome to geek heaven.
 > http://thinkgeek.com/sf
 > _______________________________________________
 > Grinder-use mailing list
 > Grinder-use@...
 > https://lists.sourceforge.net/lists/listinfo/grinder-use
 > 

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Philip Aston | 6 Sep 2003 08:02

RE: please help


 > -----Original Message-----
 > From: Aaron Robinson [mailto:aaronrobinson67@...]
 > Sent: 29 August 2003 00:07
 > To: Gill@...; grinder-use <at> lists.sourceforge.net
 > Subject: Re: [Grinder-use] please help
 > 
 > 
 > >I'm using the Grinder 2.8.6 ,
 > >(because I don't know the first thing about Jython),
 > >in order to check a web application's stress performance.
 > 
 > I know nothing about Jython either but at the end of the day 
 > all you're 
 > doing is getting TCPProxy to generate it for you anyway so 
 > it's no big deal. 
 > If you have to look at it, it's fairly intuitive.
 > 
 > >
 > >Could you please answer these 3 questions.
 > >
 > >1.   Why do I see in the console's results window:
 > >      12 Successful Transfers for each test,
 > >      while in the relevant properties file it says :
 > >        grinder.processes=12
 > >        grinder.threads=1
 > >        grinder.cycles=1
 > >        grinder.test0.parameter.url=http://... 12 lines - 
 > for the 12 
 > >processes
 > >      see attached screen shot.
 > >      shouldn't it be 1 Successful Transfers for each process ?
 > 
 > The G3 docs say that there really isn't much need for 
 > multiple processor 
 > (agent) runs on a single machine. You are running 12 agents 
 > here, I think. 
 > threads are obvious, cycles are how many times each thread 
 > rund the tests.

To be correct - this is specifying that 12 _worker_processes_ should be used for each
agent. The number of agents is determined by the number of instances of
"java net.grinder.Grinder" that you run.

 > >2.  grinder.jvm.arguments=-ms8m -mx16m
 > >      What's the meaning of those arguments ?
 > >
 > 
 > min and max memory afaik

Yes, they specify miniumum and maximum Java heap memory size for each worker process.

 > >3.  Is the httpPlugin sufficient for investigating the 
 > stress performance ?
 > >
 > 
 > well you can certainly stress test using it

For HTTP testing, yes.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Philip Aston | 6 Sep 2003 08:02

RE: Difference betweet

...and httpscript$py.class is a compiled class generated by Jython. You can delete it
if you like, Jython will recreate the file next time you run the script.

- Phil

 > -----Original Message-----
 > From: Aaron Robinson [mailto:aaronrobinson67@...]
 > Sent: 29 August 2003 00:01
 > To: dwasler@...; grinder-use <at> lists.sourceforge.net
 > Subject: Re: [Grinder-use] Difference betweet
 > 
 > 
 > David,
 > 
 > RTFM.
 > 
 > httpscript.py and httpscript_tests.py are thej/python 
 > scripts generated by 
 > TCPProxy that you subsequently reference from your 
 > grinder.properties file 
 > to replay your transactions.
 > 
 > 
 > 
 > >From: "David L. Wasler" <dwasler@...>
 > >To: grinder user <grinder-use@...>
 > >Subject: [Grinder-use] Difference betweet
 > >Date: Thu, 28 Aug 2003 14:20:15 -0700 (PDT)
 > >
 > >Hi:
 > >
 > >Grinder 3.0 beta.
 > >What the difference between files and what to do?
 > >
 > >httpscript.py,
 > >httpscript_test.py
 > >httpscript$py.class
 > >
 > >Thank You
 > >DLWasler
 > >
 > >
 > >=====
 > >Thank You
 > >David L. Wasler
 > >dwasler@...
 > >714-742-0311

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

Gmane