Re: Recording problem

Gary Mulder <[email protected]> Sun, 11 Oct 2015 19:51:23 +0100
Newsgroups gmane.comp.java.grinder.user
Message-ID <CAKy9zTAGvyTTA7Q2tbS0=P_D5AZ7zy0-pJmEBrc7e+9L8sfewQ@mail.gmail.com>
--===============4575659253429776170==
Content-Type: multipart/alternative; boundary=001a11492bc65d32a00521d8b5b4

--001a11492bc65d32a00521d8b5b4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 11 October 2015 at 19:25, =D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB =D0=AE=D1=
=80=D0=BA=D0=BE=D0=B2 <[email protected]> wrote:

> I comlite this task by deleting -http filter. I used the proxy correct,
> and took correct data. It is binary traffic generating by socket
> connection. So, when i reproduce it, there are errors in reprodaction, th=
e
> grinder didn't undestand that the recording file is binar and didn't
> contain Jython.
>

To my knowledge you can only replay HTTP/S through The Grinder. If you want
to send binary traffic you're going to have to custom write Jython/Java
code using say Java network sockets to send your captured binary requests,
and then instrument the socket calls to time how long the requests takes.

Here's a script example that shows how to instrument JDBC calls which
should give you the general idea:

http://grinder.sourceforge.net/g3/script-gallery.html#jdbc.py


Regards,
Gary

--001a11492bc65d32a00521d8b5b4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On 11 October 2015 at 19:25, =D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB =D0=AE=D1=
=80=D0=BA=D0=BE=D0=B2 <span dir=3D"ltr">&lt;<a href=3D"mailto:login40000@gm=
ail.com" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;pad=
ding-left:1ex"><p dir=3D"ltr">I comlite this task by deleting -http filter.=
 I used the proxy correct, and took correct data. It is binary traffic gene=
rating by socket connection. So, when i reproduce it, there are errors in r=
eprodaction, the grinder didn&#39;t undestand that the recording file is bi=
nar and didn&#39;t contain Jython.</p></blockquote><div><br></div><div>To m=
y knowledge you can only replay HTTP/S through The Grinder. If you want to =
send binary traffic you&#39;re going to have to custom write Jython/Java co=
de using say Java network sockets to send your captured binary requests, an=
d then instrument the socket calls to time how long the requests takes.</di=
v><div><br></div><div>Here&#39;s a script example that shows how to instrum=
ent JDBC calls which should give you the general idea:</div><div><br></div>=
</div></div><blockquote style=3D"margin:0 0 0 40px;border:none;padding:0px"=
><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div><a href=3D"http=
://grinder.sourceforge.net/g3/script-gallery.html#jdbc.py">http://grinder.s=
ourceforge.net/g3/script-gallery.html#jdbc.py</a></div></div></div></blockq=
uote><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div><br></div><=
div>Regards,</div><div>Gary</div></div></div></div>

--001a11492bc65d32a00521d8b5b4--


--===============4575659253429776170==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============4575659253429776170==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
grinder-use mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/grinder-use

--===============4575659253429776170==--