Hi Stephen,

I'm unable to reproduce your bug using 2.11 with java 1.7

I have setup a sdw as per the fol. screenshot:
http://flood-io-support.s3-website-us-east-1.amazonaws.com/Sample_Result_Save_Configuration_20140512_070111.png

And when executed from command line I get XML as expected.

[7:02:10] » jmeter -n -t sdw.jmx
Creating summariser <summary>
Created the tree successfully using sdw.jmx
Starting the test @ Mon May 12 07:02:17 EST 2014 (1399842137569)
Waiting for possible shutdown message on port 4445
summary =      1 in   0.5s =    2.2/s Avg:   453 Min:   453 Max:   453 Err:
    0 (0.00%)
Tidying up ...    @ Mon May 12 07:02:18 EST 2014 (1399842138326)
... end of run

[7:02:18] » cat test.xml
<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.2">
<sample t="453" lt="39" ts="1399842137861" s="true" lb="jp@gc - Dummy
Sampler" rc="200" rm="OK" tn="Thread Group 1-1" by="114">
  <responseHeader class="java.lang.String"></responseHeader>
  <requestHeader class="java.lang.String"></requestHeader>
  <samplerData class="java.lang.String">Dummy Sampler used to simulate
requests and responses
without actual network activity. This helps debugging tests.</samplerData>
</sample>

</testResults>

Also don't believe the elements are re-ordered on close / open:
http://flood-io-support.s3-website-us-east-1.amazonaws.com/Sample_Result_Save_Configuration_20140512_070510.png

Do you have any custom plugins perhaps?

Perhaps check your jmeter.properties file and make sure you are not setting
the following config:
jmeter.save.saveservice.output_format=csv

Regards,



Tim Koopmans
+61 3 9221 6309

[image: Flood IO Pty Ltd] <https://flood.io>

Level 27, 101 Collins Street
Melbourne, Vic 3000




On Mon, May 12, 2014 at 6:24 AM, Stephen Townshend <
[email protected]> wrote:

> I'm seeing a potential bug with the Simple Data Writer in Jmeter 2.10 and
> 2.11 (but it works fine in 2.9).
>
>
>
> If I create a Simple Data writer and 'Configure' it, save and close my JMX
> project, and re-open it, the settings change. In particular the field "Save
> as XML" is always un-ticked when I come back. This is preventing me from
> running a test from the command line in either of these versions (because
> it writes to CSV but I need the XML detail).
>
>
>
> The "Save as XML" field is not the only one that changes, I have witnessed
> other changes too. Additionally, and probably unrelated, the order of all
> the checkboxes changes each time I re-open Jmeter. This random ordering
> happens in 2.9 but the issue where my configuration changes is not present.
>
>
>
> I've searched around and gone back over the mailing list archives but I
> can't see any mention of this, which is unusual as I would assume this
> would be a big deal (unless I'm the only one using XML output? I use it to
> get at the sub-requests but have to parse it into a MySql database to
> analyse it).
>
> Stephen Townshend, Performance Engineer, Equinox Limited,
> http://www.equinox.co.nz/
> Address Level 5, Shortland Chambers, 70 Shortland Street, PO Box 3903,
> Auckland 1140, New Zealand
> Contact [email protected]<mailto:
> [email protected]>, Phone: +64 9 307 9450, DDI: +64 9 307
> 9007, Mobile: +64 22 6051 423
>
> Please consider the environment before printing this e-mail.
>
> ___________________________________________________________________________________
> This e-mail message and any attachments contain information that is
> confidential and may be subject
> to legal privilege. If you are not the intended recipient, you must not
> peruse, use, pass on or copy this
> message or any attachments. If you have received this e-mail in error,
> please notify us by return e-mail
> and erase all copies of this message including any attachments. Thank you.
>
>

Reply via email to