Toggle navigation
Toggle navigation
This project
Loading...
Sign in
YPT
/
jmeter
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Rong
8 years ago
Commit
8bc402c1882a084789973f6a1613ef6fba31abb8
1 parent
eed433b9
commit by shell
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
19 deletions
script/default/test2.jmx
script/default/test2.jmx
View file @
8bc402c
...
...
@@ -12,39 +12,35 @@
<stringProp
name=
"TestPlan.user_define_classpath"
></stringProp>
</TestPlan>
<hashTree>
<HeaderManager
guiclass=
"HeaderPanel"
testclass=
"HeaderManager"
testname=
"header_pc"
enabled=
"true"
>
<HeaderManager
guiclass=
"HeaderPanel"
testclass=
"HeaderManager"
testname=
"header_pc
_item
"
enabled=
"true"
>
<collectionProp
name=
"HeaderManager.headers"
>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
User-Agent
</stringProp>
<stringProp
name=
"Header.value"
>
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
Accept
</stringProp>
<stringProp
name=
"Header.value"
>
*/*
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
Accept-Language
</stringProp>
<stringProp
name=
"Header.value"
>
zh-CN,zh;q=0.8,en-US;q=0.5,en;q=
</stringProp>
<stringProp
name=
"Header.value"
>
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
Accept-Encoding
</stringProp>
<stringProp
name=
"Header.value"
>
gzip, deflate
</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>
<stringProp
name=
"Header.name"
>
Accept-Language
</stringProp>
<stringProp
name=
"Header.value"
>
zh-CN,zh;q=0.8
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
Cache-Control
</stringProp>
<stringProp
name=
"Header.value"
>
max-age=0
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
X-Requested-With
</stringProp>
<stringProp
name=
"Header.value"
>
XMLHttpRequest
</stringProp>
<stringProp
name=
"Header.name"
>
Host
</stringProp>
<stringProp
name=
"Header.value"
>
item.yohobuy.com
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
Upgrade-Insecure-Requests
</stringProp>
<stringProp
name=
"Header.value"
>
1
</stringProp>
</elementProp>
<elementProp
name=
""
elementType=
"Header"
>
<stringProp
name=
"Header.name"
>
Host
</stringProp>
<stringProp
name=
"Header.value"
>
www.yohobuy.com
</stringProp>
<stringProp
name=
"Header.name"
>
User-Agent
</stringProp>
<stringProp
name=
"Header.value"
>
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
</stringProp>
</elementProp>
</collectionProp>
<stringProp
name=
"TestPlan.comments"
></stringProp>
...
...
@@ -172,7 +168,7 @@
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.protocol"
></stringProp>
<stringProp
name=
"HTTPSampler.contentEncoding"
></stringProp>
<stringProp
name=
"HTTPSampler.path"
>
http://${HOST_ITEM}/product/detail/header?${product_skn}
&
md5=23f6562111a48d95199bfb3de7a3b5f7
</stringProp>
<stringProp
name=
"HTTPSampler.path"
>
http://${HOST_ITEM}/product/detail/header?
productSkn=
${product_skn}
&
md5=23f6562111a48d95199bfb3de7a3b5f7
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
GET
</stringProp>
<boolProp
name=
"HTTPSampler.follow_redirects"
>
true
</boolProp>
<boolProp
name=
"HTTPSampler.auto_redirects"
>
false
</boolProp>
...
...
@@ -239,7 +235,7 @@
<collectionProp
name=
"Arguments.arguments"
>
<elementProp
name=
""
elementType=
"HTTPArgument"
>
<boolProp
name=
"HTTPArgument.always_encode"
>
false
</boolProp>
<stringProp
name=
"Argument.value"
></stringProp>
<stringProp
name=
"Argument.value"
>
shopId=2214
</stringProp>
<stringProp
name=
"Argument.metadata"
>
=
</stringProp>
</elementProp>
</collectionProp>
...
...
@@ -251,7 +247,7 @@
<stringProp
name=
"HTTPSampler.protocol"
></stringProp>
<stringProp
name=
"HTTPSampler.contentEncoding"
></stringProp>
<stringProp
name=
"HTTPSampler.path"
>
http://${HOST_ITEM}/product/index/isFavoriteShop
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
GE
T
</stringProp>
<stringProp
name=
"HTTPSampler.method"
>
POS
T
</stringProp>
<boolProp
name=
"HTTPSampler.follow_redirects"
>
true
</boolProp>
<boolProp
name=
"HTTPSampler.auto_redirects"
>
false
</boolProp>
<boolProp
name=
"HTTPSampler.use_keepalive"
>
true
</boolProp>
...
...
Please
register
or
login
to post a comment