You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2014/02/03 16:54:02 UTC

[Bug 56103] New: Need ability to override "Retrieve All Embedded Resources" from non-gui mode

https://issues.apache.org/bugzilla/show_bug.cgi?id=56103

            Bug ID: 56103
           Summary: Need ability to override "Retrieve All Embedded
                    Resources" from non-gui mode
           Product: JMeter
           Version: 2.11
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: rwilson.2@gmail.com

In the "HTTP Request Defaults" configuration, you have the option to set the
default value for "Retrieve All Embedded Resources" for your test case. This
works great from the GUI mode, since all you have to do to alter the way your
testcase works is to check or uncheck the box next to the setting.

But, if you want to override a default value of "false" when running in non-gui
mode, there doesn't appear to be any way to accomplish this. It would be easy
enough to write a script to look for the XML value, and switch it from 'false'
to 'true' - but the line is omitted from the saved 'jmx' file if the saved
value is 'false', so you can't even easily alter it that way.

Ideally, this would be a jmeter property value that would be overridden with a
"-Jjmeter.httpsampler.parse_images=false" command line switch.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 56103] Need ability to override "Retrieve All Embedded Resources" from non-gui mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56103

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
                 OS|Linux                       |All
           Severity|normal                      |enhancement

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Maybe this should be tackled by a concept similar to Profiles in Maven/Gradle.

I think it would be great to be able to have a Profile component that
references a set of Properties of 1 environment.

And also be able to associate Config elements to a named profile.

Example but it would be a solution for all  checkbox, radio box or select box
config elements:

Profile (TEST_WITHOUT_IMAGES) : enabled
Profile (TEST_WITH_IMAGES) : Disabled

HttpRequestDefault associated to profile TEST_WITHOUT_IMAGES
HttpRequestDefault associated to profile TEST_WITH_IMAGES
The rest of the test plan

Depending on the enabled profile(s) the config elements would be enabled or
disabled.

Opinions ?

Anyway changing this to enhancement as it is not a bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.