You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Duc Chau <ch...@gmail.com> on 2011/01/16 23:31:04 UTC

Simple Controller used as action is put to Work Bench section when updating

Hello,

I created Simple Controller which contains some requests and then saved them
as a unit action (saved selection as jmx). However, I opened this jmx file
to update and saw that Simple Controller was put to Work Bench; therefore, I
could not save since it will erase data in Work Bench section. In case we
wanna update "action", what would you do? Thank you

Re: Simple Controller used as action is put to Work Bench section when updating

Posted by Felix Frank <ff...@mpexnet.de>.
On 01/17/2011 01:48 PM, Duc Chau wrote:
> Thanks Sebb. Since I use Jmeter to do functional testing as well, using
> Include Controller as "action" happens frequently. Could we have an update
> as feature enhancement that we can save Work Bench (like updating action for
> re-susability) ? And I believe saving Work Bench function is good to have.

+1

If an additional "Save with workbench" option isn't too difficult to
implement, it would surely not hurt to have it.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Simple Controller used as action is put to Work Bench section when updating

Posted by Duc Chau <ch...@gmail.com>.
Thanks Sebb. Since I use Jmeter to do functional testing as well, using
Include Controller as "action" happens frequently. Could we have an update
as feature enhancement that we can save Work Bench (like updating action for
re-susability) ? And I believe saving Work Bench function is good to have.

On Mon, Jan 17, 2011 at 7:36 PM, sebb <se...@gmail.com> wrote:

> On 17 January 2011 12:22, Duc Chau <ch...@gmail.com> wrote:
> > Sorry Sebb, let me explain what I am doing currently
> >
> > - Create Simple Controller (containing others samplers) and save as jmx
> file
> > - This Simple Controller appears in Work Bench when opening this jmx file
>
> Yes, because there is no Test Plan parent.
>
> But you can select a Test Plan and use Merge to add it there.
>
> > *Actual*: If I update Simple Controller of this jmx and click Save, these
> > will be erased.
>
> Save means it will save the Test Plan.
>
> So if you save an empty test plan with the same name (JMeter prompts
> for the name) of course it will replace it.
>
> > Therefore, after updating, I have to select this Simple
> > Controller and save selection as jmx file again (overwrite the current
> one)
>
> Yes, that is how partial test plans work.
>
> > *Expected*: Whatever it goes to Work Bench or other places, after
> updating,
> > just click Save.
>
> The Workbench is temporary. It is never saved automatically.
>
> If you want to save items under the Workbench, you have to select them
> and use "Save Selection As..."
>
> > Hope it helps. Thank you.
> >
> > On Mon, Jan 17, 2011 at 6:17 PM, sebb <se...@gmail.com> wrote:
> >
> >> On 16 January 2011 22:31, Duc Chau <ch...@gmail.com> wrote:
> >> > Hello,
> >> >
> >> > I created Simple Controller which contains some requests and then
> saved
> >> them
> >> > as a unit action (saved selection as jmx). However, I opened this jmx
> >> file
> >> > to update and saw that Simple Controller was put to Work Bench;
> >> therefore, I
> >> > could not save since it will erase data in Work Bench section. In case
> we
> >> > wanna update "action", what would you do? Thank you
> >> >
> >>
> >> If you save a partial test plan, then you need to select the correct
> >> location before importing it.
> >>
> >> You can save selections from the Workbench too, so I don't understand
> >> what your problem is.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Re: Simple Controller used as action is put to Work Bench section when updating

Posted by sebb <se...@gmail.com>.
On 17 January 2011 12:22, Duc Chau <ch...@gmail.com> wrote:
> Sorry Sebb, let me explain what I am doing currently
>
> - Create Simple Controller (containing others samplers) and save as jmx file
> - This Simple Controller appears in Work Bench when opening this jmx file

Yes, because there is no Test Plan parent.

But you can select a Test Plan and use Merge to add it there.

> *Actual*: If I update Simple Controller of this jmx and click Save, these
> will be erased.

Save means it will save the Test Plan.

So if you save an empty test plan with the same name (JMeter prompts
for the name) of course it will replace it.

> Therefore, after updating, I have to select this Simple
> Controller and save selection as jmx file again (overwrite the current one)

Yes, that is how partial test plans work.

> *Expected*: Whatever it goes to Work Bench or other places, after updating,
> just click Save.

The Workbench is temporary. It is never saved automatically.

If you want to save items under the Workbench, you have to select them
and use "Save Selection As..."

> Hope it helps. Thank you.
>
> On Mon, Jan 17, 2011 at 6:17 PM, sebb <se...@gmail.com> wrote:
>
>> On 16 January 2011 22:31, Duc Chau <ch...@gmail.com> wrote:
>> > Hello,
>> >
>> > I created Simple Controller which contains some requests and then saved
>> them
>> > as a unit action (saved selection as jmx). However, I opened this jmx
>> file
>> > to update and saw that Simple Controller was put to Work Bench;
>> therefore, I
>> > could not save since it will erase data in Work Bench section. In case we
>> > wanna update "action", what would you do? Thank you
>> >
>>
>> If you save a partial test plan, then you need to select the correct
>> location before importing it.
>>
>> You can save selections from the Workbench too, so I don't understand
>> what your problem is.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Simple Controller used as action is put to Work Bench section when updating

Posted by Duc Chau <ch...@gmail.com>.
Sorry Sebb, let me explain what I am doing currently

- Create Simple Controller (containing others samplers) and save as jmx file
- This Simple Controller appears in Work Bench when opening this jmx file

*Actual*: If I update Simple Controller of this jmx and click Save, these
will be erased. Therefore, after updating, I have to select this Simple
Controller and save selection as jmx file again (overwrite the current one)

*Expected*: Whatever it goes to Work Bench or other places, after updating,
just click Save.

Hope it helps. Thank you.

On Mon, Jan 17, 2011 at 6:17 PM, sebb <se...@gmail.com> wrote:

> On 16 January 2011 22:31, Duc Chau <ch...@gmail.com> wrote:
> > Hello,
> >
> > I created Simple Controller which contains some requests and then saved
> them
> > as a unit action (saved selection as jmx). However, I opened this jmx
> file
> > to update and saw that Simple Controller was put to Work Bench;
> therefore, I
> > could not save since it will erase data in Work Bench section. In case we
> > wanna update "action", what would you do? Thank you
> >
>
> If you save a partial test plan, then you need to select the correct
> location before importing it.
>
> You can save selections from the Workbench too, so I don't understand
> what your problem is.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Re: Simple Controller used as action is put to Work Bench section when updating

Posted by sebb <se...@gmail.com>.
On 16 January 2011 22:31, Duc Chau <ch...@gmail.com> wrote:
> Hello,
>
> I created Simple Controller which contains some requests and then saved them
> as a unit action (saved selection as jmx). However, I opened this jmx file
> to update and saw that Simple Controller was put to Work Bench; therefore, I
> could not save since it will erase data in Work Bench section. In case we
> wanna update "action", what would you do? Thank you
>

If you save a partial test plan, then you need to select the correct
location before importing it.

You can save selections from the Workbench too, so I don't understand
what your problem is.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org