GET Request with Query String
Alex Rousskov
rousskov at measurement-factory.com
Sat Jul 13 02:53:38 UTC 2013
On Fri, 12 Jul 2013, Dmitry Kurochkin wrote:
> unjc email <unjc.email at gmail.com> writes:
>>
>> Does Webpolygraph support GET request with query-string, something like
>> "/w1b7ec234.08157e44:00000008/t03/_0000002b.jpg?name=abc"?
> You can use foreign traces to produce URLs with queries. Please see
> Trace replay user manual at [1] for details.
> [1] http://www.web-polygraph.org/docs/userman/replay.html
Also, if you want query strings in Polygraph-generated URLs, I suspect
it is possible to add them (or any other custom URL suffix) using PGL
Content::mime field and its "extensions" feature:
http://www.web-polygraph.org/docs/reference/pgl/types.html#type:docs/reference/pgl/types/Mime
In the following example, the feature is used to add ".html" and
".htm" suffixes, but you can also add ".jpg?foo=bar" or a similar
suffix:
http://www.web-polygraph.org/docs/reference/models/traffic.html#_p_37
I have not tested that trick, but if it does not work, then it is a
bug that we should fix.
HTH,
Alex.
More information about the Users
mailing list