We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@pmouawad (Bug 52519): Using attached test plan that contains : sample.jsp that returns XML:
<%@ page contentType="text/xml; charset=UTF-8" %><?xml version="1.0"?> <person> <name> alok ranjan é @ </name> </person>
JMeter converts data to: <?xml version="1.0"?> <person> <name> alok ranjan é @ </name> </person>
corrupting the é.
Created attachment BUG_52508.jmx: Test Plan
<?xml version="1.0" encoding="UTF-8"?> <jmeterTestPlan version="1.2" properties="2.2"> <hashTree> <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true"> <stringProp name="TestPlan.comments"></stringProp> <boolProp name="TestPlan.functional_mode">false</boolProp> <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="TestPlan.user_define_classpath"></stringProp> </TestPlan> <hashTree> <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true"> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> <boolProp name="LoopController.continue_forever">false</boolProp> <stringProp name="LoopController.loops">1</stringProp> </elementProp> <stringProp name="ThreadGroup.num_threads">1</stringProp> <stringProp name="ThreadGroup.ramp_time">1</stringProp> <longProp name="ThreadGroup.start_time">1327429596000</longProp> <longProp name="ThreadGroup.end_time">1327429596000</longProp> <boolProp name="ThreadGroup.scheduler">false</boolProp> <stringProp name="ThreadGroup.duration"></stringProp> <stringProp name="ThreadGroup.delay"></stringProp> </ThreadGroup> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HTTP Request" enabled="true"> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> <elementProp name="" elementType="HTTPArgument"> <boolProp name="HTTPArgument.always_encode">false</boolProp> <stringProp name="Argument.value"></stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> </collectionProp> </elementProp> <stringProp name="HTTPSampler.domain">localhost</stringProp> <stringProp name="HTTPSampler.port">8080</stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> <stringProp name="HTTPSampler.protocol"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">/sample.jsp</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> <boolProp name="HTTPSampler.monitor">false</boolProp> <stringProp name="HTTPSampler.embedded_url_re"></stringProp> </HTTPSamplerProxy> <hashTree> <XMLSchemaAssertion guiclass="XMLSchemaAssertionGUI" testclass="XMLSchemaAssertion" testname="XML Schema Assertion" enabled="true"> <stringProp name="xmlschema_assertion_filename">/data/jmeter/sample.xsd</stringProp> </XMLSchemaAssertion> <hashTree/> </hashTree> <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true"> <boolProp name="ResultCollector.error_logging">false</boolProp> <objProp> <name>saveConfig</name> <value class="SampleSaveConfiguration"> <time>true</time> <latency>true</latency> <timestamp>true</timestamp> <success>true</success> <label>true</label> <code>true</code> <message>true</message> <threadName>true</threadName> <dataType>true</dataType> <encoding>false</encoding> <assertions>true</assertions> <subresults>true</subresults> <responseData>false</responseData> <samplerData>false</samplerData> <xml>true</xml> <fieldNames>false</fieldNames> <responseHeaders>false</responseHeaders> <requestHeaders>false</requestHeaders> <responseDataOnError>false</responseDataOnError> <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> <assertionsResultsToSave>0</assertionsResultsToSave> <bytes>true</bytes> </value> </objProp> <stringProp name="filename"></stringProp> </ResultCollector> <hashTree/> </hashTree> </hashTree> </hashTree> </jmeterTestPlan>
Severity: normal OS: All
The text was updated successfully, but these errors were encountered:
@pmouawad (migrated from Bugzilla): Created attachment sample.xsd: XSD
<?xml version="1.0" encoding="UTF-8" ?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="name"><xs:complexType mixed="true" /></xs:element><xs:element name="person"><xs:complexType><xs:sequence><xs:element ref="name" /></xs:sequence></xs:complexType></xs:element></xs:schema>```` </details>
Sorry, something went wrong.
@pmouawad (migrated from Bugzilla): Created attachment sample.jsp: sample.jsp
<%@ page contentType="text/xml; charset=UTF-8" %><?xml version="1.0"?> <person> <name> alok ranjan é @ </name> </person>```` </details>
@pmouawad (migrated from Bugzilla): And add this to JVM to reproduce: -Dfile.encoding=iso-8859-1
@pmouawad (migrated from Bugzilla): Date: Tue Jan 24 19:06:18 2012 New Revision: 1235417
URL: http://svn.apache.org/viewvc?rev=1235417&view=rev Log: #2716 - XMLSchemaAssertion uses JMeter JVM file.encoding instead of response encoding
Modified: jmeter/trunk/src/components/org/apache/jmeter/assertions/XMLSchemaAssertion.java jmeter/trunk/xdocs/changes.xml
No branches or pull requests
@pmouawad (Bug 52519):
Using attached test plan that contains :
sample.jsp that returns XML:
<%@ page contentType="text/xml; charset=UTF-8" %><?xml version="1.0"?>
<person>
<name>
alok ranjan é @
</name>
</person>
JMeter converts data to:
<?xml version="1.0"?>
<person>
<name>
alok ranjan é @
</name>
</person>
corrupting the é.
Created attachment BUG_52508.jmx: Test Plan
BUG_52508.jmx
Severity: normal
OS: All
The text was updated successfully, but these errors were encountered: