Enhance Backup - Save before Run flag

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Enhance Backup - Save before Run flag

jmeter tea
There were many issues where file was corrupted, specifically when
running on GUI mode, which means that jmx file can't be fixed to a
working condition,

When running a Test Plan, sometimes GUI stuck and test plan can't be saved.

Backup mechanism currently happens when clicking Save

I suggest A flag  "Save before Run" which will save (and backup file)
before executing Run and therefore file will not be corrupted and can
be opened again.
pmd
Reply | Threaded
Open this post in threaded view
|

Re: Enhance Backup - Save before Run flag

pmd
Hello,

We do popup a Save dialog when you first run a project without saving
it, so maybe we should do the same here.

Regards


On Tue, Nov 7, 2017 at 8:56 AM, jmeter tea <[hidden email]> wrote:

> There were many issues where file was corrupted, specifically when
> running on GUI mode, which means that jmx file can't be fixed to a
> working condition,
>
> When running a Test Plan, sometimes GUI stuck and test plan can't be saved.
>
> Backup mechanism currently happens when clicking Save
>
> I suggest A flag  "Save before Run" which will save (and backup file)
> before executing Run and therefore file will not be corrupted and can
> be opened again.
>



--
Cordialement.
Philippe Mouawad.
Reply | Threaded
Open this post in threaded view
|

Re: Enhance Backup - Save before Run flag

jmeter tea
Pop ups aren't a very friendly way of helping the user, especially when
it's for every run in GUI.
In Eclipse for example you have "Save automatically before build" check box

On Tue, Nov 7, 2017 at 10:29 AM, Philippe Mouawad <
[hidden email]> wrote:

> Hello,
>
> We do popup a Save dialog when you first run a project without saving
> it, so maybe we should do the same here.
>
> Regards
>
>
> On Tue, Nov 7, 2017 at 8:56 AM, jmeter tea <[hidden email]> wrote:
>
> > There were many issues where file was corrupted, specifically when
> > running on GUI mode, which means that jmx file can't be fixed to a
> > working condition,
> >
> > When running a Test Plan, sometimes GUI stuck and test plan can't be
> saved.
> >
> > Backup mechanism currently happens when clicking Save
> >
> > I suggest A flag  "Save before Run" which will save (and backup file)
> > before executing Run and therefore file will not be corrupted and can
> > be opened again.
> >
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>
pmd
Reply | Threaded
Open this post in threaded view
|

Re: Enhance Backup - Save before Run flag

pmd
I would then suggest:

- a property set to true : save_automatically_before_run
- user can modify in Options > "Save automatically before run", it is
stored in preferences

Preferences override property
Does it look better ?


Regards

On Tue, Nov 7, 2017 at 9:43 AM, jmeter tea <[hidden email]> wrote:

> Pop ups aren't a very friendly way of helping the user, especially when
> it's for every run in GUI.
> In Eclipse for example you have "Save automatically before build" check box
>
> On Tue, Nov 7, 2017 at 10:29 AM, Philippe Mouawad <
> [hidden email]> wrote:
>
> > Hello,
> >
> > We do popup a Save dialog when you first run a project without saving
> > it, so maybe we should do the same here.
> >
> > Regards
> >
> >
> > On Tue, Nov 7, 2017 at 8:56 AM, jmeter tea <[hidden email]> wrote:
> >
> > > There were many issues where file was corrupted, specifically when
> > > running on GUI mode, which means that jmx file can't be fixed to a
> > > working condition,
> > >
> > > When running a Test Plan, sometimes GUI stuck and test plan can't be
> > saved.
> > >
> > > Backup mechanism currently happens when clicking Save
> > >
> > > I suggest A flag  "Save before Run" which will save (and backup file)
> > > before executing Run and therefore file will not be corrupted and can
> > > be opened again.
> > >
> >
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.
> >
>



--
Cordialement.
Philippe Mouawad.
Reply | Threaded
Open this post in threaded view
|

Re: Enhance Backup - Save before Run flag

jmeter tea
Yes, I think it'll be great

Thank you

On Tue, Nov 7, 2017 at 10:47 AM, Philippe Mouawad <
[hidden email]> wrote:

> I would then suggest:
>
> - a property set to true : save_automatically_before_run
> - user can modify in Options > "Save automatically before run", it is
> stored in preferences
>
> Preferences override property
> Does it look better ?
>
>
> Regards
>
> On Tue, Nov 7, 2017 at 9:43 AM, jmeter tea <[hidden email]> wrote:
>
> > Pop ups aren't a very friendly way of helping the user, especially when
> > it's for every run in GUI.
> > In Eclipse for example you have "Save automatically before build" check
> box
> >
> > On Tue, Nov 7, 2017 at 10:29 AM, Philippe Mouawad <
> > [hidden email]> wrote:
> >
> > > Hello,
> > >
> > > We do popup a Save dialog when you first run a project without saving
> > > it, so maybe we should do the same here.
> > >
> > > Regards
> > >
> > >
> > > On Tue, Nov 7, 2017 at 8:56 AM, jmeter tea <[hidden email]>
> wrote:
> > >
> > > > There were many issues where file was corrupted, specifically when
> > > > running on GUI mode, which means that jmx file can't be fixed to a
> > > > working condition,
> > > >
> > > > When running a Test Plan, sometimes GUI stuck and test plan can't be
> > > saved.
> > > >
> > > > Backup mechanism currently happens when clicking Save
> > > >
> > > > I suggest A flag  "Save before Run" which will save (and backup file)
> > > > before executing Run and therefore file will not be corrupted and can
> > > > be opened again.
> > > >
> > >
> > >
> > >
> > > --
> > > Cordialement.
> > > Philippe Mouawad.
> > >
> >
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>
Reply | Threaded
Open this post in threaded view
|

Re: Enhance Backup - Save before Run flag

jmeter tea
For regression reasons, Maybe the property should be set to *false *by
default to keep behavior as today?


On Tue, Nov 7, 2017 at 10:50 AM, jmeter tea <[hidden email]> wrote:

> Yes, I think it'll be great
>
> Thank you
>
> On Tue, Nov 7, 2017 at 10:47 AM, Philippe Mouawad <
> [hidden email]> wrote:
>
>> I would then suggest:
>>
>> - a property set to true : save_automatically_before_run
>> - user can modify in Options > "Save automatically before run", it is
>> stored in preferences
>>
>> Preferences override property
>> Does it look better ?
>>
>>
>> Regards
>>
>> On Tue, Nov 7, 2017 at 9:43 AM, jmeter tea <[hidden email]> wrote:
>>
>> > Pop ups aren't a very friendly way of helping the user, especially when
>> > it's for every run in GUI.
>> > In Eclipse for example you have "Save automatically before build" check
>> box
>> >
>> > On Tue, Nov 7, 2017 at 10:29 AM, Philippe Mouawad <
>> > [hidden email]> wrote:
>> >
>> > > Hello,
>> > >
>> > > We do popup a Save dialog when you first run a project without saving
>> > > it, so maybe we should do the same here.
>> > >
>> > > Regards
>> > >
>> > >
>> > > On Tue, Nov 7, 2017 at 8:56 AM, jmeter tea <[hidden email]>
>> wrote:
>> > >
>> > > > There were many issues where file was corrupted, specifically when
>> > > > running on GUI mode, which means that jmx file can't be fixed to a
>> > > > working condition,
>> > > >
>> > > > When running a Test Plan, sometimes GUI stuck and test plan can't be
>> > > saved.
>> > > >
>> > > > Backup mechanism currently happens when clicking Save
>> > > >
>> > > > I suggest A flag  "Save before Run" which will save (and backup
>> file)
>> > > > before executing Run and therefore file will not be corrupted and
>> can
>> > > > be opened again.
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > Cordialement.
>> > > Philippe Mouawad.
>> > >
>> >
>>
>>
>>
>> --
>> Cordialement.
>> Philippe Mouawad.
>>
>
>
pmd
Reply | Threaded
Open this post in threaded view
|

Re: Enhance Backup - Save before Run flag

pmd
Fixed within :
https://bz.apache.org/bugzilla/show_bug.cgi?id=61731
But default is now to save before run.
Thanks to contributor.

On Tue, Nov 7, 2017 at 1:01 PM, jmeter tea <[hidden email]> wrote:

> For regression reasons, Maybe the property should be set to *false *by
> default to keep behavior as today?
>
>
> On Tue, Nov 7, 2017 at 10:50 AM, jmeter tea <[hidden email]> wrote:
>
> > Yes, I think it'll be great
> >
> > Thank you
> >
> > On Tue, Nov 7, 2017 at 10:47 AM, Philippe Mouawad <
> > [hidden email]> wrote:
> >
> >> I would then suggest:
> >>
> >> - a property set to true : save_automatically_before_run
> >> - user can modify in Options > "Save automatically before run", it is
> >> stored in preferences
> >>
> >> Preferences override property
> >> Does it look better ?
> >>
> >>
> >> Regards
> >>
> >> On Tue, Nov 7, 2017 at 9:43 AM, jmeter tea <[hidden email]> wrote:
> >>
> >> > Pop ups aren't a very friendly way of helping the user, especially
> when
> >> > it's for every run in GUI.
> >> > In Eclipse for example you have "Save automatically before build"
> check
> >> box
> >> >
> >> > On Tue, Nov 7, 2017 at 10:29 AM, Philippe Mouawad <
> >> > [hidden email]> wrote:
> >> >
> >> > > Hello,
> >> > >
> >> > > We do popup a Save dialog when you first run a project without
> saving
> >> > > it, so maybe we should do the same here.
> >> > >
> >> > > Regards
> >> > >
> >> > >
> >> > > On Tue, Nov 7, 2017 at 8:56 AM, jmeter tea <[hidden email]>
> >> wrote:
> >> > >
> >> > > > There were many issues where file was corrupted, specifically when
> >> > > > running on GUI mode, which means that jmx file can't be fixed to a
> >> > > > working condition,
> >> > > >
> >> > > > When running a Test Plan, sometimes GUI stuck and test plan can't
> be
> >> > > saved.
> >> > > >
> >> > > > Backup mechanism currently happens when clicking Save
> >> > > >
> >> > > > I suggest A flag  "Save before Run" which will save (and backup
> >> file)
> >> > > > before executing Run and therefore file will not be corrupted and
> >> can
> >> > > > be opened again.
> >> > > >
> >> > >
> >> > >
> >> > >
> >> > > --
> >> > > Cordialement.
> >> > > Philippe Mouawad.
> >> > >
> >> >
> >>
> >>
> >>
> >> --
> >> Cordialement.
> >> Philippe Mouawad.
> >>
> >
> >
>



--
Cordialement.
Philippe Mouawad.