Re: Recording problem
Кирилл Юрков <[email protected]> Sun, 11 Oct 2015 21:56:53 +0300
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <CAFtj-ssuc+VAyXYCN0RfCTM9qW6nzfR4t3z8aqGFfuGiCpOOVw@mail.gmail.com> |
--===============1979111405068394385== Content-Type: multipart/alternative; boundary=089e0149426ab8f5f60521d8c643 --089e0149426ab8f5f60521d8c643 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you so much! =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC =D0=9A=D0=B8= =D1=80=D0=B8=D0=BB=D0=BB =D0=AE=D1=80=D0=BA=D0=BE=D0=B2 11 =D0=BE=D0=BA=D1=82. 2015 =D0=B3. 21:54 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0= =BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Gary Mulder" <flyingkiwiguy@gmail.= com> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > > 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, t= he >> 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 th= e > 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 > > > -------------------------------------------------------------------------= ----- > > _______________________________________________ > grinder-use mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/grinder-use > > --089e0149426ab8f5f60521d8c643 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <p dir=3D"ltr">Thank you so much!</p> <p dir=3D"ltr">=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0= =BC =D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB =D0=AE=D1=80=D0=BA=D0=BE=D0=B2</p> <div class=3D"gmail_quote">11 =D0=BE=D0=BA=D1=82. 2015 =D0=B3. 21:54 =D0=BF= =D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Ga= ry Mulder" <<a href=3D"mailto:[email protected]">flyingkiwigu= [email protected]</a>> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:<br type=3D"= attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b= order-left:1px #ccc solid;padding-left:1ex"><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 d= ir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">lo= [email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_quot= e" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-colo= r:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><p dir=3D"ltr"= >I comlite this task by deleting -http filter. I used the proxy correct, an= d took correct data. It is binary traffic generating by socket connection. = So, when i reproduce it, there are errors in reprodaction, the grinder didn= 't undestand that the recording file is binar and didn't contain Jy= thon.</p></blockquote><div><br></div><div>To my knowledge you can only repl= ay HTTP/S through The Grinder. If you want to send binary traffic you'r= e going to have to custom write Jython/Java code using say Java network soc= kets to send your captured binary requests, and then instrument the socket = calls to time how long the requests takes.</div><div><br></div><div>Here= 9;s a script example that shows how to instrument JDBC calls which should g= ive 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" target=3D"_blank">http://grinder.sourceforge.= net/g3/script-gallery.html#jdbc.py</a></div></div></div></blockquote><div c= lass=3D"gmail_extra"><div class=3D"gmail_quote"><div><br></div><div>Regards= ,</div><div>Gary</div></div></div></div> <br>-----------------------------------------------------------------------= -------<br> <br>_______________________________________________<br> grinder-use mailing list<br> <a href=3D"mailto:[email protected]">[email protected]= ceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/grinder-use" rel=3D= "noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo= /grinder-use</a><br> <br></blockquote></div> --089e0149426ab8f5f60521d8c643-- --===============1979111405068394385== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============1979111405068394385== 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 --===============1979111405068394385==--