Pass http responses to java-applets

View: New views
6 Messages — Rating Filter:   Alert me  

Pass http responses to java-applets

by Miguel A. Lamy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello everyone,

I am currently evaluating load testing software and I tested Grinder.

Unfornately I had some problems with the tests. My application use applets and I need to pass to the applet
(in http requests) one parameter that is received in a previous http response. I don't know if Grinder allow
me to do that.

If it is possible to do that with Grinder can anyone explain how to do it ? If that is not possible can
anyone suggest other load test software that I can use to do that ?

Thank you,

Miguel Lamy



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use

Re: Pass http responses to java-applets

by Philip Aston-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think it will work for you.

The Grinder will record an HTTP stream. Since your applet is using HTTP
to communicate back to the server, you should be able to capture the
information from the first response, and send it in the next one.

The first step is to use the TCPProxy to record the interaction from a
browser, and examine the generated script.

- Phil

Miguel A. Lamy wrote:

> Hello everyone,
>
> I am currently evaluating load testing software and I tested Grinder.
>
> Unfornately I had some problems with the tests. My application use applets and I need to pass to the applet
> (in http requests) one parameter that is received in a previous http response. I don't know if Grinder allow
> me to do that.
>
> If it is possible to do that with Grinder can anyone explain how to do it ? If that is not possible can
> anyone suggest other load test software that I can use to do that ?
>
> Thank you,
>
> Miguel Lamy
>  


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use

Re(2): Pass http responses to java-applets

by Miguel A. Lamy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Phil,

Thank you for replying.

Maybe I didn't explain my problem correctly. I am sorry for that.

I looked at the script  and it has binary content on applets requests. I think need to edit that content
somehow and pass to it a parameter that I got in the content of a previous response. (I hope with this  I put
things more clear :-)

I can send grinder.py file if you think it's useful

Example of applet request:  

def page28(self):
    """POST ProdutoArmazemArealist_Action.do (request 2801)."""
    result = request2801.POST('/siag/ProdutoArmazemArealist_Action.do',
      "\xAC\xED\x00\x05\x73\x72\x00\x28\x70\x74\x2E\x67\x65\x64\x69\x2E"
      "\x62\x61\x73\x65\x2E\x61\x70\x70\x6C\x65\x74\x2E\x75\x74\x69\x6C"
      "\x73\x2E\x43\x6F\x6D\x6D\x61\x6E\x64\x57\x72\x61\x70\x70\x65\x72"
      "\x41\xB3\x20\xA5\x80\x6D\xE6\x62\x02\x00\x02\x4C\x00\x10\x61\x70"
      "\x70\x6C\x65\x74\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x74\x00"
      "\x16\x4C\x6A\x61\x76\x61\x2F\x75\x74\x69\x6C\x2F\x50\x72\x6F\x70"
      "\x65\x72\x74\x69\x65\x73\x3B\x4C\x00\x11\x6F\x62\x6A\x65\x63\x74"
      "\x54\x6F\x53\x65\x72\x69\x61\x6C\x69\x7A\x65\x74\x00\x12\x4C\x6A"
      "\x61\x76\x61\x2F\x6C\x61\x6E\x67\x2F\x4F\x62\x6A\x65\x63\x74\x3B"
      "\x78\x70\x73\x72\x00\x14\x6A\x61\x76\x61\x2E\x75\x74\x69\x6C\x2E"
      "\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x39\x12\xD0\x7A\x70\x36"
      "\x3E\x98\x02\x00\x01\x4C\x00\x08\x64\x65\x66\x61\x75\x6C\x74\x73"
      "\x71\x00\x7E\x00\x01\x78\x72\x00\x13\x6A\x61\x76\x61\x2E\x75\x74"
      "\x69\x6C\x2E\x48\x61\x73\x68\x74\x61\x62\x6C\x65\x13\xBB\x0F\x25"
      "\x21\x4A\xE4\xB8\x03\x00\x02\x46\x00\x0A\x6C\x6F\x61\x64\x46\x61"
      "\x63\x74\x6F\x72\x49\x00\x09\x74\x68\x72\x65\x73\x68\x6F\x6C\x64"
      "\x78\x70\x3F\x40\x00\x00\x00\x00\x00\x11\x77\x08\x00\x00\x00\x17"
      "\x00\x00\x00\x0F\x74\x00\x0E\x52\x5F\x52\x45\x43\x4F\x52\x44\x5F"
      "\x43\x4F\x55\x4E\x54\x74\x00\x04\x74\x72\x75\x65\x74\x00\x17\x52"
      "\x45\x51\x55\x45\x53\x54\x5F\x41\x50\x50\x4C\x45\x54\x5F\x45\x44"
      "\x49\x54\x41\x42\x4C\x45\x73\x72\x00\x11\x6A\x61\x76\x61\x2E\x6C"
      "\x61\x6E\x67\x2E\x42\x6F\x6F\x6C\x65\x61\x6E\xCD\x20\x72\x80\xD5"
      "\x9C\xFA\xEE\x02\x00\x01\x5A\x00\x05\x76\x61\x6C\x75\x65\x78\x70"
      "\x01\x74\x00\x13\x52\x45\x51\x55\x45\x53\x54\x5F\x4D\x41\x58\x5F"
      "\x52\x45\x53\x55\x4C\x54\x53\x74\x00\x03\x32\x30\x30\x74\x00\x1E"
      "\x52\x45\x51\x55\x45\x53\x54\x5F\x41\x50\x50\x4C\x45\x54\x5F\x43"
      "\x4F\x4E\x54\x45\x58\x54\x5F\x49\x4E\x56\x41\x4C\x49\x44\x73\x71"
      "\x00\x7E\x00\x0A\x00\x74\x00\x16\x41\x50\x50\x4C\x45\x54\x5F\x50"
      "\x41\x52\x41\x4D\x5F\x53\x43\x52\x45\x45\x4E\x5F\x49\x44\x74\x00"
      "\x16\x70\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D\x61\x7A\x65\x6D\x41"
      "\x72\x65\x61\x6C\x69\x73\x74\x74\x00\x09\x52\x5F\x41\x50\x50\x4E"
      "\x41\x4D\x45\x74\x00\x04\x73\x69\x61\x67\x74\x00\x19\x52\x45\x51"
      "\x55\x45\x53\x54\x5F\x50\x41\x52\x41\x4D\x5F\x43\x4F\x4C\x5F\x46"
      "\x4F\x4F\x54\x45\x52\x53\x75\x72\x00\x13\x5B\x4C\x6A\x61\x76\x61"
      "\x2E\x6C\x61\x6E\x67\x2E\x53\x74\x72\x69\x6E\x67\x3B\xAD\xD2\x56"
      "\xE7\xE9\x1D\x7B\x47\x02\x00\x00\x78\x70\x00\x00\x00\x09\x74\x00"
      "\x00\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17"
      "\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x71"
      "\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x74\x00\x14\x52\x45\x51\x55"
      "\x45\x53\x54\x5F\x46\x49\x52\x53\x54\x5F\x52\x45\x53\x55\x4C\x54"
      "\x74\x00\x01\x30\x74\x00\x17\x52\x45\x51\x55\x45\x53\x54\x5F\x50"
      "\x41\x52\x41\x4D\x5F\x41\x50\x50\x4C\x45\x54\x5F\x49\x44\x74\x00"
      "\x13\x36\x35\x32\x34\x37\x39\x31\x34\x32\x34\x33\x36\x31\x36\x31"
      "\x30\x36\x36\x30\x74\x00\x04\x54\x59\x50\x45\x75\x72\x00\x02\x5B"
      "\x49\x4D\xBA\x60\x26\x76\xEA\xB2\xA5\x02\x00\x00\x78\x70\x00\x00"
      "\x00\x09\x00\x00\x00\x05\x00\x00\x00\x05\x00\x00\x00\x09\x00\x00"
      "\x00\x09\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00"
      "\x00\x02\x00\x00\x00\x08\x74\x00\x07\x43\x4F\x4D\x4D\x41\x4E\x44"
      "\x74\x00\x0A\x52\x5F\x53\x48\x4F\x57\x5F\x41\x4C\x4C\x74\x00\x0B"
      "\x43\x4F\x4C\x55\x4D\x4E\x5F\x49\x4E\x49\x54\x75\x71\x00\x7E\x00"
      "\x15\x00\x00\x00\x09\x70\x70\x74\x00\x01\x31\x70\x70\x70\x70\x70"
      "\x70\x74\x00\x18\x52\x45\x51\x55\x45\x53\x54\x5F\x4D\x41\x4E\x44"
      "\x41\x54\x4F\x52\x59\x5F\x46\x49\x45\x4C\x44\x53\x73\x72\x00\x11"
      "\x6A\x61\x76\x61\x2E\x75\x74\x69\x6C\x2E\x48\x61\x73\x68\x4D\x61"
      "\x70\x05\x07\xDA\xC1\xC3\x16\x60\xD1\x03\x00\x02\x46\x00\x0A\x6C"
      "\x6F\x61\x64\x46\x61\x63\x74\x6F\x72\x49\x00\x09\x74\x68\x72\x65"
      "\x73\x68\x6F\x6C\x64\x78\x70\x3F\x40\x00\x00\x00\x00\x00\x0C\x77"
      "\x08\x00\x00\x00\x10\x00\x00\x00\x02\x74\x00\x1A\x50\x72\x6F\x64"
      "\x75\x74\x6F\x41\x72\x6D\x61\x7A\x65\x6D\x2E\x43\x68\x76\x45\x41"
      "\x72\x6D\x61\x7A\x65\x6D\x74\x00\x08\x41\x72\x6D\x61\x7A\xC3\xA9"
      "\x6D\x74\x00\x1B\x50\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D\x61\x7A"
      "\x65\x6D\x2E\x50\x72\x65\x66\x65\x72\x65\x6E\x63\x69\x61\x6C\x74"
      "\x00\x01\x50\x78\x74\x00\x14\x52\x45\x51\x55\x45\x53\x54\x5F\x41"
      "\x50\x50\x4C\x45\x54\x5F\x4C\x41\x42\x45\x4C\x74\x00\x00\x74\x00"
      "\x06\x43\x4F\x4C\x55\x4D\x4E\x75\x71\x00\x7E\x00\x15\x00\x00\x00"
      "\x09\x74\x00\x15\x50\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D\x61\x7A"
      "\x65\x6D\x2E\x41\x63\x74\x69\x76\x6F\x71\x00\x7E\x00\x29\x71\x00"
      "\x7E\x00\x27\x74\x00\x1F\x50\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D"
      "\x61\x7A\x65\x6D\x2E\x43\x68\x76\x45\x41\x72\x6D\x61\x7A\x65\x6D"
      "\x4C\x6F\x63\x61\x6C\x74\x00\x16\x50\x72\x6F\x64\x75\x74\x6F\x41"
      "\x72\x6D\x61\x7A\x65\x6D\x2E\x51\x74\x53\x74\x6F\x63\x6B\x74\x00"
      "\x17\x50\x72\x6F\x64\x75\x74\x6F\x2E\x56\x61\x6C\x43\x75\x73\x74"
      "\x6F\x50\x72\x6F\x64\x75\x74\x6F\x74\x00\x0A\x43\x75\x73\x74\x6F"
      "\x54\x6F\x74\x61\x6C\x74\x00\x1F\x50\x72\x6F\x64\x75\x74\x6F\x41"
      "\x72\x6D\x61\x7A\x65\x6D\x2E\x51\x74\x41\x6C\x65\x72\x74\x61\x49"
      "\x6E\x66\x65\x72\x69\x6F\x72\x74\x00\x13\x50\x72\x6F\x64\x75\x74"
      "\x6F\x41\x72\x6D\x61\x7A\x65\x6D\x2E\x43\x68\x76\x50\x78\x70\x70",
      ( NVPair('Content-Type', 'application/x-java-serialized-object'), ))

    return result


Thank you,

Miguel Lamy

grinder-use@... on quarta-feira, 4 de Novembro de 2009 at 09:54  wrote:
:I think it will work for you.
:
:The Grinder will record an HTTP stream. Since your applet is using HTTP
:to communicate back to the server, you should be able to capture the
:information from the first response, and send it in the next one.
:
:The first step is to use the TCPProxy to record the interaction from a
:browser, and examine the generated script.
:
:- Phil
:
:Miguel A. Lamy wrote:
:> Hello everyone,
:>
:> I am currently evaluating load testing software and I tested Grinder.
:>
:> Unfornately I had some problems with the tests. My application use applets and I need to pass to the applet
:> (in http requests) one parameter that is received in a previous http response. I don't know if Grinder
:allow
:> me to do that.
:>
:> If it is possible to do that with Grinder can anyone explain how to do it ? If that is not possible can
:> anyone suggest other load test software that I can use to do that ?
:>
:> Thank you,
:>
:> Miguel Lamy
:>  
:
:
:------------------------------------------------------------------------------
:Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
:trial. Simplify your report design, integration and deployment - and focus on
:what you do best, core application coding. Discover what's new with
:Crystal Reports now.  http://p.sf.net/sfu/bobj-july
:_______________________________________________
:grinder-use mailing list
:grinder-use@...
:https://lists.sourceforge.net/lists/listinfo/grinder-use



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use

Re: Re(2): Pass http responses to java-applets

by Philip Aston-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You need to know:
    1. How to identify the right data to extract from the previous HTTP
response?
    2. How to modify the binary content to include the response data?

These will both be dependent on the protocol used by your applet.

Given the content type is a Java serialized object, you might be able to
get hold of the bytes returned by the previous request (try
response.getData()), and parse it into a Java object using a
java.io.ObjectInputStream. You'll need the Java classes and any
dependencies they may have in the CLASSPATH used by The Grinder. You
could then modify the Java object, reserialize it (using a
java.io.ObjectOutputStream and a ByteArrayOutputStream) and pass the
resulting bytes as the body of yoru POST.

- Phil

Miguel A. Lamy wrote:

> Hello Phil,
>
> Thank you for replying.
>
> Maybe I didn't explain my problem correctly. I am sorry for that.
>
> I looked at the script  and it has binary content on applets requests. I think need to edit that content
> somehow and pass to it a parameter that I got in the content of a previous response. (I hope with this  I put
> things more clear :-)
>
> I can send grinder.py file if you think it's useful
>
> Example of applet request:  
>
> def page28(self):
>     """POST ProdutoArmazemArealist_Action.do (request 2801)."""
>     result = request2801.POST('/siag/ProdutoArmazemArealist_Action.do',
>       "\xAC\xED\x00\x05\x73\x72\x00\x28\x70\x74\x2E\x67\x65\x64\x69\x2E"
>       "\x62\x61\x73\x65\x2E\x61\x70\x70\x6C\x65\x74\x2E\x75\x74\x69\x6C"
>       "\x73\x2E\x43\x6F\x6D\x6D\x61\x6E\x64\x57\x72\x61\x70\x70\x65\x72"
>       "\x41\xB3\x20\xA5\x80\x6D\xE6\x62\x02\x00\x02\x4C\x00\x10\x61\x70"
>       "\x70\x6C\x65\x74\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x74\x00"
>       "\x16\x4C\x6A\x61\x76\x61\x2F\x75\x74\x69\x6C\x2F\x50\x72\x6F\x70"
>       "\x65\x72\x74\x69\x65\x73\x3B\x4C\x00\x11\x6F\x62\x6A\x65\x63\x74"
>       "\x54\x6F\x53\x65\x72\x69\x61\x6C\x69\x7A\x65\x74\x00\x12\x4C\x6A"
>       "\x61\x76\x61\x2F\x6C\x61\x6E\x67\x2F\x4F\x62\x6A\x65\x63\x74\x3B"
>       "\x78\x70\x73\x72\x00\x14\x6A\x61\x76\x61\x2E\x75\x74\x69\x6C\x2E"
>       "\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x39\x12\xD0\x7A\x70\x36"
>       "\x3E\x98\x02\x00\x01\x4C\x00\x08\x64\x65\x66\x61\x75\x6C\x74\x73"
>       "\x71\x00\x7E\x00\x01\x78\x72\x00\x13\x6A\x61\x76\x61\x2E\x75\x74"
>       "\x69\x6C\x2E\x48\x61\x73\x68\x74\x61\x62\x6C\x65\x13\xBB\x0F\x25"
>       "\x21\x4A\xE4\xB8\x03\x00\x02\x46\x00\x0A\x6C\x6F\x61\x64\x46\x61"
>       "\x63\x74\x6F\x72\x49\x00\x09\x74\x68\x72\x65\x73\x68\x6F\x6C\x64"
>       "\x78\x70\x3F\x40\x00\x00\x00\x00\x00\x11\x77\x08\x00\x00\x00\x17"
>       "\x00\x00\x00\x0F\x74\x00\x0E\x52\x5F\x52\x45\x43\x4F\x52\x44\x5F"
>       "\x43\x4F\x55\x4E\x54\x74\x00\x04\x74\x72\x75\x65\x74\x00\x17\x52"
>       "\x45\x51\x55\x45\x53\x54\x5F\x41\x50\x50\x4C\x45\x54\x5F\x45\x44"
>       "\x49\x54\x41\x42\x4C\x45\x73\x72\x00\x11\x6A\x61\x76\x61\x2E\x6C"
>       "\x61\x6E\x67\x2E\x42\x6F\x6F\x6C\x65\x61\x6E\xCD\x20\x72\x80\xD5"
>       "\x9C\xFA\xEE\x02\x00\x01\x5A\x00\x05\x76\x61\x6C\x75\x65\x78\x70"
>       "\x01\x74\x00\x13\x52\x45\x51\x55\x45\x53\x54\x5F\x4D\x41\x58\x5F"
>       "\x52\x45\x53\x55\x4C\x54\x53\x74\x00\x03\x32\x30\x30\x74\x00\x1E"
>       "\x52\x45\x51\x55\x45\x53\x54\x5F\x41\x50\x50\x4C\x45\x54\x5F\x43"
>       "\x4F\x4E\x54\x45\x58\x54\x5F\x49\x4E\x56\x41\x4C\x49\x44\x73\x71"
>       "\x00\x7E\x00\x0A\x00\x74\x00\x16\x41\x50\x50\x4C\x45\x54\x5F\x50"
>       "\x41\x52\x41\x4D\x5F\x53\x43\x52\x45\x45\x4E\x5F\x49\x44\x74\x00"
>       "\x16\x70\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D\x61\x7A\x65\x6D\x41"
>       "\x72\x65\x61\x6C\x69\x73\x74\x74\x00\x09\x52\x5F\x41\x50\x50\x4E"
>       "\x41\x4D\x45\x74\x00\x04\x73\x69\x61\x67\x74\x00\x19\x52\x45\x51"
>       "\x55\x45\x53\x54\x5F\x50\x41\x52\x41\x4D\x5F\x43\x4F\x4C\x5F\x46"
>       "\x4F\x4F\x54\x45\x52\x53\x75\x72\x00\x13\x5B\x4C\x6A\x61\x76\x61"
>       "\x2E\x6C\x61\x6E\x67\x2E\x53\x74\x72\x69\x6E\x67\x3B\xAD\xD2\x56"
>       "\xE7\xE9\x1D\x7B\x47\x02\x00\x00\x78\x70\x00\x00\x00\x09\x74\x00"
>       "\x00\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17"
>       "\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x71"
>       "\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x74\x00\x14\x52\x45\x51\x55"
>       "\x45\x53\x54\x5F\x46\x49\x52\x53\x54\x5F\x52\x45\x53\x55\x4C\x54"
>       "\x74\x00\x01\x30\x74\x00\x17\x52\x45\x51\x55\x45\x53\x54\x5F\x50"
>       "\x41\x52\x41\x4D\x5F\x41\x50\x50\x4C\x45\x54\x5F\x49\x44\x74\x00"
>       "\x13\x36\x35\x32\x34\x37\x39\x31\x34\x32\x34\x33\x36\x31\x36\x31"
>       "\x30\x36\x36\x30\x74\x00\x04\x54\x59\x50\x45\x75\x72\x00\x02\x5B"
>       "\x49\x4D\xBA\x60\x26\x76\xEA\xB2\xA5\x02\x00\x00\x78\x70\x00\x00"
>       "\x00\x09\x00\x00\x00\x05\x00\x00\x00\x05\x00\x00\x00\x09\x00\x00"
>       "\x00\x09\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00"
>       "\x00\x02\x00\x00\x00\x08\x74\x00\x07\x43\x4F\x4D\x4D\x41\x4E\x44"
>       "\x74\x00\x0A\x52\x5F\x53\x48\x4F\x57\x5F\x41\x4C\x4C\x74\x00\x0B"
>       "\x43\x4F\x4C\x55\x4D\x4E\x5F\x49\x4E\x49\x54\x75\x71\x00\x7E\x00"
>       "\x15\x00\x00\x00\x09\x70\x70\x74\x00\x01\x31\x70\x70\x70\x70\x70"
>       "\x70\x74\x00\x18\x52\x45\x51\x55\x45\x53\x54\x5F\x4D\x41\x4E\x44"
>       "\x41\x54\x4F\x52\x59\x5F\x46\x49\x45\x4C\x44\x53\x73\x72\x00\x11"
>       "\x6A\x61\x76\x61\x2E\x75\x74\x69\x6C\x2E\x48\x61\x73\x68\x4D\x61"
>       "\x70\x05\x07\xDA\xC1\xC3\x16\x60\xD1\x03\x00\x02\x46\x00\x0A\x6C"
>       "\x6F\x61\x64\x46\x61\x63\x74\x6F\x72\x49\x00\x09\x74\x68\x72\x65"
>       "\x73\x68\x6F\x6C\x64\x78\x70\x3F\x40\x00\x00\x00\x00\x00\x0C\x77"
>       "\x08\x00\x00\x00\x10\x00\x00\x00\x02\x74\x00\x1A\x50\x72\x6F\x64"
>       "\x75\x74\x6F\x41\x72\x6D\x61\x7A\x65\x6D\x2E\x43\x68\x76\x45\x41"
>       "\x72\x6D\x61\x7A\x65\x6D\x74\x00\x08\x41\x72\x6D\x61\x7A\xC3\xA9"
>       "\x6D\x74\x00\x1B\x50\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D\x61\x7A"
>       "\x65\x6D\x2E\x50\x72\x65\x66\x65\x72\x65\x6E\x63\x69\x61\x6C\x74"
>       "\x00\x01\x50\x78\x74\x00\x14\x52\x45\x51\x55\x45\x53\x54\x5F\x41"
>       "\x50\x50\x4C\x45\x54\x5F\x4C\x41\x42\x45\x4C\x74\x00\x00\x74\x00"
>       "\x06\x43\x4F\x4C\x55\x4D\x4E\x75\x71\x00\x7E\x00\x15\x00\x00\x00"
>       "\x09\x74\x00\x15\x50\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D\x61\x7A"
>       "\x65\x6D\x2E\x41\x63\x74\x69\x76\x6F\x71\x00\x7E\x00\x29\x71\x00"
>       "\x7E\x00\x27\x74\x00\x1F\x50\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D"
>       "\x61\x7A\x65\x6D\x2E\x43\x68\x76\x45\x41\x72\x6D\x61\x7A\x65\x6D"
>       "\x4C\x6F\x63\x61\x6C\x74\x00\x16\x50\x72\x6F\x64\x75\x74\x6F\x41"
>       "\x72\x6D\x61\x7A\x65\x6D\x2E\x51\x74\x53\x74\x6F\x63\x6B\x74\x00"
>       "\x17\x50\x72\x6F\x64\x75\x74\x6F\x2E\x56\x61\x6C\x43\x75\x73\x74"
>       "\x6F\x50\x72\x6F\x64\x75\x74\x6F\x74\x00\x0A\x43\x75\x73\x74\x6F"
>       "\x54\x6F\x74\x61\x6C\x74\x00\x1F\x50\x72\x6F\x64\x75\x74\x6F\x41"
>       "\x72\x6D\x61\x7A\x65\x6D\x2E\x51\x74\x41\x6C\x65\x72\x74\x61\x49"
>       "\x6E\x66\x65\x72\x69\x6F\x72\x74\x00\x13\x50\x72\x6F\x64\x75\x74"
>       "\x6F\x41\x72\x6D\x61\x7A\x65\x6D\x2E\x43\x68\x76\x50\x78\x70\x70",
>       ( NVPair('Content-Type', 'application/x-java-serialized-object'), ))
>
>     return result
>
>
> Thank you,
>
> Miguel Lamy
>
> grinder-use@... on quarta-feira, 4 de Novembro de 2009 at 09:54  wrote:
> :I think it will work for you.
> :
> :The Grinder will record an HTTP stream. Since your applet is using HTTP
> :to communicate back to the server, you should be able to capture the
> :information from the first response, and send it in the next one.
> :
> :The first step is to use the TCPProxy to record the interaction from a
> :browser, and examine the generated script.
> :
> :- Phil
> :
> :Miguel A. Lamy wrote:
> :> Hello everyone,
> :>
> :> I am currently evaluating load testing software and I tested Grinder.
> :>
> :> Unfornately I had some problems with the tests. My application use applets and I need to pass to the applet
> :> (in http requests) one parameter that is received in a previous http response. I don't know if Grinder
> :allow
> :> me to do that.
> :>
> :> If it is possible to do that with Grinder can anyone explain how to do it ? If that is not possible can
> :> anyone suggest other load test software that I can use to do that ?
> :>
> :> Thank you,
> :>
> :> Miguel Lamy
> :>  
> :
> :


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use

Re(2): Re(2): Pass http responses to java-applets

by Miguel A. Lamy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Phil,

Thank you for replying.

After reading your post I checked that IBM Quick, that deserializes a java-serialized-object to xml and
serializes it again from xml,  may solve my problem. The document is a bit old but I think it will work
(http://www.ibm.com/developerworks/library/x-quick/index.html)

Do you know if there is some script in Grinder documentation that could help doing that
deserialization/serialization.If that documentation exists can you tell me where can I get it ?

 I would like to do it in a very simple way that doesn't involve changing the py file. May be Grinder will
evaluate the http data while recording and my py script will be pre-prepared. As I understand from
documentation HTTP Plug-in will allow me to do that.

I am sorry if my questions sound a bit dummy, I am just begining :-)

Thank you again for your support


Best Regards,

Miguel Lamy


grinder-use@... on quarta-feira, 4 de Novembro de 2009 at 12:11  wrote:
:You need to know:
:    1. How to identify the right data to extract from the previous HTTP
:response?
:    2. How to modify the binary content to include the response data?
:
:These will both be dependent on the protocol used by your applet.
:
:Given the content type is a Java serialized object, you might be able to
:get hold of the bytes returned by the previous request (try
:response.getData()), and parse it into a Java object using a
:java.io.ObjectInputStream. You'll need the Java classes and any
:dependencies they may have in the CLASSPATH used by The Grinder. You
:could then modify the Java object, reserialize it (using a
:java.io.ObjectOutputStream and a ByteArrayOutputStream) and pass the
:resulting bytes as the body of yoru POST.
:
:- Phil
:
:Miguel A. Lamy wrote:
:> Hello Phil,
:>
:> Thank you for replying.
:>
:> Maybe I didn't explain my problem correctly. I am sorry for that.
:>
:> I looked at the script  and it has binary content on applets requests. I think need to edit that content
:> somehow and pass to it a parameter that I got in the content of a previous response. (I hope with this  I
:put
:> things more clear :-)
:>
:> I can send grinder.py file if you think it's useful
:>
:> Example of applet request:  
:>
:> def page28(self):
:>     """POST ProdutoArmazemArealist_Action.do (request 2801)."""
:>     result = request2801.POST('/siag/ProdutoArmazemArealist_Action.do',
:>       "\xAC\xED\x00\x05\x73\x72\x00\x28\x70\x74\x2E\x67\x65\x64\x69\x2E"
:>       "\x62\x61\x73\x65\x2E\x61\x70\x70\x6C\x65\x74\x2E\x75\x74\x69\x6C"
:>       "\x73\x2E\x43\x6F\x6D\x6D\x61\x6E\x64\x57\x72\x61\x70\x70\x65\x72"
:>       "\x41\xB3\x20\xA5\x80\x6D\xE6\x62\x02\x00\x02\x4C\x00\x10\x61\x70"
:>       "\x70\x6C\x65\x74\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x74\x00"
:>       "\x16\x4C\x6A\x61\x76\x61\x2F\x75\x74\x69\x6C\x2F\x50\x72\x6F\x70"
:>       "\x65\x72\x74\x69\x65\x73\x3B\x4C\x00\x11\x6F\x62\x6A\x65\x63\x74"
:>       "\x54\x6F\x53\x65\x72\x69\x61\x6C\x69\x7A\x65\x74\x00\x12\x4C\x6A"
:>       "\x61\x76\x61\x2F\x6C\x61\x6E\x67\x2F\x4F\x62\x6A\x65\x63\x74\x3B"
:>       "\x78\x70\x73\x72\x00\x14\x6A\x61\x76\x61\x2E\x75\x74\x69\x6C\x2E"
:>       "\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x39\x12\xD0\x7A\x70\x36"
:>       "\x3E\x98\x02\x00\x01\x4C\x00\x08\x64\x65\x66\x61\x75\x6C\x74\x73"
:>       "\x71\x00\x7E\x00\x01\x78\x72\x00\x13\x6A\x61\x76\x61\x2E\x75\x74"
:>       "\x69\x6C\x2E\x48\x61\x73\x68\x74\x61\x62\x6C\x65\x13\xBB\x0F\x25"
:>       "\x21\x4A\xE4\xB8\x03\x00\x02\x46\x00\x0A\x6C\x6F\x61\x64\x46\x61"
:>       "\x63\x74\x6F\x72\x49\x00\x09\x74\x68\x72\x65\x73\x68\x6F\x6C\x64"
:>       "\x78\x70\x3F\x40\x00\x00\x00\x00\x00\x11\x77\x08\x00\x00\x00\x17"
:>       "\x00\x00\x00\x0F\x74\x00\x0E\x52\x5F\x52\x45\x43\x4F\x52\x44\x5F"
:>       "\x43\x4F\x55\x4E\x54\x74\x00\x04\x74\x72\x75\x65\x74\x00\x17\x52"
:>       "\x45\x51\x55\x45\x53\x54\x5F\x41\x50\x50\x4C\x45\x54\x5F\x45\x44"
:>       "\x49\x54\x41\x42\x4C\x45\x73\x72\x00\x11\x6A\x61\x76\x61\x2E\x6C"
:>       "\x61\x6E\x67\x2E\x42\x6F\x6F\x6C\x65\x61\x6E\xCD\x20\x72\x80\xD5"
:>       "\x9C\xFA\xEE\x02\x00\x01\x5A\x00\x05\x76\x61\x6C\x75\x65\x78\x70"
:>       "\x01\x74\x00\x13\x52\x45\x51\x55\x45\x53\x54\x5F\x4D\x41\x58\x5F"
:>       "\x52\x45\x53\x55\x4C\x54\x53\x74\x00\x03\x32\x30\x30\x74\x00\x1E"
:>       "\x52\x45\x51\x55\x45\x53\x54\x5F\x41\x50\x50\x4C\x45\x54\x5F\x43"
:>       "\x4F\x4E\x54\x45\x58\x54\x5F\x49\x4E\x56\x41\x4C\x49\x44\x73\x71"
:>       "\x00\x7E\x00\x0A\x00\x74\x00\x16\x41\x50\x50\x4C\x45\x54\x5F\x50"
:>       "\x41\x52\x41\x4D\x5F\x53\x43\x52\x45\x45\x4E\x5F\x49\x44\x74\x00"
:>       "\x16\x70\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D\x61\x7A\x65\x6D\x41"
:>       "\x72\x65\x61\x6C\x69\x73\x74\x74\x00\x09\x52\x5F\x41\x50\x50\x4E"
:>       "\x41\x4D\x45\x74\x00\x04\x73\x69\x61\x67\x74\x00\x19\x52\x45\x51"
:>       "\x55\x45\x53\x54\x5F\x50\x41\x52\x41\x4D\x5F\x43\x4F\x4C\x5F\x46"
:>       "\x4F\x4F\x54\x45\x52\x53\x75\x72\x00\x13\x5B\x4C\x6A\x61\x76\x61"
:>       "\x2E\x6C\x61\x6E\x67\x2E\x53\x74\x72\x69\x6E\x67\x3B\xAD\xD2\x56"
:>       "\xE7\xE9\x1D\x7B\x47\x02\x00\x00\x78\x70\x00\x00\x00\x09\x74\x00"
:>       "\x00\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17"
:>       "\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x71"
:>       "\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x74\x00\x14\x52\x45\x51\x55"
:>       "\x45\x53\x54\x5F\x46\x49\x52\x53\x54\x5F\x52\x45\x53\x55\x4C\x54"
:>       "\x74\x00\x01\x30\x74\x00\x17\x52\x45\x51\x55\x45\x53\x54\x5F\x50"
:>       "\x41\x52\x41\x4D\x5F\x41\x50\x50\x4C\x45\x54\x5F\x49\x44\x74\x00"
:>       "\x13\x36\x35\x32\x34\x37\x39\x31\x34\x32\x34\x33\x36\x31\x36\x31"
:>       "\x30\x36\x36\x30\x74\x00\x04\x54\x59\x50\x45\x75\x72\x00\x02\x5B"
:>       "\x49\x4D\xBA\x60\x26\x76\xEA\xB2\xA5\x02\x00\x00\x78\x70\x00\x00"
:>       "\x00\x09\x00\x00\x00\x05\x00\x00\x00\x05\x00\x00\x00\x09\x00\x00"
:>       "\x00\x09\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00"
:>       "\x00\x02\x00\x00\x00\x08\x74\x00\x07\x43\x4F\x4D\x4D\x41\x4E\x44"
:>       "\x74\x00\x0A\x52\x5F\x53\x48\x4F\x57\x5F\x41\x4C\x4C\x74\x00\x0B"
:>       "\x43\x4F\x4C\x55\x4D\x4E\x5F\x49\x4E\x49\x54\x75\x71\x00\x7E\x00"
:>       "\x15\x00\x00\x00\x09\x70\x70\x74\x00\x01\x31\x70\x70\x70\x70\x70"
:>       "\x70\x74\x00\x18\x52\x45\x51\x55\x45\x53\x54\x5F\x4D\x41\x4E\x44"
:>       "\x41\x54\x4F\x52\x59\x5F\x46\x49\x45\x4C\x44\x53\x73\x72\x00\x11"
:>       "\x6A\x61\x76\x61\x2E\x75\x74\x69\x6C\x2E\x48\x61\x73\x68\x4D\x61"
:>       "\x70\x05\x07\xDA\xC1\xC3\x16\x60\xD1\x03\x00\x02\x46\x00\x0A\x6C"
:>       "\x6F\x61\x64\x46\x61\x63\x74\x6F\x72\x49\x00\x09\x74\x68\x72\x65"
:>       "\x73\x68\x6F\x6C\x64\x78\x70\x3F\x40\x00\x00\x00\x00\x00\x0C\x77"
:>       "\x08\x00\x00\x00\x10\x00\x00\x00\x02\x74\x00\x1A\x50\x72\x6F\x64"
:>       "\x75\x74\x6F\x41\x72\x6D\x61\x7A\x65\x6D\x2E\x43\x68\x76\x45\x41"
:>       "\x72\x6D\x61\x7A\x65\x6D\x74\x00\x08\x41\x72\x6D\x61\x7A\xC3\xA9"
:>       "\x6D\x74\x00\x1B\x50\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D\x61\x7A"
:>       "\x65\x6D\x2E\x50\x72\x65\x66\x65\x72\x65\x6E\x63\x69\x61\x6C\x74"
:>       "\x00\x01\x50\x78\x74\x00\x14\x52\x45\x51\x55\x45\x53\x54\x5F\x41"
:>       "\x50\x50\x4C\x45\x54\x5F\x4C\x41\x42\x45\x4C\x74\x00\x00\x74\x00"
:>       "\x06\x43\x4F\x4C\x55\x4D\x4E\x75\x71\x00\x7E\x00\x15\x00\x00\x00"
:>       "\x09\x74\x00\x15\x50\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D\x61\x7A"
:>       "\x65\x6D\x2E\x41\x63\x74\x69\x76\x6F\x71\x00\x7E\x00\x29\x71\x00"
:>       "\x7E\x00\x27\x74\x00\x1F\x50\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D"
:>       "\x61\x7A\x65\x6D\x2E\x43\x68\x76\x45\x41\x72\x6D\x61\x7A\x65\x6D"
:>       "\x4C\x6F\x63\x61\x6C\x74\x00\x16\x50\x72\x6F\x64\x75\x74\x6F\x41"
:>       "\x72\x6D\x61\x7A\x65\x6D\x2E\x51\x74\x53\x74\x6F\x63\x6B\x74\x00"
:>       "\x17\x50\x72\x6F\x64\x75\x74\x6F\x2E\x56\x61\x6C\x43\x75\x73\x74"
:>       "\x6F\x50\x72\x6F\x64\x75\x74\x6F\x74\x00\x0A\x43\x75\x73\x74\x6F"
:>       "\x54\x6F\x74\x61\x6C\x74\x00\x1F\x50\x72\x6F\x64\x75\x74\x6F\x41"
:>       "\x72\x6D\x61\x7A\x65\x6D\x2E\x51\x74\x41\x6C\x65\x72\x74\x61\x49"
:>       "\x6E\x66\x65\x72\x69\x6F\x72\x74\x00\x13\x50\x72\x6F\x64\x75\x74"
:>       "\x6F\x41\x72\x6D\x61\x7A\x65\x6D\x2E\x43\x68\x76\x50\x78\x70\x70",
:>       ( NVPair('Content-Type', 'application/x-java-serialized-object'), ))
:>
:>     return result
:>
:>
:> Thank you,
:>
:> Miguel Lamy
:>
:> grinder-use@... on quarta-feira, 4 de Novembro de 2009 at 09:54  wrote:
:> :I think it will work for you.
:> :
:> :The Grinder will record an HTTP stream. Since your applet is using HTTP
:> :to communicate back to the server, you should be able to capture the
:> :information from the first response, and send it in the next one.
:> :
:> :The first step is to use the TCPProxy to record the interaction from a
:> :browser, and examine the generated script.
:> :
:> :- Phil
:> :
:> :Miguel A. Lamy wrote:
:> :> Hello everyone,
:> :>
:> :> I am currently evaluating load testing software and I tested Grinder.
:> :>
:> :> Unfornately I had some problems with the tests. My application use applets and I need to pass to the
:applet
:> :> (in http requests) one parameter that is received in a previous http response. I don't know if Grinder
:> :allow
:> :> me to do that.
:> :>
:> :> If it is possible to do that with Grinder can anyone explain how to do it ? If that is not possible can
:> :> anyone suggest other load test software that I can use to do that ?
:> :>
:> :> Thank you,
:> :>
:> :> Miguel Lamy
:> :>  
:> :
:> :
:
:
:------------------------------------------------------------------------------
:Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
:trial. Simplify your report design, integration and deployment - and focus on
:what you do best, core application coding. Discover what's new with
:Crystal Reports now.  http://p.sf.net/sfu/bobj-july
:_______________________________________________
:grinder-use mailing list
:grinder-use@...
:https://lists.sourceforge.net/lists/listinfo/grinder-use



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use

Re: Re(2): Re(2): Pass http responses to java-applets

by Philip Aston-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm afraid some scripting will be necessary. That your applet uses Java
serialization is specific to your application. There's no way The
Grinder can guess right for each application.

You could look at standard Java tutorials on deserializing and
serializing objects (google will be your friend :-)), then convert the
examples into Jython for the script.

- Phil

Miguel A. Lamy wrote:

> Hello Phil,
>
> Thank you for replying.
>
> After reading your post I checked that IBM Quick, that deserializes a java-serialized-object to xml and
> serializes it again from xml,  may solve my problem. The document is a bit old but I think it will work
> (http://www.ibm.com/developerworks/library/x-quick/index.html)
>
> Do you know if there is some script in Grinder documentation that could help doing that
> deserialization/serialization.If that documentation exists can you tell me where can I get it ?
>
>  I would like to do it in a very simple way that doesn't involve changing the py file. May be Grinder will
> evaluate the http data while recording and my py script will be pre-prepared. As I understand from
> documentation HTTP Plug-in will allow me to do that.
>
> I am sorry if my questions sound a bit dummy, I am just begining :-)
>
> Thank you again for your support
>
>
> Best Regards,
>
> Miguel Lamy
>
>
> grinder-use@... on quarta-feira, 4 de Novembro de 2009 at 12:11  wrote:
> :You need to know:
> :    1. How to identify the right data to extract from the previous HTTP
> :response?
> :    2. How to modify the binary content to include the response data?
> :
> :These will both be dependent on the protocol used by your applet.
> :
> :Given the content type is a Java serialized object, you might be able to
> :get hold of the bytes returned by the previous request (try
> :response.getData()), and parse it into a Java object using a
> :java.io.ObjectInputStream. You'll need the Java classes and any
> :dependencies they may have in the CLASSPATH used by The Grinder. You
> :could then modify the Java object, reserialize it (using a
> :java.io.ObjectOutputStream and a ByteArrayOutputStream) and pass the
> :resulting bytes as the body of yoru POST.
> :
> :- Phil
> :
> :Miguel A. Lamy wrote:
> :> Hello Phil,
> :>
> :> Thank you for replying.
> :>
> :> Maybe I didn't explain my problem correctly. I am sorry for that.
> :>
> :> I looked at the script  and it has binary content on applets requests. I think need to edit that content
> :> somehow and pass to it a parameter that I got in the content of a previous response. (I hope with this  I
> :put
> :> things more clear :-)
> :>
> :> I can send grinder.py file if you think it's useful
> :>
> :> Example of applet request:  
> :>
> :> def page28(self):
> :>     """POST ProdutoArmazemArealist_Action.do (request 2801)."""
> :>     result = request2801.POST('/siag/ProdutoArmazemArealist_Action.do',
> :>       "\xAC\xED\x00\x05\x73\x72\x00\x28\x70\x74\x2E\x67\x65\x64\x69\x2E"
> :>       "\x62\x61\x73\x65\x2E\x61\x70\x70\x6C\x65\x74\x2E\x75\x74\x69\x6C"
> :>       "\x73\x2E\x43\x6F\x6D\x6D\x61\x6E\x64\x57\x72\x61\x70\x70\x65\x72"
> :>       "\x41\xB3\x20\xA5\x80\x6D\xE6\x62\x02\x00\x02\x4C\x00\x10\x61\x70"
> :>       "\x70\x6C\x65\x74\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x74\x00"
> :>       "\x16\x4C\x6A\x61\x76\x61\x2F\x75\x74\x69\x6C\x2F\x50\x72\x6F\x70"
> :>       "\x65\x72\x74\x69\x65\x73\x3B\x4C\x00\x11\x6F\x62\x6A\x65\x63\x74"
> :>       "\x54\x6F\x53\x65\x72\x69\x61\x6C\x69\x7A\x65\x74\x00\x12\x4C\x6A"
> :>       "\x61\x76\x61\x2F\x6C\x61\x6E\x67\x2F\x4F\x62\x6A\x65\x63\x74\x3B"
> :>       "\x78\x70\x73\x72\x00\x14\x6A\x61\x76\x61\x2E\x75\x74\x69\x6C\x2E"
> :>       "\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x39\x12\xD0\x7A\x70\x36"
> :>       "\x3E\x98\x02\x00\x01\x4C\x00\x08\x64\x65\x66\x61\x75\x6C\x74\x73"
> :>       "\x71\x00\x7E\x00\x01\x78\x72\x00\x13\x6A\x61\x76\x61\x2E\x75\x74"
> :>       "\x69\x6C\x2E\x48\x61\x73\x68\x74\x61\x62\x6C\x65\x13\xBB\x0F\x25"
> :>       "\x21\x4A\xE4\xB8\x03\x00\x02\x46\x00\x0A\x6C\x6F\x61\x64\x46\x61"
> :>       "\x63\x74\x6F\x72\x49\x00\x09\x74\x68\x72\x65\x73\x68\x6F\x6C\x64"
> :>       "\x78\x70\x3F\x40\x00\x00\x00\x00\x00\x11\x77\x08\x00\x00\x00\x17"
> :>       "\x00\x00\x00\x0F\x74\x00\x0E\x52\x5F\x52\x45\x43\x4F\x52\x44\x5F"
> :>       "\x43\x4F\x55\x4E\x54\x74\x00\x04\x74\x72\x75\x65\x74\x00\x17\x52"
> :>       "\x45\x51\x55\x45\x53\x54\x5F\x41\x50\x50\x4C\x45\x54\x5F\x45\x44"
> :>       "\x49\x54\x41\x42\x4C\x45\x73\x72\x00\x11\x6A\x61\x76\x61\x2E\x6C"
> :>       "\x61\x6E\x67\x2E\x42\x6F\x6F\x6C\x65\x61\x6E\xCD\x20\x72\x80\xD5"
> :>       "\x9C\xFA\xEE\x02\x00\x01\x5A\x00\x05\x76\x61\x6C\x75\x65\x78\x70"
> :>       "\x01\x74\x00\x13\x52\x45\x51\x55\x45\x53\x54\x5F\x4D\x41\x58\x5F"
> :>       "\x52\x45\x53\x55\x4C\x54\x53\x74\x00\x03\x32\x30\x30\x74\x00\x1E"
> :>       "\x52\x45\x51\x55\x45\x53\x54\x5F\x41\x50\x50\x4C\x45\x54\x5F\x43"
> :>       "\x4F\x4E\x54\x45\x58\x54\x5F\x49\x4E\x56\x41\x4C\x49\x44\x73\x71"
> :>       "\x00\x7E\x00\x0A\x00\x74\x00\x16\x41\x50\x50\x4C\x45\x54\x5F\x50"
> :>       "\x41\x52\x41\x4D\x5F\x53\x43\x52\x45\x45\x4E\x5F\x49\x44\x74\x00"
> :>       "\x16\x70\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D\x61\x7A\x65\x6D\x41"
> :>       "\x72\x65\x61\x6C\x69\x73\x74\x74\x00\x09\x52\x5F\x41\x50\x50\x4E"
> :>       "\x41\x4D\x45\x74\x00\x04\x73\x69\x61\x67\x74\x00\x19\x52\x45\x51"
> :>       "\x55\x45\x53\x54\x5F\x50\x41\x52\x41\x4D\x5F\x43\x4F\x4C\x5F\x46"
> :>       "\x4F\x4F\x54\x45\x52\x53\x75\x72\x00\x13\x5B\x4C\x6A\x61\x76\x61"
> :>       "\x2E\x6C\x61\x6E\x67\x2E\x53\x74\x72\x69\x6E\x67\x3B\xAD\xD2\x56"
> :>       "\xE7\xE9\x1D\x7B\x47\x02\x00\x00\x78\x70\x00\x00\x00\x09\x74\x00"
> :>       "\x00\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17"
> :>       "\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x71"
> :>       "\x00\x7E\x00\x17\x71\x00\x7E\x00\x17\x74\x00\x14\x52\x45\x51\x55"
> :>       "\x45\x53\x54\x5F\x46\x49\x52\x53\x54\x5F\x52\x45\x53\x55\x4C\x54"
> :>       "\x74\x00\x01\x30\x74\x00\x17\x52\x45\x51\x55\x45\x53\x54\x5F\x50"
> :>       "\x41\x52\x41\x4D\x5F\x41\x50\x50\x4C\x45\x54\x5F\x49\x44\x74\x00"
> :>       "\x13\x36\x35\x32\x34\x37\x39\x31\x34\x32\x34\x33\x36\x31\x36\x31"
> :>       "\x30\x36\x36\x30\x74\x00\x04\x54\x59\x50\x45\x75\x72\x00\x02\x5B"
> :>       "\x49\x4D\xBA\x60\x26\x76\xEA\xB2\xA5\x02\x00\x00\x78\x70\x00\x00"
> :>       "\x00\x09\x00\x00\x00\x05\x00\x00\x00\x05\x00\x00\x00\x09\x00\x00"
> :>       "\x00\x09\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00"
> :>       "\x00\x02\x00\x00\x00\x08\x74\x00\x07\x43\x4F\x4D\x4D\x41\x4E\x44"
> :>       "\x74\x00\x0A\x52\x5F\x53\x48\x4F\x57\x5F\x41\x4C\x4C\x74\x00\x0B"
> :>       "\x43\x4F\x4C\x55\x4D\x4E\x5F\x49\x4E\x49\x54\x75\x71\x00\x7E\x00"
> :>       "\x15\x00\x00\x00\x09\x70\x70\x74\x00\x01\x31\x70\x70\x70\x70\x70"
> :>       "\x70\x74\x00\x18\x52\x45\x51\x55\x45\x53\x54\x5F\x4D\x41\x4E\x44"
> :>       "\x41\x54\x4F\x52\x59\x5F\x46\x49\x45\x4C\x44\x53\x73\x72\x00\x11"
> :>       "\x6A\x61\x76\x61\x2E\x75\x74\x69\x6C\x2E\x48\x61\x73\x68\x4D\x61"
> :>       "\x70\x05\x07\xDA\xC1\xC3\x16\x60\xD1\x03\x00\x02\x46\x00\x0A\x6C"
> :>       "\x6F\x61\x64\x46\x61\x63\x74\x6F\x72\x49\x00\x09\x74\x68\x72\x65"
> :>       "\x73\x68\x6F\x6C\x64\x78\x70\x3F\x40\x00\x00\x00\x00\x00\x0C\x77"
> :>       "\x08\x00\x00\x00\x10\x00\x00\x00\x02\x74\x00\x1A\x50\x72\x6F\x64"
> :>       "\x75\x74\x6F\x41\x72\x6D\x61\x7A\x65\x6D\x2E\x43\x68\x76\x45\x41"
> :>       "\x72\x6D\x61\x7A\x65\x6D\x74\x00\x08\x41\x72\x6D\x61\x7A\xC3\xA9"
> :>       "\x6D\x74\x00\x1B\x50\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D\x61\x7A"
> :>       "\x65\x6D\x2E\x50\x72\x65\x66\x65\x72\x65\x6E\x63\x69\x61\x6C\x74"
> :>       "\x00\x01\x50\x78\x74\x00\x14\x52\x45\x51\x55\x45\x53\x54\x5F\x41"
> :>       "\x50\x50\x4C\x45\x54\x5F\x4C\x41\x42\x45\x4C\x74\x00\x00\x74\x00"
> :>       "\x06\x43\x4F\x4C\x55\x4D\x4E\x75\x71\x00\x7E\x00\x15\x00\x00\x00"
> :>       "\x09\x74\x00\x15\x50\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D\x61\x7A"
> :>       "\x65\x6D\x2E\x41\x63\x74\x69\x76\x6F\x71\x00\x7E\x00\x29\x71\x00"
> :>       "\x7E\x00\x27\x74\x00\x1F\x50\x72\x6F\x64\x75\x74\x6F\x41\x72\x6D"
> :>       "\x61\x7A\x65\x6D\x2E\x43\x68\x76\x45\x41\x72\x6D\x61\x7A\x65\x6D"
> :>       "\x4C\x6F\x63\x61\x6C\x74\x00\x16\x50\x72\x6F\x64\x75\x74\x6F\x41"
> :>       "\x72\x6D\x61\x7A\x65\x6D\x2E\x51\x74\x53\x74\x6F\x63\x6B\x74\x00"
> :>       "\x17\x50\x72\x6F\x64\x75\x74\x6F\x2E\x56\x61\x6C\x43\x75\x73\x74"
> :>       "\x6F\x50\x72\x6F\x64\x75\x74\x6F\x74\x00\x0A\x43\x75\x73\x74\x6F"
> :>       "\x54\x6F\x74\x61\x6C\x74\x00\x1F\x50\x72\x6F\x64\x75\x74\x6F\x41"
> :>       "\x72\x6D\x61\x7A\x65\x6D\x2E\x51\x74\x41\x6C\x65\x72\x74\x61\x49"
> :>       "\x6E\x66\x65\x72\x69\x6F\x72\x74\x00\x13\x50\x72\x6F\x64\x75\x74"
> :>       "\x6F\x41\x72\x6D\x61\x7A\x65\x6D\x2E\x43\x68\x76\x50\x78\x70\x70",
> :>       ( NVPair('Content-Type', 'application/x-java-serialized-object'), ))
> :>
> :>     return result
> :>
> :>
> :> Thank you,
> :>
> :> Miguel Lamy
> :>
> :> grinder-use@... on quarta-feira, 4 de Novembro de 2009 at 09:54  wrote:
> :> :I think it will work for you.
> :> :
> :> :The Grinder will record an HTTP stream. Since your applet is using HTTP
> :> :to communicate back to the server, you should be able to capture the
> :> :information from the first response, and send it in the next one.
> :> :
> :> :The first step is to use the TCPProxy to record the interaction from a
> :> :browser, and examine the generated script.
> :> :
> :> :- Phil
> :> :
> :> :Miguel A. Lamy wrote:
> :> :> Hello everyone,
> :> :>
> :> :> I am currently evaluating load testing software and I tested Grinder.
> :> :>
> :> :> Unfornately I had some problems with the tests. My application use applets and I need to pass to the
> :applet
> :> :> (in http requests) one parameter that is received in a previous http response. I don't know if Grinder
> :> :allow
> :> :> me to do that.
> :> :>
> :> :> If it is possible to do that with Grinder can anyone explain how to do it ? If that is not possible can
> :> :> anyone suggest other load test software that I can use to do that ?
> :> :>
> :> :> Thank you,
> :> :>
> :> :> Miguel Lamy
> :> :>  
> :> :
> :> :
> :
> :


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use