|
@@ -352,6 +352,54 @@ Small
|
|
|
<hashTree/>
|
|
|
</hashTree>
|
|
|
</hashTree>
|
|
|
+ <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Post other content-type (json)" enabled="true"/>
|
|
|
+ <hashTree>
|
|
|
+ <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
|
|
|
+ <collectionProp name="HeaderManager.headers">
|
|
|
+ <elementProp name="" elementType="Header">
|
|
|
+ <stringProp name="Header.name">Content-Type</stringProp>
|
|
|
+ <stringProp name="Header.value">application.json</stringProp>
|
|
|
+ </elementProp>
|
|
|
+ </collectionProp>
|
|
|
+ </HeaderManager>
|
|
|
+ <hashTree/>
|
|
|
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Post other content-type (json)" 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">{ "name":"some json data"}</stringProp>
|
|
|
+ <stringProp name="Argument.metadata">=</stringProp>
|
|
|
+ </elementProp>
|
|
|
+ </collectionProp>
|
|
|
+ </elementProp>
|
|
|
+ <stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.port"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.path"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.method">POST</stringProp>
|
|
|
+ <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
|
|
|
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
+ </HTTPSamplerProxy>
|
|
|
+ <hashTree>
|
|
|
+ <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion" enabled="true">
|
|
|
+ <stringProp name="JSON_PATH">$.content.raw</stringProp>
|
|
|
+ <stringProp name="EXPECTED_VALUE">{ "name":"some json data"}</stringProp>
|
|
|
+ <boolProp name="JSONVALIDATION">true</boolProp>
|
|
|
+ <boolProp name="EXPECT_NULL">false</boolProp>
|
|
|
+ <boolProp name="INVERT">false</boolProp>
|
|
|
+ <boolProp name="ISREGEX">false</boolProp>
|
|
|
+ </JSONPathAssertion>
|
|
|
+ <hashTree/>
|
|
|
+ </hashTree>
|
|
|
+ </hashTree>
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Post UploadFile1.txt" enabled="true">
|
|
|
<elementProp name="HTTPsampler.Files" elementType="HTTPFileArgs">
|
|
|
<collectionProp name="HTTPFileArgs.files">
|