Re: How to use http persistent connection
Gary Mulder <[email protected]> Mon, 23 Mar 2015 14:13:35 +0000
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <CAKy9zTDymPNkvAiWvq2GCecG8QivF+wr6K8hT-kJJhXv1vRZuw@mail.gmail.com> |
Hi Carol, >From memory each iteration of __call__ will create a new HTTP connection. You can use HTTPPluginControl to control this behaviour. Regards, Gary On 23 Mar 2015 08:00, "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