Bug 56983

Summary: View Results Tree:When reloading results from XML, content type is not filled in SampleResult
Product: JMeter - Now in Github Reporter: UbikLoadPack support <support>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 2.11   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Reloaded
Initial one (output during test)
Config of View Results Tree
Simple Test Plan

Description UbikLoadPack support 2014-09-15 13:35:48 UTC
Created attachment 32022 [details]
Reloaded

Hello,
We noticed the following bug when using this scenario:
- Make a load test that generates an XML (View Results Tree with filename + All fields for XML checked)
- Once test is finished load XML generated file
- As you will see Content-Type is not initialized
Comment 1 UbikLoadPack support 2014-09-15 13:36:15 UTC
Created attachment 32023 [details]
Initial one (output during test)
Comment 2 UbikLoadPack support 2014-09-15 13:36:38 UTC
Created attachment 32024 [details]
Config of View Results Tree
Comment 3 UbikLoadPack support 2014-09-15 13:37:15 UTC
Created attachment 32025 [details]
Simple Test Plan
Comment 4 Sebb 2014-09-15 16:22:31 UTC
However, note that the Content-type IS included in the Response Headers above.
Comment 5 Sebb 2014-09-16 01:30:50 UTC
The SampleResult field contentType is not being saved/restored and there is no config item to do so.

Need to check if there are any other such fields that have been omitted by comparing SampleResult with SampleSaveConfiguration (however it does not make sense to store every field, for example startTime and endTime)
Comment 6 The ASF infrastructure team 2022-09-24 20:37:57 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3435