Re: The Grinder - What is 'Insert Command' in TCPProxy Console

"alfinhaji ." <[email protected]> Thu, 24 Jul 2014 09:47:43 -0400
Newsgroups gmane.comp.java.grinder.user
Message-ID <CACqy2Tp0=DM6G6dTb2cWh-AHgru57ke17YrO5cLJChweq2KrYA@mail.gmail.com>
Have you reviewed the docs?

http://grinder.sourceforge.net/g3/tcpproxy.html

High level steps:

1.  Start TCP Proxy (details in the above doc), default port is 8001.
2.  Configure browser to use the localhost:8001 port so HTTP traffic
generated by your browser goes through TCP Proxy
3.  Run the steps in the browser for the testcase
4.  Click STOP on the TCP Proxy dialog and the resulting grinder script
will be generated

Above is a very high level overview but between that link and what Gabor
provided this should be everything you need.

The "insert comment and press enter" feature allows you to inset comments
at various points in the script as you are performing the gestures in the
browser to assist with documenting the script.

Alfin


On Thu, Jul 24, 2014 at 9:25 AM, Ravi Kumar Maddi <[email protected]>
wrote:

> Thanks,  for your fast response, Please help me how to generate test
> script with TCPProxy console also please.
>
>
>
> On Thu, Jul 24, 2014 at 5:07 PM, Fulop, Gabor <[email protected]>
> wrote:
>
>>  java -classpath c:/grinder-3.11/lib/grinder.jar
>> -Dhttp.proxyHost=proxy24.servers.global.prv -Dhttp.proxyPort=8080
>> net.grinder.TCPProxy -console -http >~/testScript.py
>>
>>
>>
>> After start it displays the proxy port. Configure your client  (browser)
>> with that proxy and do your test.
>>
>> When you are finished press the Stop button on TCPProxy console. It
>> flushes all of the script to testScript.py.
>>
>>
>>
>> *From:* Ravi Kumar Maddi [mailto:[email protected]]
>> *Sent:* 24 July 2014 12:22
>> *To:* grinder-use
>> *Subject:* [Grinder-use] The Grinder - What is 'Insert Command' in
>> TCPProxy Console
>>
>>
>>
>>
>> Grinder documentation saying lot of benefits of TCPProxy console. Like,
>> record the response, auto generate the Jython test scripts and a lot. I am
>> very happy for that.
>>
>>
>>
>> Sorry to say, but I am not able to find how to use TCPProxy Console.
>> Like, I see some thing 'Insert command and press enter' text box and
>> 'insert command' button. But I did not find any details, what should I
>> write in that text box.
>>
>> But Grinder Documentation showing very big(more than 20 pages) Jthon
>> scripts for all situations . But I am not able to find how it generated.
>>
>>
>>
>>      Please help me how to use it.
>>
>>
>>
>> The information contained in this e-mail and in any attachments is
>> intended only for the person or entity to which it is addressed and may
>> contain confidential and/or privileged material. Any review,
>> retransmission, dissemination or other use of, or taking of any action in
>> reliance upon, this information by persons or entities other than the
>> intended recipient is prohibited. This message has been scanned for known
>> computer viruses.
>>
>>
>> ------------------------------------------------------------------------------
>> Want fast and easy access to all the code in your enterprise? Index and
>> search up to 200,000 lines of code with a free copy of Black Duck
>> Code Sight - the same software that powers the world's largest code
>> search on Ohloh, the Black Duck Open Hub! Try it now.
>> http://p.sf.net/sfu/bds
>> _______________________________________________
>> grinder-use mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/grinder-use
>>
>>
>
>
> --
> Hi ,
>
>
> Thanks and regards,
> Ravikumar Maddi,
> [email protected],
> + 91 - 8884638999
>
>
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> grinder-use mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/grinder-use
>
>

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds

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