Re: How to use http persistent connection

Adil qureshi <[email protected]> Mon, 23 Mar 2015 19:35:41 +0000
Newsgroups gmane.comp.java.grinder.user
Message-ID <CAH6ok+RvTpYNW2qe2UyVYXF01V2Bj5PyGFeqC3vxE-8G+N8m_g@mail.gmail.com>
Hi Carol ,
 Http is a stateless protocol and in theory there is no persistance between
requests ... one way to pass on information back and forth is session or
you have to set it to request and give it back ...

Keep-alive : one scenario in which keep-alive comes into picture is that
when you have requested something heavy from server and its taking time ...
to keep the connection alive the server sends this header back ... and keep
the connection alive just before timeout...

On Mon, Mar 23, 2015 at 7:57 AM, carol <hrxue-9Onoh4P/[email protected]> wrote:

> Dear,
>        According to the grinder user guide, the default http connection is
> keep-alive.
>        But even I tried to request with a ‘‘Connection:Keep-Alive’’ header
> as show in the attached script, it seemed to be not a persistent
> connection。
>        Anything wrong with this script? How to request via a Http
> persistent connection by a worker thread?
>
>       Waiting to hear from you,
>
> Yours sincerely,
>
>  carol
>
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> grinder-use mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/grinder-use
>
>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

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