Apache Jmeter进行curl请求并发测试

1、按照截图顺序进行新建(新建线程组)

 2、在新建的线程组中右键添加

 3、添加相关协议、IP、端口、HTTP请求形式

{"jsonrpc":"2.0","method": "eth_sendTransaction", "params": [{"from":"0x619a31fc7df6dab99543dd3ac17d92c582c97ec0", "to":"0x4F87BBee32988a36413bd30ebC8311bDE28fc8fD", "data":"0x334978dd000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006d00000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000012e998b3e6be84e6b996e5a4a7e997b8e89fb90000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000832303232303930310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010636867646a6b736767686a6b67486766000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006e69bb9e4bf8a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b3135323039383134323535000000000000000000000000000000000000000000"}], "id": 8}

 上面这段代码是curl形式调用的智能合约。

猜你喜欢

转载自blog.csdn.net/weixin_46085718/article/details/127447713