diff --git a/api_req/README.md b/api_req/README.md index 898e0723..b8f8d199 100644 --- a/api_req/README.md +++ b/api_req/README.md @@ -32,4 +32,4 @@ 3. 注意事项 * jmeter测试脚本中的字符串提交交易的测试用例,其内置的字符串只能提交一次,因为txid是固定唯一的 * /transaction/postTran只能在debug模式下使用,在jar部署模式下,该接口不能使用 -**TODO** 未完待续 \ No newline at end of file +4. **TODO** 未完待续 \ No newline at end of file diff --git a/api_req/jmx/RepChain_Preview_API.jmx b/api_req/jmx/RepChain_Preview_API.jmx index f94c8f8f..a7bfb18b 100644 --- a/api_req/jmx/RepChain_Preview_API.jmx +++ b/api_req/jmx/RepChain_Preview_API.jmx @@ -532,6 +532,190 @@ + + + + true + + + + false + <?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Copyright 2019 Blockchain Technology and Application Joint Lab, Linkel Technology Co., Ltd, Beijing, Fintech Research Center of ISCAS. + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ ${scheme}://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BA SIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + ~ + --> + +<!--该用例主要是启用/禁用(state:true/ state: false)合约并验证返回值--> +<!--这个应该是可以成功启用/禁用的--> +<CSpec> + <stype>3</stype> + <chaincodename>ContractAssetsTPL</chaincodename> + <chaincodeversion>1</chaincodeversion> + <iptFunc></iptFunc> + <iptArgs></iptArgs> + <timeout>0</timeout> + <legal_prose></legal_prose> + <code></code> + <ctype>2</ctype> + <state>false</state> +</CSpec> + = + + + + ${host} + ${port} + + + /transaction/postTran + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/swagger/index.html + + + Accept-Language + zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2 + + + origin + ${scheme}://${host}:${port} + + + content-type + application/xml + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0 + + + Accept + application/json + + + + + + + + + true + + + + false + <?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Copyright 2019 Blockchain Technology and Application Joint Lab, Linkel Technology Co., Ltd, Beijing, Fintech Research Center of ISCAS. + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ ${scheme}://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BA SIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + ~ + --> + +<!--该用例主要是启用/禁用(state:true/ state: false)合约并验证返回值--> +<!--这个应该是可以成功启用/禁用的--> +<CSpec> + <stype>3</stype> + <chaincodename>ContractAssetsTPL</chaincodename> + <chaincodeversion>1</chaincodeversion> + <iptFunc></iptFunc> + <iptArgs></iptArgs> + <timeout>0</timeout> + <legal_prose></legal_prose> + <code></code> + <ctype>2</ctype> + <state>true</state> +</CSpec> + = + + + + ${host} + ${port} + + + /transaction/postTran + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/swagger/index.html + + + Accept-Language + zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2 + + + origin + ${scheme}://${host}:${port} + + + content-type + application/xml + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0 + + + Accept + application/json + + + + + false