You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Philippe Mouawad <ph...@gmail.com> on 2018/07/18 20:06:46 UTC

Re: Bug 61805 - Allow simple HTTP request

Hello,
I think it's a very good idea that would help newbies with JMeter.

I think a simple way to implement it would be would be a menu in File:

> Test URL

User would just enter the URL and check and a test plan would be created:
Test Plan
      |--------Thread Group
                       |------- HTTP Request with URL in path
                                      | -- Header Manager with User-Agent
set to ApacheJMeter
      |-------- View Results Tree


What's your thoughts ?

Regards

On Wed, Dec 6, 2017 at 7:27 AM, Or Mark <or...@gmail.com> wrote:

> I need your opinions about an enhancement I opened.
>
> I want to be able to execute Sampler (especially HTTP) on demand without
> execute full test.
>
> This can be done in postman or in blazemeter ( or calling cUrl ).
>
> I want to know what is the scope of the change can be. Beacause it can be
> very wide or/and specific,
>
> I'm suggesting adding a Send button in Sampler, but it can be on hierarchy
> tree or on right click on a Sampler.
>
> Easiest option is to send url as is inside path.
>
> Second option is to send all attributes of Sampler as is.
>
> Third option is to evaluate all variables and functions in Sampler which
> means to load variables and properties in Test plan/Thread group level.
>
> Thank you in advanced,
> Ori marko
>



-- 
Cordialement.
Philippe Mouawad.

Re: Allowing creation of HTTP Test plan from cURL command (was Re: Bug 61805 - Allow simple HTTP request)

Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
I committed code but modified a bit UX to open a popup where user can enter
the cURL command, then create test plan.

For now it's alpha, improvements needed:

   - Enhance cURL parsing
   - Improve error reporting if line is too long


Tests, feedback, improvements , PR are welcome
Regards

On Tue, Dec 18, 2018 at 10:34 PM Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:

> Hello,
> I'll be commmiting this feature as Alpha in menu label in trunk tomorrow
> so if anybody has any objection , "Let him speak now or forever hold his
> peace" :-)
>
> Regards
>
> On Mon, Dec 10, 2018 at 10:38 PM Philippe Mouawad <
> philippe.mouawad@gmail.com> wrote:
>
>> Thanks Antonio.
>>
>> @ All, do you think we should add  this as alpha and see if it's used ?
>> If so enhance it , otherwise drop it ?
>>
>> Regards
>>
>> On Wed, Dec 5, 2018 at 9:17 PM Antonio Gomes Rodrigues <ra...@gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I think it's a great idea
>>>
>>> Swagger can generate curl command which can be used in this feature
>>>
>>> Le mer. 5 déc. 2018 à 12:09, Philippe Mouawad <
>>> philippe.mouawad@gmail.com>
>>> a écrit :
>>>
>>> > It has not been committed.
>>> > I am waiting for feedback from team.
>>> >
>>> > Regards
>>> >
>>> > On Wednesday, December 5, 2018, Jmeter Tea <jm...@gmail.com>
>>> wrote:
>>> >
>>> > > Hi
>>> > >
>>> > > I don't see option to use cURL in menu in latest JMeter build
>>> > > Actually I don't use cURL on a daily basis so it's less significant
>>> for
>>> > me
>>> > >
>>> > > On Mon, Dec 3, 2018 at 9:18 PM Philippe Mouawad <
>>> > > p.mouawad@ubik-ingenierie.com> wrote:
>>> > >
>>> > > > Hello
>>> > > > What do you think of this feature:
>>> > > >
>>> > > >    - Being able to create a Test plan from a cURL command
>>> > > >
>>> > > >
>>> > > > It would IMO  make it easier for beginners and others to create a
>>> > JMeter
>>> > > > Test plan in just a click
>>> > > >
>>> > > > Postman provides such feature which seems to be popular across
>>> users.
>>> > > >
>>> > > > Regards
>>> > > > Philippe M.
>>> > > >
>>> > > > On Wed, Nov 28, 2018 at 12:06 AM UBIK LOAD PACK Support <
>>> > > > support@ubikloadpack.com> wrote:
>>> > > >
>>> > > > > Hello,
>>> > > > >
>>> > > > > 1/ It is now possible to add parameterized templates with
>>> > > implementation
>>> > > > > and commit of Bug 62870.
>>> > > > >
>>> > > > > 2/ An additional way is proposed in this bugzilla where a PR has
>>> been
>>> > > > > added, allowing to create a Test plan from cURL command :
>>> > > > > - https://bz.apache.org/bugzilla/show_bug.cgi?id=62959
>>> > > > >
>>> > > > > Note it's a Work In Progress, PRs to improve it are welcome here
>>> if
>>> > you
>>> > > > > feel it's interesting and want to enhance:
>>> > > > >
>>> > > > >    - https://github.com/ubikloadpack/jmeter/tree/BUG-62959
>>> > > > >
>>> > > > >
>>> > > > > Regards
>>> > > > > UbikLoadPack Team
>>> > > > >
>>> > > > > On Thu, Jul 19, 2018 at 7:21 AM Ralf Roeber <ra...@gmail.com>
>>> > wrote:
>>> > > > >
>>> > > > >> El mié., 18 jul. 2018 22:06, Philippe Mouawad <
>>> > > > philippe.mouawad@gmail.com
>>> > > > >> >
>>> > > > >> escribió:
>>> > > > >>
>>> > > > >> > Hello,
>>> > > > >> > I think it's a very good idea that would help newbies with
>>> JMeter.
>>> > > > >> >
>>> > > > >> > I think a simple way to implement it would be would be a menu
>>> in
>>> > > File:
>>> > > > >> >
>>> > > > >> > > Test URL
>>> > > > >> >
>>> > > > >> > User would just enter the URL and check and a test plan would
>>> be
>>> > > > >> created:
>>> > > > >> > Test Plan
>>> > > > >> >       |--------Thread Group
>>> > > > >> >                        |------- HTTP Request with URL in path
>>> > > > >> >                                       | -- Header Manager with
>>> > > > >> User-Agent
>>> > > > >> > set to ApacheJMeter
>>> > > > >> >       |-------- View Results Tree
>>> > > > >> >
>>> > > > >> >
>>> > > > >> > What's your thoughts ?
>>> > > > >> >
>>> > > > >>
>>> > > > >> Add variables to steer threads, http request and assertion
>>> > > > >> Add a CookieManager
>>> > > > >> Add a Loop
>>> > > > >> Add an assertion
>>> > > > >>
>>> > > > >> If you use an URL from Jmeter-Website as predefined in
>>> variables to
>>> > > call
>>> > > > >> in
>>> > > > >> http request, then Jmeter is calling home and one might
>>> understand
>>> > > more
>>> > > > >> about it's usage.
>>> > > > >>
>>> > > > >>
>>> > > > >>
>>> > > > >> > Regards
>>> > > > >> >
>>> > > > >> > On Wed, Dec 6, 2017 at 7:27 AM, Or Mark <or...@gmail.com>
>>> > wrote:
>>> > > > >> >
>>> > > > >> > > I need your opinions about an enhancement I opened.
>>> > > > >> > >
>>> > > > >> > > I want to be able to execute Sampler (especially HTTP) on
>>> demand
>>> > > > >> without
>>> > > > >> > > execute full test.
>>> > > > >> > >
>>> > > > >> > > This can be done in postman or in blazemeter ( or calling
>>> cUrl
>>> > ).
>>> > > > >> > >
>>> > > > >> > > I want to know what is the scope of the change can be.
>>> Beacause
>>> > it
>>> > > > >> can be
>>> > > > >> > > very wide or/and specific,
>>> > > > >> > >
>>> > > > >> > > I'm suggesting adding a Send button in Sampler, but it can
>>> be on
>>> > > > >> > hierarchy
>>> > > > >> > > tree or on right click on a Sampler.
>>> > > > >> > >
>>> > > > >> > > Easiest option is to send url as is inside path.
>>> > > > >> > >
>>> > > > >> > > Second option is to send all attributes of Sampler as is.
>>> > > > >> > >
>>> > > > >> > > Third option is to evaluate all variables and functions in
>>> > Sampler
>>> > > > >> which
>>> > > > >> > > means to load variables and properties in Test plan/Thread
>>> group
>>> > > > >> level.
>>> > > > >> > >
>>> > > > >> > > Thank you in advanced,
>>> > > > >> > > Ori marko
>>> > > > >> > >
>>> > > > >> >
>>> > > > >> >
>>> > > > >> >
>>> > > > >> > --
>>> > > > >> > Cordialement.
>>> > > > >> > Philippe Mouawad.
>>> > > > >> >
>>> > > > >>
>>> > > > >
>>> > > > >
>>> > > >
>>> > > >
>>> > > >
>>> > > >
>>> > > >
>>> > > > <https://www.openstreetmap.org/#map=18/50.69454/3.16455>
>>> > > >
>>> > >
>>> >
>>> >
>>> > --
>>> > Cordialement.
>>> > Philippe Mouawad.
>>> >
>>>
>>
>>
>> --
>> Cordialement.
>> Philippe Mouawad.
>>
>>
>>
>
> --
> Cordialement.
> Philippe Mouawad.
>
>
>

-- 
Cordialement.
Philippe Mouawad.

Re: Allowing creation of HTTP Test plan from cURL command (was Re: Bug 61805 - Allow simple HTTP request)

Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
I'll be commmiting this feature as Alpha in menu label in trunk tomorrow so
if anybody has any objection , "Let him speak now or forever hold his
peace" :-)

Regards

On Mon, Dec 10, 2018 at 10:38 PM Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:

> Thanks Antonio.
>
> @ All, do you think we should add  this as alpha and see if it's used ?
> If so enhance it , otherwise drop it ?
>
> Regards
>
> On Wed, Dec 5, 2018 at 9:17 PM Antonio Gomes Rodrigues <ra...@gmail.com>
> wrote:
>
>> Hi,
>>
>> I think it's a great idea
>>
>> Swagger can generate curl command which can be used in this feature
>>
>> Le mer. 5 déc. 2018 à 12:09, Philippe Mouawad <philippe.mouawad@gmail.com
>> >
>> a écrit :
>>
>> > It has not been committed.
>> > I am waiting for feedback from team.
>> >
>> > Regards
>> >
>> > On Wednesday, December 5, 2018, Jmeter Tea <jm...@gmail.com> wrote:
>> >
>> > > Hi
>> > >
>> > > I don't see option to use cURL in menu in latest JMeter build
>> > > Actually I don't use cURL on a daily basis so it's less significant
>> for
>> > me
>> > >
>> > > On Mon, Dec 3, 2018 at 9:18 PM Philippe Mouawad <
>> > > p.mouawad@ubik-ingenierie.com> wrote:
>> > >
>> > > > Hello
>> > > > What do you think of this feature:
>> > > >
>> > > >    - Being able to create a Test plan from a cURL command
>> > > >
>> > > >
>> > > > It would IMO  make it easier for beginners and others to create a
>> > JMeter
>> > > > Test plan in just a click
>> > > >
>> > > > Postman provides such feature which seems to be popular across
>> users.
>> > > >
>> > > > Regards
>> > > > Philippe M.
>> > > >
>> > > > On Wed, Nov 28, 2018 at 12:06 AM UBIK LOAD PACK Support <
>> > > > support@ubikloadpack.com> wrote:
>> > > >
>> > > > > Hello,
>> > > > >
>> > > > > 1/ It is now possible to add parameterized templates with
>> > > implementation
>> > > > > and commit of Bug 62870.
>> > > > >
>> > > > > 2/ An additional way is proposed in this bugzilla where a PR has
>> been
>> > > > > added, allowing to create a Test plan from cURL command :
>> > > > > - https://bz.apache.org/bugzilla/show_bug.cgi?id=62959
>> > > > >
>> > > > > Note it's a Work In Progress, PRs to improve it are welcome here
>> if
>> > you
>> > > > > feel it's interesting and want to enhance:
>> > > > >
>> > > > >    - https://github.com/ubikloadpack/jmeter/tree/BUG-62959
>> > > > >
>> > > > >
>> > > > > Regards
>> > > > > UbikLoadPack Team
>> > > > >
>> > > > > On Thu, Jul 19, 2018 at 7:21 AM Ralf Roeber <ra...@gmail.com>
>> > wrote:
>> > > > >
>> > > > >> El mié., 18 jul. 2018 22:06, Philippe Mouawad <
>> > > > philippe.mouawad@gmail.com
>> > > > >> >
>> > > > >> escribió:
>> > > > >>
>> > > > >> > Hello,
>> > > > >> > I think it's a very good idea that would help newbies with
>> JMeter.
>> > > > >> >
>> > > > >> > I think a simple way to implement it would be would be a menu
>> in
>> > > File:
>> > > > >> >
>> > > > >> > > Test URL
>> > > > >> >
>> > > > >> > User would just enter the URL and check and a test plan would
>> be
>> > > > >> created:
>> > > > >> > Test Plan
>> > > > >> >       |--------Thread Group
>> > > > >> >                        |------- HTTP Request with URL in path
>> > > > >> >                                       | -- Header Manager with
>> > > > >> User-Agent
>> > > > >> > set to ApacheJMeter
>> > > > >> >       |-------- View Results Tree
>> > > > >> >
>> > > > >> >
>> > > > >> > What's your thoughts ?
>> > > > >> >
>> > > > >>
>> > > > >> Add variables to steer threads, http request and assertion
>> > > > >> Add a CookieManager
>> > > > >> Add a Loop
>> > > > >> Add an assertion
>> > > > >>
>> > > > >> If you use an URL from Jmeter-Website as predefined in variables
>> to
>> > > call
>> > > > >> in
>> > > > >> http request, then Jmeter is calling home and one might
>> understand
>> > > more
>> > > > >> about it's usage.
>> > > > >>
>> > > > >>
>> > > > >>
>> > > > >> > Regards
>> > > > >> >
>> > > > >> > On Wed, Dec 6, 2017 at 7:27 AM, Or Mark <or...@gmail.com>
>> > wrote:
>> > > > >> >
>> > > > >> > > I need your opinions about an enhancement I opened.
>> > > > >> > >
>> > > > >> > > I want to be able to execute Sampler (especially HTTP) on
>> demand
>> > > > >> without
>> > > > >> > > execute full test.
>> > > > >> > >
>> > > > >> > > This can be done in postman or in blazemeter ( or calling
>> cUrl
>> > ).
>> > > > >> > >
>> > > > >> > > I want to know what is the scope of the change can be.
>> Beacause
>> > it
>> > > > >> can be
>> > > > >> > > very wide or/and specific,
>> > > > >> > >
>> > > > >> > > I'm suggesting adding a Send button in Sampler, but it can
>> be on
>> > > > >> > hierarchy
>> > > > >> > > tree or on right click on a Sampler.
>> > > > >> > >
>> > > > >> > > Easiest option is to send url as is inside path.
>> > > > >> > >
>> > > > >> > > Second option is to send all attributes of Sampler as is.
>> > > > >> > >
>> > > > >> > > Third option is to evaluate all variables and functions in
>> > Sampler
>> > > > >> which
>> > > > >> > > means to load variables and properties in Test plan/Thread
>> group
>> > > > >> level.
>> > > > >> > >
>> > > > >> > > Thank you in advanced,
>> > > > >> > > Ori marko
>> > > > >> > >
>> > > > >> >
>> > > > >> >
>> > > > >> >
>> > > > >> > --
>> > > > >> > Cordialement.
>> > > > >> > Philippe Mouawad.
>> > > > >> >
>> > > > >>
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > <https://www.openstreetmap.org/#map=18/50.69454/3.16455>
>> > > >
>> > >
>> >
>> >
>> > --
>> > Cordialement.
>> > Philippe Mouawad.
>> >
>>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>
>
>

-- 
Cordialement.
Philippe Mouawad.

Re: Allowing creation of HTTP Test plan from cURL command (was Re: Bug 61805 - Allow simple HTTP request)

Posted by Philippe Mouawad <ph...@gmail.com>.
Thanks Antonio.

@ All, do you think we should add  this as alpha and see if it's used ?
If so enhance it , otherwise drop it ?

Regards

On Wed, Dec 5, 2018 at 9:17 PM Antonio Gomes Rodrigues <ra...@gmail.com>
wrote:

> Hi,
>
> I think it's a great idea
>
> Swagger can generate curl command which can be used in this feature
>
> Le mer. 5 déc. 2018 à 12:09, Philippe Mouawad <ph...@gmail.com>
> a écrit :
>
> > It has not been committed.
> > I am waiting for feedback from team.
> >
> > Regards
> >
> > On Wednesday, December 5, 2018, Jmeter Tea <jm...@gmail.com> wrote:
> >
> > > Hi
> > >
> > > I don't see option to use cURL in menu in latest JMeter build
> > > Actually I don't use cURL on a daily basis so it's less significant for
> > me
> > >
> > > On Mon, Dec 3, 2018 at 9:18 PM Philippe Mouawad <
> > > p.mouawad@ubik-ingenierie.com> wrote:
> > >
> > > > Hello
> > > > What do you think of this feature:
> > > >
> > > >    - Being able to create a Test plan from a cURL command
> > > >
> > > >
> > > > It would IMO  make it easier for beginners and others to create a
> > JMeter
> > > > Test plan in just a click
> > > >
> > > > Postman provides such feature which seems to be popular across users.
> > > >
> > > > Regards
> > > > Philippe M.
> > > >
> > > > On Wed, Nov 28, 2018 at 12:06 AM UBIK LOAD PACK Support <
> > > > support@ubikloadpack.com> wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > 1/ It is now possible to add parameterized templates with
> > > implementation
> > > > > and commit of Bug 62870.
> > > > >
> > > > > 2/ An additional way is proposed in this bugzilla where a PR has
> been
> > > > > added, allowing to create a Test plan from cURL command :
> > > > > - https://bz.apache.org/bugzilla/show_bug.cgi?id=62959
> > > > >
> > > > > Note it's a Work In Progress, PRs to improve it are welcome here if
> > you
> > > > > feel it's interesting and want to enhance:
> > > > >
> > > > >    - https://github.com/ubikloadpack/jmeter/tree/BUG-62959
> > > > >
> > > > >
> > > > > Regards
> > > > > UbikLoadPack Team
> > > > >
> > > > > On Thu, Jul 19, 2018 at 7:21 AM Ralf Roeber <ra...@gmail.com>
> > wrote:
> > > > >
> > > > >> El mié., 18 jul. 2018 22:06, Philippe Mouawad <
> > > > philippe.mouawad@gmail.com
> > > > >> >
> > > > >> escribió:
> > > > >>
> > > > >> > Hello,
> > > > >> > I think it's a very good idea that would help newbies with
> JMeter.
> > > > >> >
> > > > >> > I think a simple way to implement it would be would be a menu in
> > > File:
> > > > >> >
> > > > >> > > Test URL
> > > > >> >
> > > > >> > User would just enter the URL and check and a test plan would be
> > > > >> created:
> > > > >> > Test Plan
> > > > >> >       |--------Thread Group
> > > > >> >                        |------- HTTP Request with URL in path
> > > > >> >                                       | -- Header Manager with
> > > > >> User-Agent
> > > > >> > set to ApacheJMeter
> > > > >> >       |-------- View Results Tree
> > > > >> >
> > > > >> >
> > > > >> > What's your thoughts ?
> > > > >> >
> > > > >>
> > > > >> Add variables to steer threads, http request and assertion
> > > > >> Add a CookieManager
> > > > >> Add a Loop
> > > > >> Add an assertion
> > > > >>
> > > > >> If you use an URL from Jmeter-Website as predefined in variables
> to
> > > call
> > > > >> in
> > > > >> http request, then Jmeter is calling home and one might understand
> > > more
> > > > >> about it's usage.
> > > > >>
> > > > >>
> > > > >>
> > > > >> > Regards
> > > > >> >
> > > > >> > On Wed, Dec 6, 2017 at 7:27 AM, Or Mark <or...@gmail.com>
> > wrote:
> > > > >> >
> > > > >> > > I need your opinions about an enhancement I opened.
> > > > >> > >
> > > > >> > > I want to be able to execute Sampler (especially HTTP) on
> demand
> > > > >> without
> > > > >> > > execute full test.
> > > > >> > >
> > > > >> > > This can be done in postman or in blazemeter ( or calling cUrl
> > ).
> > > > >> > >
> > > > >> > > I want to know what is the scope of the change can be.
> Beacause
> > it
> > > > >> can be
> > > > >> > > very wide or/and specific,
> > > > >> > >
> > > > >> > > I'm suggesting adding a Send button in Sampler, but it can be
> on
> > > > >> > hierarchy
> > > > >> > > tree or on right click on a Sampler.
> > > > >> > >
> > > > >> > > Easiest option is to send url as is inside path.
> > > > >> > >
> > > > >> > > Second option is to send all attributes of Sampler as is.
> > > > >> > >
> > > > >> > > Third option is to evaluate all variables and functions in
> > Sampler
> > > > >> which
> > > > >> > > means to load variables and properties in Test plan/Thread
> group
> > > > >> level.
> > > > >> > >
> > > > >> > > Thank you in advanced,
> > > > >> > > Ori marko
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > --
> > > > >> > Cordialement.
> > > > >> > Philippe Mouawad.
> > > > >> >
> > > > >>
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > <https://www.openstreetmap.org/#map=18/50.69454/3.16455>
> > > >
> > >
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.
> >
>


-- 
Cordialement.
Philippe Mouawad.

Re: Allowing creation of HTTP Test plan from cURL command (was Re: Bug 61805 - Allow simple HTTP request)

Posted by Antonio Gomes Rodrigues <ra...@gmail.com>.
Hi,

I think it's a great idea

Swagger can generate curl command which can be used in this feature

Le mer. 5 déc. 2018 à 12:09, Philippe Mouawad <ph...@gmail.com>
a écrit :

> It has not been committed.
> I am waiting for feedback from team.
>
> Regards
>
> On Wednesday, December 5, 2018, Jmeter Tea <jm...@gmail.com> wrote:
>
> > Hi
> >
> > I don't see option to use cURL in menu in latest JMeter build
> > Actually I don't use cURL on a daily basis so it's less significant for
> me
> >
> > On Mon, Dec 3, 2018 at 9:18 PM Philippe Mouawad <
> > p.mouawad@ubik-ingenierie.com> wrote:
> >
> > > Hello
> > > What do you think of this feature:
> > >
> > >    - Being able to create a Test plan from a cURL command
> > >
> > >
> > > It would IMO  make it easier for beginners and others to create a
> JMeter
> > > Test plan in just a click
> > >
> > > Postman provides such feature which seems to be popular across users.
> > >
> > > Regards
> > > Philippe M.
> > >
> > > On Wed, Nov 28, 2018 at 12:06 AM UBIK LOAD PACK Support <
> > > support@ubikloadpack.com> wrote:
> > >
> > > > Hello,
> > > >
> > > > 1/ It is now possible to add parameterized templates with
> > implementation
> > > > and commit of Bug 62870.
> > > >
> > > > 2/ An additional way is proposed in this bugzilla where a PR has been
> > > > added, allowing to create a Test plan from cURL command :
> > > > - https://bz.apache.org/bugzilla/show_bug.cgi?id=62959
> > > >
> > > > Note it's a Work In Progress, PRs to improve it are welcome here if
> you
> > > > feel it's interesting and want to enhance:
> > > >
> > > >    - https://github.com/ubikloadpack/jmeter/tree/BUG-62959
> > > >
> > > >
> > > > Regards
> > > > UbikLoadPack Team
> > > >
> > > > On Thu, Jul 19, 2018 at 7:21 AM Ralf Roeber <ra...@gmail.com>
> wrote:
> > > >
> > > >> El mié., 18 jul. 2018 22:06, Philippe Mouawad <
> > > philippe.mouawad@gmail.com
> > > >> >
> > > >> escribió:
> > > >>
> > > >> > Hello,
> > > >> > I think it's a very good idea that would help newbies with JMeter.
> > > >> >
> > > >> > I think a simple way to implement it would be would be a menu in
> > File:
> > > >> >
> > > >> > > Test URL
> > > >> >
> > > >> > User would just enter the URL and check and a test plan would be
> > > >> created:
> > > >> > Test Plan
> > > >> >       |--------Thread Group
> > > >> >                        |------- HTTP Request with URL in path
> > > >> >                                       | -- Header Manager with
> > > >> User-Agent
> > > >> > set to ApacheJMeter
> > > >> >       |-------- View Results Tree
> > > >> >
> > > >> >
> > > >> > What's your thoughts ?
> > > >> >
> > > >>
> > > >> Add variables to steer threads, http request and assertion
> > > >> Add a CookieManager
> > > >> Add a Loop
> > > >> Add an assertion
> > > >>
> > > >> If you use an URL from Jmeter-Website as predefined in variables to
> > call
> > > >> in
> > > >> http request, then Jmeter is calling home and one might understand
> > more
> > > >> about it's usage.
> > > >>
> > > >>
> > > >>
> > > >> > Regards
> > > >> >
> > > >> > On Wed, Dec 6, 2017 at 7:27 AM, Or Mark <or...@gmail.com>
> wrote:
> > > >> >
> > > >> > > I need your opinions about an enhancement I opened.
> > > >> > >
> > > >> > > I want to be able to execute Sampler (especially HTTP) on demand
> > > >> without
> > > >> > > execute full test.
> > > >> > >
> > > >> > > This can be done in postman or in blazemeter ( or calling cUrl
> ).
> > > >> > >
> > > >> > > I want to know what is the scope of the change can be. Beacause
> it
> > > >> can be
> > > >> > > very wide or/and specific,
> > > >> > >
> > > >> > > I'm suggesting adding a Send button in Sampler, but it can be on
> > > >> > hierarchy
> > > >> > > tree or on right click on a Sampler.
> > > >> > >
> > > >> > > Easiest option is to send url as is inside path.
> > > >> > >
> > > >> > > Second option is to send all attributes of Sampler as is.
> > > >> > >
> > > >> > > Third option is to evaluate all variables and functions in
> Sampler
> > > >> which
> > > >> > > means to load variables and properties in Test plan/Thread group
> > > >> level.
> > > >> > >
> > > >> > > Thank you in advanced,
> > > >> > > Ori marko
> > > >> > >
> > > >> >
> > > >> >
> > > >> >
> > > >> > --
> > > >> > Cordialement.
> > > >> > Philippe Mouawad.
> > > >> >
> > > >>
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > > <https://www.openstreetmap.org/#map=18/50.69454/3.16455>
> > >
> >
>
>
> --
> Cordialement.
> Philippe Mouawad.
>

Re: Allowing creation of HTTP Test plan from cURL command (was Re: Bug 61805 - Allow simple HTTP request)

Posted by Philippe Mouawad <ph...@gmail.com>.
It has not been committed.
I am waiting for feedback from team.

Regards

On Wednesday, December 5, 2018, Jmeter Tea <jm...@gmail.com> wrote:

> Hi
>
> I don't see option to use cURL in menu in latest JMeter build
> Actually I don't use cURL on a daily basis so it's less significant for me
>
> On Mon, Dec 3, 2018 at 9:18 PM Philippe Mouawad <
> p.mouawad@ubik-ingenierie.com> wrote:
>
> > Hello
> > What do you think of this feature:
> >
> >    - Being able to create a Test plan from a cURL command
> >
> >
> > It would IMO  make it easier for beginners and others to create a JMeter
> > Test plan in just a click
> >
> > Postman provides such feature which seems to be popular across users.
> >
> > Regards
> > Philippe M.
> >
> > On Wed, Nov 28, 2018 at 12:06 AM UBIK LOAD PACK Support <
> > support@ubikloadpack.com> wrote:
> >
> > > Hello,
> > >
> > > 1/ It is now possible to add parameterized templates with
> implementation
> > > and commit of Bug 62870.
> > >
> > > 2/ An additional way is proposed in this bugzilla where a PR has been
> > > added, allowing to create a Test plan from cURL command :
> > > - https://bz.apache.org/bugzilla/show_bug.cgi?id=62959
> > >
> > > Note it's a Work In Progress, PRs to improve it are welcome here if you
> > > feel it's interesting and want to enhance:
> > >
> > >    - https://github.com/ubikloadpack/jmeter/tree/BUG-62959
> > >
> > >
> > > Regards
> > > UbikLoadPack Team
> > >
> > > On Thu, Jul 19, 2018 at 7:21 AM Ralf Roeber <ra...@gmail.com> wrote:
> > >
> > >> El mié., 18 jul. 2018 22:06, Philippe Mouawad <
> > philippe.mouawad@gmail.com
> > >> >
> > >> escribió:
> > >>
> > >> > Hello,
> > >> > I think it's a very good idea that would help newbies with JMeter.
> > >> >
> > >> > I think a simple way to implement it would be would be a menu in
> File:
> > >> >
> > >> > > Test URL
> > >> >
> > >> > User would just enter the URL and check and a test plan would be
> > >> created:
> > >> > Test Plan
> > >> >       |--------Thread Group
> > >> >                        |------- HTTP Request with URL in path
> > >> >                                       | -- Header Manager with
> > >> User-Agent
> > >> > set to ApacheJMeter
> > >> >       |-------- View Results Tree
> > >> >
> > >> >
> > >> > What's your thoughts ?
> > >> >
> > >>
> > >> Add variables to steer threads, http request and assertion
> > >> Add a CookieManager
> > >> Add a Loop
> > >> Add an assertion
> > >>
> > >> If you use an URL from Jmeter-Website as predefined in variables to
> call
> > >> in
> > >> http request, then Jmeter is calling home and one might understand
> more
> > >> about it's usage.
> > >>
> > >>
> > >>
> > >> > Regards
> > >> >
> > >> > On Wed, Dec 6, 2017 at 7:27 AM, Or Mark <or...@gmail.com> wrote:
> > >> >
> > >> > > I need your opinions about an enhancement I opened.
> > >> > >
> > >> > > I want to be able to execute Sampler (especially HTTP) on demand
> > >> without
> > >> > > execute full test.
> > >> > >
> > >> > > This can be done in postman or in blazemeter ( or calling cUrl ).
> > >> > >
> > >> > > I want to know what is the scope of the change can be. Beacause it
> > >> can be
> > >> > > very wide or/and specific,
> > >> > >
> > >> > > I'm suggesting adding a Send button in Sampler, but it can be on
> > >> > hierarchy
> > >> > > tree or on right click on a Sampler.
> > >> > >
> > >> > > Easiest option is to send url as is inside path.
> > >> > >
> > >> > > Second option is to send all attributes of Sampler as is.
> > >> > >
> > >> > > Third option is to evaluate all variables and functions in Sampler
> > >> which
> > >> > > means to load variables and properties in Test plan/Thread group
> > >> level.
> > >> > >
> > >> > > Thank you in advanced,
> > >> > > Ori marko
> > >> > >
> > >> >
> > >> >
> > >> >
> > >> > --
> > >> > Cordialement.
> > >> > Philippe Mouawad.
> > >> >
> > >>
> > >
> > >
> >
> >
> >
> >
> >
> > <https://www.openstreetmap.org/#map=18/50.69454/3.16455>
> >
>


-- 
Cordialement.
Philippe Mouawad.

Re: Allowing creation of HTTP Test plan from cURL command (was Re: Bug 61805 - Allow simple HTTP request)

Posted by Jmeter Tea <jm...@gmail.com>.
Hi

I don't see option to use cURL in menu in latest JMeter build
Actually I don't use cURL on a daily basis so it's less significant for me

On Mon, Dec 3, 2018 at 9:18 PM Philippe Mouawad <
p.mouawad@ubik-ingenierie.com> wrote:

> Hello
> What do you think of this feature:
>
>    - Being able to create a Test plan from a cURL command
>
>
> It would IMO  make it easier for beginners and others to create a JMeter
> Test plan in just a click
>
> Postman provides such feature which seems to be popular across users.
>
> Regards
> Philippe M.
>
> On Wed, Nov 28, 2018 at 12:06 AM UBIK LOAD PACK Support <
> support@ubikloadpack.com> wrote:
>
> > Hello,
> >
> > 1/ It is now possible to add parameterized templates with implementation
> > and commit of Bug 62870.
> >
> > 2/ An additional way is proposed in this bugzilla where a PR has been
> > added, allowing to create a Test plan from cURL command :
> > - https://bz.apache.org/bugzilla/show_bug.cgi?id=62959
> >
> > Note it's a Work In Progress, PRs to improve it are welcome here if you
> > feel it's interesting and want to enhance:
> >
> >    - https://github.com/ubikloadpack/jmeter/tree/BUG-62959
> >
> >
> > Regards
> > UbikLoadPack Team
> >
> > On Thu, Jul 19, 2018 at 7:21 AM Ralf Roeber <ra...@gmail.com> wrote:
> >
> >> El mié., 18 jul. 2018 22:06, Philippe Mouawad <
> philippe.mouawad@gmail.com
> >> >
> >> escribió:
> >>
> >> > Hello,
> >> > I think it's a very good idea that would help newbies with JMeter.
> >> >
> >> > I think a simple way to implement it would be would be a menu in File:
> >> >
> >> > > Test URL
> >> >
> >> > User would just enter the URL and check and a test plan would be
> >> created:
> >> > Test Plan
> >> >       |--------Thread Group
> >> >                        |------- HTTP Request with URL in path
> >> >                                       | -- Header Manager with
> >> User-Agent
> >> > set to ApacheJMeter
> >> >       |-------- View Results Tree
> >> >
> >> >
> >> > What's your thoughts ?
> >> >
> >>
> >> Add variables to steer threads, http request and assertion
> >> Add a CookieManager
> >> Add a Loop
> >> Add an assertion
> >>
> >> If you use an URL from Jmeter-Website as predefined in variables to call
> >> in
> >> http request, then Jmeter is calling home and one might understand more
> >> about it's usage.
> >>
> >>
> >>
> >> > Regards
> >> >
> >> > On Wed, Dec 6, 2017 at 7:27 AM, Or Mark <or...@gmail.com> wrote:
> >> >
> >> > > I need your opinions about an enhancement I opened.
> >> > >
> >> > > I want to be able to execute Sampler (especially HTTP) on demand
> >> without
> >> > > execute full test.
> >> > >
> >> > > This can be done in postman or in blazemeter ( or calling cUrl ).
> >> > >
> >> > > I want to know what is the scope of the change can be. Beacause it
> >> can be
> >> > > very wide or/and specific,
> >> > >
> >> > > I'm suggesting adding a Send button in Sampler, but it can be on
> >> > hierarchy
> >> > > tree or on right click on a Sampler.
> >> > >
> >> > > Easiest option is to send url as is inside path.
> >> > >
> >> > > Second option is to send all attributes of Sampler as is.
> >> > >
> >> > > Third option is to evaluate all variables and functions in Sampler
> >> which
> >> > > means to load variables and properties in Test plan/Thread group
> >> level.
> >> > >
> >> > > Thank you in advanced,
> >> > > Ori marko
> >> > >
> >> >
> >> >
> >> >
> >> > --
> >> > Cordialement.
> >> > Philippe Mouawad.
> >> >
> >>
> >
> >
>
>
>
>
>
> <https://www.openstreetmap.org/#map=18/50.69454/3.16455>
>

Allowing creation of HTTP Test plan from cURL command (was Re: Bug 61805 - Allow simple HTTP request)

Posted by Philippe Mouawad <p....@ubik-ingenierie.com>.
Hello
What do you think of this feature:

   - Being able to create a Test plan from a cURL command


It would IMO  make it easier for beginners and others to create a JMeter
Test plan in just a click

Postman provides such feature which seems to be popular across users.

Regards
Philippe M.

On Wed, Nov 28, 2018 at 12:06 AM UBIK LOAD PACK Support <
support@ubikloadpack.com> wrote:

> Hello,
>
> 1/ It is now possible to add parameterized templates with implementation
> and commit of Bug 62870.
>
> 2/ An additional way is proposed in this bugzilla where a PR has been
> added, allowing to create a Test plan from cURL command :
> - https://bz.apache.org/bugzilla/show_bug.cgi?id=62959
>
> Note it's a Work In Progress, PRs to improve it are welcome here if you
> feel it's interesting and want to enhance:
>
>    - https://github.com/ubikloadpack/jmeter/tree/BUG-62959
>
>
> Regards
> UbikLoadPack Team
>
> On Thu, Jul 19, 2018 at 7:21 AM Ralf Roeber <ra...@gmail.com> wrote:
>
>> El mié., 18 jul. 2018 22:06, Philippe Mouawad <philippe.mouawad@gmail.com
>> >
>> escribió:
>>
>> > Hello,
>> > I think it's a very good idea that would help newbies with JMeter.
>> >
>> > I think a simple way to implement it would be would be a menu in File:
>> >
>> > > Test URL
>> >
>> > User would just enter the URL and check and a test plan would be
>> created:
>> > Test Plan
>> >       |--------Thread Group
>> >                        |------- HTTP Request with URL in path
>> >                                       | -- Header Manager with
>> User-Agent
>> > set to ApacheJMeter
>> >       |-------- View Results Tree
>> >
>> >
>> > What's your thoughts ?
>> >
>>
>> Add variables to steer threads, http request and assertion
>> Add a CookieManager
>> Add a Loop
>> Add an assertion
>>
>> If you use an URL from Jmeter-Website as predefined in variables to call
>> in
>> http request, then Jmeter is calling home and one might understand more
>> about it's usage.
>>
>>
>>
>> > Regards
>> >
>> > On Wed, Dec 6, 2017 at 7:27 AM, Or Mark <or...@gmail.com> wrote:
>> >
>> > > I need your opinions about an enhancement I opened.
>> > >
>> > > I want to be able to execute Sampler (especially HTTP) on demand
>> without
>> > > execute full test.
>> > >
>> > > This can be done in postman or in blazemeter ( or calling cUrl ).
>> > >
>> > > I want to know what is the scope of the change can be. Beacause it
>> can be
>> > > very wide or/and specific,
>> > >
>> > > I'm suggesting adding a Send button in Sampler, but it can be on
>> > hierarchy
>> > > tree or on right click on a Sampler.
>> > >
>> > > Easiest option is to send url as is inside path.
>> > >
>> > > Second option is to send all attributes of Sampler as is.
>> > >
>> > > Third option is to evaluate all variables and functions in Sampler
>> which
>> > > means to load variables and properties in Test plan/Thread group
>> level.
>> > >
>> > > Thank you in advanced,
>> > > Ori marko
>> > >
>> >
>> >
>> >
>> > --
>> > Cordialement.
>> > Philippe Mouawad.
>> >
>>
>
>





<https://www.openstreetmap.org/#map=18/50.69454/3.16455>

Re: Bug 61805 - Allow simple HTTP request

Posted by UBIK LOAD PACK Support <su...@ubikloadpack.com>.
Hello,

1/ It is now possible to add parameterized templates with implementation
and commit of Bug 62870.

2/ An additional way is proposed in this bugzilla where a PR has been
added, allowing to create a Test plan from cURL command :
- https://bz.apache.org/bugzilla/show_bug.cgi?id=62959

Note it's a Work In Progress, PRs to improve it are welcome here if you
feel it's interesting and want to enhance:

   - https://github.com/ubikloadpack/jmeter/tree/BUG-62959


Regards
UbikLoadPack Team

On Thu, Jul 19, 2018 at 7:21 AM Ralf Roeber <ra...@gmail.com> wrote:

> El mié., 18 jul. 2018 22:06, Philippe Mouawad <ph...@gmail.com>
> escribió:
>
> > Hello,
> > I think it's a very good idea that would help newbies with JMeter.
> >
> > I think a simple way to implement it would be would be a menu in File:
> >
> > > Test URL
> >
> > User would just enter the URL and check and a test plan would be created:
> > Test Plan
> >       |--------Thread Group
> >                        |------- HTTP Request with URL in path
> >                                       | -- Header Manager with User-Agent
> > set to ApacheJMeter
> >       |-------- View Results Tree
> >
> >
> > What's your thoughts ?
> >
>
> Add variables to steer threads, http request and assertion
> Add a CookieManager
> Add a Loop
> Add an assertion
>
> If you use an URL from Jmeter-Website as predefined in variables to call in
> http request, then Jmeter is calling home and one might understand more
> about it's usage.
>
>
>
> > Regards
> >
> > On Wed, Dec 6, 2017 at 7:27 AM, Or Mark <or...@gmail.com> wrote:
> >
> > > I need your opinions about an enhancement I opened.
> > >
> > > I want to be able to execute Sampler (especially HTTP) on demand
> without
> > > execute full test.
> > >
> > > This can be done in postman or in blazemeter ( or calling cUrl ).
> > >
> > > I want to know what is the scope of the change can be. Beacause it can
> be
> > > very wide or/and specific,
> > >
> > > I'm suggesting adding a Send button in Sampler, but it can be on
> > hierarchy
> > > tree or on right click on a Sampler.
> > >
> > > Easiest option is to send url as is inside path.
> > >
> > > Second option is to send all attributes of Sampler as is.
> > >
> > > Third option is to evaluate all variables and functions in Sampler
> which
> > > means to load variables and properties in Test plan/Thread group level.
> > >
> > > Thank you in advanced,
> > > Ori marko
> > >
> >
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.
> >
>

Re: Bug 61805 - Allow simple HTTP request

Posted by Ralf Roeber <ra...@gmail.com>.
El mié., 18 jul. 2018 22:06, Philippe Mouawad <ph...@gmail.com>
escribió:

> Hello,
> I think it's a very good idea that would help newbies with JMeter.
>
> I think a simple way to implement it would be would be a menu in File:
>
> > Test URL
>
> User would just enter the URL and check and a test plan would be created:
> Test Plan
>       |--------Thread Group
>                        |------- HTTP Request with URL in path
>                                       | -- Header Manager with User-Agent
> set to ApacheJMeter
>       |-------- View Results Tree
>
>
> What's your thoughts ?
>

Add variables to steer threads, http request and assertion
Add a CookieManager
Add a Loop
Add an assertion

If you use an URL from Jmeter-Website as predefined in variables to call in
http request, then Jmeter is calling home and one might understand more
about it's usage.



> Regards
>
> On Wed, Dec 6, 2017 at 7:27 AM, Or Mark <or...@gmail.com> wrote:
>
> > I need your opinions about an enhancement I opened.
> >
> > I want to be able to execute Sampler (especially HTTP) on demand without
> > execute full test.
> >
> > This can be done in postman or in blazemeter ( or calling cUrl ).
> >
> > I want to know what is the scope of the change can be. Beacause it can be
> > very wide or/and specific,
> >
> > I'm suggesting adding a Send button in Sampler, but it can be on
> hierarchy
> > tree or on right click on a Sampler.
> >
> > Easiest option is to send url as is inside path.
> >
> > Second option is to send all attributes of Sampler as is.
> >
> > Third option is to evaluate all variables and functions in Sampler which
> > means to load variables and properties in Test plan/Thread group level.
> >
> > Thank you in advanced,
> > Ori marko
> >
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>