Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jxc
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
jxc
Commits
14d943a9
Commit
14d943a9
authored
Jan 10, 2022
by
王腾飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入库单
parent
3e7f17c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
440 additions
and
1 deletions
+440
-1
autoscript/execute/入库单.jmx
+410
-0
autoscript/execute/入库流程.jmx
+30
-1
No files found.
autoscript/execute/入库单.jmx
0 → 100644
View file @
14d943a9
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan
version=
"1.2"
properties=
"5.0"
jmeter=
"5.4.1"
>
<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"
>
false
</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>
<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>
<boolProp
name=
"ThreadGroup.scheduler"
>
false
</boolProp>
<stringProp
name=
"ThreadGroup.duration"
></stringProp>
<stringProp
name=
"ThreadGroup.delay"
></stringProp>
<boolProp
name=
"ThreadGroup.same_user_on_next_iteration"
>
true
</boolProp>
</ThreadGroup>
<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>
<url>
true
</url>
<threadCounts>
true
</threadCounts>
<idleTime>
true
</idleTime>
<connectTime>
true
</connectTime>
</value>
</objProp>
<stringProp
name=
"filename"
></stringProp>
</ResultCollector>
<hashTree/>
<Arguments
guiclass=
"ArgumentsPanel"
testclass=
"Arguments"
testname=
"用户定义的变量"
enabled=
"true"
>
<collectionProp
name=
"Arguments.arguments"
>
<elementProp
name=
"userName"
elementType=
"Argument"
>
<stringProp
name=
"Argument.name"
>
userName
</stringProp>
<stringProp
name=
"Argument.value"
>
18512345678
</stringProp>
<stringProp
name=
"Argument.metadata"
>
=
</stringProp>
</elementProp>
<elementProp
name=
"password"
elementType=
"Argument"
>
<stringProp
name=
"Argument.name"
>
password
</stringProp>
<stringProp
name=
"Argument.value"
>
123456
</stringProp>
<stringProp
name=
"Argument.metadata"
>
=
</stringProp>
</elementProp>
</collectionProp>
</Arguments>
<hashTree/>
<CookieManager
guiclass=
"CookiePanel"
testclass=
"CookieManager"
testname=
"HTTP Cookie管理器"
enabled=
"true"
>
<collectionProp
name=
"CookieManager.cookies"
>
<elementProp
name=
"userName"
elementType=
"Cookie"
testname=
"userName"
>
<stringProp
name=
"Cookie.value"
>
${userName}
</stringProp>
<stringProp
name=
"Cookie.domain"
></stringProp>
<stringProp
name=
"Cookie.path"
></stringProp>
<boolProp
name=
"Cookie.secure"
>
false
</boolProp>
<longProp
name=
"Cookie.expires"
>
0
</longProp>
<boolProp
name=
"Cookie.path_specified"
>
true
</boolProp>
<boolProp
name=
"Cookie.domain_specified"
>
true
</boolProp>
</elementProp>
<elementProp
name=
"password"
elementType=
"Cookie"
testname=
"password"
>
<stringProp
name=
"Cookie.value"
>
${password}
</stringProp>
<stringProp
name=
"Cookie.domain"
></stringProp>
<stringProp
name=
"Cookie.path"
></stringProp>
<boolProp
name=
"Cookie.secure"
>
false
</boolProp>
<longProp
name=
"Cookie.expires"
>
0
</longProp>
<boolProp
name=
"Cookie.path_specified"
>
true
</boolProp>
<boolProp
name=
"Cookie.domain_specified"
>
true
</boolProp>
</elementProp>
</collectionProp>
<boolProp
name=
"CookieManager.clearEachIteration"
>
false
</boolProp>
<boolProp
name=
"CookieManager.controlledByThreadGroup"
>
false
</boolProp>
</CookieManager>
<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
name=
"userName"
elementType=
"HTTPArgument"
>
<boolProp
name=
"HTTPArgument.always_encode"
>
false
</boolProp>
<stringProp
name=
"Argument.value"
>
18512345678
</stringProp>
<stringProp
name=
"Argument.metadata"
>
=
</stringProp>
<boolProp
name=
"HTTPArgument.use_equals"
>
true
</boolProp>
<stringProp
name=
"Argument.name"
>
userName
</stringProp>
</elementProp>
<elementProp
name=
"password"
elementType=
"HTTPArgument"
>
<boolProp
name=
"HTTPArgument.always_encode"
>
false
</boolProp>
<stringProp
name=
"Argument.value"
>
123456
</stringProp>
<stringProp
name=
"Argument.metadata"
>
=
</stringProp>
<boolProp
name=
"HTTPArgument.use_equals"
>
true
</boolProp>
<stringProp
name=
"Argument.name"
>
password
</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"
>
https://mattest.jwsmed.com/rest/user-service/Authentication/getLoginType
</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>
<HeaderManager
guiclass=
"HeaderPanel"
testclass=
"HeaderManager"
testname=
"HTTP信息头管理器"
enabled=
"true"
>
<collectionProp
name=
"HeaderManager.headers"
>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
Started
</stringProp>
<stringProp
name=
"Header.value"
>
2022-01-06 15:05:32.600514
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
Bytes sent
</stringProp>
<stringProp
name=
"Header.value"
>
41 B
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
Content type
</stringProp>
<stringProp
name=
"Header.value"
>
application/x-www-form-urlencoded;charset=utf-8
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
Body
</stringProp>
<stringProp
name=
"Header.value"
>
{userName: 18512345678, password: 123456}
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
appVer
</stringProp>
<stringProp
name=
"Header.value"
>
4.6.2
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
deviceId
</stringProp>
<stringProp
name=
"Header.value"
>
6df7220d4a4c04a5
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
platform
</stringProp>
<stringProp
name=
"Header.value"
>
Android
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
content-type
</stringProp>
<stringProp
name=
"Header.value"
>
application/x-www-form-urlencoded;charset=utf-8
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
content-length
</stringProp>
<stringProp
name=
"Header.value"
>
36
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
Query Parameters
</stringProp>
<stringProp
name=
"Header.value"
>
Query parameters are empty
</stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<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"
>
https://mattest.jwsmed.com/rest/user-service/User/query/getUserInfo
</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>
<HeaderManager
guiclass=
"HeaderPanel"
testclass=
"HeaderManager"
testname=
"HTTP信息头管理器"
enabled=
"true"
>
<collectionProp
name=
"HeaderManager.headers"
>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
authorization
</stringProp>
<stringProp
name=
"Header.value"
>
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdUeXBlIjoiQUdFTkNZIiwicmVhbE5hbWUiOiIlRTYlOUQlOEUlRTUlOEMlQkIlRTclOTQlOUY4ODgiLCJncm91cElkIjoyMDQyOSwibW9iaWxlIjoiMTg1MTIzNDU2NzgiLCJlZGl0aW9uIjoxLCJhZ2VuY3lJZCI6MjA0MzEsInVzZXJJZCI6MTQyNzcsImlhdCI6MTY0MTQ0ODQyNywiYXV0aG9yaXRpZXMiOlsiMjYiLCIxOCIsIjEiLCIyIiwiMyIsIjQiLCI1IiwiMjAiLCIyMSIsIjIzIiwiMjQiLCIyNSIsIjMwIiwiMzEiLCIzMyIsIjQ3IiwiNDIiLCI2IiwiMzQiLCI3IiwiOCIsIjkiLCIxMCIsIjEzIiwiMTIiLCIxMSIsIjE1IiwiMTYiLCIxNyIsIjE0IiwiMTkiLCIyOCIsIjM4IiwiNDQiLCI0MyIsIjM2IiwiMjciLCIyNiIsIjIyIiwiMzIiLCI0OCIsIjQ2IiwiMjkiLCI0NSIsIjM3IiwiMzkiLCI0OSIsIjUwIiwiNTEiLCIxOCJdLCJ1c2VybmFtZSI6InBvXzE2Mjg3NTA2MTI3OTdfMjA0MzEifQ.OWVJWdrabFz44Ii0mr14154VtTDkwZI00kje-q1o6qQ
</stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<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"
>
{inventoryId: 10773, pageSize: 10, pageNum: 1}
</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"
>
https://inventorytestapi.jwsmed.com/jvs-app-shop/inventory/in/find/page?pageNum=1
&
pageSize=10
&
inventoryId=10773
</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>
<HeaderManager
guiclass=
"HeaderPanel"
testclass=
"HeaderManager"
testname=
"HTTP信息头管理器"
enabled=
"true"
>
<collectionProp
name=
"HeaderManager.headers"
>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
authorization
</stringProp>
<stringProp
name=
"Header.value"
>
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdUeXBlIjoiQUdFTkNZIiwicmVhbE5hbWUiOiIlRTYlOUQlOEUlRTUlOEMlQkIlRTclOTQlOUY4ODgiLCJncm91cElkIjoyMDQyOSwibW9iaWxlIjoiMTg1MTIzNDU2NzgiLCJlZGl0aW9uIjoxLCJhZ2VuY3lJZCI6MjA0MzEsInVzZXJJZCI6MTQyNzcsImlhdCI6MTY0MTc5MzA1NSwiYXV0aG9yaXRpZXMiOlsiMjYiLCIxOCIsIjEiLCIyIiwiMyIsIjQiLCI1IiwiMjAiLCIyMSIsIjIzIiwiMjQiLCIyNSIsIjMwIiwiMzEiLCIzMyIsIjQ3IiwiNDIiLCI2IiwiMzQiLCI3IiwiOCIsIjkiLCIxMCIsIjEzIiwiMTIiLCIxMSIsIjE1IiwiMTYiLCIxNyIsIjE0IiwiMTkiLCIyOCIsIjM4IiwiNDQiLCI0MyIsIjM2IiwiMjciLCIyNiIsIjIyIiwiMzIiLCI0OCIsIjQ2IiwiMjkiLCI0NSIsIjM3IiwiMzkiLCI0OSIsIjUwIiwiNTEiLCIxOCJdLCJ1c2VybmFtZSI6InBvXzE2Mjg3NTA2MTI3OTdfMjA0MzEifQ.AL6bL2u5dJAGwDJmUNBu9xKLuOMfcwRkeOiXkjAS5DI
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
cookie
</stringProp>
<stringProp
name=
"Header.value"
>
USERKEY=JVS_SHOP_JVS_SHOP_USERINFO687ni49j534nktj1gf9r4883h1; USERSESSION=poae7a6a93df3f27dca79e47ebf79e8505
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
></stringProp>
<stringProp
name=
"Header.value"
></stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
></stringProp>
<stringProp
name=
"Header.value"
></stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<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"
>
https://inventorytestapi.jwsmed.com/jvs-app-shop/inventory/in/detail?inventoryInId=33374
</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>
<HeaderManager
guiclass=
"HeaderPanel"
testclass=
"HeaderManager"
testname=
"HTTP信息头管理器"
enabled=
"true"
>
<collectionProp
name=
"HeaderManager.headers"
>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
authorization
</stringProp>
<stringProp
name=
"Header.value"
>
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdUeXBlIjoiQUdFTkNZIiwicmVhbE5hbWUiOiIlRTYlOUQlOEUlRTUlOEMlQkIlRTclOTQlOUY4ODgiLCJncm91cElkIjoyMDQyOSwibW9iaWxlIjoiMTg1MTIzNDU2NzgiLCJlZGl0aW9uIjoxLCJhZ2VuY3lJZCI6MjA0MzEsInVzZXJJZCI6MTQyNzcsImlhdCI6MTY0MTc5MzA1NSwiYXV0aG9yaXRpZXMiOlsiMjYiLCIxOCIsIjEiLCIyIiwiMyIsIjQiLCI1IiwiMjAiLCIyMSIsIjIzIiwiMjQiLCIyNSIsIjMwIiwiMzEiLCIzMyIsIjQ3IiwiNDIiLCI2IiwiMzQiLCI3IiwiOCIsIjkiLCIxMCIsIjEzIiwiMTIiLCIxMSIsIjE1IiwiMTYiLCIxNyIsIjE0IiwiMTkiLCIyOCIsIjM4IiwiNDQiLCI0MyIsIjM2IiwiMjciLCIyNiIsIjIyIiwiMzIiLCI0OCIsIjQ2IiwiMjkiLCI0NSIsIjM3IiwiMzkiLCI0OSIsIjUwIiwiNTEiLCIxOCJdLCJ1c2VybmFtZSI6InBvXzE2Mjg3NTA2MTI3OTdfMjA0MzEifQ.AL6bL2u5dJAGwDJmUNBu9xKLuOMfcwRkeOiXkjAS5DI
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
cookie
</stringProp>
<stringProp
name=
"Header.value"
>
USERKEY=JVS_SHOP_JVS_SHOP_USERINFO687ni49j534nktj1gf9r4883h1; USERSESSION=poae7a6a93df3f27dca79e47ebf79e8505
</stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<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"
>
https://inventorytestapi.jwsmed.com/jvs-app-shop/inventory/in/detail?inventoryInId=33347
</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>
<HeaderManager
guiclass=
"HeaderPanel"
testclass=
"HeaderManager"
testname=
"HTTP信息头管理器"
enabled=
"true"
>
<collectionProp
name=
"HeaderManager.headers"
>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
authorization
</stringProp>
<stringProp
name=
"Header.value"
>
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdUeXBlIjoiQUdFTkNZIiwicmVhbE5hbWUiOiIlRTYlOUQlOEUlRTUlOEMlQkIlRTclOTQlOUY4ODgiLCJncm91cElkIjoyMDQyOSwibW9iaWxlIjoiMTg1MTIzNDU2NzgiLCJlZGl0aW9uIjoxLCJhZ2VuY3lJZCI6MjA0MzEsInVzZXJJZCI6MTQyNzcsImlhdCI6MTY0MTc5MzA1NSwiYXV0aG9yaXRpZXMiOlsiMjYiLCIxOCIsIjEiLCIyIiwiMyIsIjQiLCI1IiwiMjAiLCIyMSIsIjIzIiwiMjQiLCIyNSIsIjMwIiwiMzEiLCIzMyIsIjQ3IiwiNDIiLCI2IiwiMzQiLCI3IiwiOCIsIjkiLCIxMCIsIjEzIiwiMTIiLCIxMSIsIjE1IiwiMTYiLCIxNyIsIjE0IiwiMTkiLCIyOCIsIjM4IiwiNDQiLCI0MyIsIjM2IiwiMjciLCIyNiIsIjIyIiwiMzIiLCI0OCIsIjQ2IiwiMjkiLCI0NSIsIjM3IiwiMzkiLCI0OSIsIjUwIiwiNTEiLCIxOCJdLCJ1c2VybmFtZSI6InBvXzE2Mjg3NTA2MTI3OTdfMjA0MzEifQ.AL6bL2u5dJAGwDJmUNBu9xKLuOMfcwRkeOiXkjAS5DI
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
cookie
</stringProp>
<stringProp
name=
"Header.value"
>
USERKEY=JVS_SHOP_JVS_SHOP_USERINFO687ni49j534nktj1gf9r4883h1; USERSESSION=poae7a6a93df3f27dca79e47ebf79e8505
</stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<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"
>
{

"
inId
"
: 33374,

"
matId
"
:
"
18291
"
,

"
reservoirArea
"
: 6

}
</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"
>
https://inventorytestapi.jwsmed.com/jvs-app-shop/inventory/in/update/reservoir/area
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
PUT
</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>
<HeaderManager
guiclass=
"HeaderPanel"
testclass=
"HeaderManager"
testname=
"HTTP信息头管理器"
enabled=
"true"
>
<collectionProp
name=
"HeaderManager.headers"
>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
authorization
</stringProp>
<stringProp
name=
"Header.value"
>
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdUeXBlIjoiQUdFTkNZIiwicmVhbE5hbWUiOiIlRTYlOUQlOEUlRTUlOEMlQkIlRTclOTQlOUY4ODgiLCJncm91cElkIjoyMDQyOSwibW9iaWxlIjoiMTg1MTIzNDU2NzgiLCJlZGl0aW9uIjoxLCJhZ2VuY3lJZCI6MjA0MzEsInVzZXJJZCI6MTQyNzcsImlhdCI6MTY0MTc5MzA1NSwiYXV0aG9yaXRpZXMiOlsiMjYiLCIxOCIsIjEiLCIyIiwiMyIsIjQiLCI1IiwiMjAiLCIyMSIsIjIzIiwiMjQiLCIyNSIsIjMwIiwiMzEiLCIzMyIsIjQ3IiwiNDIiLCI2IiwiMzQiLCI3IiwiOCIsIjkiLCIxMCIsIjEzIiwiMTIiLCIxMSIsIjE1IiwiMTYiLCIxNyIsIjE0IiwiMTkiLCIyOCIsIjM4IiwiNDQiLCI0MyIsIjM2IiwiMjciLCIyNiIsIjIyIiwiMzIiLCI0OCIsIjQ2IiwiMjkiLCI0NSIsIjM3IiwiMzkiLCI0OSIsIjUwIiwiNTEiLCIxOCJdLCJ1c2VybmFtZSI6InBvXzE2Mjg3NTA2MTI3OTdfMjA0MzEifQ.AL6bL2u5dJAGwDJmUNBu9xKLuOMfcwRkeOiXkjAS5DI
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
cookie
</stringProp>
<stringProp
name=
"Header.value"
>
USERKEY=JVS_SHOP_JVS_SHOP_USERINFO687ni49j534nktj1gf9r4883h1; USERSESSION=poae7a6a93df3f27dca79e47ebf79e8505
</stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<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"
>
https://inventorytestapi.jwsmed.com/jvs-app-shop/user/list/agency
</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>
<HeaderManager
guiclass=
"HeaderPanel"
testclass=
"HeaderManager"
testname=
"HTTP信息头管理器"
enabled=
"true"
>
<collectionProp
name=
"HeaderManager.headers"
>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
authorization
</stringProp>
<stringProp
name=
"Header.value"
>
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdUeXBlIjoiQUdFTkNZIiwicmVhbE5hbWUiOiIlRTYlOUQlOEUlRTUlOEMlQkIlRTclOTQlOUY4ODgiLCJncm91cElkIjoyMDQyOSwibW9iaWxlIjoiMTg1MTIzNDU2NzgiLCJlZGl0aW9uIjoxLCJhZ2VuY3lJZCI6MjA0MzEsInVzZXJJZCI6MTQyNzcsImlhdCI6MTY0MTc5MzA1NSwiYXV0aG9yaXRpZXMiOlsiMjYiLCIxOCIsIjEiLCIyIiwiMyIsIjQiLCI1IiwiMjAiLCIyMSIsIjIzIiwiMjQiLCIyNSIsIjMwIiwiMzEiLCIzMyIsIjQ3IiwiNDIiLCI2IiwiMzQiLCI3IiwiOCIsIjkiLCIxMCIsIjEzIiwiMTIiLCIxMSIsIjE1IiwiMTYiLCIxNyIsIjE0IiwiMTkiLCIyOCIsIjM4IiwiNDQiLCI0MyIsIjM2IiwiMjciLCIyNiIsIjIyIiwiMzIiLCI0OCIsIjQ2IiwiMjkiLCI0NSIsIjM3IiwiMzkiLCI0OSIsIjUwIiwiNTEiLCIxOCJdLCJ1c2VybmFtZSI6InBvXzE2Mjg3NTA2MTI3OTdfMjA0MzEifQ.AL6bL2u5dJAGwDJmUNBu9xKLuOMfcwRkeOiXkjAS5DI
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
cookie
</stringProp>
<stringProp
name=
"Header.value"
>
USERKEY=JVS_SHOP_JVS_SHOP_USERINFO687ni49j534nktj1gf9r4883h1; USERSESSION=poae7a6a93df3f27dca79e47ebf79e8505
</stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<hashTree/>
</hashTree>
</hashTree>
</hashTree>
</hashTree>
</jmeterTestPlan>
autoscript/execute/入库流程.jmx
View file @
14d943a9
<?xml
version="1.0" encoding="UTF-8"?>
<?xml
version="1.0" encoding="UTF-8"?>
...
...
@@ -183,6 +183,35 @@
</HeaderManager>
<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"
>
https://mattest.jwsmed.com/rest/user-service/User/query/getUserInfo
</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>
<HeaderManager
guiclass=
"HeaderPanel"
testclass=
"HeaderManager"
testname=
"HTTP信息头管理器"
enabled=
"true"
>
<collectionProp
name=
"HeaderManager.headers"
>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
authorization
</stringProp>
<stringProp
name=
"Header.value"
>
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdUeXBlIjoiQUdFTkNZIiwicmVhbE5hbWUiOiIlRTYlOUQlOEUlRTUlOEMlQkIlRTclOTQlOUY4ODgiLCJncm91cElkIjoyMDQyOSwibW9iaWxlIjoiMTg1MTIzNDU2NzgiLCJlZGl0aW9uIjoxLCJhZ2VuY3lJZCI6MjA0MzEsInVzZXJJZCI6MTQyNzcsImlhdCI6MTY0MTQ0ODQyNywiYXV0aG9yaXRpZXMiOlsiMjYiLCIxOCIsIjEiLCIyIiwiMyIsIjQiLCI1IiwiMjAiLCIyMSIsIjIzIiwiMjQiLCIyNSIsIjMwIiwiMzEiLCIzMyIsIjQ3IiwiNDIiLCI2IiwiMzQiLCI3IiwiOCIsIjkiLCIxMCIsIjEzIiwiMTIiLCIxMSIsIjE1IiwiMTYiLCIxNyIsIjE0IiwiMTkiLCIyOCIsIjM4IiwiNDQiLCI0MyIsIjM2IiwiMjciLCIyNiIsIjIyIiwiMzIiLCI0OCIsIjQ2IiwiMjkiLCI0NSIsIjM3IiwiMzkiLCI0OSIsIjUwIiwiNTEiLCIxOCJdLCJ1c2VybmFtZSI6InBvXzE2Mjg3NTA2MTI3OTdfMjA0MzEifQ.OWVJWdrabFz44Ii0mr14154VtTDkwZI00kje-q1o6qQ
</stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<hashTree/>
</hashTree>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"手动搜索"
enabled=
"true"
>
<boolProp
name=
"HTTPSampler.postBodyRaw"
>
true
</boolProp>
<elementProp
name=
"HTTPsampler.Arguments"
elementType=
"Arguments"
>
...
...
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