Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
opt
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
test
opt
Commits
88d2e2ad
Commit
88d2e2ad
authored
Sep 13, 2021
by
章钰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
领券中心管理 提交
parent
b5f53177
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
712 additions
and
0 deletions
+712
-0
autoscript/领券中心管理.jmx
+712
-0
No files found.
autoscript/领券中心管理.jmx
0 → 100644
View file @
88d2e2ad
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan
version=
"1.2"
properties=
"5.0"
jmeter=
"5.1.1 r1855137"
>
<hashTree>
<TestPlan
guiclass=
"TestPlanGui"
testclass=
"TestPlan"
testname=
"测试计划"
enabled=
"true"
>
<stringProp
name=
"TestPlan.comments"
></stringProp>
<boolProp
name=
"TestPlan.functional_mode"
>
false
</boolProp>
<boolProp
name=
"TestPlan.tearDown_on_shutdown"
>
true
</boolProp>
<boolProp
name=
"TestPlan.serialize_threadgroups"
>
true
</boolProp>
<elementProp
name=
"TestPlan.user_defined_variables"
elementType=
"Arguments"
guiclass=
"ArgumentsPanel"
testclass=
"Arguments"
testname=
"用户定义的变量"
enabled=
"true"
>
<collectionProp
name=
"Arguments.arguments"
/>
</elementProp>
<stringProp
name=
"TestPlan.user_define_classpath"
></stringProp>
</TestPlan>
<hashTree>
<ConfigTestElement
guiclass=
"HttpDefaultsGui"
testclass=
"ConfigTestElement"
testname=
"HTTP请求默认值"
enabled=
"true"
>
<elementProp
name=
"HTTPsampler.Arguments"
elementType=
"Arguments"
guiclass=
"HTTPArgumentsPanel"
testclass=
"Arguments"
testname=
"用户定义的变量"
enabled=
"true"
>
<collectionProp
name=
"Arguments.arguments"
/>
</elementProp>
<stringProp
name=
"HTTPSampler.domain"
>
testopt.jwsmed.com
</stringProp>
<stringProp
name=
"HTTPSampler.port"
></stringProp>
<stringProp
name=
"HTTPSampler.protocol"
>
https
</stringProp>
<stringProp
name=
"HTTPSampler.contentEncoding"
></stringProp>
<stringProp
name=
"HTTPSampler.path"
></stringProp>
<stringProp
name=
"HTTPSampler.concurrentPool"
>
6
</stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</ConfigTestElement>
<hashTree/>
<HeaderManager
guiclass=
"HeaderPanel"
testclass=
"HeaderManager"
testname=
"HTTP信息头管理器"
enabled=
"true"
>
<collectionProp
name=
"HeaderManager.headers"
>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
Content-Type
</stringProp>
<stringProp
name=
"Header.value"
>
application/json;charset=UTF-8
</stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<hashTree/>
<CookieManager
guiclass=
"CookiePanel"
testclass=
"CookieManager"
testname=
"HTTP Cookie管理器"
enabled=
"true"
>
<collectionProp
name=
"CookieManager.cookies"
/>
<boolProp
name=
"CookieManager.clearEachIteration"
>
false
</boolProp>
</CookieManager>
<hashTree/>
<SetupThreadGroup
guiclass=
"SetupThreadGroupGui"
testclass=
"SetupThreadGroup"
testname=
"登录"
enabled=
"true"
>
<stringProp
name=
"ThreadGroup.on_sample_error"
>
continue
</stringProp>
<elementProp
name=
"ThreadGroup.main_controller"
elementType=
"LoopController"
guiclass=
"LoopControlPanel"
testclass=
"LoopController"
testname=
"循环控制器"
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>
<boolProp
name=
"ThreadGroup.scheduler"
>
false
</boolProp>
<stringProp
name=
"ThreadGroup.duration"
></stringProp>
<stringProp
name=
"ThreadGroup.delay"
></stringProp>
<longProp
name=
"ThreadGroup.start_time"
>
1624948929000
</longProp>
<longProp
name=
"ThreadGroup.end_time"
>
1624948929000
</longProp>
</SetupThreadGroup>
<hashTree>
<HeaderManager
guiclass=
"HeaderPanel"
testclass=
"HeaderManager"
testname=
"HTTP信息头管理器"
enabled=
"true"
>
<collectionProp
name=
"HeaderManager.headers"
>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
Content-Type
</stringProp>
<stringProp
name=
"Header.value"
>
application/x-www-form-urlencoded
</stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<hashTree/>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"登录"
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"
>
username=yu.zhang
&
password=123456
&
userId=yu.zhang
&
userPwd=123456
&
grant_type=password
</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"
>
/user/index/ajax/login
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
POST
</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>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion
guiclass=
"AssertionGui"
testclass=
"ResponseAssertion"
testname=
"响应断言"
enabled=
"false"
>
<collectionProp
name=
"Asserion.test_strings"
>
<stringProp
name=
"723337899"
>
"
code
"
:200
</stringProp>
</collectionProp>
<stringProp
name=
"Assertion.custom_message"
></stringProp>
<stringProp
name=
"Assertion.test_field"
>
Assertion.response_data
</stringProp>
<boolProp
name=
"Assertion.assume_success"
>
false
</boolProp>
<intProp
name=
"Assertion.test_type"
>
2
</intProp>
</ResponseAssertion>
<hashTree/>
<JSONPostProcessor
guiclass=
"JSONPostProcessorGui"
testclass=
"JSONPostProcessor"
testname=
"JSON提取器"
enabled=
"true"
>
<stringProp
name=
"JSONPostProcessor.referenceNames"
>
code
</stringProp>
<stringProp
name=
"JSONPostProcessor.jsonPathExprs"
>
$.code
</stringProp>
<stringProp
name=
"JSONPostProcessor.match_numbers"
></stringProp>
<stringProp
name=
"JSONPostProcessor.defaultValues"
>
null
</stringProp>
<boolProp
name=
"JSONPostProcessor.compute_concat"
>
true
</boolProp>
</JSONPostProcessor>
<hashTree/>
<RegexExtractor
guiclass=
"RegexExtractorGui"
testclass=
"RegexExtractor"
testname=
"提取登录的token"
enabled=
"true"
>
<stringProp
name=
"RegexExtractor.useHeaders"
>
true
</stringProp>
<stringProp
name=
"RegexExtractor.refname"
>
token
</stringProp>
<stringProp
name=
"RegexExtractor.regex"
>
Set-Cookie: SERVITIZATION_BACKEND=(.*?);
</stringProp>
<stringProp
name=
"RegexExtractor.template"
>
$1$
</stringProp>
<stringProp
name=
"RegexExtractor.default"
>
null
</stringProp>
<stringProp
name=
"RegexExtractor.match_number"
>
1
</stringProp>
</RegexExtractor>
<hashTree/>
<BeanShellAssertion
guiclass=
"BeanShellAssertionGui"
testclass=
"BeanShellAssertion"
testname=
"校验登录是否成功"
enabled=
"true"
>
<stringProp
name=
"BeanShellAssertion.query"
>
//校验返回结果状态
String ResponseCode = vars.get(
"
code
"
);
//log.info(
"
获取到的code~~~~~~
"
+ ResponseCode);
if (ResponseCode.equals(
"
200
"
))
{
// 响应码等于200时,设置断言成功,并输出成功信息
Failure = false;
FailureMessage =
"
登录成功
"
;
}
else{
// 响应码不等于200时,设置断言失败,并输出失败信息
Failure = true;
FailureMessage =
"
Response code was not a 200 response code it was
"
+ ResponseCode +
"
.
"
;
print (
"
the return code is
"
+ ResponseCode); // this goes to stdout
log.warn(
"
the return code is
"
+ ResponseCode); // this goes to the JMeter log file
}
String a = vars.get(
"
token
"
);
log.info(
"
获取到的token~~~~~~
"
+ a);
${__setProperty(tokenValue,${token})}
</stringProp>
<stringProp
name=
"BeanShellAssertion.filename"
></stringProp>
<stringProp
name=
"BeanShellAssertion.parameters"
></stringProp>
<boolProp
name=
"BeanShellAssertion.resetInterpreter"
>
false
</boolProp>
</BeanShellAssertion>
<hashTree/>
</hashTree>
</hashTree>
<ThreadGroup
guiclass=
"ThreadGroupGui"
testclass=
"ThreadGroup"
testname=
"领券管理"
enabled=
"true"
>
<stringProp
name=
"ThreadGroup.on_sample_error"
>
continue
</stringProp>
<elementProp
name=
"ThreadGroup.main_controller"
elementType=
"LoopController"
guiclass=
"LoopControlPanel"
testclass=
"LoopController"
testname=
"循环控制器"
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"
>
1624952371000
</longProp>
<longProp
name=
"ThreadGroup.end_time"
>
1624952371000
</longProp>
<boolProp
name=
"ThreadGroup.scheduler"
>
false
</boolProp>
<stringProp
name=
"ThreadGroup.duration"
></stringProp>
<stringProp
name=
"ThreadGroup.delay"
></stringProp>
</ThreadGroup>
<hashTree>
<HeaderManager
guiclass=
"HeaderPanel"
testclass=
"HeaderManager"
testname=
"HTTP信息头管理器"
enabled=
"true"
>
<collectionProp
name=
"HeaderManager.headers"
>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
cookie
</stringProp>
<stringProp
name=
"Header.value"
>
SERVITIZATION_BACKEND=${__property(tokenValue)}
</stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<hashTree/>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"按状态搜索-已停用"
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"
>
{
"
status
"
:0,
"
page
"
:1,
"
size
"
:10}
</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"
>
/JARVIS-SERVITIZATION-REST/servitization/admin/coupon/center/search?userType=oldBackend
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
POST
</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>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion
guiclass=
"AssertionGui"
testclass=
"ResponseAssertion"
testname=
"响应断言"
enabled=
"true"
>
<collectionProp
name=
"Asserion.test_strings"
>
<stringProp
name=
"-1283611220"
>
"
code
"
:
"
10000
"
</stringProp>
</collectionProp>
<stringProp
name=
"Assertion.custom_message"
></stringProp>
<stringProp
name=
"Assertion.test_field"
>
Assertion.response_data
</stringProp>
<boolProp
name=
"Assertion.assume_success"
>
false
</boolProp>
<intProp
name=
"Assertion.test_type"
>
2
</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"按状态搜索-发放中"
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"
>
{
"
status
"
:1,
"
page
"
:1,
"
size
"
:10}
</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"
>
/JARVIS-SERVITIZATION-REST/servitization/admin/coupon/center/search?userType=oldBackend
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
POST
</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>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion
guiclass=
"AssertionGui"
testclass=
"ResponseAssertion"
testname=
"响应断言"
enabled=
"true"
>
<collectionProp
name=
"Asserion.test_strings"
>
<stringProp
name=
"-1283611220"
>
"
code
"
:
"
10000
"
</stringProp>
</collectionProp>
<stringProp
name=
"Assertion.custom_message"
></stringProp>
<stringProp
name=
"Assertion.test_field"
>
Assertion.response_data
</stringProp>
<boolProp
name=
"Assertion.assume_success"
>
false
</boolProp>
<intProp
name=
"Assertion.test_type"
>
2
</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"按状态搜索-已发完"
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"
>
{
"
status
"
:2,
"
page
"
:1,
"
size
"
:10}
</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"
>
/JARVIS-SERVITIZATION-REST/servitization/admin/coupon/center/search?userType=oldBackend
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
POST
</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>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion
guiclass=
"AssertionGui"
testclass=
"ResponseAssertion"
testname=
"响应断言"
enabled=
"true"
>
<collectionProp
name=
"Asserion.test_strings"
>
<stringProp
name=
"-1283611220"
>
"
code
"
:
"
10000
"
</stringProp>
</collectionProp>
<stringProp
name=
"Assertion.custom_message"
></stringProp>
<stringProp
name=
"Assertion.test_field"
>
Assertion.response_data
</stringProp>
<boolProp
name=
"Assertion.assume_success"
>
false
</boolProp>
<intProp
name=
"Assertion.test_type"
>
2
</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"按类型搜索-全场优惠券"
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"
>
{
"
couponType
"
:0,
"
page
"
:1,
"
size
"
:10}
</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"
>
/JARVIS-SERVITIZATION-REST/servitization/admin/coupon/center/search?userType=oldBackend
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
POST
</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>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion
guiclass=
"AssertionGui"
testclass=
"ResponseAssertion"
testname=
"响应断言"
enabled=
"true"
>
<collectionProp
name=
"Asserion.test_strings"
>
<stringProp
name=
"-1283611220"
>
"
code
"
:
"
10000
"
</stringProp>
</collectionProp>
<stringProp
name=
"Assertion.custom_message"
></stringProp>
<stringProp
name=
"Assertion.test_field"
>
Assertion.response_data
</stringProp>
<boolProp
name=
"Assertion.assume_success"
>
false
</boolProp>
<intProp
name=
"Assertion.test_type"
>
2
</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"按类型搜索-特殊优惠券"
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"
>
{
"
couponType
"
:2,
"
page
"
:1,
"
size
"
:10}
</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"
>
/JARVIS-SERVITIZATION-REST/servitization/admin/coupon/center/search?userType=oldBackend
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
POST
</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>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion
guiclass=
"AssertionGui"
testclass=
"ResponseAssertion"
testname=
"响应断言"
enabled=
"true"
>
<collectionProp
name=
"Asserion.test_strings"
>
<stringProp
name=
"-1283611220"
>
"
code
"
:
"
10000
"
</stringProp>
</collectionProp>
<stringProp
name=
"Assertion.custom_message"
></stringProp>
<stringProp
name=
"Assertion.test_field"
>
Assertion.response_data
</stringProp>
<boolProp
name=
"Assertion.assume_success"
>
false
</boolProp>
<intProp
name=
"Assertion.test_type"
>
2
</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"停用优惠券"
enabled=
"false"
>
<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"
>
{
"
id
"
:19,
"
couponName
"
:
"
测试_yh
"
,
"
couponType
"
:0,
"
threshold
"
:1000,
"
reduction
"
:600,
"
availableDate
"
:
"
领取后7天内有效
"
,
"
couponLimit
"
:1000,
"
agencyLimit
"
:1000,
"
limitedAgencyNum
"
:null,
"
stock
"
:996,
"
status
"
:0,
"
tagName
"
:
"
测试
"
,
"
sort
"
:10}
</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"
>
utf-8
</stringProp>
<stringProp
name=
"HTTPSampler.path"
>
/JARVIS-SERVITIZATION-REST/servitization/admin/coupon/center/update?userType=oldBackend
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
POST
</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>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion
guiclass=
"AssertionGui"
testclass=
"ResponseAssertion"
testname=
"响应断言"
enabled=
"true"
>
<collectionProp
name=
"Asserion.test_strings"
>
<stringProp
name=
"-1283611220"
>
"
code
"
:
"
10000
"
</stringProp>
</collectionProp>
<stringProp
name=
"Assertion.custom_message"
></stringProp>
<stringProp
name=
"Assertion.test_field"
>
Assertion.response_data
</stringProp>
<boolProp
name=
"Assertion.assume_success"
>
false
</boolProp>
<intProp
name=
"Assertion.test_type"
>
2
</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"启用优惠券"
enabled=
"false"
>
<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"
>
{
"
id
"
:19,
"
couponName
"
:
"
测试_yh
"
,
"
couponType
"
:0,
"
threshold
"
:1000,
"
reduction
"
:600,
"
availableDate
"
:
"
领取后7天内有效
"
,
"
couponLimit
"
:1000,
"
agencyLimit
"
:1000,
"
limitedAgencyNum
"
:null,
"
stock
"
:996,
"
status
"
:1,
"
tagName
"
:
"
测试
"
,
"
sort
"
:10}
</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"
>
utf-8
</stringProp>
<stringProp
name=
"HTTPSampler.path"
>
/JARVIS-SERVITIZATION-REST/servitization/admin/coupon/center/update?userType=oldBackend
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
POST
</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>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
<stringProp
name=
"TestPlan.comments"
>
优惠券不存在时会报错
</stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion
guiclass=
"AssertionGui"
testclass=
"ResponseAssertion"
testname=
"响应断言"
enabled=
"true"
>
<collectionProp
name=
"Asserion.test_strings"
>
<stringProp
name=
"-1283611220"
>
"
code
"
:
"
10000
"
</stringProp>
</collectionProp>
<stringProp
name=
"Assertion.custom_message"
></stringProp>
<stringProp
name=
"Assertion.test_field"
>
Assertion.response_data
</stringProp>
<boolProp
name=
"Assertion.assume_success"
>
false
</boolProp>
<intProp
name=
"Assertion.test_type"
>
2
</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"新增优惠券"
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"
>
{
"
couponType
"
:0,
"
couponId
"
:2157,
"
couponLimit
"
:100,
"
agencyLimit
"
:2,
"
sort
"
:
"
100
"
,
"
tagName
"
:
"
测试
"
,
"
agencyGroupId
"
:11,
"
showType
"
:1,
"
couponName
"
:
"
测试优惠券11
"
,
"
startTime
"
:
"
2021-07-01 00:00:00
"
,
"
endTime
"
:
"
2021-08-31 00:00:00
"
}
</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"
>
utf-8
</stringProp>
<stringProp
name=
"HTTPSampler.path"
>
/JARVIS-SERVITIZATION-REST/servitization/admin/coupon/center/add?userType=oldBackend
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
POST
</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>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</HTTPSamplerProxy>
<hashTree/>
<GenericController
guiclass=
"LogicControllerGui"
testclass=
"GenericController"
testname=
"删除优惠券"
enabled=
"true"
>
<stringProp
name=
"TestPlan.comments"
>
删除优惠券
</stringProp>
</GenericController>
<hashTree>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"取第一个优惠券信息"
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"
>
{
"
page
"
:1,
"
size
"
:10}
</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"
>
/JARVIS-SERVITIZATION-REST/servitization/admin/coupon/center/search?userType=oldBackend
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
POST
</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>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</HTTPSamplerProxy>
<hashTree>
<JSONPostProcessor
guiclass=
"JSONPostProcessorGui"
testclass=
"JSONPostProcessor"
testname=
"JSON提取器"
enabled=
"true"
>
<stringProp
name=
"JSONPostProcessor.referenceNames"
>
id;couponName;couponType;threshold;reduction;availableDate;agencyLimit;limitedAgencyNum;stock;tagName;sort;couponLimit
</stringProp>
<stringProp
name=
"JSONPostProcessor.jsonPathExprs"
>
$.data.list[0].id;$.data.list[0].couponName;$.data.list[0].couponType;$.data.list[0].threshold;$.data.list[0].reduction;$.data.list[0].availableDate;$.data.list[0].agencyLimit;$.data.list[0].limitedAgencyNum;$.data.list[0].stock;$.data.list[0].tagName;$.data.list[0].sort;$.data.list[0].couponLimit
</stringProp>
<stringProp
name=
"JSONPostProcessor.match_numbers"
></stringProp>
<stringProp
name=
"JSONPostProcessor.defaultValues"
>
null;null;null;null;null;null;null;null;null;null;null;null
</stringProp>
</JSONPostProcessor>
<hashTree/>
</hashTree>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"停用优惠券"
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"
>
{
"
id
"
:${id},
"
couponName
"
:
"
${couponName}
"
,
"
couponType
"
:${couponType},
"
threshold
"
:${threshold},
"
reduction
"
:${reduction},
"
availableDate
"
:
"
${availableDate}
"
,
"
couponLimit
"
:${couponLimit},
"
agencyLimit
"
:${agencyLimit},
"
limitedAgencyNum
"
:${limitedAgencyNum},
"
stock
"
:${stock},
"
status
"
:0,
"
tagName
"
:
"
${tagName}
"
,
"
sort
"
:${sort}}
</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"
>
utf-8
</stringProp>
<stringProp
name=
"HTTPSampler.path"
>
/JARVIS-SERVITIZATION-REST/servitization/admin/coupon/center/update?userType=oldBackend
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
POST
</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>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion
guiclass=
"AssertionGui"
testclass=
"ResponseAssertion"
testname=
"响应断言"
enabled=
"true"
>
<collectionProp
name=
"Asserion.test_strings"
>
<stringProp
name=
"-1283611220"
>
"
code
"
:
"
10000
"
</stringProp>
</collectionProp>
<stringProp
name=
"Assertion.custom_message"
></stringProp>
<stringProp
name=
"Assertion.test_field"
>
Assertion.response_data
</stringProp>
<boolProp
name=
"Assertion.assume_success"
>
false
</boolProp>
<intProp
name=
"Assertion.test_type"
>
2
</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"启用优惠券"
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"
>
{
"
id
"
:${id},
"
couponName
"
:
"
${couponName}
"
,
"
couponType
"
:${couponType},
"
threshold
"
:${threshold},
"
reduction
"
:${reduction},
"
availableDate
"
:
"
${availableDate}
"
,
"
couponLimit
"
:${couponLimit},
"
agencyLimit
"
:${agencyLimit},
"
limitedAgencyNum
"
:${limitedAgencyNum},
"
stock
"
:${stock},
"
status
"
:1,
"
tagName
"
:
"
${tagName}
"
,
"
sort
"
:${sort}}
</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"
>
utf-8
</stringProp>
<stringProp
name=
"HTTPSampler.path"
>
/JARVIS-SERVITIZATION-REST/servitization/admin/coupon/center/update?userType=oldBackend
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
POST
</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>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion
guiclass=
"AssertionGui"
testclass=
"ResponseAssertion"
testname=
"响应断言"
enabled=
"true"
>
<collectionProp
name=
"Asserion.test_strings"
>
<stringProp
name=
"-1283611220"
>
"
code
"
:
"
10000
"
</stringProp>
</collectionProp>
<stringProp
name=
"Assertion.custom_message"
></stringProp>
<stringProp
name=
"Assertion.test_field"
>
Assertion.response_data
</stringProp>
<boolProp
name=
"Assertion.assume_success"
>
false
</boolProp>
<intProp
name=
"Assertion.test_type"
>
2
</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"停用优惠券"
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"
>
{
"
id
"
:${id},
"
couponName
"
:
"
${couponName}
"
,
"
couponType
"
:${couponType},
"
threshold
"
:${threshold},
"
reduction
"
:${reduction},
"
availableDate
"
:
"
${availableDate}
"
,
"
couponLimit
"
:${couponLimit},
"
agencyLimit
"
:${agencyLimit},
"
limitedAgencyNum
"
:${limitedAgencyNum},
"
stock
"
:${stock},
"
status
"
:0,
"
tagName
"
:
"
${tagName}
"
,
"
sort
"
:${sort}}
</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"
>
utf-8
</stringProp>
<stringProp
name=
"HTTPSampler.path"
>
/JARVIS-SERVITIZATION-REST/servitization/admin/coupon/center/update?userType=oldBackend
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
POST
</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>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion
guiclass=
"AssertionGui"
testclass=
"ResponseAssertion"
testname=
"响应断言"
enabled=
"true"
>
<collectionProp
name=
"Asserion.test_strings"
>
<stringProp
name=
"-1283611220"
>
"
code
"
:
"
10000
"
</stringProp>
</collectionProp>
<stringProp
name=
"Assertion.custom_message"
></stringProp>
<stringProp
name=
"Assertion.test_field"
>
Assertion.response_data
</stringProp>
<boolProp
name=
"Assertion.assume_success"
>
false
</boolProp>
<intProp
name=
"Assertion.test_type"
>
2
</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"删除优惠券"
enabled=
"true"
>
<elementProp
name=
"HTTPsampler.Arguments"
elementType=
"Arguments"
guiclass=
"HTTPArgumentsPanel"
testclass=
"Arguments"
testname=
"用户定义的变量"
enabled=
"true"
>
<collectionProp
name=
"Arguments.arguments"
/>
</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"
>
/JARVIS-SERVITIZATION-REST/servitization/admin/coupon/center/delete?id=${id}
&
userType=oldBackend
</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>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</HTTPSamplerProxy>
<hashTree/>
</hashTree>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"按分页搜索-第2页"
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"
>
{
"
page
"
:2,
"
size
"
:10}
</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"
>
/JARVIS-SERVITIZATION-REST/servitization/admin/coupon/center/search?userType=oldBackend
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
POST
</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>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResponseAssertion
guiclass=
"AssertionGui"
testclass=
"ResponseAssertion"
testname=
"响应断言"
enabled=
"true"
>
<collectionProp
name=
"Asserion.test_strings"
>
<stringProp
name=
"-1283611220"
>
"
code
"
:
"
10000
"
</stringProp>
</collectionProp>
<stringProp
name=
"Assertion.custom_message"
></stringProp>
<stringProp
name=
"Assertion.test_field"
>
Assertion.response_data
</stringProp>
<boolProp
name=
"Assertion.assume_success"
>
false
</boolProp>
<intProp
name=
"Assertion.test_type"
>
2
</intProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
<DebugSampler
guiclass=
"TestBeanGUI"
testclass=
"DebugSampler"
testname=
"调试取样器"
enabled=
"false"
>
<boolProp
name=
"displayJMeterProperties"
>
false
</boolProp>
<boolProp
name=
"displayJMeterVariables"
>
true
</boolProp>
<boolProp
name=
"displaySystemProperties"
>
false
</boolProp>
</DebugSampler>
<hashTree/>
</hashTree>
<ResultCollector
guiclass=
"ViewResultsFullVisualizer"
testclass=
"ResultCollector"
testname=
"察看结果树"
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>
false
</xml>
<fieldNames>
true
</fieldNames>
<responseHeaders>
false
</responseHeaders>
<requestHeaders>
false
</requestHeaders>
<responseDataOnError>
false
</responseDataOnError>
<saveAssertionResultsFailureMessage>
true
</saveAssertionResultsFailureMessage>
<assertionsResultsToSave>
0
</assertionsResultsToSave>
<bytes>
true
</bytes>
<sentBytes>
true
</sentBytes>
<threadCounts>
true
</threadCounts>
<idleTime>
true
</idleTime>
<connectTime>
true
</connectTime>
</value>
</objProp>
<stringProp
name=
"filename"
></stringProp>
</ResultCollector>
<hashTree/>
</hashTree>
</hashTree>
</jmeterTestPlan>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment