You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Andrew Burton <an...@gmail.com> on 2017/11/02 01:37:31 UTC

Copy/paste HTTP query parameters and header data

Hi all,



I’ve created a small patch for copying-pasting data directly from Chrome
developer console into the HTTP Sampler query parameters.



It adds support for splitting lines on & and delimiters on = (in addition
to previous \n and \t)



I’ve tested for the following use cases:

HTTP Request:

key1=val1

key2=val2&key3=val3



I haven’t extended this to Headers since it appears to share a different
inheritance structure, and I’m reluctant to change too many things for this
patch.



Are there any other use cases that I’m missing from the above?



Andrew

Re: Copy/paste HTTP query parameters and header data

Posted by Andrew Burton <an...@gmail.com>.
I've also attached this patch to
https://bz.apache.org/bugzilla/show_bug.cgi?id=53957

On Thu, Nov 2, 2017 at 12:37 PM, Andrew Burton <an...@gmail.com>
wrote:

> Hi all,
>
>
>
> I’ve created a small patch for copying-pasting data directly from Chrome
> developer console into the HTTP Sampler query parameters.
>
>
>
> It adds support for splitting lines on & and delimiters on = (in addition
> to previous \n and \t)
>
>
>
> I’ve tested for the following use cases:
>
> HTTP Request:
>
> key1=val1
>
> key2=val2&key3=val3
>
>
>
> I haven’t extended this to Headers since it appears to share a different
> inheritance structure, and I’m reluctant to change too many things for this
> patch.
>
>
>
> Are there any other use cases that I’m missing from the above?
>
>
>
> Andrew
>